diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a112b48e4..9623ead887 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,39 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.122.0 - 2025-11-18 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-turin-1 region +- Support for security attributes in the Bastion service +- Support for DataGuard Health Status check in the Database service +- Support for DataGuard creation with AWS in the Database service +- Support for changing encryption key location to AWS in the Database service +- Support for registering and unregistering PKCS for AWS in the Database service +- Support for new service catalog access control on marketplace in the Service Catalog service +- Support for bring-your-own-certificate in the OpenSearch service +- Support for AWS KMS integration for DB@AWS in the Database MultiCloud service +- Support for multi-cloud subscriptions and multi-cloud resource management in the MultiCloud service +- Support for new GenericChatRequest parameters in the Generative AI Inference service +- Support for Self-Serve IP Pool API in the Email Delivery service +- Support for Object Batch Delete in the Object Storage service +- Support for IPv6 and Reserved IPs in the API Gateway service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Data Catalog service +- Support for pinning the firmware of a Compute GPU Memory Fabric in the Compute service +- Support for pausing ZeroETL pipelines in the GoldenGate service +- Support for shared connections for ZeroETL pipelines in the GoldenGate service +- Support for migrating digital twin instances from non-ingestible to ingestible in the IoT Service + +### Fixed +- Fixed InvokeRawCommand API by changing response header from "Content-Location" to "Location" in the OCI Internet of Things (OCI IoT) service +- Fixed UpdateDigitalTwinInstance API by adding missing model id and spec URI properties in the OCI Internet of Things (OCI IoT) service + +### Breaking Changes +- Support for default retries on the operations of the Service Catalog service +- The field `contentLocation` was changed to `location` in the model `InvokeRawCommandResponse` in the OCI Internet of Things (OCI IoT) service +- The model `OmhubNetworkAnchorWaiter` was removed in the MultiCloud service +- The field `lifecycleState` was changed to `networkAnchorLifecycleState` and its type was changed to `NetworkAnchor.NetworkAnchorLifecycleState` in the models `NetworkAnchor` and `NetworkAnchorSummary` in the MultiCloud service +- The type of field `networkAnchorConnectionStatus` has been changed to `model.NetworkAnchorConnectionStatus` in the model `OciNetworkMetadata` in the MultiCloud service + ## 2.121.1 - 2025-11-10 ### Added - Support for image lookup by URI in OCI Registry in the Generic Artifacts service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 3ca0c7ca74..cebe0fc851 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.121.1", + "version": "2.122.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 ce538b5232..310b7ec081 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 873a2d6de3..12a1e6e903 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Data Platform Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 32fb9863a7..11867ea46b 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.121.1", + "version": "2.122.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 60db4d2bce..933e3a8e6e 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.121.1", + "version": "2.122.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 084d6503be..6714d60878 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.121.1", + "version": "2.122.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 3dc343b286..e633f83c9c 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.121.1", + "version": "2.122.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 17c145466d..43abc2eecc 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 70e75667ae..856b9b5136 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 926a7a5065..4bbe749dc3 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/lib/model/create-gateway-details.ts b/lib/apigateway/lib/model/create-gateway-details.ts index 8af7d4376f..53c91b0c4e 100644 --- a/lib/apigateway/lib/model/create-gateway-details.ts +++ b/lib/apigateway/lib/model/create-gateway-details.ts @@ -87,6 +87,17 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * An array of CA bundles that should be used on the Gateway for TLS validation. */ "caBundles"?: Array; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: string; + "ipv6AddressConfiguration"?: model.Ipv6AddressConfiguration; + "ipv4AddressConfiguration"?: model.Ipv4AddressConfiguration; } export namespace CreateGatewayDetails { @@ -107,6 +118,13 @@ export namespace CreateGatewayDetails { ? obj.caBundles.map(item => { return model.CaBundle.getJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getJsonObj(obj.ipv4AddressConfiguration) : undefined } }; @@ -130,6 +148,13 @@ export namespace CreateGatewayDetails { ? obj.caBundles.map(item => { return model.CaBundle.getDeserializedJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getDeserializedJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getDeserializedJsonObj(obj.ipv4AddressConfiguration) : undefined } }; diff --git a/lib/apigateway/lib/model/gateway-summary.ts b/lib/apigateway/lib/model/gateway-summary.ts index 4ea4d96f46..bc82305a56 100644 --- a/lib/apigateway/lib/model/gateway-summary.ts +++ b/lib/apigateway/lib/model/gateway-summary.ts @@ -115,6 +115,15 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: string; } export namespace GatewaySummary { diff --git a/lib/apigateway/lib/model/gateway.ts b/lib/apigateway/lib/model/gateway.ts index 76a6b34c90..842ec2afad 100644 --- a/lib/apigateway/lib/model/gateway.ts +++ b/lib/apigateway/lib/model/gateway.ts @@ -126,6 +126,17 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * An array of CA bundles that should be used on the Gateway for TLS validation. */ "caBundles"?: Array; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: Gateway.IpMode; + "ipv6AddressConfiguration"?: model.Ipv6AddressConfiguration; + "ipv4AddressConfiguration"?: model.Ipv4AddressConfiguration; } export namespace Gateway { @@ -153,6 +164,17 @@ export namespace Gateway { UnknownValue = "UNKNOWN_VALUE" } + export enum IpMode { + Ipv4 = "IPV4", + Ipv6 = "IPV6", + DualStack = "DUAL_STACK", + /** + * 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: Gateway): object { const jsonObj = { ...obj, @@ -176,6 +198,13 @@ export namespace Gateway { ? obj.caBundles.map(item => { return model.CaBundle.getJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getJsonObj(obj.ipv4AddressConfiguration) : undefined } }; @@ -205,6 +234,13 @@ export namespace Gateway { ? obj.caBundles.map(item => { return model.CaBundle.getDeserializedJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getDeserializedJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getDeserializedJsonObj(obj.ipv4AddressConfiguration) : undefined } }; diff --git a/lib/apigateway/lib/model/index.ts b/lib/apigateway/lib/model/index.ts index 333fbf840f..b590612063 100644 --- a/lib/apigateway/lib/model/index.ts +++ b/lib/apigateway/lib/model/index.ts @@ -142,6 +142,10 @@ import * as HeaderValidationRequestPolicy from "./header-validation-request-poli export import HeaderValidationRequestPolicy = HeaderValidationRequestPolicy.HeaderValidationRequestPolicy; import * as IpAddress from "./ip-address"; export import IpAddress = IpAddress.IpAddress; +import * as Ipv4AddressConfiguration from "./ipv4-address-configuration"; +export import Ipv4AddressConfiguration = Ipv4AddressConfiguration.Ipv4AddressConfiguration; +import * as Ipv6AddressConfiguration from "./ipv6-address-configuration"; +export import Ipv6AddressConfiguration = Ipv6AddressConfiguration.Ipv6AddressConfiguration; import * as JsonWebTokenClaim from "./json-web-token-claim"; export import JsonWebTokenClaim = JsonWebTokenClaim.JsonWebTokenClaim; import * as MutualTlsDetails from "./mutual-tls-details"; diff --git a/lib/apigateway/lib/model/ipv4-address-configuration.ts b/lib/apigateway/lib/model/ipv4-address-configuration.ts new file mode 100644 index 0000000000..8ed15661e7 --- /dev/null +++ b/lib/apigateway/lib/model/ipv4-address-configuration.ts @@ -0,0 +1,41 @@ +/** + * API Gateway API + * API for the API Gateway service. Use this API to manage gateways, deployments, and related items. +For more information, see +[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm). + + * OpenAPI spec version: 20190501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * IPv4 address configuration details that should be used when creating the gateway. + */ +export interface Ipv4AddressConfiguration { + /** + * List of Reserved IP OCIDs created in VCN service. + */ + "reservedIpIds"?: Array; +} + +export namespace Ipv4AddressConfiguration { + export function getJsonObj(obj: Ipv4AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Ipv4AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apigateway/lib/model/ipv6-address-configuration.ts b/lib/apigateway/lib/model/ipv6-address-configuration.ts new file mode 100644 index 0000000000..b8a3d9388a --- /dev/null +++ b/lib/apigateway/lib/model/ipv6-address-configuration.ts @@ -0,0 +1,45 @@ +/** + * API Gateway API + * API for the API Gateway service. Use this API to manage gateways, deployments, and related items. +For more information, see +[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm). + + * OpenAPI spec version: 20190501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * IPv6 address configuration details that should be used when creating the gateway. + */ +export interface Ipv6AddressConfiguration { + /** + * List of IPv6 addresses that will be assigned to the gateway during creation. + */ + "addresses"?: Array; + /** + * List of IPv6 prefixes from which to provision IPv6 addresses from. This is required if more than one prefix exists on the subnet. + */ + "subnetCidrs"?: Array; +} + +export namespace Ipv6AddressConfiguration { + export function getJsonObj(obj: Ipv6AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Ipv6AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index d00a5e12c2..ee7d3971f0 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.121.1", + "version": "2.122.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 cef51f27bd..7f6de499af 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.121.1", + "version": "2.122.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 64667f32f3..6fdabc5582 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.121.1", + "version": "2.122.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 69baaed847..cfa3082e94 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.121.1", + "version": "2.122.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 1da646dfe2..2928d326c5 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.121.1", + "version": "2.122.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 0b751330a8..57c728a476 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.121.1", + "version": "2.122.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 f84bbaa04a..f6a9bfa9f5 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.121.1", + "version": "2.122.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 d06f2085b0..b687a72d68 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 83d6486ef7..7a348cdb81 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 290db768ff..5ef7a6a72a 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/lib/model/bastion-summary.ts b/lib/bastion/lib/model/bastion-summary.ts index 74019482d5..f797a6a7c0 100644 --- a/lib/bastion/lib/model/bastion-summary.ts +++ b/lib/bastion/lib/model/bastion-summary.ts @@ -84,6 +84,13 @@ export interface BastionSummary { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace BastionSummary { diff --git a/lib/bastion/lib/model/bastion.ts b/lib/bastion/lib/model/bastion.ts index 1440c68877..beff81db93 100644 --- a/lib/bastion/lib/model/bastion.ts +++ b/lib/bastion/lib/model/bastion.ts @@ -110,6 +110,13 @@ export interface Bastion { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace Bastion { diff --git a/lib/bastion/lib/model/create-bastion-details.ts b/lib/bastion/lib/model/create-bastion-details.ts index f8bc48bc9a..204d2187d8 100644 --- a/lib/bastion/lib/model/create-bastion-details.ts +++ b/lib/bastion/lib/model/create-bastion-details.ts @@ -69,6 +69,13 @@ export interface CreateBastionDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreateBastionDetails { diff --git a/lib/bastion/lib/model/update-bastion-details.ts b/lib/bastion/lib/model/update-bastion-details.ts index 64030e63d1..ff55be6c9b 100644 --- a/lib/bastion/lib/model/update-bastion-details.ts +++ b/lib/bastion/lib/model/update-bastion-details.ts @@ -43,6 +43,13 @@ export interface UpdateBastionDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateBastionDetails { diff --git a/lib/bastion/package.json b/lib/bastion/package.json index d87791f74f..9f484e20aa 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 49c0c17efb..9bab64529b 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index ff381994e2..9963fc2395 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 33aaee291f..c112bbcd53 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 67e4832efd..db85d756fe 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.121.1", + "version": "2.122.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 5c3690b45b..62e054ef4b 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 9337d3d945..7e1d40f2bd 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.121.1", + "version": "2.122.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 bcd817dd05..4a525612ff 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index d33d933d75..5ba0615bda 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.121.1", + "version": "2.122.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 788769a9b7..798fc4c391 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.121.1", + "version": "2.122.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 e522e64f88..150023e618 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.121.1", + "version": "2.122.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 607df8aaf8..777c784266 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/lib/region.ts b/lib/common/lib/region.ts index 9504b1195d..38d13bfaad 100644 --- a/lib/common/lib/region.ts +++ b/lib/common/lib/region.ts @@ -117,6 +117,7 @@ export class Region { public static EU_MADRID_3: Region = Region.register("eu-madrid-3", Realm.OC1, "orf"); public static AP_CHENNAI_1: Region = Region.register("ap-chennai-1", Realm.OC1, "des"); public static US_COLUMBUS_1: Region = Region.register("us-columbus-1", Realm.OC1, "vkz"); + public static EU_TURIN_1: Region = Region.register("eu-turin-1", Realm.OC1, "nrq"); // OC2 public static US_LANGLEY_1: Region = Region.register("us-langley-1", Realm.OC2, "lfi"); diff --git a/lib/common/package.json b/lib/common/package.json index 4bc48be64b..b4c8240e66 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/common/tests/resources/developer-tool-configuration.json b/lib/common/tests/resources/developer-tool-configuration.json index 8430039a9f..ca888f0770 100644 --- a/lib/common/tests/resources/developer-tool-configuration.json +++ b/lib/common/tests/resources/developer-tool-configuration.json @@ -490,5 +490,11 @@ "realmKey": "oc1", "regionIdentifier": "us-columbus-1", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "nrq", + "realmKey": "oc1", + "regionIdentifier": "eu-turin-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/lib/common/tests/resources/regions.json b/lib/common/tests/resources/regions.json index 5c2455c8f1..b330520495 100644 --- a/lib/common/tests/resources/regions.json +++ b/lib/common/tests/resources/regions.json @@ -490,5 +490,11 @@ "realmKey": "oc1", "regionIdentifier": "us-columbus-1", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "nrq", + "realmKey": "oc1", + "regionIdentifier": "eu-turin-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index e5d7abfcb5..6101c87f84 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.121.1", + "version": "2.122.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 5f726da596..7e538b8066 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.121.1", + "version": "2.122.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 b31f137001..1cf2729a10 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 1c4b080991..762b863291 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/lib/client.ts b/lib/core/lib/client.ts index 11a1029b4e..64fc527c74 100644 --- a/lib/core/lib/client.ts +++ b/lib/core/lib/client.ts @@ -5548,9 +5548,7 @@ For more information, see [Volume Groups](https://docs.oracle.com/iaas/Content/B let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVolumeKmsKeyRequest.ifMatch, - "opc-parent-resource-principal-token-url": - updateVolumeKmsKeyRequest.opcParentResourcePrincipalTokenUrl + "if-match": updateVolumeKmsKeyRequest.ifMatch }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -16455,7 +16453,8 @@ To delete instances from a compute cluster, use the {@link #terminateInstance(Te } /** - * Customer can update displayName, tags and for compute GPU memory fabric record + * Customer can update displayName, tags and desired firmware bundle, recycle level for + * compute GPU memory fabric record * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateComputeGpuMemoryFabricRequest diff --git a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts index 4deb31b42f..6f3736c1d6 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts @@ -74,6 +74,32 @@ export interface ComputeGpuMemoryFabricSummary { * The total number of healthy bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "healthyHostCount"?: number; + /** + * The host platform identifier used for bundle queries + * + */ + "hostPlatformName"?: string; + /** + * The switch platform identifier used for bundle queries + * + */ + "switchPlatformName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + * + */ + "currentFirmwareBundleId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + * + */ + "targetFirmwareBundleId"?: string; + /** + * The state of Memory Fabric Firmware update + * + */ + "firmwareUpdateState"?: ComputeGpuMemoryFabricSummary.FirmwareUpdateState; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; /** * The date and time that the compute GPU memory fabric record was created, in the format defined by [RFC3339] * (https://tools.ietf.org/html/rfc3339). @@ -113,13 +139,40 @@ Example: {@code {\"Department\": \"Finance\"}} } export namespace ComputeGpuMemoryFabricSummary { + export enum FirmwareUpdateState { + WillUpdate = "WILL_UPDATE", + NoUpdate = "NO_UPDATE", + SkipRecycleEnabled = "SKIP_RECYCLE_ENABLED", + /** + * 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: ComputeGpuMemoryFabricSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ComputeGpuMemoryFabricSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/compute-gpu-memory-fabric.ts b/lib/core/lib/model/compute-gpu-memory-fabric.ts index 0d0d6ecc6d..3929553ca4 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric.ts @@ -79,6 +79,37 @@ export interface ComputeGpuMemoryFabric { * The total number of bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "totalHostCount": number; + /** + * The host platform identifier used for bundle queries + * + */ + "hostPlatformName"?: string; + /** + * The switch platform identifier used for bundle queries + * + */ + "switchPlatformName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + * + */ + "currentFirmwareBundleId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + * + */ + "targetFirmwareBundleId"?: string; + /** + * The state of Memory Fabric Firmware update + * + */ + "firmwareUpdateState"?: ComputeGpuMemoryFabric.FirmwareUpdateState; + /** + * The reason for updating firmware bundle version of the GPU memory fabric. + * + */ + "firmwareUpdateReason"?: string; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; /** * The date and time that the compute GPU memory fabric record was created, in the format defined by [RFC3339] * (https://tools.ietf.org/html/rfc3339). @@ -141,13 +172,40 @@ export namespace ComputeGpuMemoryFabric { UnknownValue = "UNKNOWN_VALUE" } + export enum FirmwareUpdateState { + WillUpdate = "WILL_UPDATE", + NoUpdate = "NO_UPDATE", + SkipRecycleEnabled = "SKIP_RECYCLE_ENABLED", + /** + * 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: ComputeGpuMemoryFabric): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ComputeGpuMemoryFabric): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/create-vcn-details.ts b/lib/core/lib/model/create-vcn-details.ts index 06e3bfed3a..263ea2ae0c 100644 --- a/lib/core/lib/model/create-vcn-details.ts +++ b/lib/core/lib/model/create-vcn-details.ts @@ -124,7 +124,7 @@ Example: {@code true} */ "isIpv6Enabled"?: boolean; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/model/index.ts b/lib/core/lib/model/index.ts index f08a727091..b342a76485 100644 --- a/lib/core/lib/model/index.ts +++ b/lib/core/lib/model/index.ts @@ -800,6 +800,8 @@ import * as MeasuredBootReportMeasurements from "./measured-boot-report-measurem export import MeasuredBootReportMeasurements = MeasuredBootReportMeasurements.MeasuredBootReportMeasurements; import * as MemberReplica from "./member-replica"; export import MemberReplica = MemberReplica.MemberReplica; +import * as MemoryFabricPreferencesDescriptor from "./memory-fabric-preferences-descriptor"; +export import MemoryFabricPreferencesDescriptor = MemoryFabricPreferencesDescriptor.MemoryFabricPreferencesDescriptor; import * as ModifyIpv4SubnetCidrDetails from "./modify-ipv4-subnet-cidr-details"; export import ModifyIpv4SubnetCidrDetails = ModifyIpv4SubnetCidrDetails.ModifyIpv4SubnetCidrDetails; import * as ModifyVcnCidrDetails from "./modify-vcn-cidr-details"; diff --git a/lib/core/lib/model/memory-fabric-preferences-descriptor.ts b/lib/core/lib/model/memory-fabric-preferences-descriptor.ts new file mode 100644 index 0000000000..e96b1b7a51 --- /dev/null +++ b/lib/core/lib/model/memory-fabric-preferences-descriptor.ts @@ -0,0 +1,63 @@ +/** + * Core Services API + * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +compute instances, and block storage volumes. For more information, see the console +documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +The required permissions are documented in the +[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The preference object specified by customer. Contains customerDesiredFirmwareBundleId, fabricRecycleLevel. + * + */ +export interface MemoryFabricPreferencesDescriptor { + /** + * The desired firmware bundle id on the GPU memory fabric. + * + */ + "customerDesiredFirmwareBundleId"?: string; + /** + * The recycle level of GPU memory fabric. + * + */ + "fabricRecycleLevel"?: MemoryFabricPreferencesDescriptor.FabricRecycleLevel; +} + +export namespace MemoryFabricPreferencesDescriptor { + export enum FabricRecycleLevel { + FullRecycle = "FULL_RECYCLE", + SkipRecycle = "SKIP_RECYCLE", + OpportunisticFullRecycle = "OPPORTUNISTIC_FULL_RECYCLE", + /** + * 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: MemoryFabricPreferencesDescriptor): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MemoryFabricPreferencesDescriptor): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts b/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts index 302454b6f1..b66865b21d 100644 --- a/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts +++ b/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts @@ -48,16 +48,33 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "displayName"?: string; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; } export namespace UpdateComputeGpuMemoryFabricDetails { export function getJsonObj(obj: UpdateComputeGpuMemoryFabricDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateComputeGpuMemoryFabricDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/update-vcn-details.ts b/lib/core/lib/model/update-vcn-details.ts index 0a8a5a3f1c..86788dc225 100644 --- a/lib/core/lib/model/update-vcn-details.ts +++ b/lib/core/lib/model/update-vcn-details.ts @@ -54,7 +54,7 @@ Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\" */ "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/model/vcn.ts b/lib/core/lib/model/vcn.ts index 9f6b62d2b8..c38a026d89 100644 --- a/lib/core/lib/model/vcn.ts +++ b/lib/core/lib/model/vcn.ts @@ -151,7 +151,7 @@ Example: {@code vcn1.oraclevcn.com} */ "vcnDomainName"?: string; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/request/update-volume-kms-key-request.ts b/lib/core/lib/request/update-volume-kms-key-request.ts index a9b262f4d3..e801b26fcd 100644 --- a/lib/core/lib/request/update-volume-kms-key-request.ts +++ b/lib/core/lib/request/update-volume-kms-key-request.ts @@ -33,10 +33,4 @@ export interface UpdateVolumeKmsKeyRequest extends common.BaseRequest { * */ "ifMatch"?: string; - /** - * The endpoint that will be used to get the resource principal token - * of the parent resource. - * - */ - "opcParentResourcePrincipalTokenUrl"?: string; } diff --git a/lib/core/package.json b/lib/core/package.json index 4be1ed0d68..f6fc0a419e 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index a9d4a763da..ff8ad92d54 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.121.1", + "version": "2.122.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 dfed138ea6..ff38949d90 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -31958,6 +31958,91 @@ This operation should always be performed on primary. } } + /** + * Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RefreshDataGuardHealthStatusRequest + * @return RefreshDataGuardHealthStatusResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RefreshDataGuardHealthStatus.ts.html |here} to see how to use RefreshDataGuardHealthStatus API. + */ + public async refreshDataGuardHealthStatus( + refreshDataGuardHealthStatusRequest: requests.RefreshDataGuardHealthStatusRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#refreshDataGuardHealthStatus."); + const operationName = "refreshDataGuardHealthStatus"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RefreshDataGuardHealthStatus"; + const pathParams = { + "{databaseId}": refreshDataGuardHealthStatusRequest.databaseId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": refreshDataGuardHealthStatusRequest.opcRetryToken, + "opc-request-id": refreshDataGuardHealthStatusRequest.opcRequestId, + "if-match": refreshDataGuardHealthStatusRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + refreshDataGuardHealthStatusRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/databases/{databaseId}/dataGuard/actions/refresh", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "database", + bodyModel: model.Database, + type: "model.Database", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Refreshes a pluggable database (PDB) Refreshable clone. * diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index 24e00e02bd..b764159a03 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -5791,6 +5791,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forRefreshDataGuardHealthStatus + * + * @param request the request to send + * @return response returns RefreshDataGuardHealthStatusResponse, GetWorkRequestResponse tuple + */ + public async forRefreshDataGuardHealthStatus( + request: serviceRequests.RefreshDataGuardHealthStatusRequest + ): Promise<{ + response: serviceResponses.RefreshDataGuardHealthStatusResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const refreshDataGuardHealthStatusResponse = await this.client.refreshDataGuardHealthStatus( + request + ); + if (refreshDataGuardHealthStatusResponse.opcWorkRequestId === undefined) + return { + response: refreshDataGuardHealthStatusResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + refreshDataGuardHealthStatusResponse.opcWorkRequestId + ); + return { + response: refreshDataGuardHealthStatusResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forRefreshPluggableDatabase * diff --git a/lib/database/lib/model/aws-encryption-key-details.ts b/lib/database/lib/model/aws-encryption-key-details.ts new file mode 100644 index 0000000000..896103dec2 --- /dev/null +++ b/lib/database/lib/model/aws-encryption-key-details.ts @@ -0,0 +1,57 @@ +/** + * 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"); + +/** + * Details for AWS Input + */ +export interface AwsEncryptionKeyDetails extends model.EncryptionKeyLocationDetails { + /** + * Provide the key OCID of a registered AWS key. + */ + "awsEncryptionKeyId": string; + + "providerType": string; +} + +export namespace AwsEncryptionKeyDetails { + export function getJsonObj(obj: AwsEncryptionKeyDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getJsonObj(obj) as AwsEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } + export const providerType = "AWS"; + export function getDeserializedJsonObj( + obj: AwsEncryptionKeyDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getDeserializedJsonObj( + obj + ) as AwsEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/backup-summary.ts b/lib/database/lib/model/backup-summary.ts index 313c78635f..b4433b940f 100644 --- a/lib/database/lib/model/backup-summary.ts +++ b/lib/database/lib/model/backup-summary.ts @@ -130,7 +130,8 @@ export interface BackupSummary { "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; } export namespace BackupSummary { diff --git a/lib/database/lib/model/backup.ts b/lib/database/lib/model/backup.ts index c5b9041b85..765ec1f719 100644 --- a/lib/database/lib/model/backup.ts +++ b/lib/database/lib/model/backup.ts @@ -123,7 +123,8 @@ export interface Backup { "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; } export namespace Backup { diff --git a/lib/database/lib/model/cloud-vm-cluster-summary.ts b/lib/database/lib/model/cloud-vm-cluster-summary.ts index 8cf545a719..8708a34b9f 100644 --- a/lib/database/lib/model/cloud-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-vm-cluster-summary.ts @@ -382,6 +382,7 @@ export namespace CloudVmClusterSummary { Azure = "AZURE", Oci = "OCI", Gcp = "GCP", + Aws = "AWS", /** * 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/cloud-vm-cluster.ts b/lib/database/lib/model/cloud-vm-cluster.ts index 541368404d..67731d7ce7 100644 --- a/lib/database/lib/model/cloud-vm-cluster.ts +++ b/lib/database/lib/model/cloud-vm-cluster.ts @@ -383,6 +383,7 @@ export namespace CloudVmCluster { Azure = "AZURE", Oci = "OCI", Gcp = "GCP", + Aws = "AWS", /** * 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/create-data-guard-association-details.ts b/lib/database/lib/model/create-data-guard-association-details.ts index 7f996c37f4..5124954c77 100644 --- a/lib/database/lib/model/create-data-guard-association-details.ts +++ b/lib/database/lib/model/create-data-guard-association-details.ts @@ -46,7 +46,8 @@ The password must contain no fewer than nine characters and include: "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * The protection mode to set up between the primary and standby databases. For more information, see * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) diff --git a/lib/database/lib/model/create-database-details.ts b/lib/database/lib/model/create-database-details.ts index 12e86c32a7..08b9360a9b 100644 --- a/lib/database/lib/model/create-database-details.ts +++ b/lib/database/lib/model/create-database-details.ts @@ -107,7 +107,8 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; "storageSizeDetails"?: model.DatabaseStorageSizeDetails; } diff --git a/lib/database/lib/model/create-database-from-backup-details.ts b/lib/database/lib/model/create-database-from-backup-details.ts index 7019f38921..f66d5edb8b 100644 --- a/lib/database/lib/model/create-database-from-backup-details.ts +++ b/lib/database/lib/model/create-database-from-backup-details.ts @@ -27,7 +27,8 @@ export interface CreateDatabaseFromBackupDetails { "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -. */ diff --git a/lib/database/lib/model/create-standby-details.ts b/lib/database/lib/model/create-standby-details.ts index 95550255c1..28c03b9f56 100644 --- a/lib/database/lib/model/create-standby-details.ts +++ b/lib/database/lib/model/create-standby-details.ts @@ -37,7 +37,8 @@ export interface CreateStandbyDetails { "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * True if active Data Guard is enabled. */ diff --git a/lib/database/lib/model/data-guard-group-member.ts b/lib/database/lib/model/data-guard-group-member.ts index 402d0084b1..cdbc841449 100644 --- a/lib/database/lib/model/data-guard-group-member.ts +++ b/lib/database/lib/model/data-guard-group-member.ts @@ -76,6 +76,39 @@ For more information, see * True if active Data Guard is enabled. */ "isActiveDataGuardEnabled"?: boolean; + /** + * The switchover readiness status of the Data Guard member. + * + */ + "switchoverReadiness"?: DataGuardGroupMember.SwitchoverReadiness; + /** + * The message explaining switchover readiness status. + * Example: {@code Address failed checks to avoid extended downtime.} + * + */ + "switchoverReadinessMessage"?: string; + /** + * The failover readiness status of the Data Guard member. + * + */ + "failoverReadiness"?: DataGuardGroupMember.FailoverReadiness; + /** + * The message explaining failover readiness status. + * Example: {@code This standby database is not failover ready.} + * + */ + "failoverReadinessMessage"?: string; + /** + * The Data loss exposure is the redo transport lag between the primary and standby databases. +*

+Example: {@code 2 seconds} +* + */ + "dataLossExposure"?: string; + /** + * The date and time when the last successful Data Guard refresh occurred. + */ + "timeUpdated"?: Date; } export namespace DataGuardGroupMember { @@ -102,6 +135,28 @@ export namespace DataGuardGroupMember { UnknownValue = "UNKNOWN_VALUE" } + export enum SwitchoverReadiness { + Healthy = "HEALTHY", + Warning = "WARNING", + Critical = "CRITICAL", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum FailoverReadiness { + Healthy = "HEALTHY", + Warning = "WARNING", + Critical = "CRITICAL", + /** + * 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: DataGuardGroupMember): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/database-summary.ts b/lib/database/lib/model/database-summary.ts index ea5222dc5a..6fadda8687 100644 --- a/lib/database/lib/model/database-summary.ts +++ b/lib/database/lib/model/database-summary.ts @@ -165,7 +165,8 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; "storageSizeDetails"?: model.DatabaseStorageSizeResponseDetails; } diff --git a/lib/database/lib/model/database.ts b/lib/database/lib/model/database.ts index df528aaee0..daf0c2575b 100644 --- a/lib/database/lib/model/database.ts +++ b/lib/database/lib/model/database.ts @@ -157,7 +157,8 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; "storageSizeDetails"?: model.DatabaseStorageSizeResponseDetails; } diff --git a/lib/database/lib/model/encryption-key-location-details.ts b/lib/database/lib/model/encryption-key-location-details.ts index 8606bfd144..ebf8f4ebde 100644 --- a/lib/database/lib/model/encryption-key-location-details.ts +++ b/lib/database/lib/model/encryption-key-location-details.ts @@ -43,6 +43,11 @@ export namespace EncryptionKeyLocationDetails { (jsonObj), true ); + case "AWS": + return model.AwsEncryptionKeyDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.providerType}`); } @@ -69,6 +74,11 @@ export namespace EncryptionKeyLocationDetails { (jsonObj), true ); + case "AWS": + return model.AwsEncryptionKeyDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.providerType}`); } diff --git a/lib/database/lib/model/identity-connector-details.ts b/lib/database/lib/model/identity-connector-details.ts index e5f92cd449..a60d7c26d1 100644 --- a/lib/database/lib/model/identity-connector-details.ts +++ b/lib/database/lib/model/identity-connector-details.ts @@ -33,6 +33,7 @@ export namespace IdentityConnectorDetails { export enum CloudProvider { Azure = "AZURE", Gcp = "GCP", + Aws = "AWS", /** * 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/index.ts b/lib/database/lib/model/index.ts index 610707afba..1ccdc34db1 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -941,6 +941,8 @@ export import WorkloadType = WorkloadType.WorkloadType; import * as AutomatedMountDetails from "./automated-mount-details"; export import AutomatedMountDetails = AutomatedMountDetails.AutomatedMountDetails; +import * as AwsEncryptionKeyDetails from "./aws-encryption-key-details"; +export import AwsEncryptionKeyDetails = AwsEncryptionKeyDetails.AwsEncryptionKeyDetails; import * as AwsKeyDetails from "./aws-key-details"; export import AwsKeyDetails = AwsKeyDetails.AwsKeyDetails; import * as AzureEncryptionKeyDetails from "./azure-encryption-key-details"; diff --git a/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts b/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts index 096d0bde34..7672f12a95 100644 --- a/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts +++ b/lib/database/lib/model/register-cloud-vm-cluster-pkcs-details.ts @@ -30,7 +30,8 @@ export namespace RegisterCloudVmClusterPkcsDetails { export enum TdeKeyStoreType { Azure = "AZURE", Oci = "OCI", - Gcp = "GCP" + Gcp = "GCP", + Aws = "AWS" } export function getJsonObj(obj: RegisterCloudVmClusterPkcsDetails): object { diff --git a/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts b/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts index 69f016c9eb..734abe2630 100644 --- a/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts +++ b/lib/database/lib/model/unregister-cloud-vm-cluster-pkcs-details.ts @@ -30,7 +30,8 @@ export namespace UnregisterCloudVmClusterPkcsDetails { export enum TdeKeyStoreType { Azure = "AZURE", Oci = "OCI", - Gcp = "GCP" + Gcp = "GCP", + Aws = "AWS" } export function getJsonObj(obj: UnregisterCloudVmClusterPkcsDetails): object { diff --git a/lib/database/lib/request/change-encryption-key-location-request.ts b/lib/database/lib/request/change-encryption-key-location-request.ts index d7c9d8e8b2..f6c65bc5c4 100644 --- a/lib/database/lib/request/change-encryption-key-location-request.ts +++ b/lib/database/lib/request/change-encryption-key-location-request.ts @@ -28,7 +28,8 @@ export interface ChangeEncryptionKeyLocationRequest extends common.BaseRequest { "encryptionKeyLocationDetails": | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} * parameter to the value of the etag from a previous GET or POST response for that resource. The resource diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index c896b2ec22..1dd85cef33 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -692,6 +692,8 @@ import * as MountDbnodeSnapshotRequest from "./mount-dbnode-snapshot-request"; export import MountDbnodeSnapshotRequest = MountDbnodeSnapshotRequest.MountDbnodeSnapshotRequest; import * as MoveExecutionActionMemberRequest from "./move-execution-action-member-request"; export import MoveExecutionActionMemberRequest = MoveExecutionActionMemberRequest.MoveExecutionActionMemberRequest; +import * as RefreshDataGuardHealthStatusRequest from "./refresh-data-guard-health-status-request"; +export import RefreshDataGuardHealthStatusRequest = RefreshDataGuardHealthStatusRequest.RefreshDataGuardHealthStatusRequest; import * as RefreshPluggableDatabaseRequest from "./refresh-pluggable-database-request"; export import RefreshPluggableDatabaseRequest = RefreshPluggableDatabaseRequest.RefreshPluggableDatabaseRequest; import * as RegisterAutonomousDatabaseDataSafeRequest from "./register-autonomous-database-data-safe-request"; diff --git a/lib/database/lib/request/refresh-data-guard-health-status-request.ts b/lib/database/lib/request/refresh-data-guard-health-status-request.ts new file mode 100644 index 0000000000..aeb82b0382 --- /dev/null +++ b/lib/database/lib/request/refresh-data-guard-health-status-request.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RefreshDataGuardHealthStatus.ts.html |here} to see how to use RefreshDataGuardHealthStatusRequest. + */ +export interface RefreshDataGuardHealthStatusRequest extends common.BaseRequest { + /** + * The database [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "databaseId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index a4df9a25e6..2e19141d8f 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -692,6 +692,8 @@ import * as MountDbnodeSnapshotResponse from "./mount-dbnode-snapshot-response"; export import MountDbnodeSnapshotResponse = MountDbnodeSnapshotResponse.MountDbnodeSnapshotResponse; import * as MoveExecutionActionMemberResponse from "./move-execution-action-member-response"; export import MoveExecutionActionMemberResponse = MoveExecutionActionMemberResponse.MoveExecutionActionMemberResponse; +import * as RefreshDataGuardHealthStatusResponse from "./refresh-data-guard-health-status-response"; +export import RefreshDataGuardHealthStatusResponse = RefreshDataGuardHealthStatusResponse.RefreshDataGuardHealthStatusResponse; import * as RefreshPluggableDatabaseResponse from "./refresh-pluggable-database-response"; export import RefreshPluggableDatabaseResponse = RefreshPluggableDatabaseResponse.RefreshPluggableDatabaseResponse; import * as RegisterAutonomousDatabaseDataSafeResponse from "./register-autonomous-database-data-safe-response"; diff --git a/lib/database/lib/response/refresh-data-guard-health-status-response.ts b/lib/database/lib/response/refresh-data-guard-health-status-response.ts new file mode 100644 index 0000000000..c57f1ce811 --- /dev/null +++ b/lib/database/lib/response/refresh-data-guard-health-status-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RefreshDataGuardHealthStatusResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Database instance. + */ + "database": model.Database; +} diff --git a/lib/database/package.json b/lib/database/package.json index 40bed74e48..787ee00080 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 206f34070f..0078baa9cc 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.121.1", + "version": "2.122.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 76c7b3322d..8cf0583a55 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.121.1", + "version": "2.122.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 f3bab479d1..65a205c474 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/lib/model/catalog-private-endpoint-summary.ts b/lib/datacatalog/lib/model/catalog-private-endpoint-summary.ts index 67dd5fdc15..8a6967382e 100644 --- a/lib/datacatalog/lib/model/catalog-private-endpoint-summary.ts +++ b/lib/datacatalog/lib/model/catalog-private-endpoint-summary.ts @@ -75,6 +75,14 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** * The current state of the private endpoint resource. */ diff --git a/lib/datacatalog/lib/model/catalog-private-endpoint.ts b/lib/datacatalog/lib/model/catalog-private-endpoint.ts index 14e8860dcd..5eb51814fa 100644 --- a/lib/datacatalog/lib/model/catalog-private-endpoint.ts +++ b/lib/datacatalog/lib/model/catalog-private-endpoint.ts @@ -87,6 +87,14 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * Locks associated with this resource. */ "locks"?: Array; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CatalogPrivateEndpoint { diff --git a/lib/datacatalog/lib/model/create-catalog-private-endpoint-details.ts b/lib/datacatalog/lib/model/create-catalog-private-endpoint-details.ts index 90ebeb998d..2164fc3b04 100644 --- a/lib/datacatalog/lib/model/create-catalog-private-endpoint-details.ts +++ b/lib/datacatalog/lib/model/create-catalog-private-endpoint-details.ts @@ -51,6 +51,14 @@ export interface CreateCatalogPrivateEndpointDetails { * Display name of the private endpoint resource being created. */ "displayName"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreateCatalogPrivateEndpointDetails { diff --git a/lib/datacatalog/lib/model/update-catalog-private-endpoint-details.ts b/lib/datacatalog/lib/model/update-catalog-private-endpoint-details.ts index 7084b16bba..c19e360bab 100644 --- a/lib/datacatalog/lib/model/update-catalog-private-endpoint-details.ts +++ b/lib/datacatalog/lib/model/update-catalog-private-endpoint-details.ts @@ -42,6 +42,14 @@ export interface UpdateCatalogPrivateEndpointDetails { * Display name of the private endpoint resource. */ "displayName"?: string; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateCatalogPrivateEndpointDetails { diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 3a03350b04..b1fb1dc98e 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.121.1", + "version": "2.122.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 c914714e09..c43866f0cf 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 42fa748cbf..91ac2e0d1e 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.121.1", + "version": "2.122.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 5d4d5cf3df..e0b7d1e90b 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.121.1", + "version": "2.122.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 b26711483e..341e941938 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.121.1", + "version": "2.122.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 64f21b52e9..755421f905 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index ee845156ee..8d91de3712 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.121.1", + "version": "2.122.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 0ec8841923..a349a0cac5 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/index.ts b/lib/dbmulticloud/index.ts index 7609fac393..87c0d387bb 100644 --- a/lib/dbmulticloud/index.ts +++ b/lib/dbmulticloud/index.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -44,6 +50,7 @@ import * as requests from "./lib/request"; import * as models from "./lib/model"; import * as responses from "./lib/response"; import * as client from "./lib/client"; +import * as dbmulticloudawsprovider_waiter from "./lib/dbmulticloudawsprovider-waiter"; import * as dbmulticloudgcpprovider_waiter from "./lib/dbmulticloudgcpprovider-waiter"; import * as multicloudresourcediscovery_waiter from "./lib/multicloudresourcediscovery-waiter"; import * as oracledbazureblobcontainer_waiter from "./lib/oracledbazureblobcontainer-waiter"; @@ -57,6 +64,8 @@ import * as workrequest_waiter from "./lib/workrequest-waiter"; export { models }; export { requests }; export { responses }; +export import DbMulticloudAwsProviderClient = client.DbMulticloudAwsProviderClient; +export import DbMulticloudAwsProviderWaiter = dbmulticloudawsprovider_waiter.DbMulticloudAwsProviderWaiter; export import DbMulticloudGCPProviderClient = client.DbMulticloudGCPProviderClient; export import DbMulticloudGCPProviderWaiter = dbmulticloudgcpprovider_waiter.DbMulticloudGCPProviderWaiter; export import MultiCloudResourceDiscoveryClient = client.MultiCloudResourceDiscoveryClient; diff --git a/lib/dbmulticloud/lib/client.ts b/lib/dbmulticloud/lib/client.ts index 72b9671191..519f72565a 100644 --- a/lib/dbmulticloud/lib/client.ts +++ b/lib/dbmulticloud/lib/client.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -44,6 +50,7 @@ import common = require("oci-common"); import * as requests from "./request"; import * as model from "./model"; import * as responses from "./response"; +import { DbMulticloudAwsProviderWaiter } from "./dbmulticloudawsprovider-waiter"; import { DbMulticloudGCPProviderWaiter } from "./dbmulticloudgcpprovider-waiter"; import { MultiCloudResourceDiscoveryWaiter } from "./multicloudresourcediscovery-waiter"; import { OracleDBAzureBlobContainerWaiter } from "./oracledbazureblobcontainer-waiter"; @@ -65,6 +72,1377 @@ const Breaker = require("opossum"); // This file is autogenerated - Please do not edit // =============================================== +export enum DbMulticloudAwsProviderApiKeys {} +/** + * 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 DbMulticloudAwsProviderClient { + protected static serviceEndpointTemplate = + "https://dbmulticloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": DbMulticloudAwsProviderWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "DbMulticloudAwsProvider"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("dbmulticloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("dbmulticloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240501"; + if (this.logger) + this.logger.info(`DbMulticloudAwsProviderClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + DbMulticloudAwsProviderClient.serviceEndpointTemplate, + this._region, + DbMulticloudAwsProviderClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + DbMulticloudAwsProviderClient.serviceEndpointTemplate, + this._regionId, + DbMulticloudAwsProviderClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + DbMulticloudAwsProviderClient.serviceEndpointTemplate, + region, + DbMulticloudAwsProviderClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + DbMulticloudAwsProviderClient.serviceEndpointTemplate, + regionId, + DbMulticloudAwsProviderClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new DbMulticloudAwsProviderWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): DbMulticloudAwsProviderWaiter { + this._waiters = new DbMulticloudAwsProviderWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): DbMulticloudAwsProviderWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves the Oracle DB AWS Identity Connector resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAwsIdentityConnectorCompartmentRequest + * @return ChangeOracleDbAwsIdentityConnectorCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAwsIdentityConnectorCompartment.ts.html |here} to see how to use ChangeOracleDbAwsIdentityConnectorCompartment API. + */ + public async changeOracleDbAwsIdentityConnectorCompartment( + changeOracleDbAwsIdentityConnectorCompartmentRequest: requests.ChangeOracleDbAwsIdentityConnectorCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#changeOracleDbAwsIdentityConnectorCompartment." + ); + const operationName = "changeOracleDbAwsIdentityConnectorCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsIdentityConnectorId}": + changeOracleDbAwsIdentityConnectorCompartmentRequest.oracleDbAwsIdentityConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAwsIdentityConnectorCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAwsIdentityConnectorCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAwsIdentityConnectorCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAwsIdentityConnectorCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/oracleDbAwsIdentityConnector/{oracleDbAwsIdentityConnectorId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAwsIdentityConnectorCompartmentRequest.changeOracleDbAwsIdentityConnectorCompartmentDetails, + "ChangeOracleDbAwsIdentityConnectorCompartmentDetails", + model.ChangeOracleDbAwsIdentityConnectorCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves the AWS Key resource into a different compartment. When provided, 'If-Match' is checked against 'ETag' values of the resource. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeOracleDbAwsKeyCompartmentRequest + * @return ChangeOracleDbAwsKeyCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ChangeOracleDbAwsKeyCompartment.ts.html |here} to see how to use ChangeOracleDbAwsKeyCompartment API. + */ + public async changeOracleDbAwsKeyCompartment( + changeOracleDbAwsKeyCompartmentRequest: requests.ChangeOracleDbAwsKeyCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#changeOracleDbAwsKeyCompartment." + ); + const operationName = "changeOracleDbAwsKeyCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsKeyId}": changeOracleDbAwsKeyCompartmentRequest.oracleDbAwsKeyId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": changeOracleDbAwsKeyCompartmentRequest.opcRetryToken, + "if-match": changeOracleDbAwsKeyCompartmentRequest.ifMatch, + "opc-request-id": changeOracleDbAwsKeyCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeOracleDbAwsKeyCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey/{oracleDbAwsKeyId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeOracleDbAwsKeyCompartmentRequest.changeOracleDbAwsKeyCompartmentDetails, + "ChangeOracleDbAwsKeyCompartmentDetails", + model.ChangeOracleDbAwsKeyCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates Oracle DB AWS Identity Connector resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAwsIdentityConnectorRequest + * @return CreateOracleDbAwsIdentityConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAwsIdentityConnector.ts.html |here} to see how to use CreateOracleDbAwsIdentityConnector API. + */ + public async createOracleDbAwsIdentityConnector( + createOracleDbAwsIdentityConnectorRequest: requests.CreateOracleDbAwsIdentityConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#createOracleDbAwsIdentityConnector." + ); + const operationName = "createOracleDbAwsIdentityConnector"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAwsIdentityConnectorRequest.opcRetryToken, + "opc-request-id": createOracleDbAwsIdentityConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAwsIdentityConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAwsIdentityConnectorRequest.createOracleDbAwsIdentityConnectorDetails, + "CreateOracleDbAwsIdentityConnectorDetails", + model.CreateOracleDbAwsIdentityConnectorDetails.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: "oracleDbAwsIdentityConnector", + bodyModel: model.OracleDbAwsIdentityConnector, + type: "model.OracleDbAwsIdentityConnector", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Create DB AWS Key resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateOracleDbAwsKeyRequest + * @return CreateOracleDbAwsKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/CreateOracleDbAwsKey.ts.html |here} to see how to use CreateOracleDbAwsKey API. + */ + public async createOracleDbAwsKey( + createOracleDbAwsKeyRequest: requests.CreateOracleDbAwsKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#createOracleDbAwsKey."); + const operationName = "createOracleDbAwsKey"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createOracleDbAwsKeyRequest.opcRetryToken, + "if-match": createOracleDbAwsKeyRequest.ifMatch, + "opc-request-id": createOracleDbAwsKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createOracleDbAwsKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createOracleDbAwsKeyRequest.createOracleDbAwsKeyDetails, + "CreateOracleDbAwsKeyDetails", + model.CreateOracleDbAwsKeyDetails.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: "oracleDbAwsKey", + bodyModel: model.OracleDbAwsKey, + type: "model.OracleDbAwsKey", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a Oracle DB AWS Identity Connector resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAwsIdentityConnectorRequest + * @return DeleteOracleDbAwsIdentityConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAwsIdentityConnector.ts.html |here} to see how to use DeleteOracleDbAwsIdentityConnector API. + */ + public async deleteOracleDbAwsIdentityConnector( + deleteOracleDbAwsIdentityConnectorRequest: requests.DeleteOracleDbAwsIdentityConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#deleteOracleDbAwsIdentityConnector." + ); + const operationName = "deleteOracleDbAwsIdentityConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsIdentityConnectorId}": + deleteOracleDbAwsIdentityConnectorRequest.oracleDbAwsIdentityConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAwsIdentityConnectorRequest.ifMatch, + "opc-request-id": deleteOracleDbAwsIdentityConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAwsIdentityConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector/{oracleDbAwsIdentityConnectorId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Delete AWS Key resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteOracleDbAwsKeyRequest + * @return DeleteOracleDbAwsKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/DeleteOracleDbAwsKey.ts.html |here} to see how to use DeleteOracleDbAwsKey API. + */ + public async deleteOracleDbAwsKey( + deleteOracleDbAwsKeyRequest: requests.DeleteOracleDbAwsKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#deleteOracleDbAwsKey."); + const operationName = "deleteOracleDbAwsKey"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsKeyId}": deleteOracleDbAwsKeyRequest.oracleDbAwsKeyId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteOracleDbAwsKeyRequest.ifMatch, + "opc-request-id": deleteOracleDbAwsKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteOracleDbAwsKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey/{oracleDbAwsKeyId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves detailed information about a Oracle DB AWS Identity Connector resource by specifying its unique resource [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAwsIdentityConnectorRequest + * @return GetOracleDbAwsIdentityConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAwsIdentityConnector.ts.html |here} to see how to use GetOracleDbAwsIdentityConnector API. + */ + public async getOracleDbAwsIdentityConnector( + getOracleDbAwsIdentityConnectorRequest: requests.GetOracleDbAwsIdentityConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#getOracleDbAwsIdentityConnector." + ); + const operationName = "getOracleDbAwsIdentityConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsIdentityConnectorId}": + getOracleDbAwsIdentityConnectorRequest.oracleDbAwsIdentityConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAwsIdentityConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAwsIdentityConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector/{oracleDbAwsIdentityConnectorId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAwsIdentityConnector", + bodyModel: model.OracleDbAwsIdentityConnector, + type: "model.OracleDbAwsIdentityConnector", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieves detailed information about a Oracle AWS Key resource by specifying its unique resource [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetOracleDbAwsKeyRequest + * @return GetOracleDbAwsKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/GetOracleDbAwsKey.ts.html |here} to see how to use GetOracleDbAwsKey API. + */ + public async getOracleDbAwsKey( + getOracleDbAwsKeyRequest: requests.GetOracleDbAwsKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#getOracleDbAwsKey."); + const operationName = "getOracleDbAwsKey"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsKeyId}": getOracleDbAwsKeyRequest.oracleDbAwsKeyId + }; + + const queryParams = { + "limit": getOracleDbAwsKeyRequest.limit, + "page": getOracleDbAwsKeyRequest.page, + "sortOrder": getOracleDbAwsKeyRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getOracleDbAwsKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getOracleDbAwsKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey/{oracleDbAwsKeyId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAwsKey", + bodyModel: model.OracleDbAwsKey, + type: "model.OracleDbAwsKey", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists all Oracle DB AWS Identity Connectors based on the specified filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAwsIdentityConnectorsRequest + * @return ListOracleDbAwsIdentityConnectorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAwsIdentityConnectors.ts.html |here} to see how to use ListOracleDbAwsIdentityConnectors API. + */ + public async listOracleDbAwsIdentityConnectors( + listOracleDbAwsIdentityConnectorsRequest: requests.ListOracleDbAwsIdentityConnectorsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#listOracleDbAwsIdentityConnectors." + ); + const operationName = "listOracleDbAwsIdentityConnectors"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAwsIdentityConnectorsRequest.compartmentId, + "displayName": listOracleDbAwsIdentityConnectorsRequest.displayName, + "lifecycleState": listOracleDbAwsIdentityConnectorsRequest.lifecycleState, + "resourceId": listOracleDbAwsIdentityConnectorsRequest.resourceId, + "limit": listOracleDbAwsIdentityConnectorsRequest.limit, + "page": listOracleDbAwsIdentityConnectorsRequest.page, + "sortOrder": listOracleDbAwsIdentityConnectorsRequest.sortOrder, + "sortBy": listOracleDbAwsIdentityConnectorsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAwsIdentityConnectorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAwsIdentityConnectorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAwsIdentityConnectorSummaryCollection", + bodyModel: model.OracleDbAwsIdentityConnectorSummaryCollection, + type: "model.OracleDbAwsIdentityConnectorSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists all DB AWS Keys based on the specified filters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListOracleDbAwsKeysRequest + * @return ListOracleDbAwsKeysResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/ListOracleDbAwsKeys.ts.html |here} to see how to use ListOracleDbAwsKeys API. + */ + public async listOracleDbAwsKeys( + listOracleDbAwsKeysRequest: requests.ListOracleDbAwsKeysRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#listOracleDbAwsKeys."); + const operationName = "listOracleDbAwsKeys"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listOracleDbAwsKeysRequest.compartmentId, + "displayName": listOracleDbAwsKeysRequest.displayName, + "oracleDbAwsKeyId": listOracleDbAwsKeysRequest.oracleDbAwsKeyId, + "lifecycleState": listOracleDbAwsKeysRequest.lifecycleState, + "oracleDbAwsConnectorId": listOracleDbAwsKeysRequest.oracleDbAwsConnectorId, + "limit": listOracleDbAwsKeysRequest.limit, + "page": listOracleDbAwsKeysRequest.page, + "sortOrder": listOracleDbAwsKeysRequest.sortOrder, + "sortBy": listOracleDbAwsKeysRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listOracleDbAwsKeysRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listOracleDbAwsKeysRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "oracleDbAwsKeySummaryCollection", + bodyModel: model.OracleDbAwsKeySummaryCollection, + type: "model.OracleDbAwsKeySummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Refreshes the Oracle DB AWS Connector resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param RefreshOracleDbAwsIdentityConnectorRequest + * @return RefreshOracleDbAwsIdentityConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/RefreshOracleDbAwsIdentityConnector.ts.html |here} to see how to use RefreshOracleDbAwsIdentityConnector API. + */ + public async refreshOracleDbAwsIdentityConnector( + refreshOracleDbAwsIdentityConnectorRequest: requests.RefreshOracleDbAwsIdentityConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#refreshOracleDbAwsIdentityConnector." + ); + const operationName = "refreshOracleDbAwsIdentityConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsIdentityConnectorId}": + refreshOracleDbAwsIdentityConnectorRequest.oracleDbAwsIdentityConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": refreshOracleDbAwsIdentityConnectorRequest.opcRetryToken, + "if-match": refreshOracleDbAwsIdentityConnectorRequest.ifMatch, + "opc-request-id": refreshOracleDbAwsIdentityConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + refreshOracleDbAwsIdentityConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector/{oracleDbAwsIdentityConnectorId}/actions/refresh", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Refreshes Oracle AWS Key resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param RefreshOracleDbAwsKeyRequest + * @return RefreshOracleDbAwsKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/RefreshOracleDbAwsKey.ts.html |here} to see how to use RefreshOracleDbAwsKey API. + */ + public async refreshOracleDbAwsKey( + refreshOracleDbAwsKeyRequest: requests.RefreshOracleDbAwsKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#refreshOracleDbAwsKey."); + const operationName = "refreshOracleDbAwsKey"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsKeyId}": refreshOracleDbAwsKeyRequest.oracleDbAwsKeyId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": refreshOracleDbAwsKeyRequest.opcRetryToken, + "if-match": refreshOracleDbAwsKeyRequest.ifMatch, + "opc-request-id": refreshOracleDbAwsKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + refreshOracleDbAwsKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey/{oracleDbAwsKeyId}/actions/refresh", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + refreshOracleDbAwsKeyRequest.refreshOracleDbAwsKeyDetails, + "RefreshOracleDbAwsKeyDetails", + model.RefreshOracleDbAwsKeyDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle DB AWS Identity Connector resource for a given [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAwsIdentityConnectorRequest + * @return UpdateOracleDbAwsIdentityConnectorResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAwsIdentityConnector.ts.html |here} to see how to use UpdateOracleDbAwsIdentityConnector API. + */ + public async updateOracleDbAwsIdentityConnector( + updateOracleDbAwsIdentityConnectorRequest: requests.UpdateOracleDbAwsIdentityConnectorRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DbMulticloudAwsProviderClient#updateOracleDbAwsIdentityConnector." + ); + const operationName = "updateOracleDbAwsIdentityConnector"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsIdentityConnectorId}": + updateOracleDbAwsIdentityConnectorRequest.oracleDbAwsIdentityConnectorId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAwsIdentityConnectorRequest.ifMatch, + "opc-request-id": updateOracleDbAwsIdentityConnectorRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAwsIdentityConnectorRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsIdentityConnector/{oracleDbAwsIdentityConnectorId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAwsIdentityConnectorRequest.updateOracleDbAwsIdentityConnectorDetails, + "UpdateOracleDbAwsIdentityConnectorDetails", + model.UpdateOracleDbAwsIdentityConnectorDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Modifies the existing Oracle AWS Key Details for a given [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateOracleDbAwsKeyRequest + * @return UpdateOracleDbAwsKeyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dbmulticloud/UpdateOracleDbAwsKey.ts.html |here} to see how to use UpdateOracleDbAwsKey API. + */ + public async updateOracleDbAwsKey( + updateOracleDbAwsKeyRequest: requests.UpdateOracleDbAwsKeyRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DbMulticloudAwsProviderClient#updateOracleDbAwsKey."); + const operationName = "updateOracleDbAwsKey"; + const apiReferenceLink = ""; + const pathParams = { + "{oracleDbAwsKeyId}": updateOracleDbAwsKeyRequest.oracleDbAwsKeyId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateOracleDbAwsKeyRequest.ifMatch, + "opc-request-id": updateOracleDbAwsKeyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateOracleDbAwsKeyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/oracleDbAwsKey/{oracleDbAwsKeyId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateOracleDbAwsKeyRequest.updateOracleDbAwsKeyDetails, + "UpdateOracleDbAwsKeyDetails", + model.UpdateOracleDbAwsKeyDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} export enum DbMulticloudGCPProviderApiKeys {} /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. diff --git a/lib/dbmulticloud/lib/dbmulticloudawsprovider-waiter.ts b/lib/dbmulticloud/lib/dbmulticloudawsprovider-waiter.ts new file mode 100644 index 0000000000..46683afc00 --- /dev/null +++ b/lib/dbmulticloud/lib/dbmulticloudawsprovider-waiter.ts @@ -0,0 +1,98 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { DbMulticloudAwsProviderClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class DbMulticloudAwsProviderWaiter { + public constructor( + private client: DbMulticloudAwsProviderClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forOracleDbAwsIdentityConnector till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAwsIdentityConnectorResponse | null (null in case of 404 response) + */ + public async forOracleDbAwsIdentityConnector( + request: serviceRequests.GetOracleDbAwsIdentityConnectorRequest, + ...targetStates: models.OracleDbAwsIdentityConnector.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAwsIdentityConnector(request), + response => targetStates.includes(response.oracleDbAwsIdentityConnector.lifecycleState!), + targetStates.includes(models.OracleDbAwsIdentityConnector.LifecycleState.Deleted) + ); + } + + /** + * Waits forOracleDbAwsKey till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetOracleDbAwsKeyResponse | null (null in case of 404 response) + */ + public async forOracleDbAwsKey( + request: serviceRequests.GetOracleDbAwsKeyRequest, + ...targetStates: models.OracleDbAwsKey.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getOracleDbAwsKey(request), + response => targetStates.includes(response.oracleDbAwsKey.lifecycleState!), + targetStates.includes(models.OracleDbAwsKey.LifecycleState.Deleted) + ); + } +} diff --git a/lib/dbmulticloud/lib/dbmulticloudgcpprovider-waiter.ts b/lib/dbmulticloud/lib/dbmulticloudgcpprovider-waiter.ts index 167cc2a074..ab3b8681c4 100644 --- a/lib/dbmulticloud/lib/dbmulticloudgcpprovider-waiter.ts +++ b/lib/dbmulticloud/lib/dbmulticloudgcpprovider-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/action-type.ts b/lib/dbmulticloud/lib/model/action-type.ts index 25b181944d..4b978e2bb1 100644 --- a/lib/dbmulticloud/lib/model/action-type.ts +++ b/lib/dbmulticloud/lib/model/action-type.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/arc-agent-nodes.ts b/lib/dbmulticloud/lib/model/arc-agent-nodes.ts index 07f2f0e471..73f5ce163d 100644 --- a/lib/dbmulticloud/lib/model/arc-agent-nodes.ts +++ b/lib/dbmulticloud/lib/model/arc-agent-nodes.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/aws-nodes.ts b/lib/dbmulticloud/lib/model/aws-nodes.ts new file mode 100644 index 0000000000..685aab94c0 --- /dev/null +++ b/lib/dbmulticloud/lib/model/aws-nodes.ts @@ -0,0 +1,98 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * AWS Identity Connector Node Details. + * + */ +export interface AwsNodes { + /** + * AWS Host name or Identity Connector name. + */ + "hostName"?: string; + /** + * AWS host ID. + */ + "hostId"?: string; + /** + * The current status of the AWS Identity Connector resource. + */ + "status"?: AwsNodes.Status; + /** + * Time when the AWS Identity Connector's status was checked [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + "timeLastChecked"?: Date; +} + +export namespace AwsNodes { + export enum Status { + Connected = "CONNECTED", + Disconnected = "DISCONNECTED", + Unknown = "UNKNOWN", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: AwsNodes): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AwsNodes): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts b/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts index 67eecf2f29..c25eb4741f 100644 --- a/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-multi-cloud-resource-discovery-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-aws-identity-connector-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-aws-identity-connector-compartment-details.ts new file mode 100644 index 0000000000..e77aab90c5 --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-aws-identity-connector-compartment-details.ts @@ -0,0 +1,75 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB AWS Identity Connector resource. + */ +export interface ChangeOracleDbAwsIdentityConnectorCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment to contain the Oracle DB AWS Identity Connector resource. + */ + "compartmentId"?: string; +} + +export namespace ChangeOracleDbAwsIdentityConnectorCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAwsIdentityConnectorCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeOracleDbAwsIdentityConnectorCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-aws-key-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-aws-key-compartment-details.ts new file mode 100644 index 0000000000..a7a316767e --- /dev/null +++ b/lib/dbmulticloud/lib/model/change-oracle-db-aws-key-compartment-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details of the new compartment to contain the Oracle DB AWS Key resource. + */ +export interface ChangeOracleDbAwsKeyCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the new compartment to contain the Oracle DB AWS Key resource. + */ + "compartmentId"?: string; +} + +export namespace ChangeOracleDbAwsKeyCompartmentDetails { + export function getJsonObj(obj: ChangeOracleDbAwsKeyCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeOracleDbAwsKeyCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts index 9380b03af7..f93cb6ffd9 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-container-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts index c408bcb9f3..72c763ccae 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-blob-mount-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts index e375d30d28..acac2ee586 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-connector-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts index 0dcd104f31..81dc3ebb8a 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-association-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts index 9ae47ba3ec..9764f1fc3e 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-azure-vault-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-gcp-identity-connector-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-gcp-identity-connector-compartment-details.ts index 5a48f75836..448d7e4689 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-gcp-identity-connector-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-gcp-identity-connector-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/change-oracle-db-gcp-key-ring-compartment-details.ts b/lib/dbmulticloud/lib/model/change-oracle-db-gcp-key-ring-compartment-details.ts index 2e04465024..9bbff9a0a4 100644 --- a/lib/dbmulticloud/lib/model/change-oracle-db-gcp-key-ring-compartment-details.ts +++ b/lib/dbmulticloud/lib/model/change-oracle-db-gcp-key-ring-compartment-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts b/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts index 87c62fd4db..63e31512c8 100644 --- a/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts +++ b/lib/dbmulticloud/lib/model/create-multi-cloud-resource-discovery-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-aws-identity-connector-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-aws-identity-connector-details.ts new file mode 100644 index 0000000000..fef71f210d --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-aws-identity-connector-details.ts @@ -0,0 +1,141 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Create Oracle DB AWS Identity Connector resource object. + * + */ +export interface CreateOracleDbAwsIdentityConnectorDetails { + /** + * Oracle DB Google AWS Identity Connector resource name. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Identity Connector resource. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the AWS VM Cluster resource. + */ + "resourceId": string; + /** + * OCI IAM Domain scope for issuer URL. + */ + "oidcScope": string; + /** + * OIDC token issuer Url. + */ + "issuerUrl": string; + /** + * Service role details and respective Amazon resource nam of Role. + * + */ + "serviceRoleDetails": Array; + /** + * AWS resource location. + */ + "awsLocation": string; + /** + * Private endpoint of AWS Security Token Service. + */ + "awsStsPrivateEndpoint"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAwsIdentityConnectorDetails { + export function getJsonObj(obj: CreateOracleDbAwsIdentityConnectorDetails): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAwsIdentityConnectorDetails): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-aws-key-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-aws-key-details.ts new file mode 100644 index 0000000000..b89f9475bc --- /dev/null +++ b/lib/dbmulticloud/lib/model/create-oracle-db-aws-key-details.ts @@ -0,0 +1,122 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Create Oracle DB AWS Key object. + * + */ +export interface CreateOracleDbAwsKeyDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Key resource. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. + */ + "oracleDbConnectorId": string; + /** + * Oracle DB AWS Key resource name. + */ + "displayName": string; + /** + * Amazon resource name of AWS Key. + */ + "awsKeyArn"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * AWS Key resource type. + */ + "type"?: string; + /** + * AWS Key resource Location. + */ + "location"?: string; + /** + * The Oracle AWS Key resource is enabled or disabled at AWS. + */ + "isAwsKeyEnabled"?: boolean; + /** + * AWS Key resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateOracleDbAwsKeyDetails { + export function getJsonObj(obj: CreateOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts index be961f569e..2565f8e2a6 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-container-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts index 4dc8775d80..504b0d6867 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-blob-mount-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts index 8a383e40b3..81f82cc31d 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-connector-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts index f0a133eaca..302e744d2a 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-association-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts index 61d84dd839..6e7e53db45 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-azure-vault-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-gcp-identity-connector-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-gcp-identity-connector-details.ts index 85e1416611..a01e40f986 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-gcp-identity-connector-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-gcp-identity-connector-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/create-oracle-db-gcp-key-ring-details.ts b/lib/dbmulticloud/lib/model/create-oracle-db-gcp-key-ring-details.ts index 6cb673e6aa..bb0d31a756 100644 --- a/lib/dbmulticloud/lib/model/create-oracle-db-gcp-key-ring-details.ts +++ b/lib/dbmulticloud/lib/model/create-oracle-db-gcp-key-ring-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/gcp-nodes.ts b/lib/dbmulticloud/lib/model/gcp-nodes.ts index 370ebd9ac8..cde82e59c5 100644 --- a/lib/dbmulticloud/lib/model/gcp-nodes.ts +++ b/lib/dbmulticloud/lib/model/gcp-nodes.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/index.ts b/lib/dbmulticloud/lib/model/index.ts index 37f6ccddb3..6d2858bf0a 100644 --- a/lib/dbmulticloud/lib/model/index.ts +++ b/lib/dbmulticloud/lib/model/index.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -44,8 +50,14 @@ import * as ActionType from "./action-type"; export import ActionType = ActionType.ActionType; import * as ArcAgentNodes from "./arc-agent-nodes"; export import ArcAgentNodes = ArcAgentNodes.ArcAgentNodes; +import * as AwsNodes from "./aws-nodes"; +export import AwsNodes = AwsNodes.AwsNodes; import * as ChangeMultiCloudResourceDiscoveryCompartmentDetails from "./change-multi-cloud-resource-discovery-compartment-details"; export import ChangeMultiCloudResourceDiscoveryCompartmentDetails = ChangeMultiCloudResourceDiscoveryCompartmentDetails.ChangeMultiCloudResourceDiscoveryCompartmentDetails; +import * as ChangeOracleDbAwsIdentityConnectorCompartmentDetails from "./change-oracle-db-aws-identity-connector-compartment-details"; +export import ChangeOracleDbAwsIdentityConnectorCompartmentDetails = ChangeOracleDbAwsIdentityConnectorCompartmentDetails.ChangeOracleDbAwsIdentityConnectorCompartmentDetails; +import * as ChangeOracleDbAwsKeyCompartmentDetails from "./change-oracle-db-aws-key-compartment-details"; +export import ChangeOracleDbAwsKeyCompartmentDetails = ChangeOracleDbAwsKeyCompartmentDetails.ChangeOracleDbAwsKeyCompartmentDetails; import * as ChangeOracleDbAzureBlobContainerCompartmentDetails from "./change-oracle-db-azure-blob-container-compartment-details"; export import ChangeOracleDbAzureBlobContainerCompartmentDetails = ChangeOracleDbAzureBlobContainerCompartmentDetails.ChangeOracleDbAzureBlobContainerCompartmentDetails; import * as ChangeOracleDbAzureBlobMountCompartmentDetails from "./change-oracle-db-azure-blob-mount-compartment-details"; @@ -62,6 +74,10 @@ import * as ChangeOracleDbGcpKeyRingCompartmentDetails from "./change-oracle-db- export import ChangeOracleDbGcpKeyRingCompartmentDetails = ChangeOracleDbGcpKeyRingCompartmentDetails.ChangeOracleDbGcpKeyRingCompartmentDetails; import * as CreateMultiCloudResourceDiscoveryDetails from "./create-multi-cloud-resource-discovery-details"; export import CreateMultiCloudResourceDiscoveryDetails = CreateMultiCloudResourceDiscoveryDetails.CreateMultiCloudResourceDiscoveryDetails; +import * as CreateOracleDbAwsIdentityConnectorDetails from "./create-oracle-db-aws-identity-connector-details"; +export import CreateOracleDbAwsIdentityConnectorDetails = CreateOracleDbAwsIdentityConnectorDetails.CreateOracleDbAwsIdentityConnectorDetails; +import * as CreateOracleDbAwsKeyDetails from "./create-oracle-db-aws-key-details"; +export import CreateOracleDbAwsKeyDetails = CreateOracleDbAwsKeyDetails.CreateOracleDbAwsKeyDetails; import * as CreateOracleDbAzureBlobContainerDetails from "./create-oracle-db-azure-blob-container-details"; export import CreateOracleDbAzureBlobContainerDetails = CreateOracleDbAzureBlobContainerDetails.CreateOracleDbAzureBlobContainerDetails; import * as CreateOracleDbAzureBlobMountDetails from "./create-oracle-db-azure-blob-mount-details"; @@ -88,6 +104,18 @@ import * as OperationStatus from "./operation-status"; export import OperationStatus = OperationStatus.OperationStatus; import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; +import * as OracleDbAwsIdentityConnector from "./oracle-db-aws-identity-connector"; +export import OracleDbAwsIdentityConnector = OracleDbAwsIdentityConnector.OracleDbAwsIdentityConnector; +import * as OracleDbAwsIdentityConnectorSummary from "./oracle-db-aws-identity-connector-summary"; +export import OracleDbAwsIdentityConnectorSummary = OracleDbAwsIdentityConnectorSummary.OracleDbAwsIdentityConnectorSummary; +import * as OracleDbAwsIdentityConnectorSummaryCollection from "./oracle-db-aws-identity-connector-summary-collection"; +export import OracleDbAwsIdentityConnectorSummaryCollection = OracleDbAwsIdentityConnectorSummaryCollection.OracleDbAwsIdentityConnectorSummaryCollection; +import * as OracleDbAwsKey from "./oracle-db-aws-key"; +export import OracleDbAwsKey = OracleDbAwsKey.OracleDbAwsKey; +import * as OracleDbAwsKeySummary from "./oracle-db-aws-key-summary"; +export import OracleDbAwsKeySummary = OracleDbAwsKeySummary.OracleDbAwsKeySummary; +import * as OracleDbAwsKeySummaryCollection from "./oracle-db-aws-key-summary-collection"; +export import OracleDbAwsKeySummaryCollection = OracleDbAwsKeySummaryCollection.OracleDbAwsKeySummaryCollection; import * as OracleDbAzureBlobContainer from "./oracle-db-azure-blob-container"; export import OracleDbAzureBlobContainer = OracleDbAzureBlobContainer.OracleDbAzureBlobContainer; import * as OracleDbAzureBlobContainerSummary from "./oracle-db-azure-blob-container-summary"; @@ -144,16 +172,26 @@ import * as OracleDbGcpKeySummaryCollection from "./oracle-db-gcp-key-summary-co export import OracleDbGcpKeySummaryCollection = OracleDbGcpKeySummaryCollection.OracleDbGcpKeySummaryCollection; import * as PatchOracleDbAzureConnectorDetails from "./patch-oracle-db-azure-connector-details"; export import PatchOracleDbAzureConnectorDetails = PatchOracleDbAzureConnectorDetails.PatchOracleDbAzureConnectorDetails; +import * as RefreshOracleDbAwsKeyDetails from "./refresh-oracle-db-aws-key-details"; +export import RefreshOracleDbAwsKeyDetails = RefreshOracleDbAwsKeyDetails.RefreshOracleDbAwsKeyDetails; import * as RefreshOracleDbAzureVaultDetails from "./refresh-oracle-db-azure-vault-details"; export import RefreshOracleDbAzureVaultDetails = RefreshOracleDbAzureVaultDetails.RefreshOracleDbAzureVaultDetails; import * as RefreshOracleDbGcpKeyRingDetails from "./refresh-oracle-db-gcp-key-ring-details"; export import RefreshOracleDbGcpKeyRingDetails = RefreshOracleDbGcpKeyRingDetails.RefreshOracleDbGcpKeyRingDetails; import * as Resources from "./resources"; export import Resources = Resources.Resources; +import * as ServiceRoleDetail from "./service-role-detail"; +export import ServiceRoleDetail = ServiceRoleDetail.ServiceRoleDetail; +import * as ServiceRoleDetails from "./service-role-details"; +export import ServiceRoleDetails = ServiceRoleDetails.ServiceRoleDetails; import * as SortOrder from "./sort-order"; export import SortOrder = SortOrder.SortOrder; import * as UpdateMultiCloudResourceDiscoveryDetails from "./update-multi-cloud-resource-discovery-details"; export import UpdateMultiCloudResourceDiscoveryDetails = UpdateMultiCloudResourceDiscoveryDetails.UpdateMultiCloudResourceDiscoveryDetails; +import * as UpdateOracleDbAwsIdentityConnectorDetails from "./update-oracle-db-aws-identity-connector-details"; +export import UpdateOracleDbAwsIdentityConnectorDetails = UpdateOracleDbAwsIdentityConnectorDetails.UpdateOracleDbAwsIdentityConnectorDetails; +import * as UpdateOracleDbAwsKeyDetails from "./update-oracle-db-aws-key-details"; +export import UpdateOracleDbAwsKeyDetails = UpdateOracleDbAwsKeyDetails.UpdateOracleDbAwsKeyDetails; import * as UpdateOracleDbAzureBlobContainerDetails from "./update-oracle-db-azure-blob-container-details"; export import UpdateOracleDbAzureBlobContainerDetails = UpdateOracleDbAzureBlobContainerDetails.UpdateOracleDbAzureBlobContainerDetails; import * as UpdateOracleDbAzureBlobMountDetails from "./update-oracle-db-azure-blob-mount-details"; diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts index 0a054335f9..005a03bd43 100644 --- a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts index 4fe03cf7fd..f926644cc3 100644 --- a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts index ced01d39aa..0aca28774c 100644 --- a/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts +++ b/lib/dbmulticloud/lib/model/multi-cloud-resource-discovery.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -137,6 +143,7 @@ export namespace MultiCloudResourceDiscovery { Vaults = "VAULTS", Storage = "STORAGE", GcpKeyRings = "GCP_KEY_RINGS", + AwsKeys = "AWS_KEYS", /** * 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/dbmulticloud/lib/model/operation-status.ts b/lib/dbmulticloud/lib/model/operation-status.ts index 153afd7b5b..b735fa913f 100644 --- a/lib/dbmulticloud/lib/model/operation-status.ts +++ b/lib/dbmulticloud/lib/model/operation-status.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/operation-type.ts b/lib/dbmulticloud/lib/model/operation-type.ts index 5bcd805ea0..0917c08ada 100644 --- a/lib/dbmulticloud/lib/model/operation-type.ts +++ b/lib/dbmulticloud/lib/model/operation-type.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -75,6 +81,7 @@ export enum OperationType { MoveAzureVaultAssociation = "MOVE_AZURE_VAULT_ASSOCIATION", PatchDbResource = "PATCH_DB_RESOURCE", CreateGcpIdentityConfiguration = "CREATE_GCP_IDENTITY_CONFIGURATION", + DeleteGcpIdentityConfiguration = "DELETE_GCP_IDENTITY_CONFIGURATION", CreateGcpConnector = "CREATE_GCP_CONNECTOR", DeleteGcpConnector = "DELETE_GCP_CONNECTOR", UpdateGcpConnector = "UPDATE_GCP_CONNECTOR", @@ -86,6 +93,16 @@ export enum OperationType { UpdateGcpKeyRing = "UPDATE_GCP_KEY_RING", MoveGcpKeyRing = "MOVE_GCP_KEY_RING", RefreshGcpKeyRing = "REFRESH_GCP_KEY_RING", + CreateAwsConnector = "CREATE_AWS_CONNECTOR", + DeleteAwsConnector = "DELETE_AWS_CONNECTOR", + UpdateAwsConnector = "UPDATE_AWS_CONNECTOR", + MoveAwsConnector = "MOVE_AWS_CONNECTOR", + RefreshAwsConnector = "REFRESH_AWS_CONNECTOR", + CreateAwsKey = "CREATE_AWS_KEY", + DeleteAwsKey = "DELETE_AWS_KEY", + UpdateAwsKey = "UPDATE_AWS_KEY", + MoveAwsKey = "MOVE_AWS_KEY", + RefreshAwsKey = "REFRESH_AWS_KEY", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary-collection.ts new file mode 100644 index 0000000000..feaf7312b5 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary-collection.ts @@ -0,0 +1,93 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * List of OracleDbAwsIdentityConnectorSummary resources. + */ +export interface OracleDbAwsIdentityConnectorSummaryCollection { + /** + * This list contains the summary of Oracle DB AWS Identity Connector resources. + */ + "items": Array; +} + +export namespace OracleDbAwsIdentityConnectorSummaryCollection { + export function getJsonObj(obj: OracleDbAwsIdentityConnectorSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAwsIdentityConnectorSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: OracleDbAwsIdentityConnectorSummaryCollection + ): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAwsIdentityConnectorSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary.ts new file mode 100644 index 0000000000..d013de45e4 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary.ts @@ -0,0 +1,170 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Oracle DB AWS Identity Connector resource summary. + * + */ +export interface OracleDbAwsIdentityConnectorSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "id"?: string; + /** + * Oracle DB AWS Identity Connector resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB Identity Connector resource. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the AWS VM Cluster resource. + */ + "resourceId"?: string; + /** + * OIDC token issuer Url. + */ + "issuerUrl"?: string; + /** + * OCI IAM Domain scope for issuer URL. + */ + "oidcScope"?: string; + /** + * Service role details and respective Amazon resource nam of Role. + * + */ + "serviceRoleDetails"?: Array; + /** + * AWS resource location. + */ + "awsLocation"?: string; + /** + * Private endpoint of AWS Security Token Service. + */ + "awsStsPrivateEndpoint"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * The current lifecycle state of the AWS Identity Connector resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB AWS Identity Connector resource was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB AWS Identity Connector resource was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAwsIdentityConnectorSummary { + export function getJsonObj(obj: OracleDbAwsIdentityConnectorSummary): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAwsIdentityConnectorSummary): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector.ts new file mode 100644 index 0000000000..3338a2518a --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector.ts @@ -0,0 +1,184 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Oracle DB AWS Connector resource object. + * + */ +export interface OracleDbAwsIdentityConnector { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "id": string; + /** + * Oracle DB AWS Identity Connector resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains Oracle DB AWS Identity Connector resource. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the AWS VM Cluster resource. + */ + "resourceId": string; + /** + * OIDC token issuer Url. + */ + "issuerUrl": string; + /** + * OCI IAM Domain scope for issuer URL. + */ + "oidcScope"?: string; + /** + * Service role details and respective Amazon resource nam of Role. + * + */ + "serviceRoleDetails": Array; + /** + * AWS resource location. + */ + "awsLocation": string; + /** + * Private endpoint of AWS Security Token Service. + */ + "awsStsPrivateEndpoint"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * The current lifecycle state of the AWS Identity Connector resource. + */ + "lifecycleState"?: OracleDbAwsIdentityConnector.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle DB AWS Identity Connector resource was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle DB AWS Identity Connector resource was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAwsIdentityConnector { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: OracleDbAwsIdentityConnector): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAwsIdentityConnector): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary-collection.ts new file mode 100644 index 0000000000..76a76fd0ef --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary-collection.ts @@ -0,0 +1,91 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * List of OracleDbAwsKeySummary resources. + */ +export interface OracleDbAwsKeySummaryCollection { + /** + * This list contains the summary of Oracle DB AWS Key resources. + */ + "items": Array; +} + +export namespace OracleDbAwsKeySummaryCollection { + export function getJsonObj(obj: OracleDbAwsKeySummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAwsKeySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAwsKeySummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.OracleDbAwsKeySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary.ts new file mode 100644 index 0000000000..57180bbfa2 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-key-summary.ts @@ -0,0 +1,151 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Oracle Oracle DB AWS Key Resource Summary. + * + */ +export interface OracleDbAwsKeySummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the new Oracle DB AWS Key resource. + */ + "id"?: string; + /** + * Oracle DB AWS Key resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment contains Oracle DB AWS Key resource. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. + */ + "oracleDbConnectorId"?: string; + /** + * Amazon resource name of AWS Key. + */ + "awsKeyArn"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * AWS Key resource type. + */ + "type"?: string; + /** + * The Oracle AWS Key resource is enabled or disabled at AWS. + */ + "isAwsKeyEnabled"?: boolean; + /** + * AWS Key resource location. + */ + "location"?: string; + /** + * AWS Key resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * The current lifecycle state of the Oracle DB AWS Key resource. + */ + "lifecycleState"?: string; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the Oracle Oracle DB AWS Key resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. + * + */ + "timeCreated"?: Date; + /** + * Time when the Oracle Oracle DB AWS Key resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAwsKeySummary { + export function getJsonObj(obj: OracleDbAwsKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAwsKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-aws-key.ts b/lib/dbmulticloud/lib/model/oracle-db-aws-key.ts new file mode 100644 index 0000000000..fd5ff70c80 --- /dev/null +++ b/lib/dbmulticloud/lib/model/oracle-db-aws-key.ts @@ -0,0 +1,165 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Oracle DB AWS Key Resource object. + * + */ +export interface OracleDbAwsKey { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB AWS Key Ring resource. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB Connector resource. + */ + "oracleDbConnectorId"?: string; + /** + * Oracle DB AWS Key Ring resource name. + */ + "displayName"?: string; + /** + * Amazon resource name of AWS Key. + */ + "awsKeyArn"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * The Compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that contains this Oracle DB AWS Key resource. + */ + "compartmentId": string; + /** + * Key resource type. + */ + "type"?: string; + /** + * The Oracle AWS Key resource is enabled or disabled at AWS. + */ + "isAwsKeyEnabled"?: boolean; + /** + * AWS Key resource location. + */ + "location"?: string; + /** + * AWS Key resource's properties. + */ + "properties"?: { [key: string]: string }; + /** + * The lifecycle state of the Oracle DB AWS Key resource. + */ + "lifecycleState"?: OracleDbAwsKey.LifecycleState; + /** + * Description of the current lifecycle state in more detail. + */ + "lifecycleStateDetails"?: string; + /** + * Time when the DB AWS Key resource was created in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. + * + */ + "timeCreated"?: Date; + /** + * Time when the DB AWS Key resource was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-23T21:10:29.600Z'. + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace OracleDbAwsKey { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: OracleDbAwsKey): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OracleDbAwsKey): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts index 86ab63ae8e..8349530cfa 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts index a91a8132ae..0ddee10f45 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts index 06cfbdbbad..84a3e44513 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-container.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts index bde5930824..db8b603f8c 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts index 263e1854b9..0ae59e8ad1 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts index 5fae423607..7b4b589a2a 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-blob-mount.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts index 361e5461bd..14329c51af 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts index 229722f877..87541363a5 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts index 18cefb683c..43e3e60ac0 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-connector.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts index da81091abf..87d2d6f5d5 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts index 79d123c459..4ccd571c01 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts index 27ba808f33..3c9fdb2acd 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-key.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts index 4aff6373a3..4ea5599355 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts index 285616cd2a..1be3844bc8 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts index 07bc68894e..499665009a 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-association.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts index 4d878821ef..a3e6f33bca 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts index f4e23cbb9d..1d5fbd6eed 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts b/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts index 6489585089..612d3e7af7 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-azure-vault.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary-collection.ts index ba816a1c7e..dcd6ee0deb 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary.ts index f00d0cd034..5880e2374c 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector.ts index 84298eb42d..19ff71bbfa 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-identity-connector.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary-collection.ts index 4e616f3953..ec540e3fe1 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary.ts index 10c577bd2c..7cfd3bed2b 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring.ts index 2a4b500c14..cbd50500ad 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-ring.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary-collection.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary-collection.ts index 2c01939f83..68f74f3780 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary.ts index b989e39982..741aa6c893 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/oracle-db-gcp-key.ts b/lib/dbmulticloud/lib/model/oracle-db-gcp-key.ts index 7534cbb119..bee2a800f4 100644 --- a/lib/dbmulticloud/lib/model/oracle-db-gcp-key.ts +++ b/lib/dbmulticloud/lib/model/oracle-db-gcp-key.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts index 2d2390e7b4..34e2ed0149 100644 --- a/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts +++ b/lib/dbmulticloud/lib/model/patch-oracle-db-azure-connector-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/refresh-oracle-db-aws-key-details.ts b/lib/dbmulticloud/lib/model/refresh-oracle-db-aws-key-details.ts new file mode 100644 index 0000000000..65745af69e --- /dev/null +++ b/lib/dbmulticloud/lib/model/refresh-oracle-db-aws-key-details.ts @@ -0,0 +1,73 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for to refresh Oracle DB AWS Key resource. + */ +export interface RefreshOracleDbAwsKeyDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Connector resource. + */ + "oracleDbAwsConnectorId"?: string; +} + +export namespace RefreshOracleDbAwsKeyDetails { + export function getJsonObj(obj: RefreshOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RefreshOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/refresh-oracle-db-azure-vault-details.ts b/lib/dbmulticloud/lib/model/refresh-oracle-db-azure-vault-details.ts index e942c32f34..5f61a63427 100644 --- a/lib/dbmulticloud/lib/model/refresh-oracle-db-azure-vault-details.ts +++ b/lib/dbmulticloud/lib/model/refresh-oracle-db-azure-vault-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/refresh-oracle-db-gcp-key-ring-details.ts b/lib/dbmulticloud/lib/model/refresh-oracle-db-gcp-key-ring-details.ts index e3ad93c3b6..eca9c16ebf 100644 --- a/lib/dbmulticloud/lib/model/refresh-oracle-db-gcp-key-ring-details.ts +++ b/lib/dbmulticloud/lib/model/refresh-oracle-db-gcp-key-ring-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/resources.ts b/lib/dbmulticloud/lib/model/resources.ts index a47e8867d0..3b7e4c51db 100644 --- a/lib/dbmulticloud/lib/model/resources.ts +++ b/lib/dbmulticloud/lib/model/resources.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/service-role-detail.ts b/lib/dbmulticloud/lib/model/service-role-detail.ts new file mode 100644 index 0000000000..4bad7fbb0b --- /dev/null +++ b/lib/dbmulticloud/lib/model/service-role-detail.ts @@ -0,0 +1,85 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Service Role details object. + */ +export interface ServiceRoleDetail { + /** + * Amazon resource name AWSof the IAM role. + */ + "roleArn": string; + /** + * Private endpoint of the AWS service. + */ + "servicePrivateEndpoint": string; + /** + * Type of service. + */ + "serviceType": ServiceRoleDetail.ServiceType; +} + +export namespace ServiceRoleDetail { + export enum ServiceType { + Kms = "KMS" + } + + export function getJsonObj(obj: ServiceRoleDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ServiceRoleDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/service-role-details.ts b/lib/dbmulticloud/lib/model/service-role-details.ts new file mode 100644 index 0000000000..aeae61a71b --- /dev/null +++ b/lib/dbmulticloud/lib/model/service-role-details.ts @@ -0,0 +1,128 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Service Role details object. + */ +export interface ServiceRoleDetails { + /** + * Amazon resource name AWSof the IAM role. + */ + "roleArn": string; + /** + * Private endpoint of the AWS service. + */ + "servicePrivateEndpoint": string; + /** + * Type of service. + */ + "serviceType": ServiceRoleDetails.ServiceType; + /** + * Assume role status. + */ + "assumeRoleStatus"?: ServiceRoleDetails.AssumeRoleStatus; + /** + * List of all VMs where AWS Identity Connector is configured for Oracle DB Cloud VM Cluster. + */ + "awsNodes"?: Array; +} + +export namespace ServiceRoleDetails { + export enum ServiceType { + Kms = "KMS", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum AssumeRoleStatus { + Connected = "CONNECTED", + Disconnected = "DISCONNECTED", + PartiallyConnected = "PARTIALLY_CONNECTED", + Unknown = "UNKNOWN", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ServiceRoleDetails): object { + const jsonObj = { + ...obj, + ...{ + "awsNodes": obj.awsNodes + ? obj.awsNodes.map(item => { + return model.AwsNodes.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ServiceRoleDetails): object { + const jsonObj = { + ...obj, + ...{ + "awsNodes": obj.awsNodes + ? obj.awsNodes.map(item => { + return model.AwsNodes.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/sort-order.ts b/lib/dbmulticloud/lib/model/sort-order.ts index 076aaf33bc..f699223415 100644 --- a/lib/dbmulticloud/lib/model/sort-order.ts +++ b/lib/dbmulticloud/lib/model/sort-order.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts b/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts index 649306ead3..ea354661a8 100644 --- a/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts +++ b/lib/dbmulticloud/lib/model/update-multi-cloud-resource-discovery-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-aws-identity-connector-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-aws-identity-connector-details.ts new file mode 100644 index 0000000000..2564338e9e --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-aws-identity-connector-details.ts @@ -0,0 +1,137 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +
    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This object is about to provide input params to create Oracle DB AWS Identity Connector Resource. + * + */ +export interface UpdateOracleDbAwsIdentityConnectorDetails { + /** + * Oracle DB Google AWS Identity Connector resource name. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the AWS VM Cluster resource. + */ + "resourceId"?: string; + /** + * IAM Domain scope for issuer URL. + */ + "oidcScope"?: string; + /** + * OIDC token issuer Url. + */ + "issuerUrl"?: string; + /** + * Service role details and respective Amazon resource nam of Role. + * + */ + "serviceRoleDetails"?: Array; + /** + * AWS resource Location. + */ + "awsLocation"?: string; + /** + * Private endpoint of AWS Security Token Service. + */ + "awsStsPrivateEndpoint"?: string; + /** + * AWS Account ID. + */ + "awsAccountId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAwsIdentityConnectorDetails { + export function getJsonObj(obj: UpdateOracleDbAwsIdentityConnectorDetails): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAwsIdentityConnectorDetails): object { + const jsonObj = { + ...obj, + ...{ + "serviceRoleDetails": obj.serviceRoleDetails + ? obj.serviceRoleDetails.map(item => { + return model.ServiceRoleDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-aws-key-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-aws-key-details.ts new file mode 100644 index 0000000000..0b9ce85e0a --- /dev/null +++ b/lib/dbmulticloud/lib/model/update-oracle-db-aws-key-details.ts @@ -0,0 +1,90 @@ +/** + * Oracle Database MultiCloud Data Plane Integration + * Microsoft Azure:
+Oracle Azure Connector Resource::  The Oracle Azure Connector Resource is used to install the Azure Arc Server on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + The supported method to install the Azure Arc Server (Azure Identity) on the Exadata VM cluster: +

    +
  • Using a Bearer Access Token
  • +
+ +Oracle Azure Blob Container Resource:  The Oracle Azure Blob Container Resource is used to capture the details of an Azure Blob Container. +This resource can then be reused across multiple Exadata VM clusters in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) to mount the Azure container. + +Oracle Azure Blob Mount Resource:  The Oracle Azure Blob Mount Resource is used to mount an Azure Blob Container on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). +It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Resource to perform the mount operation. + +Discover Azure Vaults and Keys Resource:  The Discover Oracle Azure Vaults and Azure Keys Resource is used to discover Azure Vaults and the associated encryption keys available in your Azure project. + +Oracle Azure Vault:  The Oracle Azure Vault Resource is used to manage Azure Vaults within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Oracle Azure Key:  Oracle Azure Key Resource is used to register and manage a Oracle Azure Key Key within Oracle Cloud Infrastructure (OCI) under an associated Azure Vault. + +
+ +Google Cloud:
+Oracle Google Cloud Connector Resource:  The Oracle Google Cloud Connector Resource is used to install the Google Cloud Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Discover Google Key Rings and Keys Resource:  The Discover Google Key Rings and Keys Resource is used to discover Google Cloud Key Rings and the associated encryption keys available in your Google Cloud project. + +Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. + +Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). + + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Update Oracle DB AWS Key resource object. + * + */ +export interface UpdateOracleDbAwsKeyDetails { + /** + * Oracle DB AWS Key resource name. + */ + "displayName"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateOracleDbAwsKeyDetails { + export function getJsonObj(obj: UpdateOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateOracleDbAwsKeyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts index 6732562f4c..0abefb65ef 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-container-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts index 60161ffff8..1c4963b0d9 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-blob-mount-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts index 036a569a2a..617b832105 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-connector-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts index 18a96aaf0a..222b660244 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-association-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts index 6c97c4dcd7..2f254bdc6a 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-azure-vault-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-gcp-identity-connector-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-gcp-identity-connector-details.ts index 45f817c4ad..abd7397804 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-gcp-identity-connector-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-gcp-identity-connector-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/update-oracle-db-gcp-key-ring-details.ts b/lib/dbmulticloud/lib/model/update-oracle-db-gcp-key-ring-details.ts index 3c1fa899fc..f321cd1def 100644 --- a/lib/dbmulticloud/lib/model/update-oracle-db-gcp-key-ring-details.ts +++ b/lib/dbmulticloud/lib/model/update-oracle-db-gcp-key-ring-details.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-error-collection.ts b/lib/dbmulticloud/lib/model/work-request-error-collection.ts index 3c859aec2f..b13baa8b9f 100644 --- a/lib/dbmulticloud/lib/model/work-request-error-collection.ts +++ b/lib/dbmulticloud/lib/model/work-request-error-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-error.ts b/lib/dbmulticloud/lib/model/work-request-error.ts index 31b4da4d55..d33e24888f 100644 --- a/lib/dbmulticloud/lib/model/work-request-error.ts +++ b/lib/dbmulticloud/lib/model/work-request-error.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts b/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts index 3bdc954872..170425f582 100644 --- a/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts +++ b/lib/dbmulticloud/lib/model/work-request-log-entry-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-log-entry.ts b/lib/dbmulticloud/lib/model/work-request-log-entry.ts index 28cfb7875b..b4e8db6884 100644 --- a/lib/dbmulticloud/lib/model/work-request-log-entry.ts +++ b/lib/dbmulticloud/lib/model/work-request-log-entry.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts b/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts index 82510e61e5..a36196f0cc 100644 --- a/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts +++ b/lib/dbmulticloud/lib/model/work-request-resource-metadata-key.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-resource.ts b/lib/dbmulticloud/lib/model/work-request-resource.ts index c579c0c450..a953c1095f 100644 --- a/lib/dbmulticloud/lib/model/work-request-resource.ts +++ b/lib/dbmulticloud/lib/model/work-request-resource.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-summary-collection.ts b/lib/dbmulticloud/lib/model/work-request-summary-collection.ts index aef09ff757..a97398c135 100644 --- a/lib/dbmulticloud/lib/model/work-request-summary-collection.ts +++ b/lib/dbmulticloud/lib/model/work-request-summary-collection.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request-summary.ts b/lib/dbmulticloud/lib/model/work-request-summary.ts index f7e8ce5396..44b63b1b0a 100644 --- a/lib/dbmulticloud/lib/model/work-request-summary.ts +++ b/lib/dbmulticloud/lib/model/work-request-summary.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/model/work-request.ts b/lib/dbmulticloud/lib/model/work-request.ts index 773e8712a2..643f1171cc 100644 --- a/lib/dbmulticloud/lib/model/work-request.ts +++ b/lib/dbmulticloud/lib/model/work-request.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts b/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts index e6b7405316..8972ebd74f 100644 --- a/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts +++ b/lib/dbmulticloud/lib/multicloudresourcediscovery-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts b/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts index b01fedda1f..86b2b1b6b0 100644 --- a/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazureblobcontainer-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts b/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts index a0dd263a55..159f6c08d5 100644 --- a/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazureblobmount-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts b/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts index a0da7ef2c3..4255debcd2 100644 --- a/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazureconnector-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts b/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts index aad38210f3..b3a20a386d 100644 --- a/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazurekey-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts b/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts index b08b8c5c21..f63367bd11 100644 --- a/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazurevault-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts b/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts index 8958cde4e5..0cd01ca5f2 100644 --- a/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts +++ b/lib/dbmulticloud/lib/oracledbazurevaultassociation-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-aws-identity-connector-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-aws-identity-connector-compartment-request.ts new file mode 100644 index 0000000000..d455834381 --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-aws-identity-connector-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/ChangeOracleDbAwsIdentityConnectorCompartment.ts.html |here} to see how to use ChangeOracleDbAwsIdentityConnectorCompartmentRequest. + */ +export interface ChangeOracleDbAwsIdentityConnectorCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsIdentityConnectorId": string; + /** + * Moves the Oracle DB AWS Identity COnnector resource into a different compartment. + */ + "changeOracleDbAwsIdentityConnectorCompartmentDetails": model.ChangeOracleDbAwsIdentityConnectorCompartmentDetails; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/change-oracle-db-aws-key-compartment-request.ts b/lib/dbmulticloud/lib/request/change-oracle-db-aws-key-compartment-request.ts new file mode 100644 index 0000000000..dcbcb1e483 --- /dev/null +++ b/lib/dbmulticloud/lib/request/change-oracle-db-aws-key-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/ChangeOracleDbAwsKeyCompartment.ts.html |here} to see how to use ChangeOracleDbAwsKeyCompartmentRequest. + */ +export interface ChangeOracleDbAwsKeyCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId": string; + /** + * Moves the AWS Key resource into a different compartment. + */ + "changeOracleDbAwsKeyCompartmentDetails": model.ChangeOracleDbAwsKeyCompartmentDetails; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-aws-identity-connector-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-aws-identity-connector-request.ts new file mode 100644 index 0000000000..0120d4a665 --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-aws-identity-connector-request.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/CreateOracleDbAwsIdentityConnector.ts.html |here} to see how to use CreateOracleDbAwsIdentityConnectorRequest. + */ +export interface CreateOracleDbAwsIdentityConnectorRequest extends common.BaseRequest { + /** + * Details for to Create Oracle DB AWS Identity Connector resource. + * + */ + "createOracleDbAwsIdentityConnectorDetails": model.CreateOracleDbAwsIdentityConnectorDetails; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/create-oracle-db-aws-key-request.ts b/lib/dbmulticloud/lib/request/create-oracle-db-aws-key-request.ts new file mode 100644 index 0000000000..fee2b7080f --- /dev/null +++ b/lib/dbmulticloud/lib/request/create-oracle-db-aws-key-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/CreateOracleDbAwsKey.ts.html |here} to see how to use CreateOracleDbAwsKeyRequest. + */ +export interface CreateOracleDbAwsKeyRequest extends common.BaseRequest { + /** + * Details for to create AWS Key details. + */ + "createOracleDbAwsKeyDetails": model.CreateOracleDbAwsKeyDetails; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-aws-identity-connector-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-aws-identity-connector-request.ts new file mode 100644 index 0000000000..56eab3fe63 --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-aws-identity-connector-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/DeleteOracleDbAwsIdentityConnector.ts.html |here} to see how to use DeleteOracleDbAwsIdentityConnectorRequest. + */ +export interface DeleteOracleDbAwsIdentityConnectorRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsIdentityConnectorId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/delete-oracle-db-aws-key-request.ts b/lib/dbmulticloud/lib/request/delete-oracle-db-aws-key-request.ts new file mode 100644 index 0000000000..7893901ef2 --- /dev/null +++ b/lib/dbmulticloud/lib/request/delete-oracle-db-aws-key-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/DeleteOracleDbAwsKey.ts.html |here} to see how to use DeleteOracleDbAwsKeyRequest. + */ +export interface DeleteOracleDbAwsKeyRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-aws-identity-connector-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-aws-identity-connector-request.ts new file mode 100644 index 0000000000..3da1184198 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-aws-identity-connector-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/GetOracleDbAwsIdentityConnector.ts.html |here} to see how to use GetOracleDbAwsIdentityConnectorRequest. + */ +export interface GetOracleDbAwsIdentityConnectorRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsIdentityConnectorId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/get-oracle-db-aws-key-request.ts b/lib/dbmulticloud/lib/request/get-oracle-db-aws-key-request.ts new file mode 100644 index 0000000000..c7f16dd2c7 --- /dev/null +++ b/lib/dbmulticloud/lib/request/get-oracle-db-aws-key-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/GetOracleDbAwsKey.ts.html |here} to see how to use GetOracleDbAwsKeyRequest. + */ +export interface GetOracleDbAwsKeyRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId": string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/index.ts b/lib/dbmulticloud/lib/request/index.ts index 210d36c2e3..0b71e07d94 100644 --- a/lib/dbmulticloud/lib/request/index.ts +++ b/lib/dbmulticloud/lib/request/index.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -40,6 +46,34 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as ChangeOracleDbAwsIdentityConnectorCompartmentRequest from "./change-oracle-db-aws-identity-connector-compartment-request"; +export import ChangeOracleDbAwsIdentityConnectorCompartmentRequest = ChangeOracleDbAwsIdentityConnectorCompartmentRequest.ChangeOracleDbAwsIdentityConnectorCompartmentRequest; +import * as ChangeOracleDbAwsKeyCompartmentRequest from "./change-oracle-db-aws-key-compartment-request"; +export import ChangeOracleDbAwsKeyCompartmentRequest = ChangeOracleDbAwsKeyCompartmentRequest.ChangeOracleDbAwsKeyCompartmentRequest; +import * as CreateOracleDbAwsIdentityConnectorRequest from "./create-oracle-db-aws-identity-connector-request"; +export import CreateOracleDbAwsIdentityConnectorRequest = CreateOracleDbAwsIdentityConnectorRequest.CreateOracleDbAwsIdentityConnectorRequest; +import * as CreateOracleDbAwsKeyRequest from "./create-oracle-db-aws-key-request"; +export import CreateOracleDbAwsKeyRequest = CreateOracleDbAwsKeyRequest.CreateOracleDbAwsKeyRequest; +import * as DeleteOracleDbAwsIdentityConnectorRequest from "./delete-oracle-db-aws-identity-connector-request"; +export import DeleteOracleDbAwsIdentityConnectorRequest = DeleteOracleDbAwsIdentityConnectorRequest.DeleteOracleDbAwsIdentityConnectorRequest; +import * as DeleteOracleDbAwsKeyRequest from "./delete-oracle-db-aws-key-request"; +export import DeleteOracleDbAwsKeyRequest = DeleteOracleDbAwsKeyRequest.DeleteOracleDbAwsKeyRequest; +import * as GetOracleDbAwsIdentityConnectorRequest from "./get-oracle-db-aws-identity-connector-request"; +export import GetOracleDbAwsIdentityConnectorRequest = GetOracleDbAwsIdentityConnectorRequest.GetOracleDbAwsIdentityConnectorRequest; +import * as GetOracleDbAwsKeyRequest from "./get-oracle-db-aws-key-request"; +export import GetOracleDbAwsKeyRequest = GetOracleDbAwsKeyRequest.GetOracleDbAwsKeyRequest; +import * as ListOracleDbAwsIdentityConnectorsRequest from "./list-oracle-db-aws-identity-connectors-request"; +export import ListOracleDbAwsIdentityConnectorsRequest = ListOracleDbAwsIdentityConnectorsRequest.ListOracleDbAwsIdentityConnectorsRequest; +import * as ListOracleDbAwsKeysRequest from "./list-oracle-db-aws-keys-request"; +export import ListOracleDbAwsKeysRequest = ListOracleDbAwsKeysRequest.ListOracleDbAwsKeysRequest; +import * as RefreshOracleDbAwsIdentityConnectorRequest from "./refresh-oracle-db-aws-identity-connector-request"; +export import RefreshOracleDbAwsIdentityConnectorRequest = RefreshOracleDbAwsIdentityConnectorRequest.RefreshOracleDbAwsIdentityConnectorRequest; +import * as RefreshOracleDbAwsKeyRequest from "./refresh-oracle-db-aws-key-request"; +export import RefreshOracleDbAwsKeyRequest = RefreshOracleDbAwsKeyRequest.RefreshOracleDbAwsKeyRequest; +import * as UpdateOracleDbAwsIdentityConnectorRequest from "./update-oracle-db-aws-identity-connector-request"; +export import UpdateOracleDbAwsIdentityConnectorRequest = UpdateOracleDbAwsIdentityConnectorRequest.UpdateOracleDbAwsIdentityConnectorRequest; +import * as UpdateOracleDbAwsKeyRequest from "./update-oracle-db-aws-key-request"; +export import UpdateOracleDbAwsKeyRequest = UpdateOracleDbAwsKeyRequest.UpdateOracleDbAwsKeyRequest; import * as ChangeOracleDbGcpIdentityConnectorCompartmentRequest from "./change-oracle-db-gcp-identity-connector-compartment-request"; export import ChangeOracleDbGcpIdentityConnectorCompartmentRequest = ChangeOracleDbGcpIdentityConnectorCompartmentRequest.ChangeOracleDbGcpIdentityConnectorCompartmentRequest; import * as ChangeOracleDbGcpKeyRingCompartmentRequest from "./change-oracle-db-gcp-key-ring-compartment-request"; diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-aws-identity-connectors-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-aws-identity-connectors-request.ts new file mode 100644 index 0000000000..6845482726 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-aws-identity-connectors-request.ts @@ -0,0 +1,66 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/ListOracleDbAwsIdentityConnectors.ts.html |here} to see how to use ListOracleDbAwsIdentityConnectorsRequest. + */ +export interface ListOracleDbAwsIdentityConnectorsRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Oracle DB AWS Identity Connector Resource that match the given display name. + */ + "displayName"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Oracle DB Identity Connector resource that match the given resource [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "resourceId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAwsIdentityConnectorsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAwsIdentityConnectorsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-aws-keys-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-aws-keys-request.ts new file mode 100644 index 0000000000..92a0152163 --- /dev/null +++ b/lib/dbmulticloud/lib/request/list-oracle-db-aws-keys-request.ts @@ -0,0 +1,70 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/ListOracleDbAwsKeys.ts.html |here} to see how to use ListOracleDbAwsKeysRequest. + */ +export interface ListOracleDbAwsKeysRequest extends common.BaseRequest { + /** + * The [ID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A filter to return Oracle DB AWS Key Resource that match the given display name. + */ + "displayName"?: string; + /** + * A filter to return Oracle DB AWS Identity Connector Resource that match the given OCID](/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return Oracle DB AWS Identity Connector resources that match the specified [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsConnectorId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified, default is timeCreated. + * + */ + "sortBy"?: ListOracleDbAwsKeysRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListOracleDbAwsKeysRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dbmulticloud/lib/request/list-oracle-db-gcp-identity-connectors-request.ts b/lib/dbmulticloud/lib/request/list-oracle-db-gcp-identity-connectors-request.ts index 54766d5b8a..cae1e88f3c 100644 --- a/lib/dbmulticloud/lib/request/list-oracle-db-gcp-identity-connectors-request.ts +++ b/lib/dbmulticloud/lib/request/list-oracle-db-gcp-identity-connectors-request.ts @@ -27,7 +27,7 @@ export interface ListOracleDbGcpIdentityConnectorsRequest extends common.BaseReq */ "displayName"?: string; /** - * A filter to return Oracle DB GCP Identity Connector resource that match the given resource [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * A filter to return Oracle DB Identity Connector resource that match the given resource [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "resourceId"?: string; /** diff --git a/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-identity-connector-request.ts b/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-identity-connector-request.ts new file mode 100644 index 0000000000..61dd70330d --- /dev/null +++ b/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-identity-connector-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/RefreshOracleDbAwsIdentityConnector.ts.html |here} to see how to use RefreshOracleDbAwsIdentityConnectorRequest. + */ +export interface RefreshOracleDbAwsIdentityConnectorRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsIdentityConnectorId": string; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-key-request.ts b/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-key-request.ts new file mode 100644 index 0000000000..e1b6b63926 --- /dev/null +++ b/lib/dbmulticloud/lib/request/refresh-oracle-db-aws-key-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/RefreshOracleDbAwsKey.ts.html |here} to see how to use RefreshOracleDbAwsKeyRequest. + */ +export interface RefreshOracleDbAwsKeyRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId": string; + /** + * Details for to refresh Oracle DB AWS Key. + */ + "refreshOracleDbAwsKeyDetails": model.RefreshOracleDbAwsKeyDetails; + /** + * A token that uniquely identifies a request, allowing it to be safely retried in the event of a timeout or server error without the risk of the action being executed more than once. +*

+Retry tokens expire after 24 hours but can be invalidated sooner if conflicting operations occur. +*

+For example, if a resource has been deleted and permanently purged from the system, a retry of the original creation request may be rejected. +* + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-aws-identity-connector-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-aws-identity-connector-request.ts new file mode 100644 index 0000000000..035745dd2f --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-aws-identity-connector-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/UpdateOracleDbAwsIdentityConnector.ts.html |here} to see how to use UpdateOracleDbAwsIdentityConnectorRequest. + */ +export interface UpdateOracleDbAwsIdentityConnectorRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Identity Connector resource. + */ + "oracleDbAwsIdentityConnectorId": string; + /** + * Details for to update OracleDbAwsIdentityConnector. + */ + "updateOracleDbAwsIdentityConnectorDetails": model.UpdateOracleDbAwsIdentityConnectorDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/request/update-oracle-db-aws-key-request.ts b/lib/dbmulticloud/lib/request/update-oracle-db-aws-key-request.ts new file mode 100644 index 0000000000..8554074686 --- /dev/null +++ b/lib/dbmulticloud/lib/request/update-oracle-db-aws-key-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dbmulticloud/UpdateOracleDbAwsKey.ts.html |here} to see how to use UpdateOracleDbAwsKeyRequest. + */ +export interface UpdateOracleDbAwsKeyRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle DB AWS Key resource. + */ + "oracleDbAwsKeyId": string; + /** + * Details for to update OracleDbAwsKey. + */ + "updateOracleDbAwsKeyDetails": model.UpdateOracleDbAwsKeyDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-aws-identity-connector-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-aws-identity-connector-compartment-response.ts new file mode 100644 index 0000000000..8dd922595d --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-aws-identity-connector-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeOracleDbAwsIdentityConnectorCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/change-oracle-db-aws-key-compartment-response.ts b/lib/dbmulticloud/lib/response/change-oracle-db-aws-key-compartment-response.ts new file mode 100644 index 0000000000..f182eb2b87 --- /dev/null +++ b/lib/dbmulticloud/lib/response/change-oracle-db-aws-key-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeOracleDbAwsKeyCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-aws-identity-connector-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-aws-identity-connector-response.ts new file mode 100644 index 0000000000..08beff9ace --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-aws-identity-connector-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateOracleDbAwsIdentityConnectorResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAwsIdentityConnector instance. + */ + "oracleDbAwsIdentityConnector": model.OracleDbAwsIdentityConnector; +} diff --git a/lib/dbmulticloud/lib/response/create-oracle-db-aws-key-response.ts b/lib/dbmulticloud/lib/response/create-oracle-db-aws-key-response.ts new file mode 100644 index 0000000000..12aa275dae --- /dev/null +++ b/lib/dbmulticloud/lib/response/create-oracle-db-aws-key-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateOracleDbAwsKeyResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * URI of the resource + */ + "location": string; + /** + * URI of the resource + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.OracleDbAwsKey instance. + */ + "oracleDbAwsKey": model.OracleDbAwsKey; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-aws-identity-connector-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-aws-identity-connector-response.ts new file mode 100644 index 0000000000..35b465f4ff --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-aws-identity-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteOracleDbAwsIdentityConnectorResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/delete-oracle-db-aws-key-response.ts b/lib/dbmulticloud/lib/response/delete-oracle-db-aws-key-response.ts new file mode 100644 index 0000000000..d3ec585c8c --- /dev/null +++ b/lib/dbmulticloud/lib/response/delete-oracle-db-aws-key-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteOracleDbAwsKeyResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-aws-identity-connector-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-aws-identity-connector-response.ts new file mode 100644 index 0000000000..4b1e321fff --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-aws-identity-connector-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetOracleDbAwsIdentityConnectorResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAwsIdentityConnector instance. + */ + "oracleDbAwsIdentityConnector": model.OracleDbAwsIdentityConnector; +} diff --git a/lib/dbmulticloud/lib/response/get-oracle-db-aws-key-response.ts b/lib/dbmulticloud/lib/response/get-oracle-db-aws-key-response.ts new file mode 100644 index 0000000000..a8ac9cf6bf --- /dev/null +++ b/lib/dbmulticloud/lib/response/get-oracle-db-aws-key-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetOracleDbAwsKeyResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.OracleDbAwsKey instance. + */ + "oracleDbAwsKey": model.OracleDbAwsKey; +} diff --git a/lib/dbmulticloud/lib/response/index.ts b/lib/dbmulticloud/lib/response/index.ts index 74d8119aa8..8948892632 100644 --- a/lib/dbmulticloud/lib/response/index.ts +++ b/lib/dbmulticloud/lib/response/index.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * @@ -40,6 +46,34 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as ChangeOracleDbAwsIdentityConnectorCompartmentResponse from "./change-oracle-db-aws-identity-connector-compartment-response"; +export import ChangeOracleDbAwsIdentityConnectorCompartmentResponse = ChangeOracleDbAwsIdentityConnectorCompartmentResponse.ChangeOracleDbAwsIdentityConnectorCompartmentResponse; +import * as ChangeOracleDbAwsKeyCompartmentResponse from "./change-oracle-db-aws-key-compartment-response"; +export import ChangeOracleDbAwsKeyCompartmentResponse = ChangeOracleDbAwsKeyCompartmentResponse.ChangeOracleDbAwsKeyCompartmentResponse; +import * as CreateOracleDbAwsIdentityConnectorResponse from "./create-oracle-db-aws-identity-connector-response"; +export import CreateOracleDbAwsIdentityConnectorResponse = CreateOracleDbAwsIdentityConnectorResponse.CreateOracleDbAwsIdentityConnectorResponse; +import * as CreateOracleDbAwsKeyResponse from "./create-oracle-db-aws-key-response"; +export import CreateOracleDbAwsKeyResponse = CreateOracleDbAwsKeyResponse.CreateOracleDbAwsKeyResponse; +import * as DeleteOracleDbAwsIdentityConnectorResponse from "./delete-oracle-db-aws-identity-connector-response"; +export import DeleteOracleDbAwsIdentityConnectorResponse = DeleteOracleDbAwsIdentityConnectorResponse.DeleteOracleDbAwsIdentityConnectorResponse; +import * as DeleteOracleDbAwsKeyResponse from "./delete-oracle-db-aws-key-response"; +export import DeleteOracleDbAwsKeyResponse = DeleteOracleDbAwsKeyResponse.DeleteOracleDbAwsKeyResponse; +import * as GetOracleDbAwsIdentityConnectorResponse from "./get-oracle-db-aws-identity-connector-response"; +export import GetOracleDbAwsIdentityConnectorResponse = GetOracleDbAwsIdentityConnectorResponse.GetOracleDbAwsIdentityConnectorResponse; +import * as GetOracleDbAwsKeyResponse from "./get-oracle-db-aws-key-response"; +export import GetOracleDbAwsKeyResponse = GetOracleDbAwsKeyResponse.GetOracleDbAwsKeyResponse; +import * as ListOracleDbAwsIdentityConnectorsResponse from "./list-oracle-db-aws-identity-connectors-response"; +export import ListOracleDbAwsIdentityConnectorsResponse = ListOracleDbAwsIdentityConnectorsResponse.ListOracleDbAwsIdentityConnectorsResponse; +import * as ListOracleDbAwsKeysResponse from "./list-oracle-db-aws-keys-response"; +export import ListOracleDbAwsKeysResponse = ListOracleDbAwsKeysResponse.ListOracleDbAwsKeysResponse; +import * as RefreshOracleDbAwsIdentityConnectorResponse from "./refresh-oracle-db-aws-identity-connector-response"; +export import RefreshOracleDbAwsIdentityConnectorResponse = RefreshOracleDbAwsIdentityConnectorResponse.RefreshOracleDbAwsIdentityConnectorResponse; +import * as RefreshOracleDbAwsKeyResponse from "./refresh-oracle-db-aws-key-response"; +export import RefreshOracleDbAwsKeyResponse = RefreshOracleDbAwsKeyResponse.RefreshOracleDbAwsKeyResponse; +import * as UpdateOracleDbAwsIdentityConnectorResponse from "./update-oracle-db-aws-identity-connector-response"; +export import UpdateOracleDbAwsIdentityConnectorResponse = UpdateOracleDbAwsIdentityConnectorResponse.UpdateOracleDbAwsIdentityConnectorResponse; +import * as UpdateOracleDbAwsKeyResponse from "./update-oracle-db-aws-key-response"; +export import UpdateOracleDbAwsKeyResponse = UpdateOracleDbAwsKeyResponse.UpdateOracleDbAwsKeyResponse; import * as ChangeOracleDbGcpIdentityConnectorCompartmentResponse from "./change-oracle-db-gcp-identity-connector-compartment-response"; export import ChangeOracleDbGcpIdentityConnectorCompartmentResponse = ChangeOracleDbGcpIdentityConnectorCompartmentResponse.ChangeOracleDbGcpIdentityConnectorCompartmentResponse; import * as ChangeOracleDbGcpKeyRingCompartmentResponse from "./change-oracle-db-gcp-key-ring-compartment-response"; diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-aws-identity-connectors-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-aws-identity-connectors-response.ts new file mode 100644 index 0000000000..be154cc65c --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-aws-identity-connectors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListOracleDbAwsIdentityConnectorsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAwsIdentityConnectorSummaryCollection instance. + */ + "oracleDbAwsIdentityConnectorSummaryCollection": model.OracleDbAwsIdentityConnectorSummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/list-oracle-db-aws-keys-response.ts b/lib/dbmulticloud/lib/response/list-oracle-db-aws-keys-response.ts new file mode 100644 index 0000000000..810a6c4bb3 --- /dev/null +++ b/lib/dbmulticloud/lib/response/list-oracle-db-aws-keys-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListOracleDbAwsKeysResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.OracleDbAwsKeySummaryCollection instance. + */ + "oracleDbAwsKeySummaryCollection": model.OracleDbAwsKeySummaryCollection; +} diff --git a/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-identity-connector-response.ts b/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-identity-connector-response.ts new file mode 100644 index 0000000000..fcdb8bf931 --- /dev/null +++ b/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-identity-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RefreshOracleDbAwsIdentityConnectorResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-key-response.ts b/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-key-response.ts new file mode 100644 index 0000000000..67374ab13f --- /dev/null +++ b/lib/dbmulticloud/lib/response/refresh-oracle-db-aws-key-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RefreshOracleDbAwsKeyResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-aws-identity-connector-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-aws-identity-connector-response.ts new file mode 100644 index 0000000000..894b58a2b9 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-aws-identity-connector-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateOracleDbAwsIdentityConnectorResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/response/update-oracle-db-aws-key-response.ts b/lib/dbmulticloud/lib/response/update-oracle-db-aws-key-response.ts new file mode 100644 index 0000000000..61c0b501f2 --- /dev/null +++ b/lib/dbmulticloud/lib/response/update-oracle-db-aws-key-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateOracleDbAwsKeyResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dbmulticloud/lib/workrequest-waiter.ts b/lib/dbmulticloud/lib/workrequest-waiter.ts index b7ad00ba43..5a290259f8 100644 --- a/lib/dbmulticloud/lib/workrequest-waiter.ts +++ b/lib/dbmulticloud/lib/workrequest-waiter.ts @@ -29,6 +29,12 @@ It relies on both the Oracle Azure Connector and the Oracle Azure Blob Container Google Key Rings Resource:  The Google Key Rings Resource is used to register and manage Google Cloud Key Rings within Oracle Cloud Infrastructure (OCI) for use with services such as Oracle Exadata Database Service on Dedicated Infrastructure. Google Key Resource:  The Google Key Resource is used to register and manage a Google Cloud Key within Oracle Cloud Infrastructure (OCI) under an associated Google Key Ring. +
+ +AWS:
+Oracle AWS Connector Resource:  The Oracle AWS Connector Resource is used to install the AWS Identity Connector on an Exadata VM cluster in Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D). + +Google AWS Key Resource:  The Oracle AWS Key Resource is used to register and manage a AWS Key within Oracle Cloud Infrastructure (OCI). * OpenAPI spec version: 20240501 * diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index a22018e1ed..5a5583d6c2 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 81a406c3c4..4bb999c7c0 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.121.1", + "version": "2.122.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 0c9855cbce..e633117c6d 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.121.1", + "version": "2.122.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 29f0bdf200..a162cd8f0a 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index b84bc68051..16baefce59 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/dif/package.json b/lib/dif/package.json index ae58b46aa4..9fd32d157e 100644 --- a/lib/dif/package.json +++ b/lib/dif/package.json @@ -1,6 +1,6 @@ { "name": "oci-dif", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Dif Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 232b4870b1..4e6c1abdb4 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.121.1", + "version": "2.122.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 f1924bd36b..aab8d308e3 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.121.1", + "version": "2.122.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 7a6bc667bf..b8c8aa9203 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.121.1", + "version": "2.122.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 a3f756d9a4..20e35242d8 100644 --- a/lib/email/lib/client.ts +++ b/lib/email/lib/client.ts @@ -324,6 +324,167 @@ export class EmailClient { } } + /** + * Adds a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddEmailIpPoolLockRequest + * @return AddEmailIpPoolLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailIpPoolLock.ts.html |here} to see how to use AddEmailIpPoolLock API. + */ + public async addEmailIpPoolLock( + addEmailIpPoolLockRequest: requests.AddEmailIpPoolLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#addEmailIpPoolLock."); + const operationName = "addEmailIpPoolLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/AddEmailIpPoolLock"; + const pathParams = { + "{emailIpPoolId}": addEmailIpPoolLockRequest.emailIpPoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": addEmailIpPoolLockRequest.opcRequestId, + "if-match": addEmailIpPoolLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addEmailIpPoolLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}/actions/addLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addEmailIpPoolLockRequest.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: "emailIpPool", + bodyModel: model.EmailIpPool, + type: "model.EmailIpPool", + 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; + } + } + + /** + * Add OutboundIps to EmailIpPool. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddEmailOutboundIpRequest + * @return AddEmailOutboundIpResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailOutboundIp.ts.html |here} to see how to use AddEmailOutboundIp API. + */ + public async addEmailOutboundIp( + addEmailOutboundIpRequest: requests.AddEmailOutboundIpRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#addEmailOutboundIp."); + const operationName = "addEmailOutboundIp"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/AddEmailOutboundIp"; + const pathParams = { + "{emailIpPoolId}": addEmailOutboundIpRequest.emailIpPoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": addEmailOutboundIpRequest.opcRequestId, + "if-match": addEmailOutboundIpRequest.ifMatch, + "opc-retry-token": addEmailOutboundIpRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addEmailOutboundIpRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}/actions/addEmailOutboundIp", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addEmailOutboundIpRequest.addEmailOutboundIpDetails, + "AddEmailOutboundIpDetails", + model.AddEmailOutboundIpDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + 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. @@ -576,6 +737,88 @@ export class EmailClient { } } + /** + * Moves a resource into a different compartment. When provided, If-Match is checked against ETag values of the resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ChangeEmailIpPoolCompartmentRequest + * @return ChangeEmailIpPoolCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ChangeEmailIpPoolCompartment.ts.html |here} to see how to use ChangeEmailIpPoolCompartment API. + */ + public async changeEmailIpPoolCompartment( + changeEmailIpPoolCompartmentRequest: requests.ChangeEmailIpPoolCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation EmailClient#changeEmailIpPoolCompartment."); + const operationName = "changeEmailIpPoolCompartment"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/ChangeEmailIpPoolCompartment"; + const pathParams = { + "{emailIpPoolId}": changeEmailIpPoolCompartmentRequest.emailIpPoolId + }; + + const queryParams = { + "isLockOverride": changeEmailIpPoolCompartmentRequest.isLockOverride + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeEmailIpPoolCompartmentRequest.ifMatch, + "opc-request-id": changeEmailIpPoolCompartmentRequest.opcRequestId, + "opc-retry-token": changeEmailIpPoolCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeEmailIpPoolCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeEmailIpPoolCompartmentRequest.changeEmailIpPoolCompartmentDetails, + "ChangeEmailIpPoolCompartmentDetails", + model.ChangeEmailIpPoolCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves a sender into a different compartment. When provided, If-Match is checked against ETag values of the resource. * This operation does not retry by default if the user has not defined a retry configuration. @@ -846,6 +1089,101 @@ export class EmailClient { } } + /** + * Creates a new EmailIpPool. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param CreateEmailIpPoolRequest + * @return CreateEmailIpPoolResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/CreateEmailIpPool.ts.html |here} to see how to use CreateEmailIpPool API. + */ + public async createEmailIpPool( + createEmailIpPoolRequest: requests.CreateEmailIpPoolRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#createEmailIpPool."); + const operationName = "createEmailIpPool"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/CreateEmailIpPool"; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createEmailIpPoolRequest.opcRetryToken, + "opc-request-id": createEmailIpPoolRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createEmailIpPoolRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createEmailIpPoolRequest.createEmailIpPoolDetails, + "CreateEmailIpPoolDetails", + model.CreateEmailIpPoolDetails.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: "emailIpPool", + bodyModel: model.EmailIpPool, + type: "model.EmailIpPool", + responseHeaders: [ + { + value: response.headers.get("Content-Location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("Location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Creates a new email return path. Avoid entering confidential information. * This operation does not retry by default if the user has not defined a retry configuration. @@ -1141,7 +1479,82 @@ export class EmailClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/dkims/{dkimId}", + path: "/dkims/{dkimId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes an email domain. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param DeleteEmailDomainRequest + * @return DeleteEmailDomainResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/DeleteEmailDomain.ts.html |here} to see how to use DeleteEmailDomain API. + */ + public async deleteEmailDomain( + deleteEmailDomainRequest: requests.DeleteEmailDomainRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#deleteEmailDomain."); + const operationName = "deleteEmailDomain"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/DeleteEmailDomain"; + const pathParams = { + "{emailDomainId}": deleteEmailDomainRequest.emailDomainId + }; + + const queryParams = { + "isLockOverride": deleteEmailDomainRequest.isLockOverride + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteEmailDomainRequest.ifMatch, + "opc-request-id": deleteEmailDomainRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteEmailDomainRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailDomains/{emailDomainId}", method: "DELETE", pathParams: pathParams, headerParams: headerParams, @@ -1156,16 +1569,16 @@ export class EmailClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -1178,45 +1591,45 @@ export class EmailClient { } /** - * Deletes an email domain. + * Deletes an EmailIpPool resource by identifier * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteEmailDomainRequest - * @return DeleteEmailDomainResponse + * @param DeleteEmailIpPoolRequest + * @return DeleteEmailIpPoolResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/DeleteEmailDomain.ts.html |here} to see how to use DeleteEmailDomain API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/DeleteEmailIpPool.ts.html |here} to see how to use DeleteEmailIpPool API. */ - public async deleteEmailDomain( - deleteEmailDomainRequest: requests.DeleteEmailDomainRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EmailClient#deleteEmailDomain."); - const operationName = "deleteEmailDomain"; + public async deleteEmailIpPool( + deleteEmailIpPoolRequest: requests.DeleteEmailIpPoolRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#deleteEmailIpPool."); + const operationName = "deleteEmailIpPool"; const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/DeleteEmailDomain"; + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/DeleteEmailIpPool"; const pathParams = { - "{emailDomainId}": deleteEmailDomainRequest.emailDomainId + "{emailIpPoolId}": deleteEmailIpPoolRequest.emailIpPoolId }; const queryParams = { - "isLockOverride": deleteEmailDomainRequest.isLockOverride + "isLockOverride": deleteEmailIpPoolRequest.isLockOverride }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteEmailDomainRequest.ifMatch, - "opc-request-id": deleteEmailDomainRequest.opcRequestId + "if-match": deleteEmailIpPoolRequest.ifMatch, + "opc-request-id": deleteEmailIpPoolRequest.opcRequestId }; const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteEmailDomainRequest.retryConfiguration, + deleteEmailIpPoolRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/emailDomains/{emailDomainId}", + path: "/emailIpPools/{emailIpPoolId}", method: "DELETE", pathParams: pathParams, headerParams: headerParams, @@ -1231,7 +1644,7 @@ export class EmailClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -1692,6 +2105,82 @@ export class EmailClient { } } + /** + * Retrieves the specified IpPool by identifier + * This operation does not retry by default if the user has not defined a retry configuration. + * @param GetEmailIpPoolRequest + * @return GetEmailIpPoolResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/GetEmailIpPool.ts.html |here} to see how to use GetEmailIpPool API. + */ + public async getEmailIpPool( + getEmailIpPoolRequest: requests.GetEmailIpPoolRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#getEmailIpPool."); + const operationName = "getEmailIpPool"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/GetEmailIpPool"; + const pathParams = { + "{emailIpPoolId}": getEmailIpPoolRequest.emailIpPoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getEmailIpPoolRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getEmailIpPoolRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailIpPool", + bodyModel: model.EmailIpPool, + type: "model.EmailIpPool", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Retrieves the specified email return path. * This operation does not retry by default if the user has not defined a retry configuration. @@ -1978,11 +2467,177 @@ export class EmailClient { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists DKIMs for an email domain. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListDkimsRequest + * @return ListDkimsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListDkims.ts.html |here} to see how to use ListDkims API. + */ + public async listDkims( + listDkimsRequest: requests.ListDkimsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#listDkims."); + const operationName = "listDkims"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/ListDkims"; + const pathParams = {}; + + const queryParams = { + "emailDomainId": listDkimsRequest.emailDomainId, + "id": listDkimsRequest.id, + "name": listDkimsRequest.name, + "limit": listDkimsRequest.limit, + "page": listDkimsRequest.page, + "sortOrder": listDkimsRequest.sortOrder, + "lifecycleState": listDkimsRequest.lifecycleState, + "sortBy": listDkimsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDkimsRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDkimsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dkims", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "dkimCollection", + bodyModel: model.DkimCollection, + type: "model.DkimCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists email domains in the specified compartment. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListEmailDomainsRequest + * @return ListEmailDomainsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListEmailDomains.ts.html |here} to see how to use ListEmailDomains API. + */ + public async listEmailDomains( + listEmailDomainsRequest: requests.ListEmailDomainsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#listEmailDomains."); + const operationName = "listEmailDomains"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/ListEmailDomains"; + const pathParams = {}; + + const queryParams = { + "compartmentId": listEmailDomainsRequest.compartmentId, + "id": listEmailDomainsRequest.id, + "name": listEmailDomainsRequest.name, + "limit": listEmailDomainsRequest.limit, + "page": listEmailDomainsRequest.page, + "sortOrder": listEmailDomainsRequest.sortOrder, + "lifecycleState": listEmailDomainsRequest.lifecycleState, + "sortBy": listEmailDomainsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listEmailDomainsRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listEmailDomainsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailDomains", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailDomainCollection", + bodyModel: model.EmailDomainCollection, + type: "model.EmailDomainCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" } ] }); @@ -1994,49 +2649,49 @@ export class EmailClient { } /** - * Lists DKIMs for an email domain. + * Returns a list of EmailIpPools. * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListDkimsRequest - * @return ListDkimsResponse + * @param ListEmailIpPoolsRequest + * @return ListEmailIpPoolsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListDkims.ts.html |here} to see how to use ListDkims API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListEmailIpPools.ts.html |here} to see how to use ListEmailIpPools API. */ - public async listDkims( - listDkimsRequest: requests.ListDkimsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EmailClient#listDkims."); - const operationName = "listDkims"; + public async listEmailIpPools( + listEmailIpPoolsRequest: requests.ListEmailIpPoolsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#listEmailIpPools."); + const operationName = "listEmailIpPools"; const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Dkim/ListDkims"; + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPoolCollection/ListEmailIpPools"; const pathParams = {}; const queryParams = { - "emailDomainId": listDkimsRequest.emailDomainId, - "id": listDkimsRequest.id, - "name": listDkimsRequest.name, - "limit": listDkimsRequest.limit, - "page": listDkimsRequest.page, - "sortOrder": listDkimsRequest.sortOrder, - "lifecycleState": listDkimsRequest.lifecycleState, - "sortBy": listDkimsRequest.sortBy + "compartmentId": listEmailIpPoolsRequest.compartmentId, + "id": listEmailIpPoolsRequest.id, + "name": listEmailIpPoolsRequest.name, + "lifecycleState": listEmailIpPoolsRequest.lifecycleState, + "limit": listEmailIpPoolsRequest.limit, + "page": listEmailIpPoolsRequest.page, + "sortOrder": listEmailIpPoolsRequest.sortOrder, + "sortBy": listEmailIpPoolsRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listDkimsRequest.opcRequestId + "opc-request-id": listEmailIpPoolsRequest.opcRequestId }; const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listDkimsRequest.retryConfiguration, + listEmailIpPoolsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/dkims", + path: "/emailIpPools", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -2051,20 +2706,20 @@ export class EmailClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "dkimCollection", - bodyModel: model.DkimCollection, - type: "model.DkimCollection", + bodyKey: "emailIpPoolCollection", + bodyModel: model.EmailIpPoolCollection, + type: "model.EmailIpPoolCollection", responseHeaders: [ { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] @@ -2077,49 +2732,49 @@ export class EmailClient { } /** - * Lists email domains in the specified compartment. + * Returns a list of all Outbound Public IPs assigned for a given tenant. * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListEmailDomainsRequest - * @return ListEmailDomainsResponse + * @param ListEmailOutboundIpsRequest + * @return ListEmailOutboundIpsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListEmailDomains.ts.html |here} to see how to use ListEmailDomains API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListEmailOutboundIps.ts.html |here} to see how to use ListEmailOutboundIps API. */ - public async listEmailDomains( - listEmailDomainsRequest: requests.ListEmailDomainsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EmailClient#listEmailDomains."); - const operationName = "listEmailDomains"; + public async listEmailOutboundIps( + listEmailOutboundIpsRequest: requests.ListEmailOutboundIpsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#listEmailOutboundIps."); + const operationName = "listEmailOutboundIps"; const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/ListEmailDomains"; + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailOutboundIpCollection/ListEmailOutboundIps"; const pathParams = {}; const queryParams = { - "compartmentId": listEmailDomainsRequest.compartmentId, - "id": listEmailDomainsRequest.id, - "name": listEmailDomainsRequest.name, - "limit": listEmailDomainsRequest.limit, - "page": listEmailDomainsRequest.page, - "sortOrder": listEmailDomainsRequest.sortOrder, - "lifecycleState": listEmailDomainsRequest.lifecycleState, - "sortBy": listEmailDomainsRequest.sortBy + "compartmentId": listEmailOutboundIpsRequest.compartmentId, + "outboundIp": listEmailOutboundIpsRequest.outboundIp, + "limit": listEmailOutboundIpsRequest.limit, + "page": listEmailOutboundIpsRequest.page, + "sortOrder": listEmailOutboundIpsRequest.sortOrder, + "lifecycleState": listEmailOutboundIpsRequest.lifecycleState, + "assignmentState": listEmailOutboundIpsRequest.assignmentState, + "sortBy": listEmailOutboundIpsRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listEmailDomainsRequest.opcRequestId + "opc-request-id": listEmailOutboundIpsRequest.opcRequestId }; const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listEmailDomainsRequest.retryConfiguration, + listEmailOutboundIpsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/emailDomains", + path: "/emailOutboundIps", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -2134,20 +2789,20 @@ export class EmailClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "emailDomainCollection", - bodyModel: model.EmailDomainCollection, - type: "model.EmailDomainCollection", + bodyKey: "emailOutboundIpCollection", + bodyModel: model.EmailOutboundIpCollection, + type: "model.EmailOutboundIpCollection", responseHeaders: [ { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] @@ -2266,6 +2921,7 @@ export class EmailClient { "lifecycleState": listSendersRequest.lifecycleState, "domain": listSendersRequest.domain, "emailAddress": listSendersRequest.emailAddress, + "emailIpPoolId": listSendersRequest.emailIpPoolId, "page": listSendersRequest.page, "limit": listSendersRequest.limit, "sortBy": listSendersRequest.sortBy, @@ -2854,6 +3510,167 @@ 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 RemoveEmailIpPoolLockRequest + * @return RemoveEmailIpPoolLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveEmailIpPoolLock.ts.html |here} to see how to use RemoveEmailIpPoolLock API. + */ + public async removeEmailIpPoolLock( + removeEmailIpPoolLockRequest: requests.RemoveEmailIpPoolLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#removeEmailIpPoolLock."); + const operationName = "removeEmailIpPoolLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/RemoveEmailIpPoolLock"; + const pathParams = { + "{emailIpPoolId}": removeEmailIpPoolLockRequest.emailIpPoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": removeEmailIpPoolLockRequest.opcRequestId, + "if-match": removeEmailIpPoolLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + removeEmailIpPoolLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}/actions/removeLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + removeEmailIpPoolLockRequest.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: "emailIpPool", + bodyModel: model.EmailIpPool, + type: "model.EmailIpPool", + 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 OutboundIps from EmailIpPool. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RemoveEmailOutboundIpRequest + * @return RemoveEmailOutboundIpResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveEmailOutboundIp.ts.html |here} to see how to use RemoveEmailOutboundIp API. + */ + public async removeEmailOutboundIp( + removeEmailOutboundIpRequest: requests.RemoveEmailOutboundIpRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#removeEmailOutboundIp."); + const operationName = "removeEmailOutboundIp"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/RemoveEmailOutboundIp"; + const pathParams = { + "{emailIpPoolId}": removeEmailOutboundIpRequest.emailIpPoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": removeEmailOutboundIpRequest.opcRequestId, + "if-match": removeEmailOutboundIpRequest.ifMatch, + "opc-retry-token": removeEmailOutboundIpRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + removeEmailOutboundIpRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}/actions/removeEmailOutboundIp", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + removeEmailOutboundIpRequest.removeEmailOutboundIpDetails, + "RemoveEmailOutboundIpDetails", + model.RemoveEmailOutboundIpDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + 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. @@ -3176,6 +3993,86 @@ export class EmailClient { } } + /** + * Updates the EmailIpPool + * This operation does not retry by default if the user has not defined a retry configuration. + * @param UpdateEmailIpPoolRequest + * @return UpdateEmailIpPoolResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/UpdateEmailIpPool.ts.html |here} to see how to use UpdateEmailIpPool API. + */ + public async updateEmailIpPool( + updateEmailIpPoolRequest: requests.UpdateEmailIpPoolRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#updateEmailIpPool."); + const operationName = "updateEmailIpPool"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailIpPool/UpdateEmailIpPool"; + const pathParams = { + "{emailIpPoolId}": updateEmailIpPoolRequest.emailIpPoolId + }; + + const queryParams = { + "isLockOverride": updateEmailIpPoolRequest.isLockOverride + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateEmailIpPoolRequest.ifMatch, + "opc-request-id": updateEmailIpPoolRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateEmailIpPoolRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailIpPools/{emailIpPoolId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateEmailIpPoolRequest.updateEmailIpPoolDetails, + "UpdateEmailIpPoolDetails", + model.UpdateEmailIpPoolDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Modifies an email return path. * This operation does not retry by default if the user has not defined a retry configuration. diff --git a/lib/email/lib/email-waiter.ts b/lib/email/lib/email-waiter.ts index 3d698ff862..b3bbde9420 100644 --- a/lib/email/lib/email-waiter.ts +++ b/lib/email/lib/email-waiter.ts @@ -63,6 +63,25 @@ export class EmailWaiter { ); } + /** + * Waits forEmailIpPool till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetEmailIpPoolResponse | null (null in case of 404 response) + */ + public async forEmailIpPool( + request: serviceRequests.GetEmailIpPoolRequest, + ...targetStates: models.EmailIpPool.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getEmailIpPool(request), + response => targetStates.includes(response.emailIpPool.lifecycleState!), + targetStates.includes(models.EmailIpPool.LifecycleState.Deleted) + ); + } + /** * Waits forEmailReturnPath till it reaches any of the provided states * diff --git a/lib/email/lib/model/add-email-outbound-ip-details.ts b/lib/email/lib/model/add-email-outbound-ip-details.ts new file mode 100644 index 0000000000..f751babb46 --- /dev/null +++ b/lib/email/lib/model/add-email-outbound-ip-details.ts @@ -0,0 +1,46 @@ +/** + * 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"); + +/** + * Outbound IP details to be assigned to the IpPool. + * + */ +export interface AddEmailOutboundIpDetails { + /** + * List of public IPs to ADD to the IpPool. + * Public IPs must be in the AVAILABLE state to be assigned to the IpPool. + * + */ + "outboundIps": Array; +} + +export namespace AddEmailOutboundIpDetails { + export function getJsonObj(obj: AddEmailOutboundIpDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AddEmailOutboundIpDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/change-email-ip-pool-compartment-details.ts b/lib/email/lib/model/change-email-ip-pool-compartment-details.ts new file mode 100644 index 0000000000..acc57bcf24 --- /dev/null +++ b/lib/email/lib/model/change-email-ip-pool-compartment-details.ts @@ -0,0 +1,44 @@ +/** + * 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"); + +/** + * Information about the change compartment for the IpPool resource. + */ +export interface ChangeEmailIpPoolCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. + * + */ + "compartmentId": string; +} + +export namespace ChangeEmailIpPoolCompartmentDetails { + export function getJsonObj(obj: ChangeEmailIpPoolCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeEmailIpPoolCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/create-email-ip-pool-details.ts b/lib/email/lib/model/create-email-ip-pool-details.ts new file mode 100644 index 0000000000..2d0e540cd3 --- /dev/null +++ b/lib/email/lib/model/create-email-ip-pool-details.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"); + +/** + * The configuration details required to create a new IpPool which will be used to route emails. + */ +export interface CreateEmailIpPoolDetails { + /** + * The name of the IpPool. The name must be unique within a region. +* The name is case sensitive and supported characters include alphanumeric, hyphens (\"-\") and underscore (\"_\") characters. +*

+Example: green_pool-1 +* + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this IpPool. + */ + "compartmentId": string; + /** + * The description of the IpPool. Avoid entering confidential information. + */ + "description"?: string; + /** + * A list of outbound public IPs for assignment to the IpPool. These IPs must be in the AVAILABLE state to be eligible for assignment. + */ + "outboundIps": Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateEmailIpPoolDetails { + export function getJsonObj(obj: CreateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/create-sender-details.ts b/lib/email/lib/model/create-sender-details.ts index 76f25f6892..7d3afc3ef8 100644 --- a/lib/email/lib/model/create-sender-details.ts +++ b/lib/email/lib/model/create-sender-details.ts @@ -32,6 +32,10 @@ export interface CreateSenderDetails { * The email address of the sender. */ "emailAddress": string; + /** + * An optional field. The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/email/lib/model/email-ip-pool-collection.ts b/lib/email/lib/model/email-ip-pool-collection.ts new file mode 100644 index 0000000000..7b9c9d9217 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool-collection.ts @@ -0,0 +1,61 @@ +/** + * 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"); + +/** + * Results of an IpPool search. Contains EmailIpPoolSummary items. + */ +export interface EmailIpPoolCollection { + /** + * List of IpPools. + */ + "items": Array; +} + +export namespace EmailIpPoolCollection { + export function getJsonObj(obj: EmailIpPoolCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailIpPoolSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPoolCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailIpPoolSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-ip-pool-summary.ts b/lib/email/lib/model/email-ip-pool-summary.ts new file mode 100644 index 0000000000..803f5b3186 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool-summary.ts @@ -0,0 +1,125 @@ +/** + * 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"); + +/** + * The properties that define an IpPool. + */ +export interface EmailIpPoolSummary { + /** + * The unique [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool resource that is immutable on creation. + */ + "id": string; + /** + * The name of the IpPool. The name must be unique within a region. +* The name is case sensitive and supported characters include alphanumeric, hyphens (\"-\") and underscore (\"_\") characters. +*

+Example: green_pool-1 +* + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IpPool. + */ + "compartmentId": string; + /** + * The current state of the IpPool. + */ + "lifecycleState"?: string; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a + * resource in 'INACTIVE' state. + * + */ + "lifecycleDetails"?: string; + /** + * The time the IpPool was created. + * Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) + * timestamp format, \"YYYY-MM-ddThh:mmZ\". + * Example: {@code 2021-02-12T22:47:12.613Z} + * + */ + "timeCreated"?: Date; + /** + * The time of the last change to the IpPool, due to a state change or + * an update operation. + * Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) + * timestamp format, \"YYYY-MM-ddThh:mmZ\". + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; +} + +export namespace EmailIpPoolSummary { + export function getJsonObj(obj: EmailIpPoolSummary): object { + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPoolSummary): object { + 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-ip-pool.ts b/lib/email/lib/model/email-ip-pool.ts new file mode 100644 index 0000000000..6f84eeede9 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool.ts @@ -0,0 +1,161 @@ +/** + * 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"); + +/** + * A collection of IP addresses used by the Email Delivery service to submit an email. + */ +export interface EmailIpPool { + /** + * The unique [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool resource that is immutable on creation. + */ + "id": string; + /** + * The name of the IpPool. The name must be unique within a region. +* The name is case sensitive and supported characters include alphanumeric, hyphens (\"-\") and underscore (\"_\") characters. +*

+Example: green_pool-1 +* + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the IpPool. + */ + "compartmentId": string; + /** + * The description of the IpPool. Avoid entering confidential information. + */ + "description"?: string; + /** + * The current state of the IpPool. + */ + "lifecycleState"?: EmailIpPool.LifecycleState; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a + * resource in 'INACTIVE' state. + * + */ + "lifecycleDetails"?: string; + /** + * Summary of outbound IPs assigned to the IpPool. + */ + "outboundIps"?: Array; + /** + * The time the IpPool was created. +* Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) +* timestamp format, \"YYYY-MM-ddThh:mmZ\". +*

+Example: {@code 2021-02-12T22:47:12.613Z} +* + */ + "timeCreated"?: Date; + /** + * The time of the last change to the IpPool, due to a state change or + * an update operation. + * Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) + * timestamp format, \"YYYY-MM-ddThh:mmZ\". + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; +} + +export namespace EmailIpPool { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: EmailIpPool): object { + const jsonObj = { + ...obj, + ...{ + "outboundIps": obj.outboundIps + ? obj.outboundIps.map(item => { + return model.EmailOutboundIpSummary.getJsonObj(item); + }) + : undefined, + + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPool): object { + const jsonObj = { + ...obj, + ...{ + "outboundIps": obj.outboundIps + ? obj.outboundIps.map(item => { + return model.EmailOutboundIpSummary.getDeserializedJsonObj(item); + }) + : undefined, + + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-outbound-ip-collection.ts b/lib/email/lib/model/email-outbound-ip-collection.ts new file mode 100644 index 0000000000..d51c1ab55d --- /dev/null +++ b/lib/email/lib/model/email-outbound-ip-collection.ts @@ -0,0 +1,61 @@ +/** + * 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"); + +/** + * Results of an outbound public IP search. Contains EmailOutboundIpSummary items. + */ +export interface EmailOutboundIpCollection { + /** + * List of public IPs. + */ + "items": Array; +} + +export namespace EmailOutboundIpCollection { + export function getJsonObj(obj: EmailOutboundIpCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailOutboundIpSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailOutboundIpCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailOutboundIpSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-outbound-ip-summary.ts b/lib/email/lib/model/email-outbound-ip-summary.ts new file mode 100644 index 0000000000..a4cd64de19 --- /dev/null +++ b/lib/email/lib/model/email-outbound-ip-summary.ts @@ -0,0 +1,79 @@ +/** + * 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"); + +/** + * Summary of the Outbound IP address assigned to the tenancy. + */ +export interface EmailOutboundIpSummary { + /** + * The public IP address assigned to the tenancy. + */ + "outboundIp": string; + /** + * The current state of the Email Outbound Public IP. + */ + "lifecycleState"?: EmailOutboundIpSummary.LifecycleState; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a + * resource in 'DRAINING' state. + * + */ + "lifecycleDetails"?: string; + /** + * The assignment state of the public IP address. + */ + "assignmentState": EmailOutboundIpSummary.AssignmentState; +} + +export namespace EmailOutboundIpSummary { + export enum LifecycleState { + Updating = "UPDATING", + Active = "ACTIVE", + Failed = "FAILED", + Draining = "DRAINING", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum AssignmentState { + Available = "AVAILABLE", + Assigned = "ASSIGNED", + /** + * 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: EmailOutboundIpSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailOutboundIpSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/index.ts b/lib/email/lib/model/index.ts index 631de4caa2..2f0435955d 100644 --- a/lib/email/lib/model/index.ts +++ b/lib/email/lib/model/index.ts @@ -18,10 +18,14 @@ 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 AddEmailOutboundIpDetails from "./add-email-outbound-ip-details"; +export import AddEmailOutboundIpDetails = AddEmailOutboundIpDetails.AddEmailOutboundIpDetails; 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 ChangeEmailIpPoolCompartmentDetails from "./change-email-ip-pool-compartment-details"; +export import ChangeEmailIpPoolCompartmentDetails = ChangeEmailIpPoolCompartmentDetails.ChangeEmailIpPoolCompartmentDetails; import * as ChangeSenderCompartmentDetails from "./change-sender-compartment-details"; export import ChangeSenderCompartmentDetails = ChangeSenderCompartmentDetails.ChangeSenderCompartmentDetails; import * as Configuration from "./configuration"; @@ -30,6 +34,8 @@ import * as CreateDkimDetails from "./create-dkim-details"; export import CreateDkimDetails = CreateDkimDetails.CreateDkimDetails; import * as CreateEmailDomainDetails from "./create-email-domain-details"; export import CreateEmailDomainDetails = CreateEmailDomainDetails.CreateEmailDomainDetails; +import * as CreateEmailIpPoolDetails from "./create-email-ip-pool-details"; +export import CreateEmailIpPoolDetails = CreateEmailIpPoolDetails.CreateEmailIpPoolDetails; import * as CreateEmailReturnPathDetails from "./create-email-return-path-details"; export import CreateEmailReturnPathDetails = CreateEmailReturnPathDetails.CreateEmailReturnPathDetails; import * as CreateSenderDetails from "./create-sender-details"; @@ -50,6 +56,16 @@ import * as EmailDomainCollection from "./email-domain-collection"; export import EmailDomainCollection = EmailDomainCollection.EmailDomainCollection; import * as EmailDomainSummary from "./email-domain-summary"; export import EmailDomainSummary = EmailDomainSummary.EmailDomainSummary; +import * as EmailIpPool from "./email-ip-pool"; +export import EmailIpPool = EmailIpPool.EmailIpPool; +import * as EmailIpPoolCollection from "./email-ip-pool-collection"; +export import EmailIpPoolCollection = EmailIpPoolCollection.EmailIpPoolCollection; +import * as EmailIpPoolSummary from "./email-ip-pool-summary"; +export import EmailIpPoolSummary = EmailIpPoolSummary.EmailIpPoolSummary; +import * as EmailOutboundIpCollection from "./email-outbound-ip-collection"; +export import EmailOutboundIpCollection = EmailOutboundIpCollection.EmailOutboundIpCollection; +import * as EmailOutboundIpSummary from "./email-outbound-ip-summary"; +export import EmailOutboundIpSummary = EmailOutboundIpSummary.EmailOutboundIpSummary; import * as EmailReturnPath from "./email-return-path"; export import EmailReturnPath = EmailReturnPath.EmailReturnPath; import * as EmailReturnPathCollection from "./email-return-path-collection"; @@ -60,6 +76,8 @@ import * as OperationStatus from "./operation-status"; export import OperationStatus = OperationStatus.OperationStatus; import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; +import * as RemoveEmailOutboundIpDetails from "./remove-email-outbound-ip-details"; +export import RemoveEmailOutboundIpDetails = RemoveEmailOutboundIpDetails.RemoveEmailOutboundIpDetails; import * as RemoveLockDetails from "./remove-lock-details"; export import RemoveLockDetails = RemoveLockDetails.RemoveLockDetails; import * as ResourceLock from "./resource-lock"; @@ -80,6 +98,8 @@ import * as UpdateDkimDetails from "./update-dkim-details"; export import UpdateDkimDetails = UpdateDkimDetails.UpdateDkimDetails; import * as UpdateEmailDomainDetails from "./update-email-domain-details"; export import UpdateEmailDomainDetails = UpdateEmailDomainDetails.UpdateEmailDomainDetails; +import * as UpdateEmailIpPoolDetails from "./update-email-ip-pool-details"; +export import UpdateEmailIpPoolDetails = UpdateEmailIpPoolDetails.UpdateEmailIpPoolDetails; import * as UpdateEmailReturnPathDetails from "./update-email-return-path-details"; export import UpdateEmailReturnPathDetails = UpdateEmailReturnPathDetails.UpdateEmailReturnPathDetails; import * as UpdateSenderDetails from "./update-sender-details"; diff --git a/lib/email/lib/model/operation-type.ts b/lib/email/lib/model/operation-type.ts index 1b658d0c14..afa36dcf71 100644 --- a/lib/email/lib/model/operation-type.ts +++ b/lib/email/lib/model/operation-type.ts @@ -34,6 +34,10 @@ export enum OperationType { CreateReturnPath = "CREATE_RETURN_PATH", DeleteReturnPath = "DELETE_RETURN_PATH", UpdateReturnPath = "UPDATE_RETURN_PATH", + CreateIpPool = "CREATE_IP_POOL", + UpdateIpPool = "UPDATE_IP_POOL", + DeleteIpPool = "DELETE_IP_POOL", + MoveIpPool = "MOVE_IP_POOL", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/email/lib/model/remove-email-outbound-ip-details.ts b/lib/email/lib/model/remove-email-outbound-ip-details.ts new file mode 100644 index 0000000000..ce222761a6 --- /dev/null +++ b/lib/email/lib/model/remove-email-outbound-ip-details.ts @@ -0,0 +1,47 @@ +/** + * 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"); + +/** + * Outbound IP details to be unassigned from the IpPool. + * + */ +export interface RemoveEmailOutboundIpDetails { + /** + * List of public IPs to REMOVE from the IpPool. + * After a public IP is unassigned, it will be marked as AVAILABLE and can be assigned to another IpPool. + * The last IP removed from the Pool will be deleted from the IP Pool after 24 hours. + * + */ + "outboundIps": Array; +} + +export namespace RemoveEmailOutboundIpDetails { + export function getJsonObj(obj: RemoveEmailOutboundIpDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RemoveEmailOutboundIpDetails): 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 b6c5de2d5b..7dee211ca2 100644 --- a/lib/email/lib/model/sender-summary.ts +++ b/lib/email/lib/model/sender-summary.ts @@ -35,6 +35,10 @@ export interface SenderSummary { * The unique ID of the sender. */ "id": string; + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * The current status of the approved sender. */ diff --git a/lib/email/lib/model/sender.ts b/lib/email/lib/model/sender.ts index 808f47a9a9..1341f09e70 100644 --- a/lib/email/lib/model/sender.ts +++ b/lib/email/lib/model/sender.ts @@ -56,6 +56,10 @@ export interface Sender { * */ "emailDomainId"?: string; + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). @@ -93,6 +97,7 @@ export namespace Sender { Failed = "FAILED", Deleting = "DELETING", Deleted = "DELETED", + Updating = "UPDATING", /** * 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/email/lib/model/update-email-ip-pool-details.ts b/lib/email/lib/model/update-email-ip-pool-details.ts new file mode 100644 index 0000000000..52fdffed8f --- /dev/null +++ b/lib/email/lib/model/update-email-ip-pool-details.ts @@ -0,0 +1,59 @@ +/** + * 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"); + +/** + * The attributes to update an IpPool which will be used to route emails. + */ +export interface UpdateEmailIpPoolDetails { + /** + * The description of the IpPool. Avoid entering confidential information. + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateEmailIpPoolDetails { + export function getJsonObj(obj: UpdateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/update-sender-details.ts b/lib/email/lib/model/update-sender-details.ts index ce02f4a808..791a67abac 100644 --- a/lib/email/lib/model/update-sender-details.ts +++ b/lib/email/lib/model/update-sender-details.ts @@ -24,6 +24,10 @@ import common = require("oci-common"); * */ export interface UpdateSenderDetails { + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/email/lib/request/add-email-ip-pool-lock-request.ts b/lib/email/lib/request/add-email-ip-pool-lock-request.ts new file mode 100644 index 0000000000..6a069c6c93 --- /dev/null +++ b/lib/email/lib/request/add-email-ip-pool-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/AddEmailIpPoolLock.ts.html |here} to see how to use AddEmailIpPoolLockRequest. + */ +export interface AddEmailIpPoolLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": 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-email-outbound-ip-request.ts b/lib/email/lib/request/add-email-outbound-ip-request.ts new file mode 100644 index 0000000000..4135824b18 --- /dev/null +++ b/lib/email/lib/request/add-email-outbound-ip-request.ts @@ -0,0 +1,49 @@ +/** + * + * + * 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/AddEmailOutboundIp.ts.html |here} to see how to use AddEmailOutboundIpRequest. + */ +export interface AddEmailOutboundIpRequest extends common.BaseRequest { + /** + * Details to add IPs to EmailIpPool. + */ + "addEmailOutboundIpDetails": model.AddEmailOutboundIpDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * 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; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/email/lib/request/change-email-ip-pool-compartment-request.ts b/lib/email/lib/request/change-email-ip-pool-compartment-request.ts new file mode 100644 index 0000000000..097e2a781a --- /dev/null +++ b/lib/email/lib/request/change-email-ip-pool-compartment-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * 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/ChangeEmailIpPoolCompartment.ts.html |here} to see how to use ChangeEmailIpPoolCompartmentRequest. + */ +export interface ChangeEmailIpPoolCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * Details for the compartment move. + */ + "changeEmailIpPoolCompartmentDetails": model.ChangeEmailIpPoolCompartmentDetails; + /** + * 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; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; +} diff --git a/lib/email/lib/request/create-email-ip-pool-request.ts b/lib/email/lib/request/create-email-ip-pool-request.ts new file mode 100644 index 0000000000..cd7c82c4b1 --- /dev/null +++ b/lib/email/lib/request/create-email-ip-pool-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * 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/CreateEmailIpPool.ts.html |here} to see how to use CreateEmailIpPoolRequest. + */ +export interface CreateEmailIpPoolRequest extends common.BaseRequest { + /** + * Details for the new EmailIpPool. + */ + "createEmailIpPoolDetails": model.CreateEmailIpPoolDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; +} diff --git a/lib/email/lib/request/delete-email-ip-pool-request.ts b/lib/email/lib/request/delete-email-ip-pool-request.ts new file mode 100644 index 0000000000..3501f69a33 --- /dev/null +++ b/lib/email/lib/request/delete-email-ip-pool-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/DeleteEmailIpPool.ts.html |here} to see how to use DeleteEmailIpPoolRequest. + */ +export interface DeleteEmailIpPoolRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": 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; + /** + * 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/get-email-ip-pool-request.ts b/lib/email/lib/request/get-email-ip-pool-request.ts new file mode 100644 index 0000000000..4524267956 --- /dev/null +++ b/lib/email/lib/request/get-email-ip-pool-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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/GetEmailIpPool.ts.html |here} to see how to use GetEmailIpPoolRequest. + */ +export interface GetEmailIpPoolRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; +} diff --git a/lib/email/lib/request/index.ts b/lib/email/lib/request/index.ts index 81e8dc1d0a..cd9a8e735a 100644 --- a/lib/email/lib/request/index.ts +++ b/lib/email/lib/request/index.ts @@ -18,18 +18,26 @@ For more information, see [Overview of the Email Delivery Service](https://docs. import * as AddEmailDomainLockRequest from "./add-email-domain-lock-request"; export import AddEmailDomainLockRequest = AddEmailDomainLockRequest.AddEmailDomainLockRequest; +import * as AddEmailIpPoolLockRequest from "./add-email-ip-pool-lock-request"; +export import AddEmailIpPoolLockRequest = AddEmailIpPoolLockRequest.AddEmailIpPoolLockRequest; +import * as AddEmailOutboundIpRequest from "./add-email-outbound-ip-request"; +export import AddEmailOutboundIpRequest = AddEmailOutboundIpRequest.AddEmailOutboundIpRequest; 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 ChangeEmailIpPoolCompartmentRequest from "./change-email-ip-pool-compartment-request"; +export import ChangeEmailIpPoolCompartmentRequest = ChangeEmailIpPoolCompartmentRequest.ChangeEmailIpPoolCompartmentRequest; import * as ChangeSenderCompartmentRequest from "./change-sender-compartment-request"; export import ChangeSenderCompartmentRequest = ChangeSenderCompartmentRequest.ChangeSenderCompartmentRequest; import * as CreateDkimRequest from "./create-dkim-request"; export import CreateDkimRequest = CreateDkimRequest.CreateDkimRequest; import * as CreateEmailDomainRequest from "./create-email-domain-request"; export import CreateEmailDomainRequest = CreateEmailDomainRequest.CreateEmailDomainRequest; +import * as CreateEmailIpPoolRequest from "./create-email-ip-pool-request"; +export import CreateEmailIpPoolRequest = CreateEmailIpPoolRequest.CreateEmailIpPoolRequest; import * as CreateEmailReturnPathRequest from "./create-email-return-path-request"; export import CreateEmailReturnPathRequest = CreateEmailReturnPathRequest.CreateEmailReturnPathRequest; import * as CreateSenderRequest from "./create-sender-request"; @@ -40,6 +48,8 @@ import * as DeleteDkimRequest from "./delete-dkim-request"; export import DeleteDkimRequest = DeleteDkimRequest.DeleteDkimRequest; import * as DeleteEmailDomainRequest from "./delete-email-domain-request"; export import DeleteEmailDomainRequest = DeleteEmailDomainRequest.DeleteEmailDomainRequest; +import * as DeleteEmailIpPoolRequest from "./delete-email-ip-pool-request"; +export import DeleteEmailIpPoolRequest = DeleteEmailIpPoolRequest.DeleteEmailIpPoolRequest; import * as DeleteEmailReturnPathRequest from "./delete-email-return-path-request"; export import DeleteEmailReturnPathRequest = DeleteEmailReturnPathRequest.DeleteEmailReturnPathRequest; import * as DeleteSenderRequest from "./delete-sender-request"; @@ -52,6 +62,8 @@ import * as GetEmailConfigurationRequest from "./get-email-configuration-request export import GetEmailConfigurationRequest = GetEmailConfigurationRequest.GetEmailConfigurationRequest; import * as GetEmailDomainRequest from "./get-email-domain-request"; export import GetEmailDomainRequest = GetEmailDomainRequest.GetEmailDomainRequest; +import * as GetEmailIpPoolRequest from "./get-email-ip-pool-request"; +export import GetEmailIpPoolRequest = GetEmailIpPoolRequest.GetEmailIpPoolRequest; import * as GetEmailReturnPathRequest from "./get-email-return-path-request"; export import GetEmailReturnPathRequest = GetEmailReturnPathRequest.GetEmailReturnPathRequest; import * as GetSenderRequest from "./get-sender-request"; @@ -64,6 +76,10 @@ import * as ListDkimsRequest from "./list-dkims-request"; export import ListDkimsRequest = ListDkimsRequest.ListDkimsRequest; import * as ListEmailDomainsRequest from "./list-email-domains-request"; export import ListEmailDomainsRequest = ListEmailDomainsRequest.ListEmailDomainsRequest; +import * as ListEmailIpPoolsRequest from "./list-email-ip-pools-request"; +export import ListEmailIpPoolsRequest = ListEmailIpPoolsRequest.ListEmailIpPoolsRequest; +import * as ListEmailOutboundIpsRequest from "./list-email-outbound-ips-request"; +export import ListEmailOutboundIpsRequest = ListEmailOutboundIpsRequest.ListEmailOutboundIpsRequest; import * as ListEmailReturnPathsRequest from "./list-email-return-paths-request"; export import ListEmailReturnPathsRequest = ListEmailReturnPathsRequest.ListEmailReturnPathsRequest; import * as ListSendersRequest from "./list-senders-request"; @@ -78,6 +94,10 @@ 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 RemoveEmailIpPoolLockRequest from "./remove-email-ip-pool-lock-request"; +export import RemoveEmailIpPoolLockRequest = RemoveEmailIpPoolLockRequest.RemoveEmailIpPoolLockRequest; +import * as RemoveEmailOutboundIpRequest from "./remove-email-outbound-ip-request"; +export import RemoveEmailOutboundIpRequest = RemoveEmailOutboundIpRequest.RemoveEmailOutboundIpRequest; import * as RemoveReturnPathLockRequest from "./remove-return-path-lock-request"; export import RemoveReturnPathLockRequest = RemoveReturnPathLockRequest.RemoveReturnPathLockRequest; import * as RemoveSenderLockRequest from "./remove-sender-lock-request"; @@ -86,6 +106,8 @@ import * as UpdateDkimRequest from "./update-dkim-request"; export import UpdateDkimRequest = UpdateDkimRequest.UpdateDkimRequest; import * as UpdateEmailDomainRequest from "./update-email-domain-request"; export import UpdateEmailDomainRequest = UpdateEmailDomainRequest.UpdateEmailDomainRequest; +import * as UpdateEmailIpPoolRequest from "./update-email-ip-pool-request"; +export import UpdateEmailIpPoolRequest = UpdateEmailIpPoolRequest.UpdateEmailIpPoolRequest; import * as UpdateEmailReturnPathRequest from "./update-email-return-path-request"; export import UpdateEmailReturnPathRequest = UpdateEmailReturnPathRequest.UpdateEmailReturnPathRequest; import * as UpdateSenderRequest from "./update-sender-request"; diff --git a/lib/email/lib/request/list-email-ip-pools-request.ts b/lib/email/lib/request/list-email-ip-pools-request.ts new file mode 100644 index 0000000000..d0e4c10db2 --- /dev/null +++ b/lib/email/lib/request/list-email-ip-pools-request.ts @@ -0,0 +1,79 @@ +/** + * + * + * 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/ListEmailIpPools.ts.html |here} to see how to use ListEmailIpPoolsRequest. + */ +export interface ListEmailIpPoolsRequest extends common.BaseRequest { + /** + * The OCID for the compartment. + */ + "compartmentId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * A filter to only return resources that match the given id exactly. + * + */ + "id"?: string; + /** + * A filter to only return resources that match the given name exactly. + * + */ + "name"?: string; + /** + * Filter returned list by specified lifecycle state. This parameter is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. {@code 1} is the minimum, {@code 1000} is the maximum. For important details about + * how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous \"List\" call. + * For important details about how pagination works, + * see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending or descending order. + * + */ + "sortOrder"?: model.SortOrder; + /** + * Specifies the attribute with which to sort the Email IpPools. +*

+Default: {@code TIMECREATED} +*

+* **TIMECREATED:** Sorts by timeCreated. +* + */ + "sortBy"?: ListEmailIpPoolsRequest.SortBy; +} + +export namespace ListEmailIpPoolsRequest { + export enum SortBy { + Timecreated = "TIMECREATED", + Name = "NAME" + } +} diff --git a/lib/email/lib/request/list-email-outbound-ips-request.ts b/lib/email/lib/request/list-email-outbound-ips-request.ts new file mode 100644 index 0000000000..974b12a0e1 --- /dev/null +++ b/lib/email/lib/request/list-email-outbound-ips-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * 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/ListEmailOutboundIps.ts.html |here} to see how to use ListEmailOutboundIpsRequest. + */ +export interface ListEmailOutboundIpsRequest extends common.BaseRequest { + /** + * The OCID for the compartment. + */ + "compartmentId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * The outbound IP address assigned to the tenancy. + */ + "outboundIp"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. {@code 1} is the minimum, {@code 1000} is the maximum. For important details about + * how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous \"List\" call. + * For important details about how pagination works, + * see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending or descending order. + * + */ + "sortOrder"?: model.SortOrder; + /** + * Filter returned list by specified lifecycle state. This parameter is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * Filter returned list by specified assignment state. + * + */ + "assignmentState"?: string; + /** + * The field to sort by. The {@code OUTBOUNDIP} value returns the list in + * ascending order or Outbound Ip address by default. Use the {@code SortOrderQueryParam} to change the + * direction of the returned list of items. + * + */ + "sortBy"?: ListEmailOutboundIpsRequest.SortBy; +} + +export namespace ListEmailOutboundIpsRequest { + export enum SortBy { + Outboundip = "OUTBOUNDIP" + } +} diff --git a/lib/email/lib/request/list-senders-request.ts b/lib/email/lib/request/list-senders-request.ts index 9bc1819dcf..5e6ac04891 100644 --- a/lib/email/lib/request/list-senders-request.ts +++ b/lib/email/lib/request/list-senders-request.ts @@ -38,6 +38,10 @@ export interface ListSendersRequest extends common.BaseRequest { * The email address of the approved sender. */ "emailAddress"?: string; + /** + * A filter to only return resources that match the given IpPool resource exactly. + */ + "emailIpPoolId"?: string; /** * For list pagination. The value of the opc-next-page response header from the previous \"List\" call. * For important details about how pagination works, diff --git a/lib/email/lib/request/remove-email-ip-pool-lock-request.ts b/lib/email/lib/request/remove-email-ip-pool-lock-request.ts new file mode 100644 index 0000000000..d0d00701bb --- /dev/null +++ b/lib/email/lib/request/remove-email-ip-pool-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/RemoveEmailIpPoolLock.ts.html |here} to see how to use RemoveEmailIpPoolLockRequest. + */ +export interface RemoveEmailIpPoolLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * Details for removing a lock to 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-email-outbound-ip-request.ts b/lib/email/lib/request/remove-email-outbound-ip-request.ts new file mode 100644 index 0000000000..3b0a12b754 --- /dev/null +++ b/lib/email/lib/request/remove-email-outbound-ip-request.ts @@ -0,0 +1,49 @@ +/** + * + * + * 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/RemoveEmailOutboundIp.ts.html |here} to see how to use RemoveEmailOutboundIpRequest. + */ +export interface RemoveEmailOutboundIpRequest extends common.BaseRequest { + /** + * Details to remove IPs from EmailIpPool. + */ + "removeEmailOutboundIpDetails": model.RemoveEmailOutboundIpDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * 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; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/email/lib/request/update-email-ip-pool-request.ts b/lib/email/lib/request/update-email-ip-pool-request.ts new file mode 100644 index 0000000000..61e6cb2009 --- /dev/null +++ b/lib/email/lib/request/update-email-ip-pool-request.ts @@ -0,0 +1,44 @@ +/** + * + * + * 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/UpdateEmailIpPool.ts.html |here} to see how to use UpdateEmailIpPoolRequest. + */ +export interface UpdateEmailIpPoolRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * The information to be updated. + */ + "updateEmailIpPoolDetails": model.UpdateEmailIpPoolDetails; + /** + * 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; + /** + * 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-ip-pool-lock-response.ts b/lib/email/lib/response/add-email-ip-pool-lock-response.ts new file mode 100644 index 0000000000..bfc90f601b --- /dev/null +++ b/lib/email/lib/response/add-email-ip-pool-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 AddEmailIpPoolLockResponse { + /** + * 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.EmailIpPool instance. + */ + "emailIpPool": model.EmailIpPool; +} diff --git a/lib/email/lib/response/add-email-outbound-ip-response.ts b/lib/email/lib/response/add-email-outbound-ip-response.ts new file mode 100644 index 0000000000..f750c0e42a --- /dev/null +++ b/lib/email/lib/response/add-email-outbound-ip-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 AddEmailOutboundIpResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/email/lib/response/change-email-ip-pool-compartment-response.ts b/lib/email/lib/response/change-email-ip-pool-compartment-response.ts new file mode 100644 index 0000000000..0201431914 --- /dev/null +++ b/lib/email/lib/response/change-email-ip-pool-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 ChangeEmailIpPoolCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/email/lib/response/create-email-ip-pool-response.ts b/lib/email/lib/response/create-email-ip-pool-response.ts new file mode 100644 index 0000000000..af5427ddce --- /dev/null +++ b/lib/email/lib/response/create-email-ip-pool-response.ts @@ -0,0 +1,48 @@ +/** + * + * + * 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 CreateEmailIpPoolResponse { + /** + * The full URI of the resource related to the request + * + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The full URI of the resource related to the request + * + */ + "location": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * The returned model.EmailIpPool instance. + */ + "emailIpPool": model.EmailIpPool; +} diff --git a/lib/email/lib/response/delete-email-ip-pool-response.ts b/lib/email/lib/response/delete-email-ip-pool-response.ts new file mode 100644 index 0000000000..25ff6e51be --- /dev/null +++ b/lib/email/lib/response/delete-email-ip-pool-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 DeleteEmailIpPoolResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/email/lib/response/get-email-ip-pool-response.ts b/lib/email/lib/response/get-email-ip-pool-response.ts new file mode 100644 index 0000000000..1bf6d513c3 --- /dev/null +++ b/lib/email/lib/response/get-email-ip-pool-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 GetEmailIpPoolResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.EmailIpPool instance. + */ + "emailIpPool": model.EmailIpPool; +} diff --git a/lib/email/lib/response/index.ts b/lib/email/lib/response/index.ts index 51cadd1764..0602fc5d14 100644 --- a/lib/email/lib/response/index.ts +++ b/lib/email/lib/response/index.ts @@ -18,18 +18,26 @@ For more information, see [Overview of the Email Delivery Service](https://docs. import * as AddEmailDomainLockResponse from "./add-email-domain-lock-response"; export import AddEmailDomainLockResponse = AddEmailDomainLockResponse.AddEmailDomainLockResponse; +import * as AddEmailIpPoolLockResponse from "./add-email-ip-pool-lock-response"; +export import AddEmailIpPoolLockResponse = AddEmailIpPoolLockResponse.AddEmailIpPoolLockResponse; +import * as AddEmailOutboundIpResponse from "./add-email-outbound-ip-response"; +export import AddEmailOutboundIpResponse = AddEmailOutboundIpResponse.AddEmailOutboundIpResponse; 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 ChangeEmailIpPoolCompartmentResponse from "./change-email-ip-pool-compartment-response"; +export import ChangeEmailIpPoolCompartmentResponse = ChangeEmailIpPoolCompartmentResponse.ChangeEmailIpPoolCompartmentResponse; import * as ChangeSenderCompartmentResponse from "./change-sender-compartment-response"; export import ChangeSenderCompartmentResponse = ChangeSenderCompartmentResponse.ChangeSenderCompartmentResponse; import * as CreateDkimResponse from "./create-dkim-response"; export import CreateDkimResponse = CreateDkimResponse.CreateDkimResponse; import * as CreateEmailDomainResponse from "./create-email-domain-response"; export import CreateEmailDomainResponse = CreateEmailDomainResponse.CreateEmailDomainResponse; +import * as CreateEmailIpPoolResponse from "./create-email-ip-pool-response"; +export import CreateEmailIpPoolResponse = CreateEmailIpPoolResponse.CreateEmailIpPoolResponse; import * as CreateEmailReturnPathResponse from "./create-email-return-path-response"; export import CreateEmailReturnPathResponse = CreateEmailReturnPathResponse.CreateEmailReturnPathResponse; import * as CreateSenderResponse from "./create-sender-response"; @@ -40,6 +48,8 @@ import * as DeleteDkimResponse from "./delete-dkim-response"; export import DeleteDkimResponse = DeleteDkimResponse.DeleteDkimResponse; import * as DeleteEmailDomainResponse from "./delete-email-domain-response"; export import DeleteEmailDomainResponse = DeleteEmailDomainResponse.DeleteEmailDomainResponse; +import * as DeleteEmailIpPoolResponse from "./delete-email-ip-pool-response"; +export import DeleteEmailIpPoolResponse = DeleteEmailIpPoolResponse.DeleteEmailIpPoolResponse; import * as DeleteEmailReturnPathResponse from "./delete-email-return-path-response"; export import DeleteEmailReturnPathResponse = DeleteEmailReturnPathResponse.DeleteEmailReturnPathResponse; import * as DeleteSenderResponse from "./delete-sender-response"; @@ -52,6 +62,8 @@ import * as GetEmailConfigurationResponse from "./get-email-configuration-respon export import GetEmailConfigurationResponse = GetEmailConfigurationResponse.GetEmailConfigurationResponse; import * as GetEmailDomainResponse from "./get-email-domain-response"; export import GetEmailDomainResponse = GetEmailDomainResponse.GetEmailDomainResponse; +import * as GetEmailIpPoolResponse from "./get-email-ip-pool-response"; +export import GetEmailIpPoolResponse = GetEmailIpPoolResponse.GetEmailIpPoolResponse; import * as GetEmailReturnPathResponse from "./get-email-return-path-response"; export import GetEmailReturnPathResponse = GetEmailReturnPathResponse.GetEmailReturnPathResponse; import * as GetSenderResponse from "./get-sender-response"; @@ -64,6 +76,10 @@ import * as ListDkimsResponse from "./list-dkims-response"; export import ListDkimsResponse = ListDkimsResponse.ListDkimsResponse; import * as ListEmailDomainsResponse from "./list-email-domains-response"; export import ListEmailDomainsResponse = ListEmailDomainsResponse.ListEmailDomainsResponse; +import * as ListEmailIpPoolsResponse from "./list-email-ip-pools-response"; +export import ListEmailIpPoolsResponse = ListEmailIpPoolsResponse.ListEmailIpPoolsResponse; +import * as ListEmailOutboundIpsResponse from "./list-email-outbound-ips-response"; +export import ListEmailOutboundIpsResponse = ListEmailOutboundIpsResponse.ListEmailOutboundIpsResponse; import * as ListEmailReturnPathsResponse from "./list-email-return-paths-response"; export import ListEmailReturnPathsResponse = ListEmailReturnPathsResponse.ListEmailReturnPathsResponse; import * as ListSendersResponse from "./list-senders-response"; @@ -78,6 +94,10 @@ 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 RemoveEmailIpPoolLockResponse from "./remove-email-ip-pool-lock-response"; +export import RemoveEmailIpPoolLockResponse = RemoveEmailIpPoolLockResponse.RemoveEmailIpPoolLockResponse; +import * as RemoveEmailOutboundIpResponse from "./remove-email-outbound-ip-response"; +export import RemoveEmailOutboundIpResponse = RemoveEmailOutboundIpResponse.RemoveEmailOutboundIpResponse; import * as RemoveReturnPathLockResponse from "./remove-return-path-lock-response"; export import RemoveReturnPathLockResponse = RemoveReturnPathLockResponse.RemoveReturnPathLockResponse; import * as RemoveSenderLockResponse from "./remove-sender-lock-response"; @@ -86,6 +106,8 @@ import * as UpdateDkimResponse from "./update-dkim-response"; export import UpdateDkimResponse = UpdateDkimResponse.UpdateDkimResponse; import * as UpdateEmailDomainResponse from "./update-email-domain-response"; export import UpdateEmailDomainResponse = UpdateEmailDomainResponse.UpdateEmailDomainResponse; +import * as UpdateEmailIpPoolResponse from "./update-email-ip-pool-response"; +export import UpdateEmailIpPoolResponse = UpdateEmailIpPoolResponse.UpdateEmailIpPoolResponse; import * as UpdateEmailReturnPathResponse from "./update-email-return-path-response"; export import UpdateEmailReturnPathResponse = UpdateEmailReturnPathResponse.UpdateEmailReturnPathResponse; import * as UpdateSenderResponse from "./update-sender-response"; diff --git a/lib/email/lib/response/list-email-ip-pools-response.ts b/lib/email/lib/response/list-email-ip-pools-response.ts new file mode 100644 index 0000000000..27311fdb74 --- /dev/null +++ b/lib/email/lib/response/list-email-ip-pools-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * 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 ListEmailIpPoolsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. + * For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.EmailIpPoolCollection instance. + */ + "emailIpPoolCollection": model.EmailIpPoolCollection; +} diff --git a/lib/email/lib/response/list-email-outbound-ips-response.ts b/lib/email/lib/response/list-email-outbound-ips-response.ts new file mode 100644 index 0000000000..343e829590 --- /dev/null +++ b/lib/email/lib/response/list-email-outbound-ips-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * 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 ListEmailOutboundIpsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. + * For important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.EmailOutboundIpCollection instance. + */ + "emailOutboundIpCollection": model.EmailOutboundIpCollection; +} diff --git a/lib/email/lib/response/remove-email-ip-pool-lock-response.ts b/lib/email/lib/response/remove-email-ip-pool-lock-response.ts new file mode 100644 index 0000000000..9ccf6a35da --- /dev/null +++ b/lib/email/lib/response/remove-email-ip-pool-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 RemoveEmailIpPoolLockResponse { + /** + * 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.EmailIpPool instance. + */ + "emailIpPool": model.EmailIpPool; +} diff --git a/lib/email/lib/response/remove-email-outbound-ip-response.ts b/lib/email/lib/response/remove-email-outbound-ip-response.ts new file mode 100644 index 0000000000..019a4534b1 --- /dev/null +++ b/lib/email/lib/response/remove-email-outbound-ip-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 RemoveEmailOutboundIpResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/email/lib/response/update-email-ip-pool-response.ts b/lib/email/lib/response/update-email-ip-pool-response.ts new file mode 100644 index 0000000000..e00c0b9b4c --- /dev/null +++ b/lib/email/lib/response/update-email-ip-pool-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 UpdateEmailIpPoolResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/email/package.json b/lib/email/package.json index ad840c8d22..baccfe43d9 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index 735baa7eef..f84d63604c 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.121.1", + "version": "2.122.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 6215246dce..fe41530210 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.121.1", + "version": "2.122.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 48f865f1c0..ee0517d45e 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 07504d524a..ac5243795e 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 88da186139..30fdaf643a 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.121.1", + "version": "2.122.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 8205cd3303..c271a46fdc 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.121.1", + "version": "2.122.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 914b388133..a5ba275dca 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index c4abee30ac..ab2604f82b 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.121.1", + "version": "2.122.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 543ac3e2de..d20693a91d 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.121.1", + "version": "2.122.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 aa00358bcf..32c0d3fda8 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.121.1", + "version": "2.122.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 4248189247..1a9c362c10 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/lib/model/chat-choice.ts b/lib/generativeaiinference/lib/model/chat-choice.ts index ffc9f89f72..1ece1f86f0 100644 --- a/lib/generativeaiinference/lib/model/chat-choice.ts +++ b/lib/generativeaiinference/lib/model/chat-choice.ts @@ -45,6 +45,10 @@ Stops if the model hits a natural stop point or a provided stop sequence. Return "logprobs"?: model.Logprobs; "usage"?: model.Usage; "groundingMetadata"?: model.GroundingMetadata; + /** + * Specifies the processing type used for serving the request. + */ + "serviceTier"?: string; } export namespace ChatChoice { diff --git a/lib/generativeaiinference/lib/model/generic-chat-request.ts b/lib/generativeaiinference/lib/model/generic-chat-request.ts index 10b0dce5e3..acdba0e181 100644 --- a/lib/generativeaiinference/lib/model/generic-chat-request.ts +++ b/lib/generativeaiinference/lib/model/generic-chat-request.ts @@ -143,6 +143,10 @@ Example: '{\"6395\": 2, \"8134\": 1, \"21943\": 0.5, \"5923\": -100}' */ "tools"?: Array; "webSearchOptions"?: model.WebSearchOptions; + /** + * Specifies the processing type used for serving the request. + */ + "serviceTier"?: GenericChatRequest.ServiceTier; "apiFormat": string; } @@ -161,6 +165,12 @@ export namespace GenericChatRequest { High = "HIGH" } + export enum ServiceTier { + Auto = "AUTO", + Default = "DEFAULT", + Priority = "PRIORITY" + } + export function getJsonObj(obj: GenericChatRequest, isParentJsonObj?: boolean): object { const jsonObj = { ...(isParentJsonObj ? obj : (model.BaseChatRequest.getJsonObj(obj) as GenericChatRequest)), diff --git a/lib/generativeaiinference/lib/model/generic-chat-response.ts b/lib/generativeaiinference/lib/model/generic-chat-response.ts index b90d6cd02e..18a0840fc4 100644 --- a/lib/generativeaiinference/lib/model/generic-chat-response.ts +++ b/lib/generativeaiinference/lib/model/generic-chat-response.ts @@ -34,6 +34,10 @@ export interface GenericChatResponse extends model.BaseChatResponse { */ "choices": Array; "usage"?: model.Usage; + /** + * Specifies the processing type used for serving the request. + */ + "serviceTier"?: string; "apiFormat": string; } diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index c6e0e246c7..189eac88ce 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.121.1", + "version": "2.122.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 c7ad07c905..d2acc0babf 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.121.1", + "version": "2.122.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 c53e3fe166..ccf1d7384a 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/lib/client.ts b/lib/goldengate/lib/client.ts index 33e385559a..c536012a47 100644 --- a/lib/goldengate/lib/client.ts +++ b/lib/goldengate/lib/client.ts @@ -5991,6 +5991,88 @@ export class GoldenGateClient { return paginateResponses(request, req => this.listWorkRequests(req)); } + /** + * Pauses the pipeline. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param PausePipelineRequest + * @return PausePipelineResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/goldengate/PausePipeline.ts.html |here} to see how to use PausePipeline API. + */ + public async pausePipeline( + pausePipelineRequest: requests.PausePipelineRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GoldenGateClient#pausePipeline."); + const operationName = "pausePipeline"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/goldengate/20200407/Pipeline/PausePipeline"; + const pathParams = { + "{pipelineId}": pausePipelineRequest.pipelineId + }; + + const queryParams = { + "isLockOverride": pausePipelineRequest.isLockOverride + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": pausePipelineRequest.ifMatch, + "opc-request-id": pausePipelineRequest.opcRequestId, + "opc-retry-token": pausePipelineRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + pausePipelineRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/pipelines/{pipelineId}/actions/pause", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + pausePipelineRequest.pausePipelineDetails, + "PausePipelineDetails", + model.PausePipelineDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Refresh the external Connection attributes. * diff --git a/lib/goldengate/lib/model/create-pipeline-details.ts b/lib/goldengate/lib/model/create-pipeline-details.ts index 8a2094ca67..8cd7e9403e 100644 --- a/lib/goldengate/lib/model/create-pipeline-details.ts +++ b/lib/goldengate/lib/model/create-pipeline-details.ts @@ -61,6 +61,12 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} "locks"?: Array; "sourceConnectionDetails": model.SourcePipelineConnectionDetails; "targetConnectionDetails": model.TargetPipelineConnectionDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. + * The subnet must be a private subnet. + * + */ + "subnetId"?: string; "recipeType": string; } diff --git a/lib/goldengate/lib/model/default-pause-pipeline-details.ts b/lib/goldengate/lib/model/default-pause-pipeline-details.ts new file mode 100644 index 0000000000..98b0c45d7f --- /dev/null +++ b/lib/goldengate/lib/model/default-pause-pipeline-details.ts @@ -0,0 +1,51 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Attribute details for a default pipeline pause. + * + */ +export interface DefaultPausePipelineDetails extends model.PausePipelineDetails { + "type": string; +} + +export namespace DefaultPausePipelineDetails { + export function getJsonObj(obj: DefaultPausePipelineDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.PausePipelineDetails.getJsonObj(obj) as DefaultPausePipelineDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "DEFAULT"; + export function getDeserializedJsonObj( + obj: DefaultPausePipelineDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.PausePipelineDetails.getDeserializedJsonObj(obj) as DefaultPausePipelineDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/index.ts b/lib/goldengate/lib/model/index.ts index f72dedd075..b56bfd6215 100644 --- a/lib/goldengate/lib/model/index.ts +++ b/lib/goldengate/lib/model/index.ts @@ -242,6 +242,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 PausePipelineDetails from "./pause-pipeline-details"; +export import PausePipelineDetails = PausePipelineDetails.PausePipelineDetails; +import * as PausePipelineType from "./pause-pipeline-type"; +export import PausePipelineType = PausePipelineType.PausePipelineType; import * as Pipeline from "./pipeline"; export import Pipeline = Pipeline.Pipeline; import * as PipelineCollection from "./pipeline-collection"; @@ -539,6 +543,8 @@ import * as DefaultCancelSnoozeDeploymentUpgradeDetails from "./default-cancel-s export import DefaultCancelSnoozeDeploymentUpgradeDetails = DefaultCancelSnoozeDeploymentUpgradeDetails.DefaultCancelSnoozeDeploymentUpgradeDetails; import * as DefaultDeploymentWalletExistsDetails from "./default-deployment-wallet-exists-details"; export import DefaultDeploymentWalletExistsDetails = DefaultDeploymentWalletExistsDetails.DefaultDeploymentWalletExistsDetails; +import * as DefaultPausePipelineDetails from "./default-pause-pipeline-details"; +export import DefaultPausePipelineDetails = DefaultPausePipelineDetails.DefaultPausePipelineDetails; import * as DefaultRefreshConnectionDetails from "./default-refresh-connection-details"; export import DefaultRefreshConnectionDetails = DefaultRefreshConnectionDetails.DefaultRefreshConnectionDetails; import * as DefaultRestoreDeploymentDetails from "./default-restore-deployment-details"; diff --git a/lib/goldengate/lib/model/operation-type.ts b/lib/goldengate/lib/model/operation-type.ts index c5370b2adc..527b13066f 100644 --- a/lib/goldengate/lib/model/operation-type.ts +++ b/lib/goldengate/lib/model/operation-type.ts @@ -62,6 +62,7 @@ export enum OperationType { GoldengatePipelineMove = "GOLDENGATE_PIPELINE_MOVE", GoldengatePipelineDiagnosticsCollect = "GOLDENGATE_PIPELINE_DIAGNOSTICS_COLLECT", GoldengateSwitchoverDeploymentPeer = "GOLDENGATE_SWITCHOVER_DEPLOYMENT_PEER", + GoldengatePipelinePause = "GOLDENGATE_PIPELINE_PAUSE", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/goldengate/lib/model/pause-pipeline-details.ts b/lib/goldengate/lib/model/pause-pipeline-details.ts new file mode 100644 index 0000000000..58f70db504 --- /dev/null +++ b/lib/goldengate/lib/model/pause-pipeline-details.ts @@ -0,0 +1,59 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for a pipeline pause. + * + */ +export interface PausePipelineDetails { + "type": string; +} + +export namespace PausePipelineDetails { + export function getJsonObj(obj: PausePipelineDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "DEFAULT": + return model.DefaultPausePipelineDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: PausePipelineDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "DEFAULT": + return model.DefaultPausePipelineDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } +} diff --git a/lib/goldengate/lib/model/pause-pipeline-type.ts b/lib/goldengate/lib/model/pause-pipeline-type.ts new file mode 100644 index 0000000000..38d9141bfb --- /dev/null +++ b/lib/goldengate/lib/model/pause-pipeline-type.ts @@ -0,0 +1,33 @@ +/** + * GoldenGate API + * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. + + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The pipeline pause type. + * + **/ +export enum PausePipelineType { + Default = "DEFAULT" +} + +export namespace PausePipelineType { + export function getJsonObj(obj: PausePipelineType): PausePipelineType { + return obj; + } + export function getDeserializedJsonObj(obj: PausePipelineType): PausePipelineType { + return obj; + } +} diff --git a/lib/goldengate/lib/model/pipeline-lifecycle-sub-state.ts b/lib/goldengate/lib/model/pipeline-lifecycle-sub-state.ts index a68d4efab2..54bb725139 100644 --- a/lib/goldengate/lib/model/pipeline-lifecycle-sub-state.ts +++ b/lib/goldengate/lib/model/pipeline-lifecycle-sub-state.ts @@ -25,6 +25,11 @@ export enum PipelineLifecycleSubState { Stopped = "STOPPED", Moving = "MOVING", Running = "RUNNING", + Pausing = "PAUSING", + Paused = "PAUSED", + StartFailed = "START_FAILED", + StopFailed = "STOP_FAILED", + PauseFailed = "PAUSE_FAILED", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/goldengate/lib/model/pipeline-summary.ts b/lib/goldengate/lib/model/pipeline-summary.ts index 85ca4f1186..0227a61164 100644 --- a/lib/goldengate/lib/model/pipeline-summary.ts +++ b/lib/goldengate/lib/model/pipeline-summary.ts @@ -113,6 +113,12 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "timeUpdated": Date; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. + * The subnet must be a private subnet. + * + */ + "subnetId"?: string; "recipeType": string; } diff --git a/lib/goldengate/lib/model/pipeline.ts b/lib/goldengate/lib/model/pipeline.ts index 1364689544..408129cefb 100644 --- a/lib/goldengate/lib/model/pipeline.ts +++ b/lib/goldengate/lib/model/pipeline.ts @@ -114,6 +114,18 @@ Example: {@code {orcl-cloud: {free-tier-retain: true}}} * */ "timeUpdated": Date; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. + * The subnet must be a private subnet. + * + */ + "subnetId"?: string; + /** + * List of ingress IP addresses from where the GoldenGate deployment connects to this connection's privateIp. + * Customers may optionally set up ingress security rules to restrict traffic from these IP addresses. + * + */ + "ingressIps"?: Array; "recipeType": string; } @@ -127,6 +139,7 @@ export namespace Pipeline { Deleting = "DELETING", Deleted = "DELETED", Failed = "FAILED", + Inactive = "INACTIVE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. @@ -152,6 +165,12 @@ export namespace Pipeline { ? obj.locks.map(item => { return model.ResourceLock.getJsonObj(item); }) + : undefined, + + "ingressIps": obj.ingressIps + ? obj.ingressIps.map(item => { + return model.IngressIpDetails.getJsonObj(item); + }) : undefined } }; @@ -188,6 +207,12 @@ export namespace Pipeline { ? obj.locks.map(item => { return model.ResourceLock.getDeserializedJsonObj(item); }) + : undefined, + + "ingressIps": obj.ingressIps + ? obj.ingressIps.map(item => { + return model.IngressIpDetails.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/goldengate/lib/model/update-pipeline-details.ts b/lib/goldengate/lib/model/update-pipeline-details.ts index bbffec4aa8..c4e6ab7679 100644 --- a/lib/goldengate/lib/model/update-pipeline-details.ts +++ b/lib/goldengate/lib/model/update-pipeline-details.ts @@ -50,6 +50,12 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet of the pipeline's private endpoint. + * The subnet must be a private subnet. + * + */ + "subnetId"?: string; "recipeType": string; } diff --git a/lib/goldengate/lib/request/index.ts b/lib/goldengate/lib/request/index.ts index 5185ae3961..441e6148e7 100644 --- a/lib/goldengate/lib/request/index.ts +++ b/lib/goldengate/lib/request/index.ts @@ -148,6 +148,8 @@ 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 PausePipelineRequest from "./pause-pipeline-request"; +export import PausePipelineRequest = PausePipelineRequest.PausePipelineRequest; import * as RefreshConnectionRequest from "./refresh-connection-request"; export import RefreshConnectionRequest = RefreshConnectionRequest.RefreshConnectionRequest; import * as RemoveConnectionLockRequest from "./remove-connection-lock-request"; diff --git a/lib/goldengate/lib/request/pause-pipeline-request.ts b/lib/goldengate/lib/request/pause-pipeline-request.ts new file mode 100644 index 0000000000..0bcf93787f --- /dev/null +++ b/lib/goldengate/lib/request/pause-pipeline-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/goldengate/PausePipeline.ts.html |here} to see how to use PausePipelineRequest. + */ +export interface PausePipelineRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline created. + * + */ + "pipelineId": string; + /** + * Details to pause the pipeline. + * + */ + "pausePipelineDetails": model.DefaultPausePipelineDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for that + * resource. The resource is updated or deleted only if the etag you provide matches the + * resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, + * without the risk of executing that same action again. Retry tokens expire after 24 hours but can be + * invalidated before then due to conflicting operations. For example, if a resource was deleted and purged + * from the system, then a retry of the original creation request is rejected. + * + */ + "opcRetryToken"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; +} diff --git a/lib/goldengate/lib/response/index.ts b/lib/goldengate/lib/response/index.ts index caf77cd09c..6964176fb1 100644 --- a/lib/goldengate/lib/response/index.ts +++ b/lib/goldengate/lib/response/index.ts @@ -148,6 +148,8 @@ 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 PausePipelineResponse from "./pause-pipeline-response"; +export import PausePipelineResponse = PausePipelineResponse.PausePipelineResponse; import * as RefreshConnectionResponse from "./refresh-connection-response"; export import RefreshConnectionResponse = RefreshConnectionResponse.RefreshConnectionResponse; import * as RemoveConnectionLockResponse from "./remove-connection-lock-response"; diff --git a/lib/goldengate/lib/response/pause-pipeline-response.ts b/lib/goldengate/lib/response/pause-pipeline-response.ts new file mode 100644 index 0000000000..b47f8770ec --- /dev/null +++ b/lib/goldengate/lib/response/pause-pipeline-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20200407 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 PausePipelineResponse { + /** + * A unique Oracle-assigned identifier for an asynchronous request. You can use this to query + * status of the asynchronous operation. + * + */ + "opcWorkRequestId": string; + /** + * A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a + * particular request, please include the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index 5b07aaceda..74e1791fa2 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.121.1", + "version": "2.122.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 0b8f9118ab..593d7eecf6 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.121.1", + "version": "2.122.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 34b8ac8f79..f4c927f99f 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 8a3c9d1bf6..bc8db341bc 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 5ab026beb9..df923ff781 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.121.1", + "version": "2.122.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 30ad1f37bf..cc38ab1b28 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.121.1", + "version": "2.122.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 5efbd67579..26284c741b 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/iot/lib/client.ts b/lib/iot/lib/client.ts index ccbd815bc8..5649878b8b 100644 --- a/lib/iot/lib/client.ts +++ b/lib/iot/lib/client.ts @@ -2310,8 +2310,8 @@ export class IotClient { dataType: "string" }, { - value: response.headers.get("Content-Location"), - key: "contentLocation", + value: response.headers.get("Location"), + key: "location", dataType: "string" } ] diff --git a/lib/iot/lib/model/index.ts b/lib/iot/lib/model/index.ts index 47296c84a1..1c8485cd10 100644 --- a/lib/iot/lib/model/index.ts +++ b/lib/iot/lib/model/index.ts @@ -105,6 +105,8 @@ import * as UpdateIotDomainDetails from "./update-iot-domain-details"; export import UpdateIotDomainDetails = UpdateIotDomainDetails.UpdateIotDomainDetails; import * as UpdateIotDomainGroupDetails from "./update-iot-domain-group-details"; export import UpdateIotDomainGroupDetails = UpdateIotDomainGroupDetails.UpdateIotDomainGroupDetails; +import * as Vcn from "./vcn"; +export import Vcn = Vcn.Vcn; import * as WorkRequest from "./work-request"; export import WorkRequest = WorkRequest.WorkRequest; import * as WorkRequestError from "./work-request-error"; diff --git a/lib/iot/lib/model/invoke-raw-json-command-details.ts b/lib/iot/lib/model/invoke-raw-json-command-details.ts index a923250060..7b0621ec4f 100644 --- a/lib/iot/lib/model/invoke-raw-json-command-details.ts +++ b/lib/iot/lib/model/invoke-raw-json-command-details.ts @@ -25,7 +25,7 @@ export interface InvokeRawJsonCommandDetails extends model.InvokeRawCommandDetai */ "requestDataContentType"?: string; /** - * request data + * request data, maximum 256k */ "requestData"?: { [key: string]: any }; diff --git a/lib/iot/lib/model/update-digital-twin-instance-details.ts b/lib/iot/lib/model/update-digital-twin-instance-details.ts index bbe4e52455..0280c9323e 100644 --- a/lib/iot/lib/model/update-digital-twin-instance-details.ts +++ b/lib/iot/lib/model/update-digital-twin-instance-details.ts @@ -45,6 +45,14 @@ export interface UpdateDigitalTwinInstanceDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin adapter. */ "digitalTwinAdapterId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the digital twin model. + */ + "digitalTwinModelId"?: string; + /** + * The URI of the digital twin model specification. + */ + "digitalTwinModelSpecUri"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/iot/lib/model/vcn.ts b/lib/iot/lib/model/vcn.ts new file mode 100644 index 0000000000..425f647507 --- /dev/null +++ b/lib/iot/lib/model/vcn.ts @@ -0,0 +1,35 @@ +/** + * Internet of Things API + * Use the Internet of Things (IoT) API to manage IoT domain groups, domains, and digital twin resources including models, adapters, instances, and relationships. +For more information, see [Internet of Things](https://docs.oracle.com/iaas/Content/internet-of-things/home.htm). + + * OpenAPI spec version: 20250531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Vcn resource for validation of dbAllowListedVcns + */ +export interface Vcn {} + +export namespace Vcn { + export function getJsonObj(obj: Vcn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Vcn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/iot/lib/response/invoke-raw-command-response.ts b/lib/iot/lib/response/invoke-raw-command-response.ts index 147c891ee0..5db6b09f37 100644 --- a/lib/iot/lib/response/invoke-raw-command-response.ts +++ b/lib/iot/lib/response/invoke-raw-command-response.ts @@ -24,5 +24,5 @@ export interface InvokeRawCommandResponse { /** * URL where the status of command invocation could be retrieved */ - "contentLocation": string; + "location": string; } diff --git a/lib/iot/package.json b/lib/iot/package.json index e97b32db97..6b979bf14c 100644 --- a/lib/iot/package.json +++ b/lib/iot/package.json @@ -1,6 +1,6 @@ { "name": "oci-iot", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Iot Service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 2c3a89506b..0a78c15db7 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 739223a7e2..e03eb9c78b 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/jmsutils/package.json b/lib/jmsutils/package.json index 6ec6cc040b..7aeeaa5249 100644 --- a/lib/jmsutils/package.json +++ b/lib/jmsutils/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsutils", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Jms Utils Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index b1f933c16e..139a2c9bb0 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 516ac2b094..e4a4e764c5 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.121.1", + "version": "2.122.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 01e42d9549..1a55ed29d7 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 2daf7763b3..bcb3270870 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 81c04e99e2..4a5bb7a2d3 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 971f35fa82..c09dce48b6 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.121.1", + "version": "2.122.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 1e4ca2e04c..78b45f89e3 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 3931a4a5f9..94cd8c4e98 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 5023b6d916..15770c339c 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index ff61daf442..efc14b9db6 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.121.1", + "version": "2.122.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 33884481ff..ea8da54188 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.121.1", + "version": "2.122.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 5ed1a4b7c0..9907063400 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.121.1", + "version": "2.122.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 8862ca34ce..18b4573429 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.121.1", + "version": "2.122.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 87d0866cc0..eca43f5cca 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index 465722ac28..8e8e59ad71 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.121.1", + "version": "2.122.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 28239b6aa8..b83c5c5a20 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.121.1", + "version": "2.122.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 5f608ae688..48347b1dfa 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.121.1", + "version": "2.122.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 59bdede808..ede7c394df 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index 0d247b8096..79d4b020ba 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.121.1", + "version": "2.122.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 484d132b80..9dc8b63940 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/index.ts b/lib/multicloud/index.ts index 64be7b1a67..39667f3865 100644 --- a/lib/multicloud/index.ts +++ b/lib/multicloud/index.ts @@ -15,7 +15,6 @@ import * as requests from "./lib/request"; import * as models from "./lib/model"; import * as responses from "./lib/response"; import * as client from "./lib/client"; -import * as omhubnetworkanchor_waiter from "./lib/omhubnetworkanchor-waiter"; import * as omhubresourceanchor_waiter from "./lib/omhubresourceanchor-waiter"; export { models }; @@ -23,7 +22,8 @@ export { requests }; export { responses }; export import MetadataClient = client.MetadataClient; export import MultiCloudsMetadataClient = client.MultiCloudsMetadataClient; +export import MulticloudResourcesClient = client.MulticloudResourcesClient; +export import MulticloudsubscriptionsClient = client.MulticloudsubscriptionsClient; export import OmhubNetworkAnchorClient = client.OmhubNetworkAnchorClient; -export import OmhubNetworkAnchorWaiter = omhubnetworkanchor_waiter.OmhubNetworkAnchorWaiter; export import OmhubResourceAnchorClient = client.OmhubResourceAnchorClient; export import OmhubResourceAnchorWaiter = omhubresourceanchor_waiter.OmhubResourceAnchorWaiter; diff --git a/lib/multicloud/lib/client.ts b/lib/multicloud/lib/client.ts index 5f9c752810..42a351d2a6 100644 --- a/lib/multicloud/lib/client.ts +++ b/lib/multicloud/lib/client.ts @@ -15,7 +15,6 @@ import common = require("oci-common"); import * as requests from "./request"; import * as model from "./model"; import * as responses from "./response"; -import { OmhubNetworkAnchorWaiter } from "./omhubnetworkanchor-waiter"; import { OmhubResourceAnchorWaiter } from "./omhubresourceanchor-waiter"; import { composeResponse, @@ -215,112 +214,6 @@ export class MetadataClient { /** * List externalLocationDetail metadata from OCI to Cloud Service Provider for regions, Availability Zones, and Cluster Placement Group ID. - * examples: - * application-json: | - * [ - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US\", - * \"cspPhysicalAz\": \"az1-xyz\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az1\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-1 or aws-account-id-1, gcp-project-id-1\" - * } - * }, - * \"ociPhysicalAd\": \"ad1-xyb\", - * \"ociLogicalAd\": \"ad2\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US\", - * \"cspPhysicalAz\": \"az2-abc\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az2\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-2 or aws-account-id-2, gcp-project-id-2\" - * } - * }, - * \"ociPhysicalAd\": \"ad2-xby\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-2\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US\", - * \"cspPhysicalAz\": \"az3-abz\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az3\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" - * } - * }, - * \"ociPhysicalAd\": \"ad3-cde\", - * \"ociLogicalAd\": \"ad3\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-3\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US 2\", - * \"cspPhysicalAz\": \"az1-def\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az1\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-4 or aws-account-id-4, gcp-project-id-4\" - * } - * }, - * \"ociPhysicalAd\": \"ad1-bce\", - * \"ociLogicalAd\": \"ad2\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-4\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US 2\", - * \"cspPhysicalAz\": \"az2-uvw\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az2\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" - * } - * }, - * \"ociPhysicalAd\": \"ad2-ftc\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-5\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US 2\", - * \"cspPhysicalAz\": \"az3-uvw\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 2\", - * \"cspLogicalAz\": \"az3\", - * \"serviceName\": \"ORACLEDBATAZURE\", - * \"cspZoneKeyReferenceId\": { - * \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", - * \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" - * } - * }, - * \"ociPhysicalAd\": \"ad3-stc\", - * \"ociLogicalAd\": \"ad3\", - * \"ociRegion\": \"us-ashburn-1\", - * \"cpgId\": \"cpg-6\" - * } - * ] * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListExternalLocationDetailsMetadataRequest @@ -343,6 +236,9 @@ export class MetadataClient { "compartmentId": listExternalLocationDetailsMetadataRequest.compartmentId, "linkedCompartmentId": listExternalLocationDetailsMetadataRequest.linkedCompartmentId, "subscriptionServiceName": listExternalLocationDetailsMetadataRequest.subscriptionServiceName, + "externalLocation": listExternalLocationDetailsMetadataRequest.externalLocation, + "logicalZone": listExternalLocationDetailsMetadataRequest.logicalZone, + "clusterPlacementGroupId": listExternalLocationDetailsMetadataRequest.clusterPlacementGroupId, "limit": listExternalLocationDetailsMetadataRequest.limit, "page": listExternalLocationDetailsMetadataRequest.page, "sortOrder": listExternalLocationDetailsMetadataRequest.sortOrder, @@ -406,54 +302,6 @@ export class MetadataClient { /** * List externalLocation metadata from OCI to the Cloud Service Provider for regions, Physical Availability Zones. - * examples: - * application-json: | - * [ - * { - * \"externalLocation\": { - * \"cspRegion\": \"eastus\", - * \"cspPhysicalAz\": \"eastus-az1\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 1\", - * \"serviceName\": \"ORACLEDBATAZURE\" - * }, - * \"ociPhysicalAd\": \"iad-ad-1\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"eastus\", - * \"cspPhysicalAz\": \"eastus-az1\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 1\", - * \"serviceName\": \"ORACLEDBATAZURE\" - * }, - * \"ociPhysicalAd\": \"iad-ad-1\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"eastus2\", - * \"cspPhysicalAz\": \"eastus2-az3\", - * \"cspPhysicalAzDisplayName\": \"(US) East US 1\", - * \"serviceName\": \"ORACLEDBATAZURE\" - * }, - * \"ociPhysicalAd\": \"iad-ad-2\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"eastus\", - * \"cspPhysicalAz\": \"eastus-az3\" - * \"cspPhysicalAzDisplayName\": \"(US) East US 1\", - * \"serviceName\": \"ORACLEDBATAZURE\" - * }, - * \"ociPhysicalAd\": \"iad-ad-333\", - * \"ociLogicalAd\": \"ad1\", - * \"ociRegion\": \"us-ashburn-1\" - * } - * ] * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListExternalLocationMappingMetadataRequest @@ -537,28 +385,6 @@ export class MetadataClient { /** * List externalLocationSummary metadata from OCI Region to the Cloud Service Provider region across all regions. - * examples: - * application-json: | - * [ - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US\" - * }, - * \"ociRegion\": \"us-ashburn-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"East US 2\" - * }, - * \"ociRegion\": \"us-ashburn-1\" - * }, - * { - * \"externalLocation\": { - * \"cspRegion\": \"Germany West Central\" - * }, - * \"ociRegion\": \"eu-frankfurt-1\", - * } - * ] * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListExternalLocationSummariesMetadataRequest @@ -828,7 +654,9 @@ export class MultiCloudsMetadataClient { } /** - * Gets information about multicloud base compartment + * Gets information about the Multicloud base compartment for a given tenancy Id. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetMultiCloudMetadataRequest * @return GetMultiCloudMetadataResponse @@ -906,7 +734,8 @@ export class MultiCloudsMetadataClient { } /** - * Gets a list of multicloud metadata with multicloud base compartment and subscription across Cloud Service Providers. + * Gets a list of multicloud metadata with pairs of Multicloud base compartment and subscription across Cloud Service Providers from a tenancy Id. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListMultiCloudMetadataRequest @@ -986,6 +815,545 @@ export class MultiCloudsMetadataClient { } } } +export enum MulticloudResourcesApiKeys {} +/** + * 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 MulticloudResourcesClient { + protected static serviceEndpointTemplate = "https://multicloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "MulticloudResources"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("multicloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("multicloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20180828"; + if (this.logger) + this.logger.info(`MulticloudResourcesClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MulticloudResourcesClient.serviceEndpointTemplate, + this._region, + MulticloudResourcesClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MulticloudResourcesClient.serviceEndpointTemplate, + this._regionId, + MulticloudResourcesClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MulticloudResourcesClient.serviceEndpointTemplate, + region, + MulticloudResourcesClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MulticloudResourcesClient.serviceEndpointTemplate, + regionId, + MulticloudResourcesClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Gets a list of multicloud resources with multicloud base compartment and subscription across Cloud Service Providers. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListMulticloudResourcesRequest + * @return ListMulticloudResourcesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/multicloud/ListMulticloudResources.ts.html |here} to see how to use ListMulticloudResources API. + */ + public async listMulticloudResources( + listMulticloudResourcesRequest: requests.ListMulticloudResourcesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MulticloudResourcesClient#listMulticloudResources."); + const operationName = "listMulticloudResources"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "resourceAnchorId": listMulticloudResourcesRequest.resourceAnchorId, + "compartmentId": listMulticloudResourcesRequest.compartmentId, + "limit": listMulticloudResourcesRequest.limit, + "page": listMulticloudResourcesRequest.page, + "sortOrder": listMulticloudResourcesRequest.sortOrder, + "sortBy": listMulticloudResourcesRequest.sortBy, + "subscriptionServiceName": listMulticloudResourcesRequest.subscriptionServiceName, + "subscriptionId": listMulticloudResourcesRequest.subscriptionId, + "externalLocation": listMulticloudResourcesRequest.externalLocation + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listMulticloudResourcesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listMulticloudResourcesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/omHub/multicloudResources", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "multicloudResourceCollection", + bodyModel: model.MulticloudResourceCollection, + type: "model.MulticloudResourceCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum MulticloudsubscriptionsApiKeys {} +/** + * 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 MulticloudsubscriptionsClient { + protected static serviceEndpointTemplate = "https://multicloud.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "Multicloudsubscriptions"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("multicloud")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("multicloud"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20180828"; + if (this.logger) + this.logger.info(`MulticloudsubscriptionsClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MulticloudsubscriptionsClient.serviceEndpointTemplate, + this._region, + MulticloudsubscriptionsClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MulticloudsubscriptionsClient.serviceEndpointTemplate, + this._regionId, + MulticloudsubscriptionsClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MulticloudsubscriptionsClient.serviceEndpointTemplate, + region, + MulticloudsubscriptionsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MulticloudsubscriptionsClient.serviceEndpointTemplate, + regionId, + MulticloudsubscriptionsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Gets a list of Multicloud Resources. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListMulticloudSubscriptionsRequest + * @return ListMulticloudSubscriptionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/multicloud/ListMulticloudSubscriptions.ts.html |here} to see how to use ListMulticloudSubscriptions API. + */ + public async listMulticloudSubscriptions( + listMulticloudSubscriptionsRequest: requests.ListMulticloudSubscriptionsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MulticloudsubscriptionsClient#listMulticloudSubscriptions." + ); + const operationName = "listMulticloudSubscriptions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listMulticloudSubscriptionsRequest.compartmentId, + "limit": listMulticloudSubscriptionsRequest.limit, + "page": listMulticloudSubscriptionsRequest.page, + "displayName": listMulticloudSubscriptionsRequest.displayName, + "sortBy": listMulticloudSubscriptionsRequest.sortBy, + "sortOrder": listMulticloudSubscriptionsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listMulticloudSubscriptionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listMulticloudSubscriptionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/multicloudsubscriptions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "multicloudSubscriptionCollection", + bodyModel: model.MulticloudSubscriptionCollection, + type: "model.MulticloudSubscriptionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} export enum OmhubNetworkAnchorApiKeys {} /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. @@ -996,7 +1364,6 @@ export class OmhubNetworkAnchorClient { protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; protected "_endpoint": string = ""; protected "_defaultHeaders": any = {}; - protected "_waiters": OmhubNetworkAnchorWaiter; protected "_clientConfiguration": common.ClientConfiguration; protected _circuitBreaker: typeof Breaker | null = null; protected _httpOptions: any = undefined; @@ -1142,29 +1509,6 @@ export class OmhubNetworkAnchorClient { this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; } - /** - * Creates a new OmhubNetworkAnchorWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): OmhubNetworkAnchorWaiter { - this._waiters = new OmhubNetworkAnchorWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): OmhubNetworkAnchorWaiter { - if (this._waiters) { - return this._waiters; - } - throw Error("Waiters do not exist. Please create waiters."); - } - /** * Shutdown the circuit breaker used by the client when it is no longer needed */ @@ -1216,7 +1560,8 @@ export class OmhubNetworkAnchorClient { const queryParams = { "subscriptionServiceName": getNetworkAnchorRequest.subscriptionServiceName, "subscriptionId": getNetworkAnchorRequest.subscriptionId, - "externalLocation": getNetworkAnchorRequest.externalLocation + "externalLocation": getNetworkAnchorRequest.externalLocation, + "shouldFetchVcnName": getNetworkAnchorRequest.shouldFetchVcnName }; let headerParams = { @@ -1296,14 +1641,16 @@ export class OmhubNetworkAnchorClient { "compartmentId": listNetworkAnchorsRequest.compartmentId, "subscriptionId": listNetworkAnchorsRequest.subscriptionId, "subscriptionServiceName": listNetworkAnchorsRequest.subscriptionServiceName, - "lifecycleState": listNetworkAnchorsRequest.lifecycleState, + "networkAnchorLifecycleState": listNetworkAnchorsRequest.networkAnchorLifecycleState, "displayName": listNetworkAnchorsRequest.displayName, "externalLocation": listNetworkAnchorsRequest.externalLocation, "networkAnchorOciSubnetId": listNetworkAnchorsRequest.networkAnchorOciSubnetId, + "compartmentIdInSubtree": listNetworkAnchorsRequest.compartmentIdInSubtree, "networkAnchorOciVcnId": listNetworkAnchorsRequest.networkAnchorOciVcnId, "id": listNetworkAnchorsRequest.id, "limit": listNetworkAnchorsRequest.limit, "page": listNetworkAnchorsRequest.page, + "shouldFetchVcnName": listNetworkAnchorsRequest.shouldFetchVcnName, "sortOrder": listNetworkAnchorsRequest.sortOrder, "sortBy": listNetworkAnchorsRequest.sortBy }; @@ -1593,7 +1940,8 @@ export class OmhubResourceAnchorClient { const queryParams = { "subscriptionServiceName": getResourceAnchorRequest.subscriptionServiceName, - "subscriptionId": getResourceAnchorRequest.subscriptionId + "subscriptionId": getResourceAnchorRequest.subscriptionId, + "shouldFetchCompartmentName": getResourceAnchorRequest.shouldFetchCompartmentName }; let headerParams = { @@ -1680,6 +2028,7 @@ export class OmhubResourceAnchorClient { "sortOrder": listResourceAnchorsRequest.sortOrder, "sortBy": listResourceAnchorsRequest.sortBy, "isCompartmentIdInSubtree": listResourceAnchorsRequest.isCompartmentIdInSubtree, + "shouldFetchCompartmentName": listResourceAnchorsRequest.shouldFetchCompartmentName, "subscriptionServiceName": listResourceAnchorsRequest.subscriptionServiceName, "subscriptionId": listResourceAnchorsRequest.subscriptionId }; diff --git a/lib/multicloud/lib/model/cloud-service-provider-metadata-item.ts b/lib/multicloud/lib/model/cloud-service-provider-metadata-item.ts index be97eaaa0f..32f70326f1 100644 --- a/lib/multicloud/lib/model/cloud-service-provider-metadata-item.ts +++ b/lib/multicloud/lib/model/cloud-service-provider-metadata-item.ts @@ -26,13 +26,25 @@ export interface CloudServiceProviderMetadataItem { */ "region"?: string; /** - * CSP resource anchor ID or name. + * OCI resource anchor name. */ "resourceAnchorName": string; + /** + * CSP resource anchor ID. + */ + "cspResourceAnchorId"?: string; + /** + * CSP resource anchor name. + */ + "cspResourceAnchorName"?: string; /** * CSP resource anchor Uri. */ "resourceAnchorUri"?: string; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; "subscriptionType": string; } diff --git a/lib/multicloud/lib/model/cloud-service-provider-network-metadata-item.ts b/lib/multicloud/lib/model/cloud-service-provider-network-metadata-item.ts index d3f3fc2ea1..d7cb4c42b9 100644 --- a/lib/multicloud/lib/model/cloud-service-provider-network-metadata-item.ts +++ b/lib/multicloud/lib/model/cloud-service-provider-network-metadata-item.ts @@ -37,6 +37,10 @@ export interface CloudServiceProviderNetworkMetadataItem { * CSP network anchor Uri */ "networkAnchorUri"?: string; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; /** * DNS domain ip mapping forwarding configuration */ diff --git a/lib/multicloud/lib/model/external-location-detail.ts b/lib/multicloud/lib/model/external-location-detail.ts index 453532da30..098f037c31 100644 --- a/lib/multicloud/lib/model/external-location-detail.ts +++ b/lib/multicloud/lib/model/external-location-detail.ts @@ -34,6 +34,10 @@ export interface ExternalLocationDetail { * User friendly display name for cspPhysicalAZ */ "cspPhysicalAzDisplayName": string; + /** + * User friendly display name for cspLogicalAZ + */ + "cspLogicalAzDisplayName"?: string; "cspZoneKeyReferenceId"?: model.CspZoneKeyReferenceId; /** * A mapping of CSP physical availability zone to CSP logical availability zone. diff --git a/lib/multicloud/lib/model/external-locations-metadatum-summary.ts b/lib/multicloud/lib/model/external-locations-metadatum-summary.ts index 4bb054fc24..f7547523df 100644 --- a/lib/multicloud/lib/model/external-locations-metadatum-summary.ts +++ b/lib/multicloud/lib/model/external-locations-metadatum-summary.ts @@ -55,9 +55,25 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} */ "ociRegion": string; /** - * Cluster Placement Group OCID + * Cluster Placement Group OCID (deprecated representation) */ "cpgId": string; + /** + * Cluster Placement Group OCID + */ + "clusterPlacementGroupId": string; + /** + * Partner Cloud Name based on service name + */ + "partnerCloudName"?: string; + /** + * User friendly name of account name for customer's subscription + */ + "partnerCloudAccountName"?: string; + /** + * Direct URL to partner cloud for customer's account + */ + "partnerCloudAccountUrl"?: string; } export namespace ExternalLocationsMetadatumSummary { diff --git a/lib/multicloud/lib/model/index.ts b/lib/multicloud/lib/model/index.ts index 5fdbc45683..e65931ea1e 100644 --- a/lib/multicloud/lib/model/index.ts +++ b/lib/multicloud/lib/model/index.ts @@ -43,10 +43,20 @@ import * as MultiCloudMetadataCollection from "./multi-cloud-metadata-collection export import MultiCloudMetadataCollection = MultiCloudMetadataCollection.MultiCloudMetadataCollection; import * as MultiCloudMetadataSummary from "./multi-cloud-metadata-summary"; export import MultiCloudMetadataSummary = MultiCloudMetadataSummary.MultiCloudMetadataSummary; +import * as MulticloudResourceCollection from "./multicloud-resource-collection"; +export import MulticloudResourceCollection = MulticloudResourceCollection.MulticloudResourceCollection; +import * as MulticloudResourceSummary from "./multicloud-resource-summary"; +export import MulticloudResourceSummary = MulticloudResourceSummary.MulticloudResourceSummary; +import * as MulticloudSubscriptionCollection from "./multicloud-subscription-collection"; +export import MulticloudSubscriptionCollection = MulticloudSubscriptionCollection.MulticloudSubscriptionCollection; +import * as MulticloudSubscriptionSummary from "./multicloud-subscription-summary"; +export import MulticloudSubscriptionSummary = MulticloudSubscriptionSummary.MulticloudSubscriptionSummary; import * as NetworkAnchor from "./network-anchor"; export import NetworkAnchor = NetworkAnchor.NetworkAnchor; import * as NetworkAnchorCollection from "./network-anchor-collection"; export import NetworkAnchorCollection = NetworkAnchorCollection.NetworkAnchorCollection; +import * as NetworkAnchorConnectionStatus from "./network-anchor-connection-status"; +export import NetworkAnchorConnectionStatus = NetworkAnchorConnectionStatus.NetworkAnchorConnectionStatus; import * as NetworkAnchorSummary from "./network-anchor-summary"; export import NetworkAnchorSummary = NetworkAnchorSummary.NetworkAnchorSummary; import * as OciDns from "./oci-dns"; diff --git a/lib/multicloud/lib/model/multicloud-resource-collection.ts b/lib/multicloud/lib/model/multicloud-resource-collection.ts new file mode 100644 index 0000000000..695c5c88f1 --- /dev/null +++ b/lib/multicloud/lib/model/multicloud-resource-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Multicloud API + * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Multicloud resource information across clouds. + */ +export interface MulticloudResourceCollection { + /** + * List of MulticloudResourceSummary. + */ + "items": Array; +} + +export namespace MulticloudResourceCollection { + export function getJsonObj(obj: MulticloudResourceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MulticloudResourceSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MulticloudResourceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MulticloudResourceSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/multicloud/lib/model/multicloud-resource-summary.ts b/lib/multicloud/lib/model/multicloud-resource-summary.ts new file mode 100644 index 0000000000..7b4ff1b18e --- /dev/null +++ b/lib/multicloud/lib/model/multicloud-resource-summary.ts @@ -0,0 +1,128 @@ +/** + * Oracle Multicloud API + * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The multicloud resource, for eg. VMCluster, ExaInfra, and its attributes. The resource and network anchor that represents + * + */ +export interface MulticloudResourceSummary { + /** + * The Id of the multicloud resource. + */ + "resourceId": string; + /** + * Endpoint used to retrieve displayName and lifeCycleState of the resource. + */ + "resourceDisplayName"?: string; + /** + * What resource it refers to. Eg. VMCluster, ExaInfra, etc. + */ + "resourceType"?: string; + /** + * Compartment name associated the resource. + */ + "compartmentName"?: string; + /** + * Compartment Id of the resource. + */ + "compartmentId"?: string; + /** + * Resource Anchor name. + */ + "vcnName"?: string; + /** + * Id of the Virtual Cloud Network associated to the resource. + */ + "vcnId"?: string; + /** + * Name of the network anchor associated to the resource. + */ + "networkAnchorName"?: string; + /** + * OCID of the Network Anchor + */ + "networkAnchorId"?: string; + /** + * Resource Id that comes from the Multi Cloud Control Plane + */ + "cspResourceId"?: string; + /** + * The date and time the subscription was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeCreated": Date; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; + /** + * The date and time the subscription was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; + /** + * The current state of the multicloud resource. + */ + "lifecycleState"?: MulticloudResourceSummary.LifecycleState; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MulticloudResourceSummary { + export enum LifecycleState { + Active = "ACTIVE", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: MulticloudResourceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MulticloudResourceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/multicloud/lib/model/multicloud-subscription-collection.ts b/lib/multicloud/lib/model/multicloud-subscription-collection.ts new file mode 100644 index 0000000000..6292afaae5 --- /dev/null +++ b/lib/multicloud/lib/model/multicloud-subscription-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Multicloud API + * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a multicloud subscription. Contains both MulticloudSubscription information. + */ +export interface MulticloudSubscriptionCollection { + /** + * List of MulticloudSubscriptions. + */ + "items": Array; +} + +export namespace MulticloudSubscriptionCollection { + export function getJsonObj(obj: MulticloudSubscriptionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MulticloudSubscriptionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MulticloudSubscriptionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MulticloudSubscriptionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/multicloud/lib/model/multicloud-subscription-summary.ts b/lib/multicloud/lib/model/multicloud-subscription-summary.ts new file mode 100644 index 0000000000..12831d13ec --- /dev/null +++ b/lib/multicloud/lib/model/multicloud-subscription-summary.ts @@ -0,0 +1,123 @@ +/** + * Oracle Multicloud API + * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Multicloud subscription object + */ +export interface MulticloudSubscriptionSummary { + /** + * Subscription ID for OCI and Partner cloud in classic format. + */ + "classicSubscriptionId": string; + /** + * URL to the subscription page https://{console-url}/org-mgmt/subscription/ocid1.organizationssubscription.oc1.iad.amaaaaaapf266qyaqohz27zvh45jzaielgwojo53bh24s7cy5q5g7fiknpxa?region=us-ashburn-1. + */ + "subscriptionId"?: string; + /** + * The partner cloud account ID. + */ + "partnerCloudAccountIdentifier": string; + /** + * The serviceName that externalLocation map object belongs to. + */ + "serviceName"?: model.SubscriptionType; + /** + * The date and time for when the multicloud was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeLinkedDate"?: Date; + /** + * Payment plan for the subscription. + */ + "paymentPlan"?: string; + /** + * Total value for the subscription. + */ + "activeCommitment"?: string; + /** + * The date and time for when the subscription is finishing, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeEndDate"?: Date; + /** + * The current state of the subscription. + */ + "lifecycleState"?: MulticloudSubscriptionSummary.LifecycleState; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; + /** + * The date and time the subscription was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeCreated": Date; + /** + * The date and time the subscription was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MulticloudSubscriptionSummary { + export enum LifecycleState { + Active = "ACTIVE", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: MulticloudSubscriptionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MulticloudSubscriptionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/multicloud/lib/model/network-anchor-connection-status.ts b/lib/multicloud/lib/model/network-anchor-connection-status.ts new file mode 100644 index 0000000000..7b9fe80b46 --- /dev/null +++ b/lib/multicloud/lib/model/network-anchor-connection-status.ts @@ -0,0 +1,59 @@ +/** + * Oracle Multicloud API + * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This can be merge to lifecycleState + * CONNECTED - Partner and CSI information is assigned and MulticloudLink provisioned. + * DISCONNECTED - Only partner cloud information is assigned. + * CONNECTING - Oracle Cloud Infrastructure information is assigned and the control plane is provisioning resources. + * ACTIVE - Network anchor is connected and resources (VNICs) exist within a subnet. + * ERROR - DRG attach fails during connection. + * FAILED - Network anchor creation failed + * NEEDS_ATTENTION - Network anchor is in temporary bad state + * UPDATING - Network anchor is getting updated. + * DELETING - Network anchor is getting deleted + * DELETED - A connected network anchor is deleted. + * + **/ +export enum NetworkAnchorConnectionStatus { + Connected = "CONNECTED", + Disconnected = "DISCONNECTED", + Connecting = "CONNECTING", + Active = "ACTIVE", + Error = "ERROR", + Updating = "UPDATING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Deleting = "DELETING", + Deleted = "DELETED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace NetworkAnchorConnectionStatus { + export function getJsonObj(obj: NetworkAnchorConnectionStatus): NetworkAnchorConnectionStatus { + return obj; + } + export function getDeserializedJsonObj( + obj: NetworkAnchorConnectionStatus + ): NetworkAnchorConnectionStatus { + return obj; + } +} diff --git a/lib/multicloud/lib/model/network-anchor-summary.ts b/lib/multicloud/lib/model/network-anchor-summary.ts index 2aff2615aa..f2093089ce 100644 --- a/lib/multicloud/lib/model/network-anchor-summary.ts +++ b/lib/multicloud/lib/model/network-anchor-summary.ts @@ -38,6 +38,14 @@ export interface NetworkAnchorSummary { * OCI resource Id of VCN. */ "vcnId"?: string; + /** + * Name of the VCN associated to the Network Anchor. + */ + "vcnName"?: string; + /** + * Defines status of the Network Anchor. + */ + "networkAnchorConnectionStatus": model.NetworkAnchorConnectionStatus; /** * The CPG ID in which Network Anchor will be created. */ @@ -56,10 +64,22 @@ Example: {@code 2016-08-25T21:10:29.600Z} * */ "timeUpdated"?: Date; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; + /** + * Network Anchor Id in the Cloud Service Provider. + */ + "cspNetworkAnchorId"?: string; + /** + * CSP network anchor Uri + */ + "networkAnchorUri"?: string; /** * The current state of the NetworkAnchor. */ - "lifecycleState": string; + "networkAnchorLifecycleState": string; /** * A message that describes the current state of the NetworkAnchor in more detail. For example, * can be used to provide actionable information for a resource in the Failed state. @@ -89,6 +109,10 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Oracle Cloud Infrastructure Subscription Type. + */ + "subscriptionType"?: model.SubscriptionType; } export namespace NetworkAnchorSummary { diff --git a/lib/multicloud/lib/model/network-anchor.ts b/lib/multicloud/lib/model/network-anchor.ts index f262ad15a7..92bdb4f2eb 100644 --- a/lib/multicloud/lib/model/network-anchor.ts +++ b/lib/multicloud/lib/model/network-anchor.ts @@ -56,7 +56,7 @@ Example: {@code 2016-08-25T21:10:29.600Z} /** * The current state of the NetworkAnchor. */ - "lifecycleState": NetworkAnchor.LifecycleState; + "networkAnchorLifecycleState": NetworkAnchor.NetworkAnchorLifecycleState; /** * A message that describes the current state of the NetworkAnchor in more detail. For example, * can be used to provide actionable information for a resource in the Failed state. @@ -99,10 +99,14 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} "clusterPlacementGroupId"?: string; "ociMetadataItem"?: model.OciNetworkMetadata; "cloudServiceProviderMetadataItem"?: model.CloudServiceProviderNetworkMetadataItem; + /** + * Oracle Cloud Infrastructure Subscription Type. + */ + "subscriptionType"?: model.SubscriptionType; } export namespace NetworkAnchor { - export enum LifecycleState { + export enum NetworkAnchorLifecycleState { Creating = "CREATING", Updating = "UPDATING", Active = "ACTIVE", diff --git a/lib/multicloud/lib/model/oci-network-metadata.ts b/lib/multicloud/lib/model/oci-network-metadata.ts index d56033169b..b4a6fb3b6b 100644 --- a/lib/multicloud/lib/model/oci-network-metadata.ts +++ b/lib/multicloud/lib/model/oci-network-metadata.ts @@ -19,20 +19,9 @@ import common = require("oci-common"); */ export interface OciNetworkMetadata { /** - * This can be merge to lifecycleState - * CONNECTED - Partner and CSI information is assigned and MulticloudLink provisioned. - * DISCONNECTED - Only partner cloud information is assigned. - * CONNECTING - Oracle Cloud Infrastructure information is assigned and the control plane is provisioning resources. - * ACTIVE - Network anchor is connected and resources (VNICs) exist within a subnet. - * ERROR - DRG attach fails during connection. - * FAILED - Network anchor creation failed - * NEEDS_ATTENTION - Network anchor is in temporary bad state - * UPDATING - Network anchor is getting updated. - * DELETING - Network anchor is getting deleted - * DELETED - A connected network anchor is deleted. - * + * Defines status of the Network Anchor. */ - "networkAnchorConnectionStatus": OciNetworkMetadata.NetworkAnchorConnectionStatus; + "networkAnchorConnectionStatus": model.NetworkAnchorConnectionStatus; "vcn"?: model.OciVcn; "dns"?: model.OciDns; /** @@ -54,24 +43,6 @@ export interface OciNetworkMetadata { } export namespace OciNetworkMetadata { - export enum NetworkAnchorConnectionStatus { - Connected = "CONNECTED", - Disconnected = "DISCONNECTED", - Connecting = "CONNECTING", - Active = "ACTIVE", - Error = "ERROR", - Updating = "UPDATING", - NeedsAttention = "NEEDS_ATTENTION", - Failed = "FAILED", - Deleting = "DELETING", - Deleted = "DELETED", - /** - * 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: OciNetworkMetadata): object { const jsonObj = { ...obj, diff --git a/lib/multicloud/lib/model/oci-vcn.ts b/lib/multicloud/lib/model/oci-vcn.ts index e38fe060a9..248c9f5045 100644 --- a/lib/multicloud/lib/model/oci-vcn.ts +++ b/lib/multicloud/lib/model/oci-vcn.ts @@ -22,6 +22,10 @@ export interface OciVcn { * Oracle Cloud Infrastructure VCN OCID. CSP can not set this property. */ "vcnId"?: string; + /** + * Name of the VCN associated to the Network Anchor. + */ + "vcnName"?: string; /** * Oracle Cloud Infrastructure primary cidr block. CSP can set this property * It's optional only if disconnect anchor is allowed diff --git a/lib/multicloud/lib/model/resource-anchor-summary.ts b/lib/multicloud/lib/model/resource-anchor-summary.ts index 645a0a363e..5375c512a6 100644 --- a/lib/multicloud/lib/model/resource-anchor-summary.ts +++ b/lib/multicloud/lib/model/resource-anchor-summary.ts @@ -30,6 +30,26 @@ export interface ResourceAnchorSummary { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ "compartmentId": string; + /** + * The name assigned to the compartment during creation. + */ + "compartmentName"?: string; + /** + * Partner Cloud Account Identifier of the Cloud Service Provider. + */ + "partnerCloudAccountIdentifier"?: string; + /** + * Resource Anchor Id in the Cloud Service Provider. + */ + "cspResourceAnchorId"?: string; + /** + * Resource Anchor Name in the Cloud Service Provider. + */ + "cspResourceAnchorName"?: string; + /** + * CSP Specific Additional Properties, AzureSubnetId for Azure + */ + "cspAdditionalProperties"?: { [key: string]: string }; /** * The date and time the ResourceAnchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). *

@@ -81,6 +101,16 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Optional - Oracle Cloud Infrastructure compartment Id (OCID) which was created or linked by customer with resource anchor. + * This compartmentId is different from where resource Anchor live. + * + */ + "linkedCompartmentId"?: string; + /** + * The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live. + */ + "linkedCompartmentName"?: string; } export namespace ResourceAnchorSummary { diff --git a/lib/multicloud/lib/model/resource-anchor.ts b/lib/multicloud/lib/model/resource-anchor.ts index e08328e4d7..8396e41085 100644 --- a/lib/multicloud/lib/model/resource-anchor.ts +++ b/lib/multicloud/lib/model/resource-anchor.ts @@ -39,6 +39,10 @@ export interface ResourceAnchor { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ "compartmentId": string; + /** + * The name assigned to the compartment during creation. + */ + "compartmentName"?: string; /** * The date and time the ResourceAnchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). *

@@ -99,6 +103,10 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "linkedCompartmentId"?: string; + /** + * The name assigned to the compartment which was created or linked by customer with resource anchor. This compartment is different from where resource Anchor live. + */ + "linkedCompartmentName"?: string; /** * subscription type */ diff --git a/lib/multicloud/lib/omhubnetworkanchor-waiter.ts b/lib/multicloud/lib/omhubnetworkanchor-waiter.ts deleted file mode 100644 index a8328888d0..0000000000 --- a/lib/multicloud/lib/omhubnetworkanchor-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Oracle Multicloud API - * Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see . - * OpenAPI spec version: 20180828 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as serviceRequests from "./request"; -import * as serviceResponses from "./response"; -import * as models from "./model"; -import { OmhubNetworkAnchorClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class OmhubNetworkAnchorWaiter { - public constructor( - private client: OmhubNetworkAnchorClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forNetworkAnchor till it reaches any of the provided states - * - * @param request the request to send - * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states - * @return response returns GetNetworkAnchorResponse | null (null in case of 404 response) - */ - public async forNetworkAnchor( - request: serviceRequests.GetNetworkAnchorRequest, - ...targetStates: models.NetworkAnchor.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getNetworkAnchor(request), - response => targetStates.includes(response.networkAnchor.lifecycleState!), - targetStates.includes(models.NetworkAnchor.LifecycleState.Deleted) - ); - } -} diff --git a/lib/multicloud/lib/request/get-network-anchor-request.ts b/lib/multicloud/lib/request/get-network-anchor-request.ts index dd4b184461..3e4db47eb6 100644 --- a/lib/multicloud/lib/request/get-network-anchor-request.ts +++ b/lib/multicloud/lib/request/get-network-anchor-request.ts @@ -23,11 +23,11 @@ export interface GetNetworkAnchorRequest extends common.BaseRequest { */ "networkAnchorId": string; /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The subscription service name of the Cloud Service Provider. */ "subscriptionServiceName": model.SubscriptionType; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ "subscriptionId": string; /** @@ -39,7 +39,11 @@ export interface GetNetworkAnchorRequest extends common.BaseRequest { */ "opcRequestId"?: string; /** - * OMHub Control Plane must know underlying CSP CP Region External Location Name. + * The Cloud Service Provider region. */ "externalLocation"?: string; + /** + * Whether to fetch and include the vcn display name, which may introduce additional latency. + */ + "shouldFetchVcnName"?: boolean; } diff --git a/lib/multicloud/lib/request/get-resource-anchor-request.ts b/lib/multicloud/lib/request/get-resource-anchor-request.ts index e868f40dad..49070b0a27 100644 --- a/lib/multicloud/lib/request/get-resource-anchor-request.ts +++ b/lib/multicloud/lib/request/get-resource-anchor-request.ts @@ -23,11 +23,11 @@ export interface GetResourceAnchorRequest extends common.BaseRequest { */ "resourceAnchorId": string; /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The subscription service name of the Cloud Service Provider. */ "subscriptionServiceName": model.SubscriptionType; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ "subscriptionId": string; /** @@ -38,4 +38,8 @@ export interface GetResourceAnchorRequest extends common.BaseRequest { * */ "opcRequestId"?: string; + /** + * Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency. + */ + "shouldFetchCompartmentName"?: boolean; } diff --git a/lib/multicloud/lib/request/index.ts b/lib/multicloud/lib/request/index.ts index 0115b5bd8d..13e0c3f1c6 100644 --- a/lib/multicloud/lib/request/index.ts +++ b/lib/multicloud/lib/request/index.ts @@ -21,6 +21,10 @@ import * as GetMultiCloudMetadataRequest from "./get-multi-cloud-metadata-reques export import GetMultiCloudMetadataRequest = GetMultiCloudMetadataRequest.GetMultiCloudMetadataRequest; import * as ListMultiCloudMetadataRequest from "./list-multi-cloud-metadata-request"; export import ListMultiCloudMetadataRequest = ListMultiCloudMetadataRequest.ListMultiCloudMetadataRequest; +import * as ListMulticloudResourcesRequest from "./list-multicloud-resources-request"; +export import ListMulticloudResourcesRequest = ListMulticloudResourcesRequest.ListMulticloudResourcesRequest; +import * as ListMulticloudSubscriptionsRequest from "./list-multicloud-subscriptions-request"; +export import ListMulticloudSubscriptionsRequest = ListMulticloudSubscriptionsRequest.ListMulticloudSubscriptionsRequest; import * as GetNetworkAnchorRequest from "./get-network-anchor-request"; export import GetNetworkAnchorRequest = GetNetworkAnchorRequest.GetNetworkAnchorRequest; import * as ListNetworkAnchorsRequest from "./list-network-anchors-request"; diff --git a/lib/multicloud/lib/request/list-external-location-details-metadata-request.ts b/lib/multicloud/lib/request/list-external-location-details-metadata-request.ts index 2db91fc093..f79ada1c84 100644 --- a/lib/multicloud/lib/request/list-external-location-details-metadata-request.ts +++ b/lib/multicloud/lib/request/list-external-location-details-metadata-request.ts @@ -19,15 +19,11 @@ import common = require("oci-common"); */ export interface ListExternalLocationDetailsMetadataRequest extends common.BaseRequest { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ "subscriptionId": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The subscription service name of the Cloud Service Provider. */ "subscriptionServiceName": model.SubscriptionType; /** @@ -35,9 +31,27 @@ export interface ListExternalLocationDetailsMetadataRequest extends common.BaseR */ "entityType"?: ListExternalLocationDetailsMetadataRequest.EntityType; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which linked to Resource. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment in which to list resources. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment linked to the resource. */ "linkedCompartmentId"?: string; + /** + * The Cloud Service Provider region. + */ + "externalLocation"?: string; + /** + * OCI Logical AD to filter the response. + */ + "logicalZone"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster Placement Group. + */ + "clusterPlacementGroupId"?: string; /** * For list pagination. The maximum number of results per page, or items to return in a * paginated \"List\" call. For important details about how pagination works, see diff --git a/lib/multicloud/lib/request/list-external-location-mapping-metadata-request.ts b/lib/multicloud/lib/request/list-external-location-mapping-metadata-request.ts index 4d6567e22f..13293533c0 100644 --- a/lib/multicloud/lib/request/list-external-location-mapping-metadata-request.ts +++ b/lib/multicloud/lib/request/list-external-location-mapping-metadata-request.ts @@ -19,15 +19,17 @@ import common = require("oci-common"); */ export interface ListExternalLocationMappingMetadataRequest extends common.BaseRequest { /** - * The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The subscription type of the Cloud Service Provider. */ "subscriptionServiceName": Array; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment in which to list resources. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * */ "compartmentId": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ "subscriptionId"?: string; /** diff --git a/lib/multicloud/lib/request/list-external-location-summaries-metadata-request.ts b/lib/multicloud/lib/request/list-external-location-summaries-metadata-request.ts index f6c411d483..9961446753 100644 --- a/lib/multicloud/lib/request/list-external-location-summaries-metadata-request.ts +++ b/lib/multicloud/lib/request/list-external-location-summaries-metadata-request.ts @@ -19,15 +19,17 @@ import common = require("oci-common"); */ export interface ListExternalLocationSummariesMetadataRequest extends common.BaseRequest { /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The subscription service name of the Cloud Service Provider. */ "subscriptionServiceName": model.SubscriptionType; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment in which to list resources. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * */ "compartmentId": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ "subscriptionId"?: string; /** diff --git a/lib/multicloud/lib/request/list-multicloud-resources-request.ts b/lib/multicloud/lib/request/list-multicloud-resources-request.ts new file mode 100644 index 0000000000..19ff5eae01 --- /dev/null +++ b/lib/multicloud/lib/request/list-multicloud-resources-request.ts @@ -0,0 +1,80 @@ +/** + * + * + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/multicloud/ListMulticloudResources.ts.html |here} to see how to use ListMulticloudResourcesRequest. + */ +export interface ListMulticloudResourcesRequest extends common.BaseRequest { + /** + * The subscription service name of the Cloud Service Provider. + */ + "subscriptionServiceName": model.SubscriptionType; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. + */ + "subscriptionId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnchor. + */ + "resourceAnchorId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending. + * + */ + "sortBy"?: ListMulticloudResourcesRequest.SortBy; + /** + * The Cloud Service Provider region. + */ + "externalLocation"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListMulticloudResourcesRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/multicloud/lib/request/list-multicloud-subscriptions-request.ts b/lib/multicloud/lib/request/list-multicloud-subscriptions-request.ts new file mode 100644 index 0000000000..fe98e40d09 --- /dev/null +++ b/lib/multicloud/lib/request/list-multicloud-subscriptions-request.ts @@ -0,0 +1,68 @@ +/** + * + * + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/multicloud/ListMulticloudSubscriptions.ts.html |here} to see how to use ListMulticloudSubscriptionsRequest. + */ +export interface ListMulticloudSubscriptionsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending. + * + */ + "sortBy"?: ListMulticloudSubscriptionsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListMulticloudSubscriptionsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/multicloud/lib/request/list-network-anchors-request.ts b/lib/multicloud/lib/request/list-network-anchors-request.ts index c13312cf07..46cf4d4c52 100644 --- a/lib/multicloud/lib/request/list-network-anchors-request.ts +++ b/lib/multicloud/lib/request/list-network-anchors-request.ts @@ -19,35 +19,41 @@ import common = require("oci-common"); */ export interface ListNetworkAnchorsRequest extends common.BaseRequest { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. - */ - "subscriptionId": string; - /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment or sub-compartment in which to list resources. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * */ - "subscriptionServiceName": model.SubscriptionType; + "compartmentId"?: string; /** - * OMHub Control Plane must know underlying CSP CP Region External Location Name. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. */ - "externalLocation": string; + "subscriptionId"?: string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * The subscription service name of the Cloud Service Provider. */ - "compartmentId"?: string; + "subscriptionServiceName"?: model.SubscriptionType; /** * A filter to return only resources that match the given lifecycle state. The * state value is case-insensitive. * */ - "lifecycleState"?: string; + "networkAnchorLifecycleState"?: string; /** * A filter to return only resources that match the given display name exactly. */ "displayName"?: string; + /** + * The Cloud Service Provider region. + */ + "externalLocation"?: string; /** * A filter to return only NetworkAnchor resources that match the given OCI subnet Id. */ "networkAnchorOciSubnetId"?: string; + /** + * If set to true, a list operation will return NetworkAnchors from all child compartments in the provided compartmentId parameter. + */ + "compartmentIdInSubtree"?: boolean; /** * A filter to return only NetworkAnchor resources that match the given OCI Vcn Id. */ @@ -70,6 +76,10 @@ export interface ListNetworkAnchorsRequest extends common.BaseRequest { * */ "page"?: string; + /** + * Whether to fetch and include the vcn display name, which may introduce additional latency. + */ + "shouldFetchVcnName"?: boolean; /** * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). */ diff --git a/lib/multicloud/lib/request/list-resource-anchors-request.ts b/lib/multicloud/lib/request/list-resource-anchors-request.ts index 25a80c56b3..d23d7e5843 100644 --- a/lib/multicloud/lib/request/list-resource-anchors-request.ts +++ b/lib/multicloud/lib/request/list-resource-anchors-request.ts @@ -19,19 +19,13 @@ import common = require("oci-common"); */ export interface ListResourceAnchorsRequest extends common.BaseRequest { /** - * The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS] - */ - "subscriptionServiceName": model.SubscriptionType; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription in which to list resources. - */ - "subscriptionId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud base compartment or sub-compartment in which to list resources. + * A Multicloud base compartment is an OCI compartment that maps to a subscription in a Cloud Service Provider (such as Azure, AWS, or Google Cloud). + * */ "compartmentId"?: string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which linked to Resource. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment linked to the resource. */ "linkedCompartmentId"?: string; /** @@ -76,6 +70,18 @@ export interface ListResourceAnchorsRequest extends common.BaseRequest { * Check the sub-compartments of a given compartmentId */ "isCompartmentIdInSubtree"?: boolean; + /** + * Whether to fetch and include the compartment name, setting this field to yes may introduce additional latency. + */ + "shouldFetchCompartmentName"?: boolean; + /** + * The subscription service name of the Cloud Service Provider. + */ + "subscriptionServiceName"?: model.SubscriptionType; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources. + */ + "subscriptionId"?: string; /** * Unique Oracle-assigned identifier for the request. If you need to contact * Oracle about a particular request, please provide the request ID. diff --git a/lib/multicloud/lib/response/index.ts b/lib/multicloud/lib/response/index.ts index 0e9c138068..9a02d450c5 100644 --- a/lib/multicloud/lib/response/index.ts +++ b/lib/multicloud/lib/response/index.ts @@ -21,6 +21,10 @@ import * as GetMultiCloudMetadataResponse from "./get-multi-cloud-metadata-respo export import GetMultiCloudMetadataResponse = GetMultiCloudMetadataResponse.GetMultiCloudMetadataResponse; import * as ListMultiCloudMetadataResponse from "./list-multi-cloud-metadata-response"; export import ListMultiCloudMetadataResponse = ListMultiCloudMetadataResponse.ListMultiCloudMetadataResponse; +import * as ListMulticloudResourcesResponse from "./list-multicloud-resources-response"; +export import ListMulticloudResourcesResponse = ListMulticloudResourcesResponse.ListMulticloudResourcesResponse; +import * as ListMulticloudSubscriptionsResponse from "./list-multicloud-subscriptions-response"; +export import ListMulticloudSubscriptionsResponse = ListMulticloudSubscriptionsResponse.ListMulticloudSubscriptionsResponse; import * as GetNetworkAnchorResponse from "./get-network-anchor-response"; export import GetNetworkAnchorResponse = GetNetworkAnchorResponse.GetNetworkAnchorResponse; import * as ListNetworkAnchorsResponse from "./list-network-anchors-response"; diff --git a/lib/multicloud/lib/response/list-multicloud-resources-response.ts b/lib/multicloud/lib/response/list-multicloud-resources-response.ts new file mode 100644 index 0000000000..945f3c21a7 --- /dev/null +++ b/lib/multicloud/lib/response/list-multicloud-resources-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListMulticloudResourcesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.MulticloudResourceCollection instance. + */ + "multicloudResourceCollection": model.MulticloudResourceCollection; +} diff --git a/lib/multicloud/lib/response/list-multicloud-subscriptions-response.ts b/lib/multicloud/lib/response/list-multicloud-subscriptions-response.ts new file mode 100644 index 0000000000..7dd25b20fd --- /dev/null +++ b/lib/multicloud/lib/response/list-multicloud-subscriptions-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20180828 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListMulticloudSubscriptionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.MulticloudSubscriptionCollection instance. + */ + "multicloudSubscriptionCollection": model.MulticloudSubscriptionCollection; +} diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index ff31d47da8..56a9143e25 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index fcacb8bdca..c0d459cf06 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index 84b27947e3..54660e725b 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.121.1", + "version": "2.122.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 a8453fafe6..1b1d1c8c9f 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.121.1", + "version": "2.122.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 e03ff9b365..1d5f938ad3 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/lib/client.ts b/lib/objectstorage/lib/client.ts index ac096df0f4..5f2798d351 100644 --- a/lib/objectstorage/lib/client.ts +++ b/lib/objectstorage/lib/client.ts @@ -345,6 +345,95 @@ export class ObjectStorageClient { } } + /** + * Deletes a batch of objects. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param BatchDeleteObjectsRequest + * @return BatchDeleteObjectsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/objectstorage/BatchDeleteObjects.ts.html |here} to see how to use BatchDeleteObjects API. + */ + public async batchDeleteObjects( + batchDeleteObjectsRequest: requests.BatchDeleteObjectsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation ObjectStorageClient#batchDeleteObjects."); + const operationName = "batchDeleteObjects"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/objectstorage/20160918/Object/BatchDeleteObjects"; + const pathParams = { + "{namespaceName}": batchDeleteObjectsRequest.namespaceName, + "{bucketName}": batchDeleteObjectsRequest.bucketName + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-client-request-id": batchDeleteObjectsRequest.opcClientRequestId + }; + + const requiredParams = new Set(["namespaceName", "bucketName"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + batchDeleteObjectsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: endpoint, + defaultHeaders: this._defaultHeaders, + path: "/n/{namespaceName}/b/{bucketName}/actions/batchDeleteObjects", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + batchDeleteObjectsRequest.batchDeleteObjectsDetails, + "BatchDeleteObjectsDetails", + model.BatchDeleteObjectsDetails.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: "batchDeleteObjectsResult", + bodyModel: model.BatchDeleteObjectsResult, + type: "model.BatchDeleteObjectsResult", + responseHeaders: [ + { + value: response.headers.get("opc-client-request-id"), + key: "opcClientRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Cancels a work request. * diff --git a/lib/objectstorage/lib/model/batch-delete-object-identifier.ts b/lib/objectstorage/lib/model/batch-delete-object-identifier.ts new file mode 100644 index 0000000000..ed8559d4cb --- /dev/null +++ b/lib/objectstorage/lib/model/batch-delete-object-identifier.ts @@ -0,0 +1,50 @@ +/** + * Object Storage Service API + * Use Object Storage and Archive Storage APIs to manage buckets, objects, and related resources. +For more information, see [Overview of Object Storage](https://docs.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) and +[Overview of Archive Storage](https://docs.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: opc_casper_users_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"); + +/** + * Delete object details. + * + */ +export interface BatchDeleteObjectIdentifier { + /** + * The name of the object to delete. Avoid entering confidential information. + * Example: test/object1.log + * + */ + "objectName": string; + /** + * The entity tag (ETag) to match. Avoid entering confidential information. + * Example: etag1 + * + */ + "ifMatch"?: string; +} + +export namespace BatchDeleteObjectIdentifier { + export function getJsonObj(obj: BatchDeleteObjectIdentifier): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: BatchDeleteObjectIdentifier): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/objectstorage/lib/model/batch-delete-objects-details.ts b/lib/objectstorage/lib/model/batch-delete-objects-details.ts new file mode 100644 index 0000000000..54c38db0af --- /dev/null +++ b/lib/objectstorage/lib/model/batch-delete-objects-details.ts @@ -0,0 +1,67 @@ +/** + * Object Storage Service API + * Use Object Storage and Archive Storage APIs to manage buckets, objects, and related resources. +For more information, see [Overview of Object Storage](https://docs.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) and +[Overview of Archive Storage](https://docs.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: opc_casper_users_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"); + +/** + * Batch delete request details. + * + */ +export interface BatchDeleteObjectsDetails { + /** + * The list of the objects to delete. + * + */ + "objects": Array; + /** + * Specifies whether to skip the details of successfully deleted objects in the response. If specified true + * then only the details of failed deletes will be available in the response. Defaults to false. + * + */ + "isSkipDeletedResult"?: boolean; +} + +export namespace BatchDeleteObjectsDetails { + export function getJsonObj(obj: BatchDeleteObjectsDetails): object { + const jsonObj = { + ...obj, + ...{ + "objects": obj.objects + ? obj.objects.map(item => { + return model.BatchDeleteObjectIdentifier.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: BatchDeleteObjectsDetails): object { + const jsonObj = { + ...obj, + ...{ + "objects": obj.objects + ? obj.objects.map(item => { + return model.BatchDeleteObjectIdentifier.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/objectstorage/lib/model/batch-delete-objects-result.ts b/lib/objectstorage/lib/model/batch-delete-objects-result.ts new file mode 100644 index 0000000000..30e6d3d77a --- /dev/null +++ b/lib/objectstorage/lib/model/batch-delete-objects-result.ts @@ -0,0 +1,76 @@ +/** + * Object Storage Service API + * Use Object Storage and Archive Storage APIs to manage buckets, objects, and related resources. +For more information, see [Overview of Object Storage](https://docs.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) and +[Overview of Archive Storage](https://docs.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: opc_casper_users_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"); + +/** + * Result of a batch delete operation. + * + */ +export interface BatchDeleteObjectsResult { + /** + * Details of successfully deleted objects. + * + */ + "deleted": Array; + /** + * Details of failed delete operations. + * + */ + "failed"?: Array; +} + +export namespace BatchDeleteObjectsResult { + export function getJsonObj(obj: BatchDeleteObjectsResult): object { + const jsonObj = { + ...obj, + ...{ + "deleted": obj.deleted + ? obj.deleted.map(item => { + return model.DeletedObjectResult.getJsonObj(item); + }) + : undefined, + "failed": obj.failed + ? obj.failed.map(item => { + return model.FailedObjectResult.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: BatchDeleteObjectsResult): object { + const jsonObj = { + ...obj, + ...{ + "deleted": obj.deleted + ? obj.deleted.map(item => { + return model.DeletedObjectResult.getDeserializedJsonObj(item); + }) + : undefined, + "failed": obj.failed + ? obj.failed.map(item => { + return model.FailedObjectResult.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/objectstorage/lib/model/deleted-object-result.ts b/lib/objectstorage/lib/model/deleted-object-result.ts new file mode 100644 index 0000000000..81325628f3 --- /dev/null +++ b/lib/objectstorage/lib/model/deleted-object-result.ts @@ -0,0 +1,48 @@ +/** + * Object Storage Service API + * Use Object Storage and Archive Storage APIs to manage buckets, objects, and related resources. +For more information, see [Overview of Object Storage](https://docs.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) and +[Overview of Archive Storage](https://docs.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: opc_casper_users_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"); + +/** + * Delete object details. + * + */ +export interface DeletedObjectResult { + /** + * The name of the deleted object. Avoid entering confidential information. + * Example: test/object1.log + * + */ + "objectName": string; + /** + * The time the object was deleted, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29). + */ + "timeLastModified": Date; +} + +export namespace DeletedObjectResult { + export function getJsonObj(obj: DeletedObjectResult): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DeletedObjectResult): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/objectstorage/lib/model/failed-object-result.ts b/lib/objectstorage/lib/model/failed-object-result.ts new file mode 100644 index 0000000000..347c6ad136 --- /dev/null +++ b/lib/objectstorage/lib/model/failed-object-result.ts @@ -0,0 +1,54 @@ +/** + * Object Storage Service API + * Use Object Storage and Archive Storage APIs to manage buckets, objects, and related resources. +For more information, see [Overview of Object Storage](https://docs.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) and +[Overview of Archive Storage](https://docs.oracle.com/iaas/Content/Archive/Concepts/archivestorageoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: opc_casper_users_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"); + +/** + * Failed object details. + * + */ +export interface FailedObjectResult { + /** + * The name of the object. + * Example: test/object1.log + * + */ + "objectName": string; + /** + * HTTP status code for the failure. + * Example: 409 + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "statusCode": number; + /** + * Detailed error message on why the delete/update was failed. + */ + "errorMessage": string; +} + +export namespace FailedObjectResult { + export function getJsonObj(obj: FailedObjectResult): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: FailedObjectResult): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/objectstorage/lib/model/index.ts b/lib/objectstorage/lib/model/index.ts index 97d04af884..77f7890f9e 100644 --- a/lib/objectstorage/lib/model/index.ts +++ b/lib/objectstorage/lib/model/index.ts @@ -18,6 +18,12 @@ import * as AccessTargetDetails from "./access-target-details"; export import AccessTargetDetails = AccessTargetDetails.AccessTargetDetails; import * as ArchivalState from "./archival-state"; export import ArchivalState = ArchivalState.ArchivalState; +import * as BatchDeleteObjectIdentifier from "./batch-delete-object-identifier"; +export import BatchDeleteObjectIdentifier = BatchDeleteObjectIdentifier.BatchDeleteObjectIdentifier; +import * as BatchDeleteObjectsDetails from "./batch-delete-objects-details"; +export import BatchDeleteObjectsDetails = BatchDeleteObjectsDetails.BatchDeleteObjectsDetails; +import * as BatchDeleteObjectsResult from "./batch-delete-objects-result"; +export import BatchDeleteObjectsResult = BatchDeleteObjectsResult.BatchDeleteObjectsResult; import * as Bucket from "./bucket"; export import Bucket = Bucket.Bucket; import * as BucketSummary from "./bucket-summary"; @@ -42,8 +48,12 @@ import * as CreateReplicationPolicyDetails from "./create-replication-policy-det export import CreateReplicationPolicyDetails = CreateReplicationPolicyDetails.CreateReplicationPolicyDetails; import * as CreateRetentionRuleDetails from "./create-retention-rule-details"; export import CreateRetentionRuleDetails = CreateRetentionRuleDetails.CreateRetentionRuleDetails; +import * as DeletedObjectResult from "./deleted-object-result"; +export import DeletedObjectResult = DeletedObjectResult.DeletedObjectResult; import * as Duration from "./duration"; export import Duration = Duration.Duration; +import * as FailedObjectResult from "./failed-object-result"; +export import FailedObjectResult = FailedObjectResult.FailedObjectResult; import * as Fqdns from "./fqdns"; export import Fqdns = Fqdns.Fqdns; import * as ListObjects from "./list-objects"; diff --git a/lib/objectstorage/lib/request/batch-delete-objects-request.ts b/lib/objectstorage/lib/request/batch-delete-objects-request.ts new file mode 100644 index 0000000000..b911733ae2 --- /dev/null +++ b/lib/objectstorage/lib/request/batch-delete-objects-request.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/objectstorage/BatchDeleteObjects.ts.html |here} to see how to use BatchDeleteObjectsRequest. + */ +export interface BatchDeleteObjectsRequest extends common.BaseRequest { + /** + * The Object Storage namespace used for the request. + */ + "namespaceName": string; + /** + * The name of the bucket. Avoid entering confidential information. + * Example: {@code my-new-bucket1} + * + */ + "bucketName": string; + /** + * Details about batch of objects to be deleted. + */ + "batchDeleteObjectsDetails": model.BatchDeleteObjectsDetails; + /** + * The client request ID for tracing. + */ + "opcClientRequestId"?: string; +} diff --git a/lib/objectstorage/lib/request/index.ts b/lib/objectstorage/lib/request/index.ts index d3670272eb..943e5d8ba1 100644 --- a/lib/objectstorage/lib/request/index.ts +++ b/lib/objectstorage/lib/request/index.ts @@ -16,6 +16,8 @@ For more information, see [Overview of Object Storage](https://docs.oracle.com/i import * as AbortMultipartUploadRequest from "./abort-multipart-upload-request"; export import AbortMultipartUploadRequest = AbortMultipartUploadRequest.AbortMultipartUploadRequest; +import * as BatchDeleteObjectsRequest from "./batch-delete-objects-request"; +export import BatchDeleteObjectsRequest = BatchDeleteObjectsRequest.BatchDeleteObjectsRequest; import * as CancelWorkRequestRequest from "./cancel-work-request-request"; export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; import * as CommitMultipartUploadRequest from "./commit-multipart-upload-request"; diff --git a/lib/objectstorage/lib/response/batch-delete-objects-response.ts b/lib/objectstorage/lib/response/batch-delete-objects-response.ts new file mode 100644 index 0000000000..bacbbaba10 --- /dev/null +++ b/lib/objectstorage/lib/response/batch-delete-objects-response.ts @@ -0,0 +1,32 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface BatchDeleteObjectsResponse { + /** + * Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging. + */ + "opcClientRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular + * request, provide this request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.BatchDeleteObjectsResult instance. + */ + "batchDeleteObjectsResult": model.BatchDeleteObjectsResult; +} diff --git a/lib/objectstorage/lib/response/index.ts b/lib/objectstorage/lib/response/index.ts index cd6a0624ee..8ba83e45d9 100644 --- a/lib/objectstorage/lib/response/index.ts +++ b/lib/objectstorage/lib/response/index.ts @@ -16,6 +16,8 @@ For more information, see [Overview of Object Storage](https://docs.oracle.com/i import * as AbortMultipartUploadResponse from "./abort-multipart-upload-response"; export import AbortMultipartUploadResponse = AbortMultipartUploadResponse.AbortMultipartUploadResponse; +import * as BatchDeleteObjectsResponse from "./batch-delete-objects-response"; +export import BatchDeleteObjectsResponse = BatchDeleteObjectsResponse.BatchDeleteObjectsResponse; import * as CancelWorkRequestResponse from "./cancel-work-request-response"; export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; import * as CommitMultipartUploadResponse from "./commit-multipart-upload-response"; diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index 0850a9f2e6..fdbc1bf60c 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index a9f91be8cf..ab878f56a4 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 22a5cef967..f418b97315 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.121.1", + "version": "2.122.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 aedc9dac02..739dac7822 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 7f3fd559a5..a82dd8a9d2 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 27aa8889d5..2573325616 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index d82b4dbb34..03d99a12cb 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index d02757202b..0f486b6ba9 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index cf1ae390b2..38d9c6fc06 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 3d7e36df4e..fe5b5cbc24 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.121.1", + "version": "2.122.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 5bcbdbce43..03f470fb47 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 5e98ea7f29..e1249c4675 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 250c37118f..7eaed852a3 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.121.1", + "version": "2.122.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 76005a7804..c3368fa876 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.121.1", + "version": "2.122.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 af67a2069b..44a645fcab 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.121.1", + "version": "2.122.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 8cbc3853aa..0d217ca37a 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.121.1", + "version": "2.122.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 6ff030742a..b3f4db8de2 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.121.1", + "version": "2.122.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 8695b97d69..cc5fe9a4be 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psa/package.json b/lib/psa/package.json index e103269c8d..afe86b0ecc 100644 --- a/lib/psa/package.json +++ b/lib/psa/package.json @@ -1,6 +1,6 @@ { "name": "oci-psa", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Psa Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index f95608c42e..c86c6c88af 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 2989e6433f..996e0a7bdd 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index fb3eda768d..61646e59df 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index 0b3f16f0b6..f73b996600 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourceanalytics/package.json b/lib/resourceanalytics/package.json index 1152f4560e..387a8fa9e4 100644 --- a/lib/resourceanalytics/package.json +++ b/lib/resourceanalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourceanalytics", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Resource Analytics Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index c93a2a6ca1..0328c030f7 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.121.1", + "version": "2.122.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 011b340e81..ace6c5f278 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.121.1", + "version": "2.122.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 ee5af968e0..74919cb23b 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.121.1", + "version": "2.122.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 394b30df09..35c5a89ba6 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 8a32a58ebd..05749f05ee 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 3d65c8d716..5a0bc73fe0 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index daaf918845..928caa91a7 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/index.ts b/lib/servicecatalog/index.ts index 3cdb9858e7..1d7cdab9f3 100644 --- a/lib/servicecatalog/index.ts +++ b/lib/servicecatalog/index.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/client.ts b/lib/servicecatalog/lib/client.ts index 14213fd57d..bed77691bf 100644 --- a/lib/servicecatalog/lib/client.ts +++ b/lib/servicecatalog/lib/client.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -239,7 +241,7 @@ export class ServiceCatalogClient { /** * Replace all associations of a given service catalog in one bulk transaction. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param BulkReplaceServiceCatalogAssociationsRequest * @return BulkReplaceServiceCatalogAssociationsResponse * @throws OciError when an error occurs @@ -267,7 +269,7 @@ export class ServiceCatalogClient { "opc-request-id": bulkReplaceServiceCatalogAssociationsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkReplaceServiceCatalogAssociationsRequest.retryConfiguration, @@ -315,7 +317,7 @@ export class ServiceCatalogClient { /** * Moves the specified private application from one compartment to another. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangePrivateApplicationCompartmentRequest * @return ChangePrivateApplicationCompartmentResponse * @throws OciError when an error occurs @@ -343,7 +345,7 @@ export class ServiceCatalogClient { "if-match": changePrivateApplicationCompartmentRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePrivateApplicationCompartmentRequest.retryConfiguration, @@ -396,7 +398,7 @@ export class ServiceCatalogClient { /** * Moves the specified service catalog from one compartment to another. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeServiceCatalogCompartmentRequest * @return ChangeServiceCatalogCompartmentResponse * @throws OciError when an error occurs @@ -422,7 +424,7 @@ export class ServiceCatalogClient { "if-match": changeServiceCatalogCompartmentRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeServiceCatalogCompartmentRequest.retryConfiguration, @@ -470,7 +472,7 @@ export class ServiceCatalogClient { /** * Creates a private application along with a single package to be hosted. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreatePrivateApplicationRequest * @return CreatePrivateApplicationResponse * @throws OciError when an error occurs @@ -494,7 +496,7 @@ export class ServiceCatalogClient { "opc-request-id": createPrivateApplicationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPrivateApplicationRequest.retryConfiguration, @@ -556,7 +558,7 @@ export class ServiceCatalogClient { /** * Creates a brand new service catalog in a given compartment. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateServiceCatalogRequest * @return CreateServiceCatalogResponse * @throws OciError when an error occurs @@ -580,7 +582,7 @@ export class ServiceCatalogClient { "opc-request-id": createServiceCatalogRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createServiceCatalogRequest.retryConfiguration, @@ -637,7 +639,7 @@ export class ServiceCatalogClient { /** * Creates an association between service catalog and a resource. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateServiceCatalogAssociationRequest * @return CreateServiceCatalogAssociationResponse * @throws OciError when an error occurs @@ -661,7 +663,7 @@ export class ServiceCatalogClient { "opc-request-id": createServiceCatalogAssociationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createServiceCatalogAssociationRequest.retryConfiguration, @@ -718,7 +720,7 @@ export class ServiceCatalogClient { /** * Deletes an existing private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeletePrivateApplicationRequest * @return DeletePrivateApplicationResponse * @throws OciError when an error occurs @@ -744,7 +746,7 @@ export class ServiceCatalogClient { "opc-request-id": deletePrivateApplicationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePrivateApplicationRequest.retryConfiguration, @@ -792,7 +794,7 @@ export class ServiceCatalogClient { /** * Deletes the specified service catalog from the compartment. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteServiceCatalogRequest * @return DeleteServiceCatalogResponse * @throws OciError when an error occurs @@ -818,7 +820,7 @@ export class ServiceCatalogClient { "opc-request-id": deleteServiceCatalogRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteServiceCatalogRequest.retryConfiguration, @@ -861,7 +863,7 @@ export class ServiceCatalogClient { /** * Removes an association between service catalog and a resource. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteServiceCatalogAssociationRequest * @return DeleteServiceCatalogAssociationResponse * @throws OciError when an error occurs @@ -888,7 +890,7 @@ export class ServiceCatalogClient { "opc-request-id": deleteServiceCatalogAssociationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteServiceCatalogAssociationRequest.retryConfiguration, @@ -929,9 +931,80 @@ export class ServiceCatalogClient { } } + /** + * Get the detail of whether the tenancy is in service catalog mode or not. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetConfigurationRequest + * @return GetConfigurationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicecatalog/GetConfiguration.ts.html |here} to see how to use GetConfiguration API. + */ + public async getConfiguration( + getConfigurationRequest: requests.GetConfigurationRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation ServiceCatalogClient#getConfiguration."); + const operationName = "getConfiguration"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/Configuration/GetConfiguration"; + const pathParams = {}; + + const queryParams = { + "compartmentId": getConfigurationRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getConfigurationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getConfigurationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/configuration", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "configuration", + bodyModel: model.Configuration, + type: "model.Configuration", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets the details of the specified private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetPrivateApplicationRequest * @return GetPrivateApplicationResponse * @throws OciError when an error occurs @@ -956,7 +1029,7 @@ export class ServiceCatalogClient { "opc-request-id": getPrivateApplicationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationRequest.retryConfiguration, @@ -1008,7 +1081,7 @@ export class ServiceCatalogClient { /** * Downloads the binary payload of the logo image of the private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetPrivateApplicationActionDownloadLogoRequest * @return GetPrivateApplicationActionDownloadLogoResponse * @throws OciError when an error occurs @@ -1035,7 +1108,7 @@ export class ServiceCatalogClient { "opc-request-id": getPrivateApplicationActionDownloadLogoRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationActionDownloadLogoRequest.retryConfiguration, @@ -1082,7 +1155,7 @@ export class ServiceCatalogClient { /** * Gets the details of a specific package within a given private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetPrivateApplicationPackageRequest * @return GetPrivateApplicationPackageResponse * @throws OciError when an error occurs @@ -1108,7 +1181,7 @@ export class ServiceCatalogClient { "opc-request-id": getPrivateApplicationPackageRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationPackageRequest.retryConfiguration, @@ -1160,7 +1233,7 @@ export class ServiceCatalogClient { /** * Downloads the configuration that was used to create the private application package. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetPrivateApplicationPackageActionDownloadConfigRequest * @return GetPrivateApplicationPackageActionDownloadConfigResponse * @throws OciError when an error occurs @@ -1188,7 +1261,7 @@ export class ServiceCatalogClient { "opc-request-id": getPrivateApplicationPackageActionDownloadConfigRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPrivateApplicationPackageActionDownloadConfigRequest.retryConfiguration, @@ -1235,7 +1308,7 @@ export class ServiceCatalogClient { /** * Gets detailed information about the service catalog including name, compartmentId - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetServiceCatalogRequest * @return GetServiceCatalogResponse * @throws OciError when an error occurs @@ -1259,7 +1332,7 @@ export class ServiceCatalogClient { "opc-request-id": getServiceCatalogRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceCatalogRequest.retryConfiguration, @@ -1311,7 +1384,7 @@ export class ServiceCatalogClient { /** * Gets detailed information about specific service catalog association. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetServiceCatalogAssociationRequest * @return GetServiceCatalogAssociationResponse * @throws OciError when an error occurs @@ -1337,7 +1410,7 @@ export class ServiceCatalogClient { "opc-request-id": getServiceCatalogAssociationRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getServiceCatalogAssociationRequest.retryConfiguration, @@ -1389,7 +1462,7 @@ export class ServiceCatalogClient { /** * Gets the status of the work request with the given ID. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetWorkRequestRequest * @return GetWorkRequestResponse * @throws OciError when an error occurs @@ -1413,7 +1486,7 @@ export class ServiceCatalogClient { "opc-request-id": getWorkRequestRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, @@ -1468,12 +1541,101 @@ export class ServiceCatalogClient { } } + /** + * Lists all the available listings and private applications in a compartment. + * A new API for catalog manager use when creating/updating a service catalog. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListAllApplicationsRequest + * @return ListAllApplicationsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicecatalog/ListAllApplications.ts.html |here} to see how to use ListAllApplications API. + */ + public async listAllApplications( + listAllApplicationsRequest: requests.ListAllApplicationsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ServiceCatalogClient#listAllApplications."); + const operationName = "listAllApplications"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/service-catalog/20210527/ApplicationSummary/ListAllApplications"; + const pathParams = {}; + + const queryParams = { + "compartmentId": listAllApplicationsRequest.compartmentId, + "entityType": listAllApplicationsRequest.entityType, + "limit": listAllApplicationsRequest.limit, + "page": listAllApplicationsRequest.page, + "displayName": listAllApplicationsRequest.displayName, + "entityId": listAllApplicationsRequest.entityId, + "publisherId": listAllApplicationsRequest.publisherId, + "packageType": listAllApplicationsRequest.packageType, + "pricing": listAllApplicationsRequest.pricing, + "isFeatured": listAllApplicationsRequest.isFeatured, + "sortOrder": listAllApplicationsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listAllApplicationsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listAllApplicationsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/allApplications", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "applicationCollection", + bodyModel: model.ApplicationCollection, + type: "model.ApplicationCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Lists all the applications in a service catalog or a tenancy. * If no parameter is specified, all catalogs from all compartments in * the tenancy will be scanned for any type of content. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListApplicationsRequest * @return ListApplicationsResponse * @throws OciError when an error occurs @@ -1508,7 +1670,7 @@ export class ServiceCatalogClient { "opc-request-id": listApplicationsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApplicationsRequest.retryConfiguration, @@ -1560,7 +1722,7 @@ export class ServiceCatalogClient { /** * Lists the packages in the specified private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListPrivateApplicationPackagesRequest * @return ListPrivateApplicationPackagesResponse * @throws OciError when an error occurs @@ -1593,7 +1755,7 @@ export class ServiceCatalogClient { "opc-request-id": listPrivateApplicationPackagesRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateApplicationPackagesRequest.retryConfiguration, @@ -1645,7 +1807,7 @@ export class ServiceCatalogClient { /** * Lists all the private applications in a given compartment. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListPrivateApplicationsRequest * @return ListPrivateApplicationsResponse * @throws OciError when an error occurs @@ -1676,7 +1838,7 @@ export class ServiceCatalogClient { "opc-request-id": listPrivateApplicationsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPrivateApplicationsRequest.retryConfiguration, @@ -1728,7 +1890,7 @@ export class ServiceCatalogClient { /** * Lists all the resource associations for a specific service catalog. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListServiceCatalogAssociationsRequest * @return ListServiceCatalogAssociationsResponse * @throws OciError when an error occurs @@ -1761,7 +1923,7 @@ export class ServiceCatalogClient { "opc-request-id": listServiceCatalogAssociationsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceCatalogAssociationsRequest.retryConfiguration, @@ -1813,7 +1975,7 @@ export class ServiceCatalogClient { /** * Lists all the service catalogs in the given compartment. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListServiceCatalogsRequest * @return ListServiceCatalogsResponse * @throws OciError when an error occurs @@ -1832,6 +1994,7 @@ export class ServiceCatalogClient { const queryParams = { "compartmentId": listServiceCatalogsRequest.compartmentId, "serviceCatalogId": listServiceCatalogsRequest.serviceCatalogId, + "status": listServiceCatalogsRequest.status, "limit": listServiceCatalogsRequest.limit, "page": listServiceCatalogsRequest.page, "sortBy": listServiceCatalogsRequest.sortBy, @@ -1844,7 +2007,7 @@ export class ServiceCatalogClient { "opc-request-id": listServiceCatalogsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServiceCatalogsRequest.retryConfiguration, @@ -1897,7 +2060,7 @@ export class ServiceCatalogClient { /** * Return a (paginated) list of errors for a given work request. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestErrorsRequest * @return ListWorkRequestErrorsResponse * @throws OciError when an error occurs @@ -1927,7 +2090,7 @@ export class ServiceCatalogClient { "opc-request-id": listWorkRequestErrorsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, @@ -1980,7 +2143,7 @@ export class ServiceCatalogClient { /** * Return a (paginated) list of logs for a given work request. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestLogsRequest * @return ListWorkRequestLogsResponse * @throws OciError when an error occurs @@ -2010,7 +2173,7 @@ export class ServiceCatalogClient { "opc-request-id": listWorkRequestLogsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, @@ -2063,7 +2226,7 @@ export class ServiceCatalogClient { /** * Lists the work requests in a compartment. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListWorkRequestsRequest * @return ListWorkRequestsResponse * @throws OciError when an error occurs @@ -2094,7 +2257,7 @@ export class ServiceCatalogClient { "opc-request-id": listWorkRequestsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, @@ -2146,7 +2309,7 @@ export class ServiceCatalogClient { /** * Updates the details of an existing private application. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdatePrivateApplicationRequest * @return UpdatePrivateApplicationResponse * @throws OciError when an error occurs @@ -2172,7 +2335,7 @@ export class ServiceCatalogClient { "if-match": updatePrivateApplicationRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePrivateApplicationRequest.retryConfiguration, @@ -2234,7 +2397,7 @@ export class ServiceCatalogClient { /** * Updates the details of a previously created service catalog. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateServiceCatalogRequest * @return UpdateServiceCatalogResponse * @throws OciError when an error occurs @@ -2260,7 +2423,7 @@ export class ServiceCatalogClient { "if-match": updateServiceCatalogRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateServiceCatalogRequest.retryConfiguration, diff --git a/lib/servicecatalog/lib/model/action-type.ts b/lib/servicecatalog/lib/model/action-type.ts index 0fa3405750..fc5c5f83e5 100644 --- a/lib/servicecatalog/lib/model/action-type.ts +++ b/lib/servicecatalog/lib/model/action-type.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/application-collection.ts b/lib/servicecatalog/lib/model/application-collection.ts index 4ca97b3559..b28523682c 100644 --- a/lib/servicecatalog/lib/model/application-collection.ts +++ b/lib/servicecatalog/lib/model/application-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/application-summary.ts b/lib/servicecatalog/lib/model/application-summary.ts index a11742f5c2..68d14fa84a 100644 --- a/lib/servicecatalog/lib/model/application-summary.ts +++ b/lib/servicecatalog/lib/model/application-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -48,6 +50,16 @@ export interface ApplicationSummary { * The type of the packages withing the application. */ "packageType"?: model.PackageTypeEnum; + /** + * Product categories that the application belongs to. + */ + "categories"?: Array; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ApplicationSummary { diff --git a/lib/servicecatalog/lib/model/bulk-replace-service-catalog-associations-details.ts b/lib/servicecatalog/lib/model/bulk-replace-service-catalog-associations-details.ts index e7c2909faa..5289ef7319 100644 --- a/lib/servicecatalog/lib/model/bulk-replace-service-catalog-associations-details.ts +++ b/lib/servicecatalog/lib/model/bulk-replace-service-catalog-associations-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/change-private-application-compartment-details.ts b/lib/servicecatalog/lib/model/change-private-application-compartment-details.ts index 1e44cc2a1d..82ea80b576 100644 --- a/lib/servicecatalog/lib/model/change-private-application-compartment-details.ts +++ b/lib/servicecatalog/lib/model/change-private-application-compartment-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/change-service-catalog-compartment-details.ts b/lib/servicecatalog/lib/model/change-service-catalog-compartment-details.ts index 85525214d8..131d843376 100644 --- a/lib/servicecatalog/lib/model/change-service-catalog-compartment-details.ts +++ b/lib/servicecatalog/lib/model/change-service-catalog-compartment-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/configuration.ts b/lib/servicecatalog/lib/model/configuration.ts new file mode 100644 index 0000000000..ce7ef582f0 --- /dev/null +++ b/lib/servicecatalog/lib/model/configuration.ts @@ -0,0 +1,40 @@ +/** + * Service Catalog API + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * returns the service catalog mode + */ +export interface Configuration { + /** + * mode of tenancy + */ + "isServiceCatalogMode": model.ServiceCatalogModeEnum; +} + +export namespace Configuration { + export function getJsonObj(obj: Configuration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Configuration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/servicecatalog/lib/model/create-private-application-details.ts b/lib/servicecatalog/lib/model/create-private-application-details.ts index c739d1e748..3cb23291b1 100644 --- a/lib/servicecatalog/lib/model/create-private-application-details.ts +++ b/lib/servicecatalog/lib/model/create-private-application-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/create-private-application-package.ts b/lib/servicecatalog/lib/model/create-private-application-package.ts index 3e72ae9cb3..5efc252558 100644 --- a/lib/servicecatalog/lib/model/create-private-application-package.ts +++ b/lib/servicecatalog/lib/model/create-private-application-package.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/create-private-application-stack-package.ts b/lib/servicecatalog/lib/model/create-private-application-stack-package.ts index b1bf48b4ec..30a025a46c 100644 --- a/lib/servicecatalog/lib/model/create-private-application-stack-package.ts +++ b/lib/servicecatalog/lib/model/create-private-application-stack-package.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -22,7 +24,7 @@ export interface CreatePrivateApplicationStackPackage /** * Base-64 payload of the Terraform zip package. */ - "zipFileBase64Encoded"?: string; + "zipFileBase64Encoded": string; "packageType": string; } diff --git a/lib/servicecatalog/lib/model/create-service-catalog-association-details.ts b/lib/servicecatalog/lib/model/create-service-catalog-association-details.ts index d49c634127..372dc77fd2 100644 --- a/lib/servicecatalog/lib/model/create-service-catalog-association-details.ts +++ b/lib/servicecatalog/lib/model/create-service-catalog-association-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/create-service-catalog-details.ts b/lib/servicecatalog/lib/model/create-service-catalog-details.ts index 0efc39ebc0..db5dc2c118 100644 --- a/lib/servicecatalog/lib/model/create-service-catalog-details.ts +++ b/lib/servicecatalog/lib/model/create-service-catalog-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -26,6 +28,10 @@ export interface CreateServiceCatalogDetails { * The display name of the service catalog. */ "displayName": string; + /** + * The status of a service catalog. + */ + "status"?: model.ServiceCatalogStatusEnum; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/servicecatalog/lib/model/error-entity.ts b/lib/servicecatalog/lib/model/error-entity.ts index daf09b4818..12d68ba481 100644 --- a/lib/servicecatalog/lib/model/error-entity.ts +++ b/lib/servicecatalog/lib/model/error-entity.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/index.ts b/lib/servicecatalog/lib/model/index.ts index 818d16ee80..93ccee481e 100644 --- a/lib/servicecatalog/lib/model/index.ts +++ b/lib/servicecatalog/lib/model/index.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -23,6 +25,8 @@ import * as ChangePrivateApplicationCompartmentDetails from "./change-private-ap export import ChangePrivateApplicationCompartmentDetails = ChangePrivateApplicationCompartmentDetails.ChangePrivateApplicationCompartmentDetails; import * as ChangeServiceCatalogCompartmentDetails from "./change-service-catalog-compartment-details"; export import ChangeServiceCatalogCompartmentDetails = ChangeServiceCatalogCompartmentDetails.ChangeServiceCatalogCompartmentDetails; +import * as Configuration from "./configuration"; +export import Configuration = Configuration.Configuration; import * as CreatePrivateApplicationDetails from "./create-private-application-details"; export import CreatePrivateApplicationDetails = CreatePrivateApplicationDetails.CreatePrivateApplicationDetails; import * as CreatePrivateApplicationPackage from "./create-private-application-package"; @@ -65,6 +69,10 @@ import * as ServiceCatalogAssociationSummary from "./service-catalog-association export import ServiceCatalogAssociationSummary = ServiceCatalogAssociationSummary.ServiceCatalogAssociationSummary; import * as ServiceCatalogCollection from "./service-catalog-collection"; export import ServiceCatalogCollection = ServiceCatalogCollection.ServiceCatalogCollection; +import * as ServiceCatalogModeEnum from "./service-catalog-mode-enum"; +export import ServiceCatalogModeEnum = ServiceCatalogModeEnum.ServiceCatalogModeEnum; +import * as ServiceCatalogStatusEnum from "./service-catalog-status-enum"; +export import ServiceCatalogStatusEnum = ServiceCatalogStatusEnum.ServiceCatalogStatusEnum; import * as ServiceCatalogSummary from "./service-catalog-summary"; export import ServiceCatalogSummary = ServiceCatalogSummary.ServiceCatalogSummary; import * as UpdatePrivateApplicationDetails from "./update-private-application-details"; diff --git a/lib/servicecatalog/lib/model/operation-status.ts b/lib/servicecatalog/lib/model/operation-status.ts index d9f043fb43..bd7ebdfe2a 100644 --- a/lib/servicecatalog/lib/model/operation-status.ts +++ b/lib/servicecatalog/lib/model/operation-status.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/operation-type.ts b/lib/servicecatalog/lib/model/operation-type.ts index 6de6f6672c..7b151100cb 100644 --- a/lib/servicecatalog/lib/model/operation-type.ts +++ b/lib/servicecatalog/lib/model/operation-type.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/package-type-enum.ts b/lib/servicecatalog/lib/model/package-type-enum.ts index c4a744b5c8..0e0eccbef7 100644 --- a/lib/servicecatalog/lib/model/package-type-enum.ts +++ b/lib/servicecatalog/lib/model/package-type-enum.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -19,6 +21,7 @@ import common = require("oci-common"); **/ export enum PackageTypeEnum { Stack = "STACK", + Image = "IMAGE", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/servicecatalog/lib/model/pricing-type-enum.ts b/lib/servicecatalog/lib/model/pricing-type-enum.ts index c3f58007ff..a1765549ef 100644 --- a/lib/servicecatalog/lib/model/pricing-type-enum.ts +++ b/lib/servicecatalog/lib/model/pricing-type-enum.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/private-application-collection.ts b/lib/servicecatalog/lib/model/private-application-collection.ts index 3348ab3642..7d8ab787ca 100644 --- a/lib/servicecatalog/lib/model/private-application-collection.ts +++ b/lib/servicecatalog/lib/model/private-application-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/private-application-package-collection.ts b/lib/servicecatalog/lib/model/private-application-package-collection.ts index 3518fed921..542d739889 100644 --- a/lib/servicecatalog/lib/model/private-application-package-collection.ts +++ b/lib/servicecatalog/lib/model/private-application-package-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/private-application-package-summary.ts b/lib/servicecatalog/lib/model/private-application-package-summary.ts index 00f085ea29..bdae18c0eb 100644 --- a/lib/servicecatalog/lib/model/private-application-package-summary.ts +++ b/lib/servicecatalog/lib/model/private-application-package-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -48,6 +50,12 @@ Example: {@code 2021-05-27T21:10:29.600Z} * */ "timeCreated": Date; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace PrivateApplicationPackageSummary { diff --git a/lib/servicecatalog/lib/model/private-application-package.ts b/lib/servicecatalog/lib/model/private-application-package.ts index 3b2a7874af..5178d98a8e 100644 --- a/lib/servicecatalog/lib/model/private-application-package.ts +++ b/lib/servicecatalog/lib/model/private-application-package.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/private-application-stack-package.ts b/lib/servicecatalog/lib/model/private-application-stack-package.ts index 87f5057d93..12bde91ad2 100644 --- a/lib/servicecatalog/lib/model/private-application-stack-package.ts +++ b/lib/servicecatalog/lib/model/private-application-stack-package.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/private-application-summary.ts b/lib/servicecatalog/lib/model/private-application-summary.ts index a74a3a8ea9..19e8ad1346 100644 --- a/lib/servicecatalog/lib/model/private-application-summary.ts +++ b/lib/servicecatalog/lib/model/private-application-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -53,6 +55,24 @@ Example: {@code 2021-05-27T21:10:29.600Z} * */ "timeCreated": Date; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace PrivateApplicationSummary { diff --git a/lib/servicecatalog/lib/model/private-application.ts b/lib/servicecatalog/lib/model/private-application.ts index 9a2a21062b..3773fd8793 100644 --- a/lib/servicecatalog/lib/model/private-application.ts +++ b/lib/servicecatalog/lib/model/private-application.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -77,6 +79,12 @@ Example: {@code 2021-12-10T05:10:29.721Z} * */ "freeformTags"?: { [key: string]: string }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace PrivateApplication { diff --git a/lib/servicecatalog/lib/model/publisher-summary.ts b/lib/servicecatalog/lib/model/publisher-summary.ts index c42ec0bd35..f48b050d71 100644 --- a/lib/servicecatalog/lib/model/publisher-summary.ts +++ b/lib/servicecatalog/lib/model/publisher-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/service-catalog-association-collection.ts b/lib/servicecatalog/lib/model/service-catalog-association-collection.ts index e47c0349d6..65c73d6e17 100644 --- a/lib/servicecatalog/lib/model/service-catalog-association-collection.ts +++ b/lib/servicecatalog/lib/model/service-catalog-association-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/service-catalog-association-summary.ts b/lib/servicecatalog/lib/model/service-catalog-association-summary.ts index 94cb12f5fe..1f08909111 100644 --- a/lib/servicecatalog/lib/model/service-catalog-association-summary.ts +++ b/lib/servicecatalog/lib/model/service-catalog-association-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -38,6 +40,12 @@ export interface ServiceCatalogAssociationSummary { * Timestamp of when the resource was associated with service catalog. */ "timeCreated": Date; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ServiceCatalogAssociationSummary { diff --git a/lib/servicecatalog/lib/model/service-catalog-association.ts b/lib/servicecatalog/lib/model/service-catalog-association.ts index e421f49410..549edc112b 100644 --- a/lib/servicecatalog/lib/model/service-catalog-association.ts +++ b/lib/servicecatalog/lib/model/service-catalog-association.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/service-catalog-collection.ts b/lib/servicecatalog/lib/model/service-catalog-collection.ts index e47b8c009f..79170054c8 100644 --- a/lib/servicecatalog/lib/model/service-catalog-collection.ts +++ b/lib/servicecatalog/lib/model/service-catalog-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/service-catalog-mode-enum.ts b/lib/servicecatalog/lib/model/service-catalog-mode-enum.ts new file mode 100644 index 0000000000..ae1bd824c1 --- /dev/null +++ b/lib/servicecatalog/lib/model/service-catalog-mode-enum.ts @@ -0,0 +1,40 @@ +/** + * Service Catalog API + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible values for service catalog mode check. + **/ +export enum ServiceCatalogModeEnum { + Enabled = "ENABLED", + Disabled = "DISABLED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ServiceCatalogModeEnum { + export function getJsonObj(obj: ServiceCatalogModeEnum): ServiceCatalogModeEnum { + return obj; + } + export function getDeserializedJsonObj(obj: ServiceCatalogModeEnum): ServiceCatalogModeEnum { + return obj; + } +} diff --git a/lib/servicecatalog/lib/model/service-catalog-status-enum.ts b/lib/servicecatalog/lib/model/service-catalog-status-enum.ts new file mode 100644 index 0000000000..474eb3dd56 --- /dev/null +++ b/lib/servicecatalog/lib/model/service-catalog-status-enum.ts @@ -0,0 +1,40 @@ +/** + * Service Catalog API + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible values for service catalog status + **/ +export enum ServiceCatalogStatusEnum { + Active = "ACTIVE", + Inactive = "INACTIVE", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ServiceCatalogStatusEnum { + export function getJsonObj(obj: ServiceCatalogStatusEnum): ServiceCatalogStatusEnum { + return obj; + } + export function getDeserializedJsonObj(obj: ServiceCatalogStatusEnum): ServiceCatalogStatusEnum { + return obj; + } +} diff --git a/lib/servicecatalog/lib/model/service-catalog-summary.ts b/lib/servicecatalog/lib/model/service-catalog-summary.ts index b3b70fa153..cd28195d90 100644 --- a/lib/servicecatalog/lib/model/service-catalog-summary.ts +++ b/lib/servicecatalog/lib/model/service-catalog-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -34,6 +36,10 @@ export interface ServiceCatalogSummary { * The name of the service catalog. */ "displayName": string; + /** + * Status of the service catalog. + */ + "status"?: model.ServiceCatalogStatusEnum; /** * The date and time this service catalog was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) * timestamp format. @@ -42,6 +48,24 @@ Example: {@code 2021-08-25T21:10:29.600Z} * */ "timeCreated": Date; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ServiceCatalogSummary { diff --git a/lib/servicecatalog/lib/model/service-catalog.ts b/lib/servicecatalog/lib/model/service-catalog.ts index e861c3dd50..361d3bbdce 100644 --- a/lib/servicecatalog/lib/model/service-catalog.ts +++ b/lib/servicecatalog/lib/model/service-catalog.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -30,6 +32,10 @@ export interface ServiceCatalog { * The name of the service catalog. */ "displayName": string; + /** + * The status of a service catalog. + */ + "status"?: model.ServiceCatalogStatusEnum; /** * The lifecycle state of the service catalog. */ @@ -62,6 +68,12 @@ Example: {@code 2021-12-10T05:10:29.721Z} * */ "freeformTags"?: { [key: string]: string }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ServiceCatalog { diff --git a/lib/servicecatalog/lib/model/update-private-application-details.ts b/lib/servicecatalog/lib/model/update-private-application-details.ts index 071dd5007c..8cc4a3bdff 100644 --- a/lib/servicecatalog/lib/model/update-private-application-details.ts +++ b/lib/servicecatalog/lib/model/update-private-application-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/update-service-catalog-details.ts b/lib/servicecatalog/lib/model/update-service-catalog-details.ts index a7a177be9d..7216e177d2 100644 --- a/lib/servicecatalog/lib/model/update-service-catalog-details.ts +++ b/lib/servicecatalog/lib/model/update-service-catalog-details.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -22,6 +24,10 @@ export interface UpdateServiceCatalogDetails { * A display name of the service catalog. */ "displayName": string; + /** + * The status of a service catalog. + */ + "status": model.ServiceCatalogStatusEnum; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/servicecatalog/lib/model/upload-data.ts b/lib/servicecatalog/lib/model/upload-data.ts index b6edcb4915..a9b56a5e9f 100644 --- a/lib/servicecatalog/lib/model/upload-data.ts +++ b/lib/servicecatalog/lib/model/upload-data.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-error-collection.ts b/lib/servicecatalog/lib/model/work-request-error-collection.ts index 52dcec85a4..2768521a87 100644 --- a/lib/servicecatalog/lib/model/work-request-error-collection.ts +++ b/lib/servicecatalog/lib/model/work-request-error-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-error.ts b/lib/servicecatalog/lib/model/work-request-error.ts index 41c3e11ba7..52589edd6f 100644 --- a/lib/servicecatalog/lib/model/work-request-error.ts +++ b/lib/servicecatalog/lib/model/work-request-error.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-log-entry-collection.ts b/lib/servicecatalog/lib/model/work-request-log-entry-collection.ts index a20c61ee33..523efacb20 100644 --- a/lib/servicecatalog/lib/model/work-request-log-entry-collection.ts +++ b/lib/servicecatalog/lib/model/work-request-log-entry-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-log-entry.ts b/lib/servicecatalog/lib/model/work-request-log-entry.ts index db61604884..6566b7b520 100644 --- a/lib/servicecatalog/lib/model/work-request-log-entry.ts +++ b/lib/servicecatalog/lib/model/work-request-log-entry.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-resource.ts b/lib/servicecatalog/lib/model/work-request-resource.ts index af3f118e90..9fc0a529b1 100644 --- a/lib/servicecatalog/lib/model/work-request-resource.ts +++ b/lib/servicecatalog/lib/model/work-request-resource.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-summary-collection.ts b/lib/servicecatalog/lib/model/work-request-summary-collection.ts index c152e601ff..7895de1ec5 100644 --- a/lib/servicecatalog/lib/model/work-request-summary-collection.ts +++ b/lib/servicecatalog/lib/model/work-request-summary-collection.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request-summary.ts b/lib/servicecatalog/lib/model/work-request-summary.ts index 0f4573dc9b..fe49a4eb79 100644 --- a/lib/servicecatalog/lib/model/work-request-summary.ts +++ b/lib/servicecatalog/lib/model/work-request-summary.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/model/work-request.ts b/lib/servicecatalog/lib/model/work-request.ts index 4d0c9e63ac..9b861f9fbd 100644 --- a/lib/servicecatalog/lib/model/work-request.ts +++ b/lib/servicecatalog/lib/model/work-request.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/lib/request/get-configuration-request.ts b/lib/servicecatalog/lib/request/get-configuration-request.ts new file mode 100644 index 0000000000..913fd77d43 --- /dev/null +++ b/lib/servicecatalog/lib/request/get-configuration-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicecatalog/GetConfiguration.ts.html |here} to see how to use GetConfigurationRequest. + */ +export interface GetConfigurationRequest extends common.BaseRequest { + /** + * The unique identifier for the compartment. + */ + "compartmentId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/servicecatalog/lib/request/index.ts b/lib/servicecatalog/lib/request/index.ts index fd91c5256b..196b24e7cd 100644 --- a/lib/servicecatalog/lib/request/index.ts +++ b/lib/servicecatalog/lib/request/index.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -29,6 +31,8 @@ import * as DeleteServiceCatalogRequest from "./delete-service-catalog-request"; export import DeleteServiceCatalogRequest = DeleteServiceCatalogRequest.DeleteServiceCatalogRequest; import * as DeleteServiceCatalogAssociationRequest from "./delete-service-catalog-association-request"; export import DeleteServiceCatalogAssociationRequest = DeleteServiceCatalogAssociationRequest.DeleteServiceCatalogAssociationRequest; +import * as GetConfigurationRequest from "./get-configuration-request"; +export import GetConfigurationRequest = GetConfigurationRequest.GetConfigurationRequest; import * as GetPrivateApplicationRequest from "./get-private-application-request"; export import GetPrivateApplicationRequest = GetPrivateApplicationRequest.GetPrivateApplicationRequest; import * as GetPrivateApplicationActionDownloadLogoRequest from "./get-private-application-action-download-logo-request"; @@ -43,6 +47,8 @@ import * as GetServiceCatalogAssociationRequest from "./get-service-catalog-asso export import GetServiceCatalogAssociationRequest = GetServiceCatalogAssociationRequest.GetServiceCatalogAssociationRequest; import * as GetWorkRequestRequest from "./get-work-request-request"; export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListAllApplicationsRequest from "./list-all-applications-request"; +export import ListAllApplicationsRequest = ListAllApplicationsRequest.ListAllApplicationsRequest; import * as ListApplicationsRequest from "./list-applications-request"; export import ListApplicationsRequest = ListApplicationsRequest.ListApplicationsRequest; import * as ListPrivateApplicationPackagesRequest from "./list-private-application-packages-request"; diff --git a/lib/servicecatalog/lib/request/list-all-applications-request.ts b/lib/servicecatalog/lib/request/list-all-applications-request.ts new file mode 100644 index 0000000000..8d488eae1d --- /dev/null +++ b/lib/servicecatalog/lib/request/list-all-applications-request.ts @@ -0,0 +1,84 @@ +/** + * + * + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicecatalog/ListAllApplications.ts.html |here} to see how to use ListAllApplicationsRequest. + */ +export interface ListAllApplicationsRequest extends common.BaseRequest { + /** + * The unique identifier for the compartment. + */ + "compartmentId"?: string; + /** + * The type of the application in the service catalog. + */ + "entityType"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30. + * + */ + "limit"?: number; + /** + * The value of the {@code opc-next-page} response header from the previous \"List\" call. + */ + "page"?: string; + /** + * Exact match name filter. + */ + "displayName"?: string; + /** + * The unique identifier of the entity associated with service catalog. + */ + "entityId"?: string; + /** + * Limit results to just this publisher. + */ + "publisherId"?: Array; + /** + * Name of the package type. If multiple package types are provided, then any resource with + * one or more matching package types will be returned. + * + */ + "packageType"?: Array; + /** + * Name of the pricing type. If multiple pricing types are provided, then any resource with + * one or more matching pricing models will be returned. + * + */ + "pricing"?: Array; + /** + * Indicates whether to show only featured resources. If this is set to {@code false} or is omitted, then all resources will be returned. + * + */ + "isFeatured"?: boolean; + /** + * The sort order to apply, either {@code ASC} or {@code DESC}. Default is {@code ASC}. + */ + "sortOrder"?: ListAllApplicationsRequest.SortOrder; +} + +export namespace ListAllApplicationsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/servicecatalog/lib/request/list-service-catalogs-request.ts b/lib/servicecatalog/lib/request/list-service-catalogs-request.ts index f6f682cadc..292fedc9ac 100644 --- a/lib/servicecatalog/lib/request/list-service-catalogs-request.ts +++ b/lib/servicecatalog/lib/request/list-service-catalogs-request.ts @@ -26,6 +26,10 @@ export interface ListServiceCatalogsRequest extends common.BaseRequest { * The unique identifier for the service catalog. */ "serviceCatalogId"?: string; + /** + * Status of the service catalog, use as a filter to filter out all active catalogs. + */ + "status"?: model.ServiceCatalogStatusEnum; /** * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, * please provide the request ID. diff --git a/lib/servicecatalog/lib/response/get-configuration-response.ts b/lib/servicecatalog/lib/response/get-configuration-response.ts new file mode 100644 index 0000000000..99ea7c20f0 --- /dev/null +++ b/lib/servicecatalog/lib/response/get-configuration-response.ts @@ -0,0 +1,28 @@ +/** + * + * + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetConfigurationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Configuration instance. + */ + "configuration": model.Configuration; +} diff --git a/lib/servicecatalog/lib/response/index.ts b/lib/servicecatalog/lib/response/index.ts index fb5c90018a..6c76c27333 100644 --- a/lib/servicecatalog/lib/response/index.ts +++ b/lib/servicecatalog/lib/response/index.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -29,6 +31,8 @@ import * as DeleteServiceCatalogResponse from "./delete-service-catalog-response export import DeleteServiceCatalogResponse = DeleteServiceCatalogResponse.DeleteServiceCatalogResponse; import * as DeleteServiceCatalogAssociationResponse from "./delete-service-catalog-association-response"; export import DeleteServiceCatalogAssociationResponse = DeleteServiceCatalogAssociationResponse.DeleteServiceCatalogAssociationResponse; +import * as GetConfigurationResponse from "./get-configuration-response"; +export import GetConfigurationResponse = GetConfigurationResponse.GetConfigurationResponse; import * as GetPrivateApplicationResponse from "./get-private-application-response"; export import GetPrivateApplicationResponse = GetPrivateApplicationResponse.GetPrivateApplicationResponse; import * as GetPrivateApplicationActionDownloadLogoResponse from "./get-private-application-action-download-logo-response"; @@ -43,6 +47,8 @@ import * as GetServiceCatalogAssociationResponse from "./get-service-catalog-ass export import GetServiceCatalogAssociationResponse = GetServiceCatalogAssociationResponse.GetServiceCatalogAssociationResponse; import * as GetWorkRequestResponse from "./get-work-request-response"; export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListAllApplicationsResponse from "./list-all-applications-response"; +export import ListAllApplicationsResponse = ListAllApplicationsResponse.ListAllApplicationsResponse; import * as ListApplicationsResponse from "./list-applications-response"; export import ListApplicationsResponse = ListApplicationsResponse.ListApplicationsResponse; import * as ListPrivateApplicationPackagesResponse from "./list-private-application-packages-response"; diff --git a/lib/servicecatalog/lib/response/list-all-applications-response.ts b/lib/servicecatalog/lib/response/list-all-applications-response.ts new file mode 100644 index 0000000000..6635442bac --- /dev/null +++ b/lib/servicecatalog/lib/response/list-all-applications-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210527 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAllApplicationsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.ApplicationCollection instance. + */ + "applicationCollection": model.ApplicationCollection; +} diff --git a/lib/servicecatalog/lib/servicecatalog-waiter.ts b/lib/servicecatalog/lib/servicecatalog-waiter.ts index 6ab3b3ed67..e478e529a8 100644 --- a/lib/servicecatalog/lib/servicecatalog-waiter.ts +++ b/lib/servicecatalog/lib/servicecatalog-waiter.ts @@ -1,8 +1,10 @@ /** * Service Catalog API - * Manage solutions in Oracle Cloud Infrastructure Service Catalog. + * Use the Service Catalog API to manage solutions in Oracle Cloud Infrastructure Service Catalog. +For more information, see [Overview of Service Catalog](https://docs.oracle.com/iaas/Content/service-catalog/overview_of_service_catalog.htm). + * OpenAPI spec version: 20210527 - * + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index ff7291378c..2e26dfed0d 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.121.1", + "version": "2.122.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 8533bc82eb..efec585fa2 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.121.1", + "version": "2.122.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 6dd2d3887e..9b3f0a7ed4 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.121.1", + "version": "2.122.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 3d49379b6f..09f0f492ac 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 6a9162e0db..25e9454930 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.121.1", + "version": "2.122.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 b7663ea28d..515715f7b5 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.121.1", + "version": "2.122.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 228b6c0eb0..033ce74c5d 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 561bd867e9..d69f45cdfc 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.121.1", + "version": "2.122.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 0cb8e60abf..0d4f99b633 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index c959ea313e..d2849a7334 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.121.1", + "version": "2.122.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 c426309659..511d8fe34b 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.121.1", + "version": "2.122.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 565760143c..0b4e63ac0f 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.121.1", + "version": "2.122.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 058b72d6a1..950a5aaa88 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.121.1", + "version": "2.122.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 193cc73aaf..5123a22ae3 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 61256186a3..9527814c57 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 7b47e4b405..2ef621bdcc 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index bdbe40de9e..2b603a3661 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index 462538ad10..4bcd5d99e1 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index d3630e3c5a..15517776f9 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index aefd50d5f4..c925fedafd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.121.1", + "version": "2.122.0", "author": { "name": "Oracle Cloud Infrastructure", "email": ""