diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a6269e1fa..62876a4439 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,43 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.121.0 - 2025-11-04 +### Added +- Support for Data Intelligence Foundation service +- Support for Private Service Access (PSA) service +- Support for pluggable database snapshots for exadata databases in the Database service +- Support for backup configurations for globally distributed databases in the Database service +- Support for fine grained configurations for data guards in globally distributed databases in the Database service +- Support for Zero trust Packet Routing (ZPR) policy analysis in the Network Monitoring service +- Support for instance pool pre-termination action in the Compute service + +### Breaking Changes +- The models `AddPublicIpPoolCapacityDetails`, `AddSubnetIpv6CidrDetails`, `AddVcnCidrDetails`, `AddVcnIpv6CidrDetails`, `AllowedIkeIpSecParameters`, `AllowedPhaseOneParameters`, `AllowedPhaseTwoParameters`, `BgpSessionInfo`, `ByoipAllocatedRangeCollection`, `ByoipAllocatedRangeSummary`, `ByoipRange`, `ByoipRangeCollection`, `ByoipRangeSummary`, `ByoipRangeVcnIpv6AllocationSummary`, `Byoipv6CidrDetails`, `CaptureFilter`, `ChangeByoipRangeCompartmentDetails`, `ChangeCaptureFilterCompartmentDetails`, `ChangeCpeCompartmentDetails`, `ChangeCrossConnectCompartmentDetails`, `ChangeCrossConnectGroupCompartmentDetails`, `ChangeDhcpOptionsCompartmentDetails`, `ChangeDrgCompartmentDetails`, `ChangeInternetGatewayCompartmentDetails`, `ChangeIpSecConnectionCompartmentDetails`, `ChangeLocalPeeringGatewayCompartmentDetails`, `ChangeNatGatewayCompartmentDetails`, `ChangeNetworkSecurityGroupCompartmentDetails`, `ChangePublicIpCompartmentDetails`, `ChangePublicIpPoolCompartmentDetails`, `ChangeRemotePeeringConnectionCompartmentDetails`, `ChangeRouteTableCompartmentDetails`, `ChangeSecurityListCompartmentDetails`, `ChangeServiceGatewayCompartmentDetails`, `ChangeSubnetCompartmentDetails`, `ChangeVcnCompartmentDetails`, `ChangeVirtualCircuitCompartmentDetails`, `ChangeVlanCompartmentDetails`, `ChangeVtapCompartmentDetails`, `CreateByoipRangeDetails`, `CreateCaptureFilterDetails`, `CreateIpSecConnectionTunnelDetails`, `CreateIpSecTunnelBgpSessionDetails`, `CreateIpSecTunnelEncryptionDomainDetails`, `CreateMacsecKey`, `CreateMacsecProperties`, `CreateNatGatewayDetails`, `CreatePublicIpPoolDetails`, `CreateVlanDetails`, `CreateVnicDetails`, `CreateVtapDetails`, `CpeDeviceConfigAnswer`, `CpeDeviceConfigQuestion`, `CpeDeviceInfo`, `CpeDeviceShapeDetail`, `CpeDeviceShapeSummary`, `CrossConnectMappingDetails`, `CrossConnectMappingDetailsCollection`, `DefaultPhaseOneParameters`, `DefaultPhaseTwoParameters`, `DpdConfig`, `DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria`, `DrgRedundancyStatus`, `EncryptionDomainConfig`, `FastConnectProviderServiceKey`, `FlowLogCaptureFilterRuleDetails`, `IpSecConnectionTunnel`, `IpSecConnectionTunnelErrorDetails`, `IpSecConnectionTunnelSharedSecret`, `MacsecKey`, `MacsecProperties`, `ModifyVcnCidrDetails`, `NatGateway`, `PhaseOneConfigDetails`, `PhaseTwoConfigDetails`, `PublicIpPool`, `PublicIpPoolCollection`, `PublicIpPoolSummary`, `RemovePublicIpPoolCapacityDetails`, `RemoveSubnetIpv6CidrDetails`, `RemoveVcnCidrDetails`, `RemoveVcnIpv6CidrDetails`, `TunnelCpeDeviceConfig`, `TunnelPhaseOneDetails`, `TunnelPhaseTwoDetails`, `TunnelRouteSummary`, `TunnelSecurityAssociationSummary`, `UpdateByoipRangeDetails`, `UpdateCaptureFilterDetails`, `UpdateIpSecConnectionTunnelDetails`, `UpdateIpSecConnectionTunnelEncryptionDomainDetails`, `UpdateIpSecConnectionTunnelSharedSecretDetails`, `UpdateIpSecTunnelBgpSessionDetails`, `UpdateMacsecKey`, `UpdateMacsecProperties`, `UpdateNatGatewayDetails`, `UpdatePublicIpPoolDetails`, `UpdateTunnelCpeDeviceConfigDetails`, `UpdateVlanDetails`, `UpdateVtapDetails`, `VcnDnsResolverAssociation`, `Vlan`, `Vtap`, and `VtapCaptureFilterRuleDetails` have been removed in the Network Monitoring service +- The field `cpeDeviceShapeId` was removed from the models `Cpe` and `UpdateCpeDetails`
 +- The fields `definedTags`, `freeformTags`, `customerReferenceName` and macsecProperties` were removed from the model `CreateCrossConnectDetails` in the Network Monitoring service +- The field `domainNameType` was removed from the model `CreateDhcpDetails` in the Network Monitoring service +- The field `routeTableId` was removed from the models `CreateDrgAttachmentDetails`, `UpdateLocalPeeringGatewayDetails`, `ServiceGateway`, `DrgAttachment`, `InternetGateway`, `CreateLocalPeeringGatewayDetails` and `CreateInternetGatewayDetails` in the Network Monitoring service +- The fields `staticRoutes`, `cpeLocalIdentifier`, `tunnelConfiguration` and `tunnelCount` were removed from the model `CreateIpSecConnectionDetails` in the Network Monitoring service +- The fields `ipv6CidrBlocks` and `prohibitInternetIngress` were removed from the model `CreateSubnetDetails` in the Network Monitoring service +- The field `ipv6PrivateCidrBlocks`, `cidrBlocks`, `isOracleGuaAllocationEnabled`, and `byoipv6CidrDetails` were removed from the model `CreateVcnDetails` in the Network Monitoring service +- The fields `cefinedTags`, `freeformTags`, `customerReferenceName`, `macsecProperties`, `ociPhysicalDeviceName` and `ociLogicalDeviceName` were removed from the models `CrossConnectGroup` and `CrossConnect` in the Network Monitoring service +- The fields `customerBgpPeeringIpv6` and `oracleBgpPeeringIpv6` were removed from the model `crossConnectMapping` in the Network Monitoring service +- The field `domainNameType` was removed from the model `DhcpOptions` in the Network Monitoring service +- The fields `customerAsnManagement`, `providerServiceKeyManagement`, `bandwithShapeManagement`, and `rrequiredTotalCrossConnects` were removed from the model `FastConnectProviderService` in the Network Monitoring service +- The field `description` was removed from the model `IngressSecurityRule` in the Network Monitoring service +- The fields `peerId`, `peerAdvertisedCidr`, `peerAdvertisedCidrDetails`, and `routeTableId` were removed from the model `LocalPeeringGateway` in the Network Monitoring service +- The field `vlanId` was removed from the model `PrivateIp` in the Network Monitoring service +- The fields `assignedEntityId`, `assignedEntityType`, and `publicIpPoolId` were removed from the model `PublicIp` in the Network Monitoring service +- The fields `freeformTags` and `definedTags` were removed from the models `RemotePeeringConnection` and `UpdateRemotePeeringConnectionDetails` in the Network Monitoring service +- The fields `description` and `routeType` were removed from the model `RouteRule` in the Network Monitoring service +- The fields `prohibitInternetIngress` and `availabilityDomain` were removed from the model `Subnet` in the Network Monitoring service +- The fields `definedTags`, `freeformTags`, `customerReferenceName` and `macsecProperties` were removed from the models `UpdateCrossConnectDetails` and `UpdateCrossConnectGroupDetails` in the Network Monitoring service +- The fields `cpeLocalIdentifier`, `cpeLocalIdentifierType`, and `staticRoutes` were removed from the model `UpdateIpSecConnectionDetails` in the Network Monitoring service +- The fields `routingPolicy`, `bgpAdminState`, `isBfdEnabled`, and `customerBgpAsn` were removed from the model `UpdateVirtualCircuitDetails` and `VirtualCircuit` in the Network Monitoring service +- The field `vcnRouteType` was removed from the models `VcnDrgAttachmentNetworkCreateDetails`, `VcnDrgAttachmentNetworkDetails` and `VcnDrgAttachmentNetworkUpdateDetails` in the Network Monitoring service +- The fields `cidrBlocks`, `byoipv6CidrBlocks`, and `ipv6PrivateCidrBlocks` were removed from the model `Vcn` in the Network Monitoring service +- The fields `vlanId` and `subnetId` were removed from the model `Vnic` in the Network Monitoring service + ## 2.120.0 - 2025-10-28 ### Added - Support for calling Oracle Cloud Infrastructure services in the eu-madrid-3 region diff --git a/index.ts b/index.ts index 981e221c42..377acc8d05 100755 --- a/index.ts +++ b/index.ts @@ -238,3 +238,5 @@ export import jmsutils = require("oci-jmsutils"); export import multicloud = require("oci-multicloud"); export import resourceanalytics = require("oci-resourceanalytics"); export import iot = require("oci-iot"); +export import dif = require("oci-dif"); +export import psa = require("oci-psa"); diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 872cd34e9b..5f6924ee53 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.120.0", + "version": "2.121.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 80ad916d4b..b58ed0f0e0 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 6b0f059923..644990d8d4 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.120.0", + "version": "2.121.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 cd78623d04..a97824d5ae 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.120.0", + "version": "2.121.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 89fca4a6a4..0b123fe3c0 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.120.0", + "version": "2.121.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 0a20007e6c..a56d978f2a 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.120.0", + "version": "2.121.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 382dd8a851..d70ef742c3 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.120.0", + "version": "2.121.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 e3c76a1182..041f3a5fa5 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 71f18c231c..15e41fa882 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index df93713c44..8466389d55 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 00e2be5cab..9329d6b766 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.120.0", + "version": "2.121.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 d627acf6c1..8d2b14d4fe 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.120.0", + "version": "2.121.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 05285830c9..b7fc3e55f5 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.120.0", + "version": "2.121.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 595a887d3a..c7d8ffdf2d 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.120.0", + "version": "2.121.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 2dccfc5b74..e63e3fa1b1 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.120.0", + "version": "2.121.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 94aed6263a..b231fa0e05 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.120.0", + "version": "2.121.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 650079ad07..f96ce71909 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.120.0", + "version": "2.121.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 7883fa2a6e..d414020e7d 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index e008a104fa..52b4cf079b 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 620fac9747..d728f07d37 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 14f2cf87f2..7b02a8ab45 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 9800573fc2..7348d64bb3 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 94daa6ab3f..f1cbddcef7 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 8164656cca..8ca4816d13 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 71fd060be5..8603182022 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.120.0", + "version": "2.121.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 24f93a0f5b..66934f6e8d 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index ab34a6c619..e6166f77c9 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/lib/model/subscription-info.ts b/lib/cims/lib/model/subscription-info.ts deleted file mode 100644 index bf5be5a431..0000000000 --- a/lib/cims/lib/model/subscription-info.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Support Management API - * Use the Support Management API to manage support requests. -For more information, see [Getting Help and Contacting Support](https://docs.oracle.com/iaas/Content/GSG/Tasks/contactingsupport.htm). -**Note**: Before you can create service requests with this API, -complete user registration at My Oracle Cloud Support -and then ask your tenancy administrator to provide you authorization for the related user groups. - - * OpenAPI spec version: 20181231 - * Contact: oci_ops_cims_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"); - -export interface SubscriptionInfo { - /** - * customer support identifier issued for a subscription - */ - "csi"?: string; - /** - * subscription type of customer which determines payment profile - */ - "subscriptionType"?: string; -} - -export namespace SubscriptionInfo { - export function getJsonObj(obj: SubscriptionInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SubscriptionInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/cims/package.json b/lib/cims/package.json index 1fd20441c2..2e9fc13426 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 0023379f7f..d867a47563 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.120.0", + "version": "2.121.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 bfcb451a6b..32ec6201b6 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.120.0", + "version": "2.121.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 b2297008ac..58f9668d57 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.120.0", + "version": "2.121.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 65ca933e1e..c85b5ee974 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.120.0", + "version": "2.121.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 50d5adfe23..9504b1195d 100644 --- a/lib/common/lib/region.ts +++ b/lib/common/lib/region.ts @@ -115,6 +115,8 @@ export class Region { public static AP_DELHI_1: Region = Region.register("ap-delhi-1", Realm.OC1, "onm"); public static AP_BATAM_1: Region = Region.register("ap-batam-1", Realm.OC1, "hsg"); 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"); // 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 39decb5e68..911eba82ee 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.120.0", + "version": "2.121.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 5a2f0ac7ef..8430039a9f 100644 --- a/lib/common/tests/resources/developer-tool-configuration.json +++ b/lib/common/tests/resources/developer-tool-configuration.json @@ -478,5 +478,17 @@ "realmKey": "oc1", "regionIdentifier": "eu-madrid-3", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "des", + "realmKey": "oc1", + "regionIdentifier": "ap-chennai-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "vkz", + "realmKey": "oc1", + "regionIdentifier": "us-columbus-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 a0072a35e8..5c2455c8f1 100644 --- a/lib/common/tests/resources/regions.json +++ b/lib/common/tests/resources/regions.json @@ -478,5 +478,17 @@ "realmKey": "oc1", "regionIdentifier": "eu-madrid-3", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "des", + "realmKey": "oc1", + "regionIdentifier": "ap-chennai-1", + "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "vkz", + "realmKey": "oc1", + "regionIdentifier": "us-columbus-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index 412ef922b6..fd54eefb0e 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.120.0", + "version": "2.121.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 9642d0dcec..29a33a08c6 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.120.0", + "version": "2.121.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 220809eb3d..5450e04512 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index db212c5b3e..bfffc8b192 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.120.0", + "version": "2.121.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 9c5e1dd4c5..c2051eed82 100644 --- a/lib/core/lib/client.ts +++ b/lib/core/lib/client.ts @@ -20259,6 +20259,82 @@ If an autoscaling configuration applies to the instance pool, the autoscaling co } } + /** + * Marks an instance in an instance pool to be ready for termination. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param TerminationProceedInstancePoolInstanceRequest + * @return TerminationProceedInstancePoolInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/TerminationProceedInstancePoolInstance.ts.html |here} to see how to use TerminationProceedInstancePoolInstance API. + */ + public async terminationProceedInstancePoolInstance( + terminationProceedInstancePoolInstanceRequest: requests.TerminationProceedInstancePoolInstanceRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ComputeManagementClient#terminationProceedInstancePoolInstance." + ); + const operationName = "terminationProceedInstancePoolInstance"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/InstancePoolInstance/TerminationProceedInstancePoolInstance"; + const pathParams = { + "{instancePoolId}": terminationProceedInstancePoolInstanceRequest.instancePoolId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": terminationProceedInstancePoolInstanceRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + terminationProceedInstancePoolInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/instancePools/{instancePoolId}/actions/terminationProceed", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + terminationProceedInstancePoolInstanceRequest.terminationProceedInstancePoolInstanceDetails, + "TerminationProceedInstancePoolInstanceDetails", + model.TerminationProceedInstancePoolInstanceDetails.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" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Updates a [cluster network with instance pools](https://docs.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). * The OCID of the cluster network remains the same. diff --git a/lib/core/lib/model/create-instance-pool-details.ts b/lib/core/lib/model/create-instance-pool-details.ts index 4532810017..f01a4a05ce 100644 --- a/lib/core/lib/model/create-instance-pool-details.ts +++ b/lib/core/lib/model/create-instance-pool-details.ts @@ -89,6 +89,7 @@ To use the instance pool with a regional subnet, provide a placement configurati * */ "instanceHostnameFormatter"?: string; + "lifecycleManagement"?: model.InstancePoolLifecycleManagementDetails; } export namespace CreateInstancePoolDetails { @@ -106,6 +107,10 @@ export namespace CreateInstancePoolDetails { ? obj.loadBalancers.map(item => { return model.AttachLoadBalancerDetails.getJsonObj(item); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getJsonObj(obj.lifecycleManagement) : undefined } }; @@ -128,6 +133,12 @@ export namespace CreateInstancePoolDetails { ? obj.loadBalancers.map(item => { return model.AttachLoadBalancerDetails.getDeserializedJsonObj(item); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getDeserializedJsonObj( + obj.lifecycleManagement + ) : undefined } }; diff --git a/lib/core/lib/model/index.ts b/lib/core/lib/model/index.ts index 8eff3321c5..c7eba5c8fb 100644 --- a/lib/core/lib/model/index.ts +++ b/lib/core/lib/model/index.ts @@ -682,6 +682,10 @@ import * as InstancePoolInstance from "./instance-pool-instance"; export import InstancePoolInstance = InstancePoolInstance.InstancePoolInstance; import * as InstancePoolInstanceLoadBalancerBackend from "./instance-pool-instance-load-balancer-backend"; export import InstancePoolInstanceLoadBalancerBackend = InstancePoolInstanceLoadBalancerBackend.InstancePoolInstanceLoadBalancerBackend; +import * as InstancePoolLifecycleActionsDetails from "./instance-pool-lifecycle-actions-details"; +export import InstancePoolLifecycleActionsDetails = InstancePoolLifecycleActionsDetails.InstancePoolLifecycleActionsDetails; +import * as InstancePoolLifecycleManagementDetails from "./instance-pool-lifecycle-management-details"; +export import InstancePoolLifecycleManagementDetails = InstancePoolLifecycleManagementDetails.InstancePoolLifecycleManagementDetails; import * as InstancePoolLoadBalancerAttachment from "./instance-pool-load-balancer-attachment"; export import InstancePoolLoadBalancerAttachment = InstancePoolLoadBalancerAttachment.InstancePoolLoadBalancerAttachment; import * as InstancePoolPlacementConfiguration from "./instance-pool-placement-configuration"; @@ -694,6 +698,10 @@ import * as InstancePoolPlacementSecondaryVnicSubnet from "./instance-pool-place export import InstancePoolPlacementSecondaryVnicSubnet = InstancePoolPlacementSecondaryVnicSubnet.InstancePoolPlacementSecondaryVnicSubnet; import * as InstancePoolPlacementSubnetDetails from "./instance-pool-placement-subnet-details"; export import InstancePoolPlacementSubnetDetails = InstancePoolPlacementSubnetDetails.InstancePoolPlacementSubnetDetails; +import * as InstancePoolPreTerminationActionDetails from "./instance-pool-pre-termination-action-details"; +export import InstancePoolPreTerminationActionDetails = InstancePoolPreTerminationActionDetails.InstancePoolPreTerminationActionDetails; +import * as InstancePoolPreTerminationActionHandleTimeoutDetails from "./instance-pool-pre-termination-action-handle-timeout-details"; +export import InstancePoolPreTerminationActionHandleTimeoutDetails = InstancePoolPreTerminationActionHandleTimeoutDetails.InstancePoolPreTerminationActionHandleTimeoutDetails; import * as InstancePoolSummary from "./instance-pool-summary"; export import InstancePoolSummary = InstancePoolSummary.InstancePoolSummary; import * as InstancePowerActionDetails from "./instance-power-action-details"; @@ -902,6 +910,8 @@ import * as Subnet from "./subnet"; export import Subnet = Subnet.Subnet; import * as TcpOptions from "./tcp-options"; export import TcpOptions = TcpOptions.TcpOptions; +import * as TerminationProceedInstancePoolInstanceDetails from "./termination-proceed-instance-pool-instance-details"; +export import TerminationProceedInstancePoolInstanceDetails = TerminationProceedInstancePoolInstanceDetails.TerminationProceedInstancePoolInstanceDetails; import * as Topology from "./topology"; export import Topology = Topology.Topology; import * as TopologyAssociatedWithRelationshipDetails from "./topology-associated-with-relationship-details"; diff --git a/lib/core/lib/model/instance-pool-instance.ts b/lib/core/lib/model/instance-pool-instance.ts index a51d5dd01f..eb7a59dfec 100644 --- a/lib/core/lib/model/instance-pool-instance.ts +++ b/lib/core/lib/model/instance-pool-instance.ts @@ -95,6 +95,8 @@ export namespace InstancePoolInstance { Attaching = "ATTACHING", Active = "ACTIVE", Detaching = "DETACHING", + TerminationAwait = "TERMINATION_AWAIT", + TerminationProceed = "TERMINATION_PROCEED", /** * 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/core/lib/model/instance-pool-lifecycle-actions-details.ts b/lib/core/lib/model/instance-pool-lifecycle-actions-details.ts new file mode 100644 index 0000000000..5ee6bbe47f --- /dev/null +++ b/lib/core/lib/model/instance-pool-lifecycle-actions-details.ts @@ -0,0 +1,57 @@ +/** + * 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 lifecycle actions for the instance pool. + * + */ +export interface InstancePoolLifecycleActionsDetails { + "preTermination"?: model.InstancePoolPreTerminationActionDetails; +} + +export namespace InstancePoolLifecycleActionsDetails { + export function getJsonObj(obj: InstancePoolLifecycleActionsDetails): object { + const jsonObj = { + ...obj, + ...{ + "preTermination": obj.preTermination + ? model.InstancePoolPreTerminationActionDetails.getJsonObj(obj.preTermination) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstancePoolLifecycleActionsDetails): object { + const jsonObj = { + ...obj, + ...{ + "preTermination": obj.preTermination + ? model.InstancePoolPreTerminationActionDetails.getDeserializedJsonObj(obj.preTermination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/instance-pool-lifecycle-management-details.ts b/lib/core/lib/model/instance-pool-lifecycle-management-details.ts new file mode 100644 index 0000000000..f46bcf5379 --- /dev/null +++ b/lib/core/lib/model/instance-pool-lifecycle-management-details.ts @@ -0,0 +1,57 @@ +/** + * 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 lifecycle management options for the instance pool. + * + */ +export interface InstancePoolLifecycleManagementDetails { + "lifecycleActions": model.InstancePoolLifecycleActionsDetails; +} + +export namespace InstancePoolLifecycleManagementDetails { + export function getJsonObj(obj: InstancePoolLifecycleManagementDetails): object { + const jsonObj = { + ...obj, + ...{ + "lifecycleActions": obj.lifecycleActions + ? model.InstancePoolLifecycleActionsDetails.getJsonObj(obj.lifecycleActions) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstancePoolLifecycleManagementDetails): object { + const jsonObj = { + ...obj, + ...{ + "lifecycleActions": obj.lifecycleActions + ? model.InstancePoolLifecycleActionsDetails.getDeserializedJsonObj(obj.lifecycleActions) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/instance-pool-pre-termination-action-details.ts b/lib/core/lib/model/instance-pool-pre-termination-action-details.ts new file mode 100644 index 0000000000..ee0d3735ee --- /dev/null +++ b/lib/core/lib/model/instance-pool-pre-termination-action-details.ts @@ -0,0 +1,69 @@ +/** + * 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 data for pre-termination action for an instance pool + * + */ +export interface InstancePoolPreTerminationActionDetails { + /** + * Whether pre-termination action is enabled or not. + * + */ + "isEnabled": boolean; + /** + * The timeout in seconds for pre-termination action for an instance pool. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "timeout": number; + "onTimeout": model.InstancePoolPreTerminationActionHandleTimeoutDetails; +} + +export namespace InstancePoolPreTerminationActionDetails { + export function getJsonObj(obj: InstancePoolPreTerminationActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "onTimeout": obj.onTimeout + ? model.InstancePoolPreTerminationActionHandleTimeoutDetails.getJsonObj(obj.onTimeout) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstancePoolPreTerminationActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "onTimeout": obj.onTimeout + ? model.InstancePoolPreTerminationActionHandleTimeoutDetails.getDeserializedJsonObj( + obj.onTimeout + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/instance-pool-pre-termination-action-handle-timeout-details.ts b/lib/core/lib/model/instance-pool-pre-termination-action-handle-timeout-details.ts new file mode 100644 index 0000000000..d1cc454877 --- /dev/null +++ b/lib/core/lib/model/instance-pool-pre-termination-action-handle-timeout-details.ts @@ -0,0 +1,76 @@ +/** + * 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"); + +/** + * Options to handle timeout for pre-termination action. + * + */ +export interface InstancePoolPreTerminationActionHandleTimeoutDetails { + /** + * Whether the block volume should be preserved after termination. + * + */ + "preserveBlockVolumeMode": InstancePoolPreTerminationActionHandleTimeoutDetails.PreserveBlockVolumeMode; + /** + * Whether the boot volume should be preserved after termination. + * + */ + "preserveBootVolumeMode": InstancePoolPreTerminationActionHandleTimeoutDetails.PreserveBootVolumeMode; +} + +export namespace InstancePoolPreTerminationActionHandleTimeoutDetails { + export enum PreserveBlockVolumeMode { + PreserveAlways = "PRESERVE_ALWAYS", + PreserveOnTimeout = "PRESERVE_ON_TIMEOUT", + DeleteAlways = "DELETE_ALWAYS", + /** + * 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 PreserveBootVolumeMode { + PreserveAlways = "PRESERVE_ALWAYS", + PreserveOnTimeout = "PRESERVE_ON_TIMEOUT", + DeleteAlways = "DELETE_ALWAYS", + /** + * 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: InstancePoolPreTerminationActionHandleTimeoutDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: InstancePoolPreTerminationActionHandleTimeoutDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/instance-pool.ts b/lib/core/lib/model/instance-pool.ts index 6a557a2e7d..b0f034161e 100644 --- a/lib/core/lib/model/instance-pool.ts +++ b/lib/core/lib/model/instance-pool.ts @@ -101,6 +101,7 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "instanceHostnameFormatter"?: string; + "lifecycleManagement"?: model.InstancePoolLifecycleManagementDetails; } export namespace InstancePool { @@ -134,6 +135,10 @@ export namespace InstancePool { ? obj.loadBalancers.map(item => { return model.InstancePoolLoadBalancerAttachment.getJsonObj(item); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getJsonObj(obj.lifecycleManagement) : undefined } }; @@ -154,6 +159,12 @@ export namespace InstancePool { ? obj.loadBalancers.map(item => { return model.InstancePoolLoadBalancerAttachment.getDeserializedJsonObj(item); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getDeserializedJsonObj( + obj.lifecycleManagement + ) : undefined } }; diff --git a/lib/core/lib/model/termination-proceed-instance-pool-instance-details.ts b/lib/core/lib/model/termination-proceed-instance-pool-instance-details.ts new file mode 100644 index 0000000000..505f51a39a --- /dev/null +++ b/lib/core/lib/model/termination-proceed-instance-pool-instance-details.ts @@ -0,0 +1,49 @@ +/** + * 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"); + +/** + * An instance to be marked for termination in an instance pool. + * + */ +export interface TerminationProceedInstancePoolInstanceDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + * + */ + "instanceId": string; +} + +export namespace TerminationProceedInstancePoolInstanceDetails { + export function getJsonObj(obj: TerminationProceedInstancePoolInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: TerminationProceedInstancePoolInstanceDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/update-instance-pool-details.ts b/lib/core/lib/model/update-instance-pool-details.ts index d5ef42a6fc..34233d8c27 100644 --- a/lib/core/lib/model/update-instance-pool-details.ts +++ b/lib/core/lib/model/update-instance-pool-details.ts @@ -84,6 +84,7 @@ To determine whether capacity is available for a specific shape before you resiz * */ "instanceHostnameFormatter"?: string; + "lifecycleManagement"?: model.InstancePoolLifecycleManagementDetails; } export namespace UpdateInstancePoolDetails { @@ -95,6 +96,10 @@ export namespace UpdateInstancePoolDetails { ? obj.placementConfigurations.map(item => { return model.UpdateInstancePoolPlacementConfigurationDetails.getJsonObj(item); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getJsonObj(obj.lifecycleManagement) : undefined } }; @@ -111,6 +116,12 @@ export namespace UpdateInstancePoolDetails { item ); }) + : undefined, + + "lifecycleManagement": obj.lifecycleManagement + ? model.InstancePoolLifecycleManagementDetails.getDeserializedJsonObj( + obj.lifecycleManagement + ) : undefined } }; diff --git a/lib/core/lib/request/index.ts b/lib/core/lib/request/index.ts index cfeb541275..69c0514b48 100644 --- a/lib/core/lib/request/index.ts +++ b/lib/core/lib/request/index.ts @@ -446,6 +446,8 @@ import * as TerminateClusterNetworkRequest from "./terminate-cluster-network-req export import TerminateClusterNetworkRequest = TerminateClusterNetworkRequest.TerminateClusterNetworkRequest; import * as TerminateInstancePoolRequest from "./terminate-instance-pool-request"; export import TerminateInstancePoolRequest = TerminateInstancePoolRequest.TerminateInstancePoolRequest; +import * as TerminationProceedInstancePoolInstanceRequest from "./termination-proceed-instance-pool-instance-request"; +export import TerminationProceedInstancePoolInstanceRequest = TerminationProceedInstancePoolInstanceRequest.TerminationProceedInstancePoolInstanceRequest; import * as UpdateClusterNetworkRequest from "./update-cluster-network-request"; export import UpdateClusterNetworkRequest = UpdateClusterNetworkRequest.UpdateClusterNetworkRequest; import * as UpdateInstanceConfigurationRequest from "./update-instance-configuration-request"; diff --git a/lib/core/lib/request/termination-proceed-instance-pool-instance-request.ts b/lib/core/lib/request/termination-proceed-instance-pool-instance-request.ts new file mode 100644 index 0000000000..a171d75ce2 --- /dev/null +++ b/lib/core/lib/request/termination-proceed-instance-pool-instance-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * 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/core/TerminationProceedInstancePoolInstance.ts.html |here} to see how to use TerminationProceedInstancePoolInstanceRequest. + */ +export interface TerminationProceedInstancePoolInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance pool. + */ + "instancePoolId": string; + /** + * Instance to be marked for terminating. + */ + "terminationProceedInstancePoolInstanceDetails": model.TerminationProceedInstancePoolInstanceDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/core/lib/response/index.ts b/lib/core/lib/response/index.ts index c765391280..0846ba646a 100644 --- a/lib/core/lib/response/index.ts +++ b/lib/core/lib/response/index.ts @@ -446,6 +446,8 @@ import * as TerminateClusterNetworkResponse from "./terminate-cluster-network-re export import TerminateClusterNetworkResponse = TerminateClusterNetworkResponse.TerminateClusterNetworkResponse; import * as TerminateInstancePoolResponse from "./terminate-instance-pool-response"; export import TerminateInstancePoolResponse = TerminateInstancePoolResponse.TerminateInstancePoolResponse; +import * as TerminationProceedInstancePoolInstanceResponse from "./termination-proceed-instance-pool-instance-response"; +export import TerminationProceedInstancePoolInstanceResponse = TerminationProceedInstancePoolInstanceResponse.TerminationProceedInstancePoolInstanceResponse; import * as UpdateClusterNetworkResponse from "./update-cluster-network-response"; export import UpdateClusterNetworkResponse = UpdateClusterNetworkResponse.UpdateClusterNetworkResponse; import * as UpdateInstanceConfigurationResponse from "./update-instance-configuration-response"; diff --git a/lib/marketplacepublisher/lib/request/get-offer-request.ts b/lib/core/lib/response/termination-proceed-instance-pool-instance-response.ts similarity index 56% rename from lib/marketplacepublisher/lib/request/get-offer-request.ts rename to lib/core/lib/response/termination-proceed-instance-pool-instance-response.ts index 53aff5cec0..e38754fdeb 100644 --- a/lib/marketplacepublisher/lib/request/get-offer-request.ts +++ b/lib/core/lib/response/termination-proceed-instance-pool-instance-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -14,16 +14,11 @@ 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/marketplacepublisher/GetOffer.ts.html |here} to see how to use GetOfferRequest. - */ -export interface GetOfferRequest extends common.BaseRequest { - /** - * unique Offer identifier - */ - "offerId": string; +export interface TerminationProceedInstancePoolInstanceResponse { /** - * The client request ID for tracing. + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * */ - "opcRequestId"?: string; + "opcRequestId": string; } diff --git a/lib/core/package.json b/lib/core/package.json index 49ffe8b51c..93f1cbf6ea 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 4a436564f1..7d1c50b2ef 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.120.0", + "version": "2.121.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 df793e93e5..dfed138ea6 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -332,6 +332,96 @@ export class DatabaseClient { } } + /** + * Add a database node snapshots to the Exadb VM cluster.. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddDbnodeSnapshotsForExadbVmClusterRequest + * @return AddDbnodeSnapshotsForExadbVmClusterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/AddDbnodeSnapshotsForExadbVmCluster.ts.html |here} to see how to use AddDbnodeSnapshotsForExadbVmCluster API. + */ + public async addDbnodeSnapshotsForExadbVmCluster( + addDbnodeSnapshotsForExadbVmClusterRequest: requests.AddDbnodeSnapshotsForExadbVmClusterRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#addDbnodeSnapshotsForExadbVmCluster."); + const operationName = "addDbnodeSnapshotsForExadbVmCluster"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/AddDbnodeSnapshotsForExadbVmCluster"; + const pathParams = { + "{exadbVmClusterId}": addDbnodeSnapshotsForExadbVmClusterRequest.exadbVmClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": addDbnodeSnapshotsForExadbVmClusterRequest.opcRetryToken, + "opc-request-id": addDbnodeSnapshotsForExadbVmClusterRequest.opcRequestId, + "if-match": addDbnodeSnapshotsForExadbVmClusterRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addDbnodeSnapshotsForExadbVmClusterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/exadbVmClusters/{exadbVmClusterId}/actions/addDbNodeSnapshots", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addDbnodeSnapshotsForExadbVmClusterRequest.addDbnodeSnapshotsForExadbVmClusterDetails, + "AddDbnodeSnapshotsForExadbVmClusterDetails", + model.AddDbnodeSnapshotsForExadbVmClusterDetails.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: "dbnodeSnapshots", + bodyModel: model.DbnodeSnapshots, + type: "model.DbnodeSnapshots", + 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; + } + } + /** * Add a standby Autonomous Container Database. For more information about Autonomous Data Guard,see * [Protect Critical Databases from Failures and Disasters Using Autonomous Data Guard](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbau/GUID-C57B9A6E-7471-4CDC-8F10-B8386538E31C). @@ -9594,6 +9684,80 @@ Oracle recommends that you use the `performFinalBackup` parameter to back up any } } + /** + * Deletes the specified Exadata Database Node Snapshot. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param DeleteDbnodeSnapshotRequest + * @return DeleteDbnodeSnapshotResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteDbnodeSnapshot.ts.html |here} to see how to use DeleteDbnodeSnapshot API. + */ + public async deleteDbnodeSnapshot( + deleteDbnodeSnapshotRequest: requests.DeleteDbnodeSnapshotRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#deleteDbnodeSnapshot."); + const operationName = "deleteDbnodeSnapshot"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/DeleteDbnodeSnapshot"; + const pathParams = { + "{dbnodeSnapshotId}": deleteDbnodeSnapshotRequest.dbnodeSnapshotId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteDbnodeSnapshotRequest.ifMatch, + "opc-request-id": deleteDbnodeSnapshotRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteDbnodeSnapshotRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dbnodeSnapshots/{dbnodeSnapshotId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Deletes the Exadata Cloud@Customer infrastructure. * @@ -17368,6 +17532,83 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, } } + /** + * Gets information about the specified Exadata Database Node Snapshot in the specified compartment. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param GetDbnodeSnapshotRequest + * @return GetDbnodeSnapshotResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbnodeSnapshot.ts.html |here} to see how to use GetDbnodeSnapshot API. + */ + public async getDbnodeSnapshot( + getDbnodeSnapshotRequest: requests.GetDbnodeSnapshotRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#getDbnodeSnapshot."); + const operationName = "getDbnodeSnapshot"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/GetDbnodeSnapshot"; + const pathParams = { + "{dbnodeSnapshotId}": getDbnodeSnapshotRequest.dbnodeSnapshotId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getDbnodeSnapshotRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getDbnodeSnapshotRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dbnodeSnapshots/{dbnodeSnapshotId}", + 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: "dbnodeSnapshot", + bodyModel: model.DbnodeSnapshot, + type: "model.DbnodeSnapshot", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only. * To get information on an Exadata Cloud Service infrastructure resource, use the {@link #getCloudExadataInfrastructure(GetCloudExadataInfrastructureRequest) getCloudExadataInfrastructure} operation. @@ -26294,6 +26535,143 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, return paginateResponses(request, req => this.listDbVersions(req)); } + /** + * Gets a list of the Exadata Database Node Snapshots in the specified compartment. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListDbnodeSnapshotsRequest + * @return ListDbnodeSnapshotsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListDbnodeSnapshots.ts.html |here} to see how to use ListDbnodeSnapshots API. + */ + public async listDbnodeSnapshots( + listDbnodeSnapshotsRequest: requests.ListDbnodeSnapshotsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#listDbnodeSnapshots."); + const operationName = "listDbnodeSnapshots"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/ListDbnodeSnapshots"; + const pathParams = {}; + + const queryParams = { + "compartmentId": listDbnodeSnapshotsRequest.compartmentId, + "limit": listDbnodeSnapshotsRequest.limit, + "page": listDbnodeSnapshotsRequest.page, + "sortBy": listDbnodeSnapshotsRequest.sortBy, + "name": listDbnodeSnapshotsRequest.name, + "sortOrder": listDbnodeSnapshotsRequest.sortOrder, + "lifecycleState": listDbnodeSnapshotsRequest.lifecycleState, + "clusterId": listDbnodeSnapshotsRequest.clusterId, + "sourceDbnodeId": listDbnodeSnapshotsRequest.sourceDbnodeId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listDbnodeSnapshotsRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listDbnodeSnapshotsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dbnodeSnapshots", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "items", + bodyModel: model.DbnodeSnapshotSummary, + type: "Array", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * NOTE: This function is deprecated in favor of listDbnodeSnapshotsRecordIterator function. + * Creates a new async iterator which will iterate over the models.DbnodeSnapshotSummary objects + * contained in responses from the listDbnodeSnapshots operation. This iterator will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listAllDbnodeSnapshots( + request: requests.ListDbnodeSnapshotsRequest + ): AsyncIterableIterator { + return paginateRecords(request, req => this.listDbnodeSnapshots(req)); + } + + /** + * NOTE: This function is deprecated in favor of listDbnodeSnapshotsResponseIterator function. + * Creates a new async iterator which will iterate over the responses received from the listDbnodeSnapshots operation. This iterator + * will fetch more data from the server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listAllDbnodeSnapshotsResponses( + request: requests.ListDbnodeSnapshotsRequest + ): AsyncIterableIterator { + return paginateResponses(request, req => this.listDbnodeSnapshots(req)); + } + + /** + * Creates a new async iterator which will iterate over the models.DbnodeSnapshotSummary objects + * contained in responses from the listDbnodeSnapshots operation. This iterator will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listDbnodeSnapshotsRecordIterator( + request: requests.ListDbnodeSnapshotsRequest + ): AsyncIterableIterator { + return paginateRecords(request, req => this.listDbnodeSnapshots(req)); + } + + /** + * Creates a new async iterator which will iterate over the responses received from the listDbnodeSnapshots operation. This iterator + * will fetch more data from the server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listDbnodeSnapshotsResponseIterator( + request: requests.ListDbnodeSnapshotsRequest + ): AsyncIterableIterator { + return paginateResponses(request, req => this.listDbnodeSnapshots(req)); + } + /** * Lists the Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud@Customer instances only. * To list the Exadata Cloud Service infrastructure resources in a compartment, use the {@link #listCloudExadataInfrastructures(ListCloudExadataInfrastructuresRequest) listCloudExadataInfrastructures} operation. @@ -31401,6 +31779,95 @@ This operation should always be performed on primary. } } + /** + * Mounts the snapshot for the provided dbNode. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param MountDbnodeSnapshotRequest + * @return MountDbnodeSnapshotResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/MountDbnodeSnapshot.ts.html |here} to see how to use MountDbnodeSnapshot API. + */ + public async mountDbnodeSnapshot( + mountDbnodeSnapshotRequest: requests.MountDbnodeSnapshotRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#mountDbnodeSnapshot."); + const operationName = "mountDbnodeSnapshot"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/MountDbnodeSnapshot"; + const pathParams = { + "{dbnodeSnapshotId}": mountDbnodeSnapshotRequest.dbnodeSnapshotId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": mountDbnodeSnapshotRequest.opcRetryToken, + "opc-request-id": mountDbnodeSnapshotRequest.opcRequestId, + "if-match": mountDbnodeSnapshotRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + mountDbnodeSnapshotRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/mount", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + mountDbnodeSnapshotRequest.mountDbnodeSnapshotDetails, + "MountDbnodeSnapshotDetails", + model.MountDbnodeSnapshotDetails.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: "dbnodeSnapshot", + bodyModel: model.DbnodeSnapshot, + type: "model.DbnodeSnapshot", + 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("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves an execution action member to this execution action resource from another. * @@ -35424,6 +35891,95 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, } } + /** + * Unmounts the snapshot for the provided dbNode. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param UnmountDbnodeSnapshotRequest + * @return UnmountDbnodeSnapshotResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnmountDbnodeSnapshot.ts.html |here} to see how to use UnmountDbnodeSnapshot API. + */ + public async unmountDbnodeSnapshot( + unmountDbnodeSnapshotRequest: requests.UnmountDbnodeSnapshotRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation DatabaseClient#unmountDbnodeSnapshot."); + const operationName = "unmountDbnodeSnapshot"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/UnmountDbnodeSnapshot"; + const pathParams = { + "{dbnodeSnapshotId}": unmountDbnodeSnapshotRequest.dbnodeSnapshotId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": unmountDbnodeSnapshotRequest.opcRetryToken, + "opc-request-id": unmountDbnodeSnapshotRequest.opcRequestId, + "if-match": unmountDbnodeSnapshotRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + unmountDbnodeSnapshotRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/unmount", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + unmountDbnodeSnapshotRequest.unmountDbnodeSnapshotDetails, + "UnmountDbnodeSnapshotDetails", + model.UnmountDbnodeSnapshotDetails.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: "dbnodeSnapshot", + bodyModel: model.DbnodeSnapshot, + type: "model.DbnodeSnapshot", + 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("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Uninstall the PKCS11 driver for given keystore type * diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index 48a633eefb..24e00e02bd 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -57,6 +57,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forAddDbnodeSnapshotsForExadbVmCluster + * + * @param request the request to send + * @return response returns AddDbnodeSnapshotsForExadbVmClusterResponse, GetWorkRequestResponse tuple + */ + public async forAddDbnodeSnapshotsForExadbVmCluster( + request: serviceRequests.AddDbnodeSnapshotsForExadbVmClusterRequest + ): Promise<{ + response: serviceResponses.AddDbnodeSnapshotsForExadbVmClusterResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const addDbnodeSnapshotsForExadbVmClusterResponse = await this.client.addDbnodeSnapshotsForExadbVmCluster( + request + ); + if (addDbnodeSnapshotsForExadbVmClusterResponse.opcWorkRequestId === undefined) + return { + response: addDbnodeSnapshotsForExadbVmClusterResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + addDbnodeSnapshotsForExadbVmClusterResponse.opcWorkRequestId + ); + return { + response: addDbnodeSnapshotsForExadbVmClusterResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forAddStandbyAutonomousContainerDatabase * @@ -3031,6 +3062,29 @@ export class DatabaseWaiter { return { response: deleteDbHomeResponse, workRequestResponse: getWorkRequestResponse }; } + /** + * Waits forDeleteDbnodeSnapshot + * + * @param request the request to send + * @return response returns DeleteDbnodeSnapshotResponse, GetWorkRequestResponse tuple + */ + public async forDeleteDbnodeSnapshot( + request: serviceRequests.DeleteDbnodeSnapshotRequest + ): Promise<{ + response: serviceResponses.DeleteDbnodeSnapshotResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const deleteDbnodeSnapshotResponse = await this.client.deleteDbnodeSnapshot(request); + if (deleteDbnodeSnapshotResponse.opcWorkRequestId === undefined) + return { response: deleteDbnodeSnapshotResponse, workRequestResponse: undefined as any }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + deleteDbnodeSnapshotResponse.opcWorkRequestId + ); + return { response: deleteDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse }; + } + /** * Waits forDeleteExadataInfrastructure * @@ -4921,6 +4975,25 @@ export class DatabaseWaiter { ); } + /** + * Waits forDbnodeSnapshot 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 GetDbnodeSnapshotResponse | null (null in case of 404 response) + */ + public async forDbnodeSnapshot( + request: serviceRequests.GetDbnodeSnapshotRequest, + ...targetStates: models.DbnodeSnapshot.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getDbnodeSnapshot(request), + response => targetStates.includes(response.dbnodeSnapshot.lifecycleState!), + targetStates.includes(models.DbnodeSnapshot.LifecycleState.Terminated) + ); + } + /** * Waits forExadataInfrastructure till it reaches any of the provided states * @@ -5669,6 +5742,29 @@ export class DatabaseWaiter { }; } + /** + * Waits forMountDbnodeSnapshot + * + * @param request the request to send + * @return response returns MountDbnodeSnapshotResponse, GetWorkRequestResponse tuple + */ + public async forMountDbnodeSnapshot( + request: serviceRequests.MountDbnodeSnapshotRequest + ): Promise<{ + response: serviceResponses.MountDbnodeSnapshotResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const mountDbnodeSnapshotResponse = await this.client.mountDbnodeSnapshot(request); + if (mountDbnodeSnapshotResponse.opcWorkRequestId === undefined) + return { response: mountDbnodeSnapshotResponse, workRequestResponse: undefined as any }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + mountDbnodeSnapshotResponse.opcWorkRequestId + ); + return { response: mountDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse }; + } + /** * Waits forMoveExecutionActionMember * @@ -6935,6 +7031,29 @@ export class DatabaseWaiter { return { response: terminateDbSystemResponse, workRequestResponse: getWorkRequestResponse }; } + /** + * Waits forUnmountDbnodeSnapshot + * + * @param request the request to send + * @return response returns UnmountDbnodeSnapshotResponse, GetWorkRequestResponse tuple + */ + public async forUnmountDbnodeSnapshot( + request: serviceRequests.UnmountDbnodeSnapshotRequest + ): Promise<{ + response: serviceResponses.UnmountDbnodeSnapshotResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const unmountDbnodeSnapshotResponse = await this.client.unmountDbnodeSnapshot(request); + if (unmountDbnodeSnapshotResponse.opcWorkRequestId === undefined) + return { response: unmountDbnodeSnapshotResponse, workRequestResponse: undefined as any }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + unmountDbnodeSnapshotResponse.opcWorkRequestId + ); + return { response: unmountDbnodeSnapshotResponse, workRequestResponse: getWorkRequestResponse }; + } + /** * Waits forUnregisterCloudVmClusterPkcs * diff --git a/lib/database/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.ts b/lib/database/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.ts new file mode 100644 index 0000000000..ee95529b98 --- /dev/null +++ b/lib/database/lib/model/add-dbnode-snapshots-for-exadb-vm-cluster-details.ts @@ -0,0 +1,58 @@ +/** + * 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 to create a Database Node Snapshot. + * + */ +export interface AddDbnodeSnapshotsForExadbVmClusterDetails { + /** + * The user-friendly name for the Database Node Snapshot. The name should be unique. + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. + */ + "sourceDbnodeIds": 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). + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace AddDbnodeSnapshotsForExadbVmClusterDetails { + export function getJsonObj(obj: AddDbnodeSnapshotsForExadbVmClusterDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AddDbnodeSnapshotsForExadbVmClusterDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/dbnode-snapshot-summary.ts b/lib/database/lib/model/dbnode-snapshot-summary.ts new file mode 100644 index 0000000000..d4e46b59d5 --- /dev/null +++ b/lib/database/lib/model/dbnode-snapshot-summary.ts @@ -0,0 +1,124 @@ +/** + * 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 of the Exadata Database Node Snapshot. + * + */ +export interface DbnodeSnapshotSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node Snapshot. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. + */ + "sourceDbnodeId": string; + /** + * The current state of the Exadata Database Storage Vault. + */ + "lifecycleState"?: string; + /** + * The user-friendly name for the Database Node Snapshot. The name should be unique. + */ + "name": string; + /** + * The date and time that the Exadata Database Node Snapshot was created. + */ + "timeCreated"?: Date; + /** + * Additional information about the current lifecycle state of the Exadata Database Node Snapshot. + */ + "lifecycleDetails"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System 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). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. + */ + "clusterId"?: string; + /** + * Details of the mount points + */ + "mountPoints"?: Array; + /** + * Details of the volumes + */ + "volumes"?: Array; +} + +export namespace DbnodeSnapshotSummary { + export function getJsonObj(obj: DbnodeSnapshotSummary): object { + const jsonObj = { + ...obj, + ...{ + "mountPoints": obj.mountPoints + ? obj.mountPoints.map(item => { + return model.MountPointDetails.getJsonObj(item); + }) + : undefined, + "volumes": obj.volumes + ? obj.volumes.map(item => { + return model.VolumeDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbnodeSnapshotSummary): object { + const jsonObj = { + ...obj, + ...{ + "mountPoints": obj.mountPoints + ? obj.mountPoints.map(item => { + return model.MountPointDetails.getDeserializedJsonObj(item); + }) + : undefined, + "volumes": obj.volumes + ? obj.volumes.map(item => { + return model.VolumeDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/dbnode-snapshot.ts b/lib/database/lib/model/dbnode-snapshot.ts new file mode 100644 index 0000000000..71eee38d0e --- /dev/null +++ b/lib/database/lib/model/dbnode-snapshot.ts @@ -0,0 +1,140 @@ +/** + * 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 of the Database Node Snapshot. + * + */ +export interface DbnodeSnapshot { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node Snapshot. + */ + "id": string; + /** + * The current state of the Exadata Database Node Snapshot. + */ + "lifecycleState"?: DbnodeSnapshot.LifecycleState; + /** + * The user-friendly name for the Database Node Snapshot. The name should be unique. + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. + */ + "sourceDbnodeId": string; + /** + * The date and time that the Exadata Database Node Snapshot was created. + */ + "timeCreated"?: Date; + /** + * Additional information about the current lifecycle state of the Exadata Database Node Snapshot. + */ + "lifecycleDetails"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System 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). + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. + */ + "clusterId"?: string; + /** + * Details of the mount points + */ + "mountPoints"?: Array; + /** + * Details of the volumes + */ + "volumes"?: Array; +} + +export namespace DbnodeSnapshot { + export enum LifecycleState { + Creating = "CREATING", + Available = "AVAILABLE", + Terminating = "TERMINATING", + Terminated = "TERMINATED", + Failed = "FAILED", + Mounted = "MOUNTED", + Mounting = "MOUNTING", + Unmounting = "UNMOUNTING", + /** + * 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: DbnodeSnapshot): object { + const jsonObj = { + ...obj, + ...{ + "mountPoints": obj.mountPoints + ? obj.mountPoints.map(item => { + return model.MountPointDetails.getJsonObj(item); + }) + : undefined, + "volumes": obj.volumes + ? obj.volumes.map(item => { + return model.VolumeDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbnodeSnapshot): object { + const jsonObj = { + ...obj, + ...{ + "mountPoints": obj.mountPoints + ? obj.mountPoints.map(item => { + return model.MountPointDetails.getDeserializedJsonObj(item); + }) + : undefined, + "volumes": obj.volumes + ? obj.volumes.map(item => { + return model.VolumeDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/dbnode-snapshots.ts b/lib/database/lib/model/dbnode-snapshots.ts new file mode 100644 index 0000000000..0590c3d6e3 --- /dev/null +++ b/lib/database/lib/model/dbnode-snapshots.ts @@ -0,0 +1,63 @@ +/** + * 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 of the Database Node Snapshot. + * + */ +export interface DbnodeSnapshots { + /** + * The user-friendly name for the Database Node Snapshot. The name should be unique. + */ + "name": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node. + * + */ + "snapshots"?: Array; +} + +export namespace DbnodeSnapshots { + export function getJsonObj(obj: DbnodeSnapshots): object { + const jsonObj = { + ...obj, + ...{ + "snapshots": obj.snapshots + ? obj.snapshots.map(item => { + return model.DbnodeSnapshot.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbnodeSnapshots): object { + const jsonObj = { + ...obj, + ...{ + "snapshots": obj.snapshots + ? obj.snapshots.map(item => { + return model.DbnodeSnapshot.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index 209ddff07e..610707afba 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -24,6 +24,8 @@ import * as ActionParamValuesSummary from "./action-param-values-summary"; export import ActionParamValuesSummary = ActionParamValuesSummary.ActionParamValuesSummary; import * as ActivateExadataInfrastructureDetails from "./activate-exadata-infrastructure-details"; export import ActivateExadataInfrastructureDetails = ActivateExadataInfrastructureDetails.ActivateExadataInfrastructureDetails; +import * as AddDbnodeSnapshotsForExadbVmClusterDetails from "./add-dbnode-snapshots-for-exadb-vm-cluster-details"; +export import AddDbnodeSnapshotsForExadbVmClusterDetails = AddDbnodeSnapshotsForExadbVmClusterDetails.AddDbnodeSnapshotsForExadbVmClusterDetails; import * as AddStandbyAutonomousContainerDatabaseDetails from "./add-standby-autonomous-container-database-details"; export import AddStandbyAutonomousContainerDatabaseDetails = AddStandbyAutonomousContainerDatabaseDetails.AddStandbyAutonomousContainerDatabaseDetails; import * as AddVirtualMachineToCloudVmClusterDetails from "./add-virtual-machine-to-cloud-vm-cluster-details"; @@ -466,6 +468,12 @@ import * as DbSystemUpgradeSummary from "./db-system-upgrade-summary"; export import DbSystemUpgradeSummary = DbSystemUpgradeSummary.DbSystemUpgradeSummary; import * as DbVersionSummary from "./db-version-summary"; export import DbVersionSummary = DbVersionSummary.DbVersionSummary; +import * as DbnodeSnapshot from "./dbnode-snapshot"; +export import DbnodeSnapshot = DbnodeSnapshot.DbnodeSnapshot; +import * as DbnodeSnapshotSummary from "./dbnode-snapshot-summary"; +export import DbnodeSnapshotSummary = DbnodeSnapshotSummary.DbnodeSnapshotSummary; +import * as DbnodeSnapshots from "./dbnode-snapshots"; +export import DbnodeSnapshots = DbnodeSnapshots.DbnodeSnapshots; import * as DefinedFileSystemConfiguration from "./defined-file-system-configuration"; export import DefinedFileSystemConfiguration = DefinedFileSystemConfiguration.DefinedFileSystemConfiguration; import * as DeregisterAutonomousDatabaseDataSafeDetails from "./deregister-autonomous-database-data-safe-details"; @@ -642,6 +650,10 @@ import * as ModifyPluggableDatabaseManagementDetails from "./modify-pluggable-da export import ModifyPluggableDatabaseManagementDetails = ModifyPluggableDatabaseManagementDetails.ModifyPluggableDatabaseManagementDetails; import * as Month from "./month"; export import Month = Month.Month; +import * as MountDbnodeSnapshotDetails from "./mount-dbnode-snapshot-details"; +export import MountDbnodeSnapshotDetails = MountDbnodeSnapshotDetails.MountDbnodeSnapshotDetails; +import * as MountPointDetails from "./mount-point-details"; +export import MountPointDetails = MountPointDetails.MountPointDetails; import * as MountTypeDetails from "./mount-type-details"; export import MountTypeDetails = MountTypeDetails.MountTypeDetails; import * as MoveExecutionActionMemberDetails from "./move-execution-action-member-details"; @@ -796,6 +808,8 @@ import * as SystemVersionMinorVersionSummary from "./system-version-minor-versio export import SystemVersionMinorVersionSummary = SystemVersionMinorVersionSummary.SystemVersionMinorVersionSummary; import * as SystemVersionSummary from "./system-version-summary"; export import SystemVersionSummary = SystemVersionSummary.SystemVersionSummary; +import * as UnmountDbnodeSnapshotDetails from "./unmount-dbnode-snapshot-details"; +export import UnmountDbnodeSnapshotDetails = UnmountDbnodeSnapshotDetails.UnmountDbnodeSnapshotDetails; import * as UnregisterCloudVmClusterPkcsDetails from "./unregister-cloud-vm-cluster-pkcs-details"; export import UnregisterCloudVmClusterPkcsDetails = UnregisterCloudVmClusterPkcsDetails.UnregisterCloudVmClusterPkcsDetails; import * as Update from "./update"; @@ -918,6 +932,8 @@ import * as VmClusterUpdateSummary from "./vm-cluster-update-summary"; export import VmClusterUpdateSummary = VmClusterUpdateSummary.VmClusterUpdateSummary; import * as VmNetworkDetails from "./vm-network-details"; export import VmNetworkDetails = VmNetworkDetails.VmNetworkDetails; +import * as VolumeDetails from "./volume-details"; +export import VolumeDetails = VolumeDetails.VolumeDetails; import * as WindowPreferenceDetail from "./window-preference-detail"; export import WindowPreferenceDetail = WindowPreferenceDetail.WindowPreferenceDetail; import * as WorkloadType from "./workload-type"; diff --git a/lib/vnmonitoring/lib/model/change-drg-compartment-details.ts b/lib/database/lib/model/mount-dbnode-snapshot-details.ts similarity index 50% rename from lib/vnmonitoring/lib/model/change-drg-compartment-details.ts rename to lib/database/lib/model/mount-dbnode-snapshot-details.ts index 7e1eaff6c2..f1510fb50f 100644 --- a/lib/vnmonitoring/lib/model/change-drg-compartment-details.ts +++ b/lib/database/lib/model/mount-dbnode-snapshot-details.ts @@ -1,10 +1,9 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + * 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. @@ -17,24 +16,23 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The configuration details for the move operation. + * Details of the Exadata Database Node Snapshot to be mounted. + * */ -export interface ChangeDrgCompartmentDetails { +export interface MountDbnodeSnapshotDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * DRG to. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node where snapshot needs to be mounted. */ - "compartmentId": string; + "dbNodeId": string; } -export namespace ChangeDrgCompartmentDetails { - export function getJsonObj(obj: ChangeDrgCompartmentDetails): object { +export namespace MountDbnodeSnapshotDetails { + export function getJsonObj(obj: MountDbnodeSnapshotDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeDrgCompartmentDetails): object { + export function getDeserializedJsonObj(obj: MountDbnodeSnapshotDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/change-vcn-compartment-details.ts b/lib/database/lib/model/mount-point-details.ts similarity index 50% rename from lib/vnmonitoring/lib/model/change-vcn-compartment-details.ts rename to lib/database/lib/model/mount-point-details.ts index 25615e014e..c2ee4983d6 100644 --- a/lib/vnmonitoring/lib/model/change-vcn-compartment-details.ts +++ b/lib/database/lib/model/mount-point-details.ts @@ -1,10 +1,9 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + * 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. @@ -17,24 +16,27 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The configuration details for the move operation. + * Details of the Mount Point. + * */ -export interface ChangeVcnCompartmentDetails { +export interface MountPointDetails { + /** + * Mount Point Name + */ + "name": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * VCN to. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node where snapshot was mounted. */ - "compartmentId": string; + "dbNodeId": string; } -export namespace ChangeVcnCompartmentDetails { - export function getJsonObj(obj: ChangeVcnCompartmentDetails): object { +export namespace MountPointDetails { + export function getJsonObj(obj: MountPointDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeVcnCompartmentDetails): object { + export function getDeserializedJsonObj(obj: MountPointDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/change-vlan-compartment-details.ts b/lib/database/lib/model/unmount-dbnode-snapshot-details.ts similarity index 51% rename from lib/vnmonitoring/lib/model/change-vlan-compartment-details.ts rename to lib/database/lib/model/unmount-dbnode-snapshot-details.ts index b50689d561..637294bd5d 100644 --- a/lib/vnmonitoring/lib/model/change-vlan-compartment-details.ts +++ b/lib/database/lib/model/unmount-dbnode-snapshot-details.ts @@ -1,10 +1,9 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + * 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. @@ -17,23 +16,23 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The configuration details for the move operation. + * Details of the Exadata Database Node Snapshot to be unmounted. + * */ -export interface ChangeVlanCompartmentDetails { +export interface UnmountDbnodeSnapshotDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the VLAN to. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Node where snapshot needs to be unmounted. */ - "compartmentId": string; + "dbNodeId": string; } -export namespace ChangeVlanCompartmentDetails { - export function getJsonObj(obj: ChangeVlanCompartmentDetails): object { +export namespace UnmountDbnodeSnapshotDetails { + export function getJsonObj(obj: UnmountDbnodeSnapshotDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeVlanCompartmentDetails): object { + export function getDeserializedJsonObj(obj: UnmountDbnodeSnapshotDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/database/lib/model/volume-details.ts b/lib/database/lib/model/volume-details.ts new file mode 100644 index 0000000000..fefc2262dc --- /dev/null +++ b/lib/database/lib/model/volume-details.ts @@ -0,0 +1,44 @@ +/** + * 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 of the volume. + * + */ +export interface VolumeDetails { + /** + * Volume Name + */ + "name": string; + /** + * Volume Size Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "size"?: number; +} + +export namespace VolumeDetails { + export function getJsonObj(obj: VolumeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VolumeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.ts b/lib/database/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.ts new file mode 100644 index 0000000000..26462226a5 --- /dev/null +++ b/lib/database/lib/request/add-dbnode-snapshots-for-exadb-vm-cluster-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * 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/AddDbnodeSnapshotsForExadbVmCluster.ts.html |here} to see how to use AddDbnodeSnapshotsForExadbVmClusterRequest. + */ +export interface AddDbnodeSnapshotsForExadbVmClusterRequest extends common.BaseRequest { + /** + * Request to add a database node snapshots to the Exadb VM cluster.. + * + */ + "addDbnodeSnapshotsForExadbVmClusterDetails": model.AddDbnodeSnapshotsForExadbVmClusterDetails; + /** + * The Exadata VM cluster [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) on Exascale Infrastructure. + */ + "exadbVmClusterId": 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/marketplacepublisher/lib/request/delete-offer-request.ts b/lib/database/lib/request/delete-dbnode-snapshot-request.ts similarity index 52% rename from lib/marketplacepublisher/lib/request/delete-offer-request.ts rename to lib/database/lib/request/delete-dbnode-snapshot-request.ts index 79c1602660..7627aa46ed 100644 --- a/lib/marketplacepublisher/lib/request/delete-offer-request.ts +++ b/lib/database/lib/request/delete-dbnode-snapshot-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -15,24 +15,23 @@ 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/marketplacepublisher/DeleteOffer.ts.html |here} to see how to use DeleteOfferRequest. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteDbnodeSnapshot.ts.html |here} to see how to use DeleteDbnodeSnapshotRequest. */ -export interface DeleteOfferRequest extends common.BaseRequest { +export interface DeleteDbnodeSnapshotRequest extends common.BaseRequest { /** - * unique Offer identifier + * The Exadata Database Node Snapshot [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ - "offerId": string; + "dbnodeSnapshotId": 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. + * 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. + * Unique identifier for the request. + * */ "opcRequestId"?: string; } diff --git a/lib/marketplacepublisher/lib/request/get-attachment-request.ts b/lib/database/lib/request/get-dbnode-snapshot-request.ts similarity index 60% rename from lib/marketplacepublisher/lib/request/get-attachment-request.ts rename to lib/database/lib/request/get-dbnode-snapshot-request.ts index 382831743e..def8b2236c 100644 --- a/lib/marketplacepublisher/lib/request/get-attachment-request.ts +++ b/lib/database/lib/request/get-dbnode-snapshot-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -15,19 +15,16 @@ 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/marketplacepublisher/GetAttachment.ts.html |here} to see how to use GetAttachmentRequest. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetDbnodeSnapshot.ts.html |here} to see how to use GetDbnodeSnapshotRequest. */ -export interface GetAttachmentRequest extends common.BaseRequest { +export interface GetDbnodeSnapshotRequest extends common.BaseRequest { /** - * unique Offer identifier + * The Exadata Database Node Snapshot [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ - "offerId": string; + "dbnodeSnapshotId": string; /** - * unique Offer identifier - */ - "attachmentId": string; - /** - * The client request ID for tracing. + * Unique identifier for the request. + * */ "opcRequestId"?: string; } diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index 813b240a69..c896b2ec22 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -14,6 +14,8 @@ import * as ActivateExadataInfrastructureRequest from "./activate-exadata-infrastructure-request"; export import ActivateExadataInfrastructureRequest = ActivateExadataInfrastructureRequest.ActivateExadataInfrastructureRequest; +import * as AddDbnodeSnapshotsForExadbVmClusterRequest from "./add-dbnode-snapshots-for-exadb-vm-cluster-request"; +export import AddDbnodeSnapshotsForExadbVmClusterRequest = AddDbnodeSnapshotsForExadbVmClusterRequest.AddDbnodeSnapshotsForExadbVmClusterRequest; import * as AddStandbyAutonomousContainerDatabaseRequest from "./add-standby-autonomous-container-database-request"; export import AddStandbyAutonomousContainerDatabaseRequest = AddStandbyAutonomousContainerDatabaseRequest.AddStandbyAutonomousContainerDatabaseRequest; import * as AddStorageCapacityCloudExadataInfrastructureRequest from "./add-storage-capacity-cloud-exadata-infrastructure-request"; @@ -232,6 +234,8 @@ import * as DeleteDatabaseSoftwareImageRequest from "./delete-database-software- export import DeleteDatabaseSoftwareImageRequest = DeleteDatabaseSoftwareImageRequest.DeleteDatabaseSoftwareImageRequest; import * as DeleteDbHomeRequest from "./delete-db-home-request"; export import DeleteDbHomeRequest = DeleteDbHomeRequest.DeleteDbHomeRequest; +import * as DeleteDbnodeSnapshotRequest from "./delete-dbnode-snapshot-request"; +export import DeleteDbnodeSnapshotRequest = DeleteDbnodeSnapshotRequest.DeleteDbnodeSnapshotRequest; import * as DeleteExadataInfrastructureRequest from "./delete-exadata-infrastructure-request"; export import DeleteExadataInfrastructureRequest = DeleteExadataInfrastructureRequest.DeleteExadataInfrastructureRequest; import * as DeleteExadbVmClusterRequest from "./delete-exadb-vm-cluster-request"; @@ -426,6 +430,8 @@ import * as GetDbSystemPatchHistoryEntryRequest from "./get-db-system-patch-hist export import GetDbSystemPatchHistoryEntryRequest = GetDbSystemPatchHistoryEntryRequest.GetDbSystemPatchHistoryEntryRequest; import * as GetDbSystemUpgradeHistoryEntryRequest from "./get-db-system-upgrade-history-entry-request"; export import GetDbSystemUpgradeHistoryEntryRequest = GetDbSystemUpgradeHistoryEntryRequest.GetDbSystemUpgradeHistoryEntryRequest; +import * as GetDbnodeSnapshotRequest from "./get-dbnode-snapshot-request"; +export import GetDbnodeSnapshotRequest = GetDbnodeSnapshotRequest.GetDbnodeSnapshotRequest; import * as GetExadataInfrastructureRequest from "./get-exadata-infrastructure-request"; export import GetExadataInfrastructureRequest = GetExadataInfrastructureRequest.GetExadataInfrastructureRequest; import * as GetExadataInfrastructureOcpusRequest from "./get-exadata-infrastructure-ocpus-request"; @@ -594,6 +600,8 @@ import * as ListDbSystemsRequest from "./list-db-systems-request"; export import ListDbSystemsRequest = ListDbSystemsRequest.ListDbSystemsRequest; import * as ListDbVersionsRequest from "./list-db-versions-request"; export import ListDbVersionsRequest = ListDbVersionsRequest.ListDbVersionsRequest; +import * as ListDbnodeSnapshotsRequest from "./list-dbnode-snapshots-request"; +export import ListDbnodeSnapshotsRequest = ListDbnodeSnapshotsRequest.ListDbnodeSnapshotsRequest; import * as ListExadataInfrastructuresRequest from "./list-exadata-infrastructures-request"; export import ListExadataInfrastructuresRequest = ListExadataInfrastructuresRequest.ListExadataInfrastructuresRequest; import * as ListExadbVmClusterUpdateHistoryEntriesRequest from "./list-exadb-vm-cluster-update-history-entries-request"; @@ -680,6 +688,8 @@ import * as ModifyDatabaseManagementRequest from "./modify-database-management-r export import ModifyDatabaseManagementRequest = ModifyDatabaseManagementRequest.ModifyDatabaseManagementRequest; import * as ModifyPluggableDatabaseManagementRequest from "./modify-pluggable-database-management-request"; export import ModifyPluggableDatabaseManagementRequest = ModifyPluggableDatabaseManagementRequest.ModifyPluggableDatabaseManagementRequest; +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 RefreshPluggableDatabaseRequest from "./refresh-pluggable-database-request"; @@ -774,6 +784,8 @@ import * as TerminateAutonomousExadataInfrastructureRequest from "./terminate-au export import TerminateAutonomousExadataInfrastructureRequest = TerminateAutonomousExadataInfrastructureRequest.TerminateAutonomousExadataInfrastructureRequest; import * as TerminateDbSystemRequest from "./terminate-db-system-request"; export import TerminateDbSystemRequest = TerminateDbSystemRequest.TerminateDbSystemRequest; +import * as UnmountDbnodeSnapshotRequest from "./unmount-dbnode-snapshot-request"; +export import UnmountDbnodeSnapshotRequest = UnmountDbnodeSnapshotRequest.UnmountDbnodeSnapshotRequest; import * as UnregisterCloudVmClusterPkcsRequest from "./unregister-cloud-vm-cluster-pkcs-request"; export import UnregisterCloudVmClusterPkcsRequest = UnregisterCloudVmClusterPkcsRequest.UnregisterCloudVmClusterPkcsRequest; import * as UpdateAutonomousContainerDatabaseRequest from "./update-autonomous-container-database-request"; diff --git a/lib/database/lib/request/list-dbnode-snapshots-request.ts b/lib/database/lib/request/list-dbnode-snapshots-request.ts new file mode 100644 index 0000000000..6fe25f3372 --- /dev/null +++ b/lib/database/lib/request/list-dbnode-snapshots-request.ts @@ -0,0 +1,75 @@ +/** + * + * + * 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/ListDbnodeSnapshots.ts.html |here} to see how to use ListDbnodeSnapshotsRequest. + */ +export interface ListDbnodeSnapshotsRequest extends common.BaseRequest { + /** + * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId": string; + /** + * The maximum number of items to return per page. + */ + "limit"?: number; + /** + * The pagination token to continue listing from. + */ + "page"?: string; + /** + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive. + * + */ + "sortBy"?: ListDbnodeSnapshotsRequest.SortBy; + /** + * A filter to return only resources that match the entire name given. The match is not case sensitive. + */ + "name"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: ListDbnodeSnapshotsRequest.SortOrder; + /** + * A filter to return only Exadata Database Snapshots that match the given lifecycle state exactly. + */ + "lifecycleState"?: string; + /** + * A filter to return only Exadata Database Node Snapshots that match the given VM cluster. + */ + "clusterId"?: string; + /** + * A filter to return only Exadata Database Snapshots that match the given database node. + */ + "sourceDbnodeId"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; +} + +export namespace ListDbnodeSnapshotsRequest { + export enum SortBy { + Timecreated = "TIMECREATED", + Name = "NAME" + } + + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/database/lib/request/mount-dbnode-snapshot-request.ts b/lib/database/lib/request/mount-dbnode-snapshot-request.ts new file mode 100644 index 0000000000..66a1c3df25 --- /dev/null +++ b/lib/database/lib/request/mount-dbnode-snapshot-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/MountDbnodeSnapshot.ts.html |here} to see how to use MountDbnodeSnapshotRequest. + */ +export interface MountDbnodeSnapshotRequest extends common.BaseRequest { + /** + * Request to mount the snapshot for the provided Exadata Database Node. + */ + "mountDbnodeSnapshotDetails": model.MountDbnodeSnapshotDetails; + /** + * The Exadata Database Node Snapshot [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "dbnodeSnapshotId": 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/request/unmount-dbnode-snapshot-request.ts b/lib/database/lib/request/unmount-dbnode-snapshot-request.ts new file mode 100644 index 0000000000..1814b0e607 --- /dev/null +++ b/lib/database/lib/request/unmount-dbnode-snapshot-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnmountDbnodeSnapshot.ts.html |here} to see how to use UnmountDbnodeSnapshotRequest. + */ +export interface UnmountDbnodeSnapshotRequest extends common.BaseRequest { + /** + * Request to unmount the snapshot for the provided Exadata Database Node. + */ + "unmountDbnodeSnapshotDetails": model.UnmountDbnodeSnapshotDetails; + /** + * The Exadata Database Node Snapshot [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "dbnodeSnapshotId": 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/add-dbnode-snapshots-for-exadb-vm-cluster-response.ts b/lib/database/lib/response/add-dbnode-snapshots-for-exadb-vm-cluster-response.ts new file mode 100644 index 0000000000..83fa51e1f6 --- /dev/null +++ b/lib/database/lib/response/add-dbnode-snapshots-for-exadb-vm-cluster-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 AddDbnodeSnapshotsForExadbVmClusterResponse { + /** + * 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.DbnodeSnapshots instance. + */ + "dbnodeSnapshots": model.DbnodeSnapshots; +} diff --git a/lib/database/lib/response/delete-dbnode-snapshot-response.ts b/lib/database/lib/response/delete-dbnode-snapshot-response.ts new file mode 100644 index 0000000000..2ad554cd04 --- /dev/null +++ b/lib/database/lib/response/delete-dbnode-snapshot-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * 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 DeleteDbnodeSnapshotResponse { + /** + * 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; + /** + * 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/marketplacepublisher/lib/request/get-offer-internal-detail-request.ts b/lib/database/lib/response/get-dbnode-snapshot-response.ts similarity index 55% rename from lib/marketplacepublisher/lib/request/get-offer-internal-detail-request.ts rename to lib/database/lib/response/get-dbnode-snapshot-response.ts index 9c9a33ca25..cfbc0f6b42 100644 --- a/lib/marketplacepublisher/lib/request/get-offer-internal-detail-request.ts +++ b/lib/database/lib/response/get-dbnode-snapshot-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -14,16 +14,19 @@ 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/marketplacepublisher/GetOfferInternalDetail.ts.html |here} to see how to use GetOfferInternalDetailRequest. - */ -export interface GetOfferInternalDetailRequest extends common.BaseRequest { +export interface GetDbnodeSnapshotResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + */ + "etag": string; /** - * unique Offer identifier + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * */ - "offerId": string; + "opcRequestId": string; /** - * The client request ID for tracing. + * The returned model.DbnodeSnapshot instance. */ - "opcRequestId"?: string; + "dbnodeSnapshot": model.DbnodeSnapshot; } diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index 8969dc9f84..a4df9a25e6 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -14,6 +14,8 @@ import * as ActivateExadataInfrastructureResponse from "./activate-exadata-infrastructure-response"; export import ActivateExadataInfrastructureResponse = ActivateExadataInfrastructureResponse.ActivateExadataInfrastructureResponse; +import * as AddDbnodeSnapshotsForExadbVmClusterResponse from "./add-dbnode-snapshots-for-exadb-vm-cluster-response"; +export import AddDbnodeSnapshotsForExadbVmClusterResponse = AddDbnodeSnapshotsForExadbVmClusterResponse.AddDbnodeSnapshotsForExadbVmClusterResponse; import * as AddStandbyAutonomousContainerDatabaseResponse from "./add-standby-autonomous-container-database-response"; export import AddStandbyAutonomousContainerDatabaseResponse = AddStandbyAutonomousContainerDatabaseResponse.AddStandbyAutonomousContainerDatabaseResponse; import * as AddStorageCapacityCloudExadataInfrastructureResponse from "./add-storage-capacity-cloud-exadata-infrastructure-response"; @@ -232,6 +234,8 @@ import * as DeleteDatabaseSoftwareImageResponse from "./delete-database-software export import DeleteDatabaseSoftwareImageResponse = DeleteDatabaseSoftwareImageResponse.DeleteDatabaseSoftwareImageResponse; import * as DeleteDbHomeResponse from "./delete-db-home-response"; export import DeleteDbHomeResponse = DeleteDbHomeResponse.DeleteDbHomeResponse; +import * as DeleteDbnodeSnapshotResponse from "./delete-dbnode-snapshot-response"; +export import DeleteDbnodeSnapshotResponse = DeleteDbnodeSnapshotResponse.DeleteDbnodeSnapshotResponse; import * as DeleteExadataInfrastructureResponse from "./delete-exadata-infrastructure-response"; export import DeleteExadataInfrastructureResponse = DeleteExadataInfrastructureResponse.DeleteExadataInfrastructureResponse; import * as DeleteExadbVmClusterResponse from "./delete-exadb-vm-cluster-response"; @@ -426,6 +430,8 @@ import * as GetDbSystemPatchHistoryEntryResponse from "./get-db-system-patch-his export import GetDbSystemPatchHistoryEntryResponse = GetDbSystemPatchHistoryEntryResponse.GetDbSystemPatchHistoryEntryResponse; import * as GetDbSystemUpgradeHistoryEntryResponse from "./get-db-system-upgrade-history-entry-response"; export import GetDbSystemUpgradeHistoryEntryResponse = GetDbSystemUpgradeHistoryEntryResponse.GetDbSystemUpgradeHistoryEntryResponse; +import * as GetDbnodeSnapshotResponse from "./get-dbnode-snapshot-response"; +export import GetDbnodeSnapshotResponse = GetDbnodeSnapshotResponse.GetDbnodeSnapshotResponse; import * as GetExadataInfrastructureResponse from "./get-exadata-infrastructure-response"; export import GetExadataInfrastructureResponse = GetExadataInfrastructureResponse.GetExadataInfrastructureResponse; import * as GetExadataInfrastructureOcpusResponse from "./get-exadata-infrastructure-ocpus-response"; @@ -594,6 +600,8 @@ import * as ListDbSystemsResponse from "./list-db-systems-response"; export import ListDbSystemsResponse = ListDbSystemsResponse.ListDbSystemsResponse; import * as ListDbVersionsResponse from "./list-db-versions-response"; export import ListDbVersionsResponse = ListDbVersionsResponse.ListDbVersionsResponse; +import * as ListDbnodeSnapshotsResponse from "./list-dbnode-snapshots-response"; +export import ListDbnodeSnapshotsResponse = ListDbnodeSnapshotsResponse.ListDbnodeSnapshotsResponse; import * as ListExadataInfrastructuresResponse from "./list-exadata-infrastructures-response"; export import ListExadataInfrastructuresResponse = ListExadataInfrastructuresResponse.ListExadataInfrastructuresResponse; import * as ListExadbVmClusterUpdateHistoryEntriesResponse from "./list-exadb-vm-cluster-update-history-entries-response"; @@ -680,6 +688,8 @@ import * as ModifyDatabaseManagementResponse from "./modify-database-management- export import ModifyDatabaseManagementResponse = ModifyDatabaseManagementResponse.ModifyDatabaseManagementResponse; import * as ModifyPluggableDatabaseManagementResponse from "./modify-pluggable-database-management-response"; export import ModifyPluggableDatabaseManagementResponse = ModifyPluggableDatabaseManagementResponse.ModifyPluggableDatabaseManagementResponse; +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 RefreshPluggableDatabaseResponse from "./refresh-pluggable-database-response"; @@ -774,6 +784,8 @@ import * as TerminateAutonomousExadataInfrastructureResponse from "./terminate-a export import TerminateAutonomousExadataInfrastructureResponse = TerminateAutonomousExadataInfrastructureResponse.TerminateAutonomousExadataInfrastructureResponse; import * as TerminateDbSystemResponse from "./terminate-db-system-response"; export import TerminateDbSystemResponse = TerminateDbSystemResponse.TerminateDbSystemResponse; +import * as UnmountDbnodeSnapshotResponse from "./unmount-dbnode-snapshot-response"; +export import UnmountDbnodeSnapshotResponse = UnmountDbnodeSnapshotResponse.UnmountDbnodeSnapshotResponse; import * as UnregisterCloudVmClusterPkcsResponse from "./unregister-cloud-vm-cluster-pkcs-response"; export import UnregisterCloudVmClusterPkcsResponse = UnregisterCloudVmClusterPkcsResponse.UnregisterCloudVmClusterPkcsResponse; import * as UpdateAutonomousContainerDatabaseResponse from "./update-autonomous-container-database-response"; diff --git a/lib/database/lib/response/list-dbnode-snapshots-response.ts b/lib/database/lib/response/list-dbnode-snapshots-response.ts new file mode 100644 index 0000000000..b04a0e16d2 --- /dev/null +++ b/lib/database/lib/response/list-dbnode-snapshots-response.ts @@ -0,0 +1,36 @@ +/** + * + * + * 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 ListDbnodeSnapshotsResponse { + /** + * 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 there are additional items still to get. Include this value as the {@code page} parameter for the + * subsequent GET request. For information about pagination, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * A list of DbnodeSnapshotSummary instances. + */ + "items": model.DbnodeSnapshotSummary[]; +} diff --git a/lib/database/lib/response/mount-dbnode-snapshot-response.ts b/lib/database/lib/response/mount-dbnode-snapshot-response.ts new file mode 100644 index 0000000000..42c3107229 --- /dev/null +++ b/lib/database/lib/response/mount-dbnode-snapshot-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 MountDbnodeSnapshotResponse { + /** + * 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; + /** + * 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.DbnodeSnapshot instance. + */ + "dbnodeSnapshot": model.DbnodeSnapshot; +} diff --git a/lib/database/lib/response/unmount-dbnode-snapshot-response.ts b/lib/database/lib/response/unmount-dbnode-snapshot-response.ts new file mode 100644 index 0000000000..71614c5534 --- /dev/null +++ b/lib/database/lib/response/unmount-dbnode-snapshot-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 UnmountDbnodeSnapshotResponse { + /** + * 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; + /** + * 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.DbnodeSnapshot instance. + */ + "dbnodeSnapshot": model.DbnodeSnapshot; +} diff --git a/lib/database/package.json b/lib/database/package.json index 344e53c641..755490fb50 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index b803621557..58a4a4d033 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.120.0", + "version": "2.121.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 8ea270cfff..c606ea26f0 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.120.0", + "version": "2.121.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 eb2a1ee4b4..270b6373bc 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index b61e1c12cf..c676fcb3fe 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.120.0", + "version": "2.121.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 0152813e51..1b20e8724f 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index bdf41c4f6e..d28c22616e 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.120.0", + "version": "2.121.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 83126072a6..4bb9af8bca 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.120.0", + "version": "2.121.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 87a9f940f4..b183d211e7 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.120.0", + "version": "2.121.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 4669a3e7d1..3ebd88f7c3 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 58f6811314..5700a64757 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.120.0", + "version": "2.121.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 5e25e01e86..d56be0814a 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index 45d9470d05..c5ba3cdc93 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 6f1805e08b..f686f4b812 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.120.0", + "version": "2.121.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 c8069720f5..680ff741e3 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.120.0", + "version": "2.121.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 3562ee2730..e5d82099b9 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 24849af264..0378a28a59 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/dif/README.md b/lib/dif/README.md new file mode 100644 index 0000000000..c4ae4747de --- /dev/null +++ b/lib/dif/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Dif Service + +This module enables you to write code to manage resources for Dif Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-dif +``` + +Alternatively you can git clone this repo. diff --git a/lib/dif/index.ts b/lib/dif/index.ts new file mode 100644 index 0000000000..ac7d6ddc73 --- /dev/null +++ b/lib/dif/index.ts @@ -0,0 +1,24 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as stack_waiter from "./lib/stack-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import StackClient = client.StackClient; +export import StackWaiter = stack_waiter.StackWaiter; diff --git a/lib/dif/lib/client.ts b/lib/dif/lib/client.ts new file mode 100644 index 0000000000..80299f4e65 --- /dev/null +++ b/lib/dif/lib/client.ts @@ -0,0 +1,1267 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { StackWaiter } from "./stack-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum StackApiKeys {} +/** + * 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 StackClient { + protected static serviceEndpointTemplate = + "https://dataintelligencefoundation.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": StackWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "Stack"; + 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("dif")) { + 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("dif"); + } + + // 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 + "/20250830"; + if (this.logger) this.logger.info(`StackClient 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( + StackClient.serviceEndpointTemplate, + this._region, + StackClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + StackClient.serviceEndpointTemplate, + this._regionId, + StackClient.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( + StackClient.serviceEndpointTemplate, + region, + StackClient.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( + StackClient.serviceEndpointTemplate, + regionId, + StackClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new StackWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): StackWaiter { + this._waiters = new StackWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): StackWaiter { + 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(); + } + + /** + * Add new service or update existing service. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param AddServiceRequest + * @return AddServiceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/AddService.ts.html |here} to see how to use AddService API. + */ + public async addService( + addServiceRequest: requests.AddServiceRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#addService."); + const operationName = "addService"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": addServiceRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": addServiceRequest.ifMatch, + "opc-request-id": addServiceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addServiceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}/actions/addService", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addServiceRequest.addServiceDetails, + "AddServiceDetails", + model.AddServiceDetails.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; + } + } + + /** + * Cancels a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelWorkRequestRequest + * @return CancelWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. + */ + public async cancelWorkRequest( + cancelWorkRequestRequest: requests.CancelWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#cancelWorkRequest."); + const operationName = "cancelWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelWorkRequestRequest.ifMatch, + "opc-request-id": cancelWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a Stack into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeStackCompartmentRequest + * @return ChangeStackCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/ChangeStackCompartment.ts.html |here} to see how to use ChangeStackCompartment API. + */ + public async changeStackCompartment( + changeStackCompartmentRequest: requests.ChangeStackCompartmentRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#changeStackCompartment."); + const operationName = "changeStackCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": changeStackCompartmentRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeStackCompartmentRequest.ifMatch, + "opc-request-id": changeStackCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeStackCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeStackCompartmentRequest.changeStackCompartmentDetails, + "ChangeStackCompartmentDetails", + model.ChangeStackCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a Stack. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateStackRequest + * @return CreateStackResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/CreateStack.ts.html |here} to see how to use CreateStack API. + */ + public async createStack( + createStackRequest: requests.CreateStackRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#createStack."); + const operationName = "createStack"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createStackRequest.opcRetryToken, + "opc-request-id": createStackRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createStackRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createStackRequest.createStackDetails, + "CreateStackDetails", + model.CreateStackDetails.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: "stack", + bodyModel: model.Stack, + type: "model.Stack", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a Stack. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteStackRequest + * @return DeleteStackResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/DeleteStack.ts.html |here} to see how to use DeleteStack API. + */ + public async deleteStack( + deleteStackRequest: requests.DeleteStackRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#deleteStack."); + const operationName = "deleteStack"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": deleteStackRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteStackRequest.ifMatch, + "opc-request-id": deleteStackRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteStackRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * DeployArtifacts + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeployArtifactsRequest + * @return DeployArtifactsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/DeployArtifacts.ts.html |here} to see how to use DeployArtifacts API. + */ + public async deployArtifacts( + deployArtifactsRequest: requests.DeployArtifactsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#deployArtifacts."); + const operationName = "deployArtifacts"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": deployArtifactsRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deployArtifactsRequest.ifMatch, + "opc-request-id": deployArtifactsRequest.opcRequestId, + "opc-retry-token": deployArtifactsRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deployArtifactsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}/actions/deployArtifacts", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + deployArtifactsRequest.deployArtifactsDetails, + "DeployArtifactsDetails", + model.DeployArtifactsDetails.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; + } + } + + /** + * Gets information about a Stack. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetStackRequest + * @return GetStackResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/GetStack.ts.html |here} to see how to use GetStack API. + */ + public async getStack( + getStackRequest: requests.GetStackRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#getStack."); + const operationName = "getStack"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": getStackRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getStackRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getStackRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}", + 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: "stack", + bodyModel: model.Stack, + type: "model.Stack", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets the details of a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of Stacks. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListStacksRequest + * @return ListStacksResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/ListStacks.ts.html |here} to see how to use ListStacks API. + */ + public async listStacks( + listStacksRequest: requests.ListStacksRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#listStacks."); + const operationName = "listStacks"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listStacksRequest.compartmentId, + "lifecycleState": listStacksRequest.lifecycleState, + "displayName": listStacksRequest.displayName, + "id": listStacksRequest.id, + "limit": listStacksRequest.limit, + "page": listStacksRequest.page, + "sortOrder": listStacksRequest.sortOrder, + "sortBy": listStacksRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listStacksRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listStacksRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks", + 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: "stackCollection", + bodyModel: model.StackCollection, + type: "model.StackCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the errors for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a Stack. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateStackRequest + * @return UpdateStackResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dif/UpdateStack.ts.html |here} to see how to use UpdateStack API. + */ + public async updateStack( + updateStackRequest: requests.UpdateStackRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation StackClient#updateStack."); + const operationName = "updateStack"; + const apiReferenceLink = ""; + const pathParams = { + "{stackId}": updateStackRequest.stackId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateStackRequest.ifMatch, + "opc-request-id": updateStackRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateStackRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/stacks/{stackId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateStackRequest.updateStackDetails, + "UpdateStackDetails", + model.UpdateStackDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/vnmonitoring/lib/model/virtual-circuit-ip-mtu.ts b/lib/dif/lib/model/action-type.ts similarity index 50% rename from lib/vnmonitoring/lib/model/virtual-circuit-ip-mtu.ts rename to lib/dif/lib/model/action-type.ts index 70a7fddc90..d1c7c50a76 100644 --- a/lib/vnmonitoring/lib/model/virtual-circuit-ip-mtu.ts +++ b/lib/dif/lib/model/action-type.ts @@ -1,10 +1,8 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * OpenAPI spec version: 20160918 - * + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -17,11 +15,15 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The layer 3 IP MTU to use with this virtual circuit. + * Possible types of actions. **/ -export enum VirtualCircuitIpMtu { - Mtu1500 = "MTU_1500", - Mtu9000 = "MTU_9000", +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", /** * This value is used if a service returns a value for this enum that is not recognized by this @@ -30,11 +32,11 @@ export enum VirtualCircuitIpMtu { UnknownValue = "UNKNOWN_VALUE" } -export namespace VirtualCircuitIpMtu { - export function getJsonObj(obj: VirtualCircuitIpMtu): VirtualCircuitIpMtu { +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { return obj; } - export function getDeserializedJsonObj(obj: VirtualCircuitIpMtu): VirtualCircuitIpMtu { + export function getDeserializedJsonObj(obj: ActionType): ActionType { return obj; } } diff --git a/lib/dif/lib/model/adb-artifacts-detail.ts b/lib/dif/lib/model/adb-artifacts-detail.ts new file mode 100644 index 0000000000..532c864a79 --- /dev/null +++ b/lib/dif/lib/model/adb-artifacts-detail.ts @@ -0,0 +1,64 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * ADW details to upload artifacts. + */ +export interface AdbArtifactsDetail { + /** + * Instance id of the existing ADB instance. + */ + "instanceId": string; + /** + * Object storage path for the artifacts. + */ + "artifactObjectStoragePath": string; + /** + * DB credential details. + */ + "dbCredentials"?: Array; +} + +export namespace AdbArtifactsDetail { + export function getJsonObj(obj: AdbArtifactsDetail): object { + const jsonObj = { + ...obj, + ...{ + "dbCredentials": obj.dbCredentials + ? obj.dbCredentials.map(item => { + return model.DbCredentialsDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AdbArtifactsDetail): object { + const jsonObj = { + ...obj, + ...{ + "dbCredentials": obj.dbCredentials + ? obj.dbCredentials.map(item => { + return model.DbCredentialsDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/adb-detail.ts b/lib/dif/lib/model/adb-detail.ts new file mode 100644 index 0000000000..7cd7ecbcf2 --- /dev/null +++ b/lib/dif/lib/model/adb-detail.ts @@ -0,0 +1,74 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to create an Oracle Autonomous Database. + */ +export interface AdbDetail { + /** + * Id for the adw instance. + */ + "instanceId": string; + /** + * DB Workload to be used with ADB. Accepted values are OLTP, DW. + */ + "dbWorkload": model.DbWorkload; + /** + * The compute amount (ECPUs) available to the database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ecpu": number; + /** + * The size, in terabytes, of the data volume that will be created and attached to the database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dataStorageSizeInTBs": number; + /** + * The OCI vault secret [/Content/General/Concepts/identifiers.htm]OCID for admin password. + */ + "adminPasswordId": string; + /** + * Specifies if the Autonomous Database requires mTLS connections. + */ + "isMtlsConnectionRequired"?: boolean; + /** + * The OCID of the subnet the Autonomous Database is associated with. + */ + "subnetId"?: string; + /** + * A valid Oracle Database version for Autonomous Database. + */ + "dbVersion": string; + /** + * This is an array of CIDR (classless inter-domain routing) notations for a subnet or VCN OCID (virtual cloud network Oracle Cloud ID). Allowed only when subnetId is provided (private ADB). + */ + "toolsPublicAccess"?: string; + /** + * If true then subnetId should not be provided. + */ + "isPublic"?: boolean; +} + +export namespace AdbDetail { + export function getJsonObj(obj: AdbDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AdbDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/adb-update-detail.ts b/lib/dif/lib/model/adb-update-detail.ts new file mode 100644 index 0000000000..54cbfb8f5d --- /dev/null +++ b/lib/dif/lib/model/adb-update-detail.ts @@ -0,0 +1,50 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to update an Oracle Autonomous Database. + */ +export interface AdbUpdateDetail { + /** + * Id of the existing ADB instance. + */ + "instanceId": string; + /** + * The compute amount (ECPUs) available to the database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ecpu"?: number; + /** + * The size, in terabytes, of the data volume that will be created and attached to the database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dataStorageSizeInTBs"?: number; + /** + * Specifies if the Autonomous Database requires mTLS connections. + */ + "isMtlsConnectionRequired"?: boolean; +} + +export namespace AdbUpdateDetail { + export function getJsonObj(obj: AdbUpdateDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AdbUpdateDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/add-service-details.ts b/lib/dif/lib/model/add-service-details.ts new file mode 100644 index 0000000000..9808c2a465 --- /dev/null +++ b/lib/dif/lib/model/add-service-details.ts @@ -0,0 +1,135 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for adding new services to the existing Stack. + */ +export interface AddServiceDetails { + /** + * List of templates to be added for the stack. + */ + "stackTemplates": Array; + /** + * List of services to be added for the stack. + */ + "services": Array; + /** + * ADB details if adb is included in the services to be added. + */ + "adb"?: Array; + /** + * GGCS details if ggcs is included in the services to be added. + */ + "ggcs"?: Array; + /** + * DATAFLOW details if dataflow is included in the services to be added. + */ + "dataflow"?: Array; + /** + * Object Storage Details if object storage is included in services to be added. + */ + "objectstorage"?: Array; + /** + * GenAI Details if genai is included in services to be added. + */ + "genai"?: Array; +} + +export namespace AddServiceDetails { + export enum StackTemplates { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION" + } + + export enum Services { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW" + } + + export function getJsonObj(obj: AddServiceDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AddServiceDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getDeserializedJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getDeserializedJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getDeserializedJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getDeserializedJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/additional-details.ts b/lib/dif/lib/model/additional-details.ts new file mode 100644 index 0000000000..2553a1e1a0 --- /dev/null +++ b/lib/dif/lib/model/additional-details.ts @@ -0,0 +1,88 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Additional details about the provisioned services + */ +export interface AdditionalDetails { + /** + * connections assigned to Golden Gate deployment + */ + "assignedConnections"?: Array; + /** + * OCID of model + */ + "modelId"?: string; + /** + * version of model + */ + "modelVersion"?: string; + /** + * region of cluster + */ + "ociRegion"?: string; + /** + * details of all endpoints assigned to cluster + */ + "endpointDetails"?: Array; + /** + * OCID of model + */ + "privateEndpointId"?: string; +} + +export namespace AdditionalDetails { + export function getJsonObj(obj: AdditionalDetails): object { + const jsonObj = { + ...obj, + ...{ + "assignedConnections": obj.assignedConnections + ? obj.assignedConnections.map(item => { + return model.AssignedConnectionDetails.getJsonObj(item); + }) + : undefined, + + "endpointDetails": obj.endpointDetails + ? obj.endpointDetails.map(item => { + return model.EndpointAdditional.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AdditionalDetails): object { + const jsonObj = { + ...obj, + ...{ + "assignedConnections": obj.assignedConnections + ? obj.assignedConnections.map(item => { + return model.AssignedConnectionDetails.getDeserializedJsonObj(item); + }) + : undefined, + + "endpointDetails": obj.endpointDetails + ? obj.endpointDetails.map(item => { + return model.EndpointAdditional.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/assigned-connection-details.ts b/lib/dif/lib/model/assigned-connection-details.ts new file mode 100644 index 0000000000..a24ddb535f --- /dev/null +++ b/lib/dif/lib/model/assigned-connection-details.ts @@ -0,0 +1,46 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to about assigned connections. + */ +export interface AssignedConnectionDetails { + /** + * Name of the connection. + */ + "connectionName"?: string; + /** + * OCID of the connection. + */ + "connectionId"?: string; + /** + * Specifies who has made this connection. + */ + "requestedBy"?: string; +} + +export namespace AssignedConnectionDetails { + export function getJsonObj(obj: AssignedConnectionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AssignedConnectionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/auto-tiering.ts b/lib/dif/lib/model/auto-tiering.ts new file mode 100644 index 0000000000..479c334ff5 --- /dev/null +++ b/lib/dif/lib/model/auto-tiering.ts @@ -0,0 +1,38 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * It sets the auto-tiering status on the bucket.Allowed values are \"DISABLED\" / \"INFREQUENTACCESS\" + **/ +export enum AutoTiering { + Disabled = "DISABLED", + Infrequentaccess = "INFREQUENTACCESS", + + /** + * 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 AutoTiering { + export function getJsonObj(obj: AutoTiering): AutoTiering { + return obj; + } + export function getDeserializedJsonObj(obj: AutoTiering): AutoTiering { + return obj; + } +} diff --git a/lib/vnmonitoring/lib/model/add-vcn-cidr-details.ts b/lib/dif/lib/model/change-stack-compartment-details.ts similarity index 50% rename from lib/vnmonitoring/lib/model/add-vcn-cidr-details.ts rename to lib/dif/lib/model/change-stack-compartment-details.ts index 4022900ad3..f81f4f4066 100644 --- a/lib/vnmonitoring/lib/model/add-vcn-cidr-details.ts +++ b/lib/dif/lib/model/change-stack-compartment-details.ts @@ -1,10 +1,8 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * OpenAPI spec version: 20160918 - * + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -17,23 +15,23 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details used to add a CIDR block to a VCN. + * The configuration details for moving stack and associated services in stack to a different compartment. */ -export interface AddVcnCidrDetails { +export interface ChangeStackCompartmentDetails { /** - * The CIDR block to add. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Stack to. * */ - "cidrBlock": string; + "compartmentId": string; } -export namespace AddVcnCidrDetails { - export function getJsonObj(obj: AddVcnCidrDetails): object { +export namespace ChangeStackCompartmentDetails { + export function getJsonObj(obj: ChangeStackCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: AddVcnCidrDetails): object { + export function getDeserializedJsonObj(obj: ChangeStackCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/dif/lib/model/cluster-type.ts b/lib/dif/lib/model/cluster-type.ts new file mode 100644 index 0000000000..99b5b65c1c --- /dev/null +++ b/lib/dif/lib/model/cluster-type.ts @@ -0,0 +1,37 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 dedicated AI cluster type. + **/ +export enum ClusterType { + Hosting = "HOSTING", + + /** + * 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 ClusterType { + export function getJsonObj(obj: ClusterType): ClusterType { + return obj; + } + export function getDeserializedJsonObj(obj: ClusterType): ClusterType { + return obj; + } +} diff --git a/lib/dif/lib/model/create-stack-details.ts b/lib/dif/lib/model/create-stack-details.ts new file mode 100644 index 0000000000..709353514e --- /dev/null +++ b/lib/dif/lib/model/create-stack-details.ts @@ -0,0 +1,164 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to create a Stack. + */ +export interface CreateStackDetails { + /** + * A user-friendly name. Should be unique per compartment. Avoid entering confidential information. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the Stack in. + * + */ + "compartmentId": string; + /** + * email id to which the stack notifications would be sent. + */ + "notificationEmail"?: string; + /** + * List of templates to be onboarded for the stack. + */ + "stackTemplates": Array; + /** + * List of services to be onboarded for the stack. + */ + "services": Array; + /** + * ADB details if adb is included in the services. + */ + "adb"?: Array; + /** + * GGCS details if ggcs is included in the services. + */ + "ggcs"?: Array; + /** + * DATAFLOW details if dataflow is included in the services. + */ + "dataflow"?: Array; + /** + * Object Storage Details if object storage is included in services. + */ + "objectstorage"?: Array; + /** + * GenAi Details if genai is included in services. + */ + "genai"?: 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 CreateStackDetails { + export enum StackTemplates { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION" + } + + export enum Services { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW" + } + + export function getJsonObj(obj: CreateStackDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateStackDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getDeserializedJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getDeserializedJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getDeserializedJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getDeserializedJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/dataflow-artifacts-detail.ts b/lib/dif/lib/model/dataflow-artifacts-detail.ts new file mode 100644 index 0000000000..2be14b0915 --- /dev/null +++ b/lib/dif/lib/model/dataflow-artifacts-detail.ts @@ -0,0 +1,46 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Detail to deploy Artifacts for Dataflow service. + */ +export interface DataflowArtifactsDetail { + /** + * Instance id of the existing Dataflow Instance for artifact deployment. + */ + "instanceId": string; + /** + * Contains the main file (py/jar) along with parameters & configuration to be passed to the DataFlow run. + */ + "execute": string; + /** + * Contains the archive from object storage bucket which can be added as dependency to data flow application. + */ + "archiveUri"?: string; +} + +export namespace DataflowArtifactsDetail { + export function getJsonObj(obj: DataflowArtifactsDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataflowArtifactsDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/dataflow-connection-details.ts b/lib/dif/lib/model/dataflow-connection-details.ts new file mode 100644 index 0000000000..da17bb332b --- /dev/null +++ b/lib/dif/lib/model/dataflow-connection-details.ts @@ -0,0 +1,60 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 services to create private endpoint. + */ +export interface DataflowConnectionDetails { + /** + * List of DIF Service Dependency Details to create private endpoint. + */ + "difDependencies"?: Array; + /** + * An array of DNS zone names. + */ + "domainNames"?: Array; +} + +export namespace DataflowConnectionDetails { + export function getJsonObj(obj: DataflowConnectionDetails): object { + const jsonObj = { + ...obj, + ...{ + "difDependencies": obj.difDependencies + ? obj.difDependencies.map(item => { + return model.DifDependencyDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataflowConnectionDetails): object { + const jsonObj = { + ...obj, + ...{ + "difDependencies": obj.difDependencies + ? obj.difDependencies.map(item => { + return model.DifDependencyDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/dataflow-connections.ts b/lib/dif/lib/model/dataflow-connections.ts new file mode 100644 index 0000000000..ef199a4aa9 --- /dev/null +++ b/lib/dif/lib/model/dataflow-connections.ts @@ -0,0 +1,53 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 connections to other services from Dataflow. + */ +export interface DataflowConnections { + /** + * OCID of the private subnet + */ + "subnetId": string; + "connectionDetails": model.DataflowConnectionDetails; +} + +export namespace DataflowConnections { + export function getJsonObj(obj: DataflowConnections): object { + const jsonObj = { + ...obj, + ...{ + "connectionDetails": obj.connectionDetails + ? model.DataflowConnectionDetails.getJsonObj(obj.connectionDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataflowConnections): object { + const jsonObj = { + ...obj, + ...{ + "connectionDetails": obj.connectionDetails + ? model.DataflowConnectionDetails.getDeserializedJsonObj(obj.connectionDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/dataflow-detail.ts b/lib/dif/lib/model/dataflow-detail.ts new file mode 100644 index 0000000000..abbbf94e71 --- /dev/null +++ b/lib/dif/lib/model/dataflow-detail.ts @@ -0,0 +1,97 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to create an OCI Dataflow resources. + */ +export interface DataflowDetail { + /** + * Id for dataflow instance + */ + "instanceId": string; + /** + * The Spark version utilized to run the application. + */ + "sparkVersion": string; + /** + * The VM shape for the driver. Sets the driver cores and memory. + */ + "driverShape": string; + /** + * The VM shape for the executors. Sets the executor cores and memory. + */ + "executorShape": string; + "driverShapeConfig"?: model.ShapeConfig; + "executorShapeConfig"?: model.ShapeConfig; + /** + * The number of executor VMs requested. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "numExecutors": number; + /** + * OCID of the already provisioned dataflow private endpoint. + */ + "privateEndpointId"?: string; + "connections"?: model.DataflowConnections; + /** + * InstanceId of log bucket created as part of objectstorage service in stack. Used for storing application run logs. + */ + "logBucketInstanceId": string; + /** + * InstanceId of warehouse bucket created as part of objectstorage service in stack. Mandatory for SQL applications. + */ + "warehouseBucketInstanceId"?: string; +} + +export namespace DataflowDetail { + export function getJsonObj(obj: DataflowDetail): object { + const jsonObj = { + ...obj, + ...{ + "driverShapeConfig": obj.driverShapeConfig + ? model.ShapeConfig.getJsonObj(obj.driverShapeConfig) + : undefined, + "executorShapeConfig": obj.executorShapeConfig + ? model.ShapeConfig.getJsonObj(obj.executorShapeConfig) + : undefined, + + "connections": obj.connections + ? model.DataflowConnections.getJsonObj(obj.connections) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataflowDetail): object { + const jsonObj = { + ...obj, + ...{ + "driverShapeConfig": obj.driverShapeConfig + ? model.ShapeConfig.getDeserializedJsonObj(obj.driverShapeConfig) + : undefined, + "executorShapeConfig": obj.executorShapeConfig + ? model.ShapeConfig.getDeserializedJsonObj(obj.executorShapeConfig) + : undefined, + + "connections": obj.connections + ? model.DataflowConnections.getDeserializedJsonObj(obj.connections) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/dataflow-update-detail.ts b/lib/dif/lib/model/dataflow-update-detail.ts new file mode 100644 index 0000000000..8b3ff26476 --- /dev/null +++ b/lib/dif/lib/model/dataflow-update-detail.ts @@ -0,0 +1,97 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 existing dataflow instance to be updated. + */ +export interface DataflowUpdateDetail { + /** + * Instance id of the existing dataflow instance to be updated. + */ + "instanceId": string; + /** + * The Spark version utilized to run the application. + */ + "sparkVersion"?: string; + /** + * The VM shape for the driver. Sets the driver cores and memory. + */ + "driverShape"?: string; + /** + * The VM shape for the executors. Sets the executor cores and memory. + */ + "executorShape"?: string; + "driverShapeConfig"?: model.ShapeConfig; + "executorShapeConfig"?: model.ShapeConfig; + /** + * The number of executor VMs requested. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "numExecutors"?: number; + /** + * OCID of the already provisioned dataflow private endpoint. + */ + "privateEndpointId"?: string; + "connections"?: model.UpdateDataflowConnections; + /** + * InstanceId of log bucket created as part of objectstorage service in stack. Used for storing application run logs. + */ + "logBucketInstanceId"?: string; + /** + * InstanceId of warehouse bucket created as part of objectstorage service in stack. Mandatory for SQL applications. + */ + "warehouseBucketInstanceId"?: string; +} + +export namespace DataflowUpdateDetail { + export function getJsonObj(obj: DataflowUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "driverShapeConfig": obj.driverShapeConfig + ? model.ShapeConfig.getJsonObj(obj.driverShapeConfig) + : undefined, + "executorShapeConfig": obj.executorShapeConfig + ? model.ShapeConfig.getJsonObj(obj.executorShapeConfig) + : undefined, + + "connections": obj.connections + ? model.UpdateDataflowConnections.getJsonObj(obj.connections) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataflowUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "driverShapeConfig": obj.driverShapeConfig + ? model.ShapeConfig.getDeserializedJsonObj(obj.driverShapeConfig) + : undefined, + "executorShapeConfig": obj.executorShapeConfig + ? model.ShapeConfig.getDeserializedJsonObj(obj.executorShapeConfig) + : undefined, + + "connections": obj.connections + ? model.UpdateDataflowConnections.getDeserializedJsonObj(obj.connections) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/db-credentials-detail.ts b/lib/dif/lib/model/db-credentials-detail.ts new file mode 100644 index 0000000000..eda0c8e90e --- /dev/null +++ b/lib/dif/lib/model/db-credentials-detail.ts @@ -0,0 +1,46 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * DB credentials for ADB connection. + */ +export interface DbCredentialsDetail { + /** + * Username for ADB to be created or updated. + */ + "userName": string; + /** + * Vault secret OCID containing the corresponding user password. + */ + "secretId": string; + /** + * Type of the user. Allowed values are \"ADMIN\" or \"CUSTOM\" or \"GGCS\". + */ + "userType": string; +} + +export namespace DbCredentialsDetail { + export function getJsonObj(obj: DbCredentialsDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbCredentialsDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/db-workload.ts b/lib/dif/lib/model/db-workload.ts new file mode 100644 index 0000000000..9dcc958fd0 --- /dev/null +++ b/lib/dif/lib/model/db-workload.ts @@ -0,0 +1,38 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * DB Workload to be used with ADB. Accepted values are OLTP, DW. + **/ +export enum DbWorkload { + Oltp = "OLTP", + Dw = "DW", + + /** + * 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 DbWorkload { + export function getJsonObj(obj: DbWorkload): DbWorkload { + return obj; + } + export function getDeserializedJsonObj(obj: DbWorkload): DbWorkload { + return obj; + } +} diff --git a/lib/dif/lib/model/deploy-artifacts-details.ts b/lib/dif/lib/model/deploy-artifacts-details.ts new file mode 100644 index 0000000000..de079043ad --- /dev/null +++ b/lib/dif/lib/model/deploy-artifacts-details.ts @@ -0,0 +1,111 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a DataIntelligence. + */ +export interface DeployArtifactsDetails { + /** + * List of templates to be onboarded for the stack. + */ + "stackTemplates": Array; + /** + * List of services to be onboarded for the stack. + */ + "services": Array; + /** + * Subnet id for the Private Endpoint creation for artifact deployment. + */ + "subnetId"?: string; + /** + * ADB artifact details if adb is included in the services. + */ + "adb"?: Array; + /** + * GGCS artifact details if ggcs is included in the services. + */ + "ggcs"?: Array; + /** + * Dataflow artifact details if dataflow is included in the services. + */ + "dataflow"?: Array; +} + +export namespace DeployArtifactsDetails { + export enum StackTemplates { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION" + } + + export enum Services { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW" + } + + export function getJsonObj(obj: DeployArtifactsDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbArtifactsDetail.getJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsArtifactsDetail.getJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowArtifactsDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DeployArtifactsDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbArtifactsDetail.getDeserializedJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsArtifactsDetail.getDeserializedJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowArtifactsDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/marketplacepublisher/lib/model/contact.ts b/lib/dif/lib/model/dif-dependency-details.ts similarity index 53% rename from lib/marketplacepublisher/lib/model/contact.ts rename to lib/dif/lib/model/dif-dependency-details.ts index 4c3cd7b46e..dca3cee833 100644 --- a/lib/marketplacepublisher/lib/model/contact.ts +++ b/lib/dif/lib/model/dif-dependency-details.ts @@ -1,7 +1,7 @@ /** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -15,30 +15,26 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The contact information of an individual + * DIF Service Dependency Details. */ -export interface Contact { +export interface DifDependencyDetails { /** - * The first name of the contact + * Supported service name. */ - "firstName"?: string; + "serviceType": string; /** - * The last name of the contact + * InstanceId of service which is part of the Stack. */ - "lastName"?: string; - /** - * The email of the contact - */ - "email"?: string; + "serviceInstanceId": string; } -export namespace Contact { - export function getJsonObj(obj: Contact): object { +export namespace DifDependencyDetails { + export function getJsonObj(obj: DifDependencyDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: Contact): object { + export function getDeserializedJsonObj(obj: DifDependencyDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/marketplacepublisher/lib/model/custom-field.ts b/lib/dif/lib/model/endpoint-additional.ts similarity index 55% rename from lib/marketplacepublisher/lib/model/custom-field.ts rename to lib/dif/lib/model/endpoint-additional.ts index 5d6d078262..f5dad1cea5 100644 --- a/lib/marketplacepublisher/lib/model/custom-field.ts +++ b/lib/dif/lib/model/endpoint-additional.ts @@ -1,7 +1,7 @@ /** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -15,26 +15,26 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A key value pair specified by the seller of the offer + * Details of provisioned endpoint. */ -export interface CustomField { +export interface EndpointAdditional { /** - * the key of the custom field + * Identifier for each endpoint. */ - "key"?: string; + "endpointName"?: string; /** - * the value of the custom field + * OCID of the endpoint. */ - "value"?: string; + "endpointId"?: string; } -export namespace CustomField { - export function getJsonObj(obj: CustomField): object { +export namespace EndpointAdditional { + export function getJsonObj(obj: EndpointAdditional): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: CustomField): object { + export function getDeserializedJsonObj(obj: EndpointAdditional): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/dif/lib/model/endpoint-details.ts b/lib/dif/lib/model/endpoint-details.ts new file mode 100644 index 0000000000..f27421b3a6 --- /dev/null +++ b/lib/dif/lib/model/endpoint-details.ts @@ -0,0 +1,42 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to provision Endpoint for the GenAi dedicated cluster. + */ +export interface EndpointDetails { + /** + * Identifier for each endpoint. + */ + "endpointName": string; + /** + * Helps remove toxic and biased content from responses. + */ + "isContentModerationEnabled": boolean; +} + +export namespace EndpointDetails { + export function getJsonObj(obj: EndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/gen-ai-detail.ts b/lib/dif/lib/model/gen-ai-detail.ts new file mode 100644 index 0000000000..e7b091e8f9 --- /dev/null +++ b/lib/dif/lib/model/gen-ai-detail.ts @@ -0,0 +1,76 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * GenAI details required to provision dedicated clusters. + */ +export interface GenAiDetail { + /** + * Id for the GGCS instance to be provisioned. + */ + "instanceId": string; + /** + * The dedicated AI cluster type. + */ + "clusterType": model.ClusterType; + /** + * Name of the base model. + */ + "baseModel": string; + /** + * Region on which the cluster end endpoint will be provisioned. + */ + "ociRegion": string; + /** + * No of replicas of base model to be used for hosting. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "unitCount": number; + /** + * List of endpoints to provision for the GENAI cluster. + */ + "endpoints"?: Array; +} + +export namespace GenAiDetail { + export function getJsonObj(obj: GenAiDetail): object { + const jsonObj = { + ...obj, + ...{ + "endpoints": obj.endpoints + ? obj.endpoints.map(item => { + return model.EndpointDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenAiDetail): object { + const jsonObj = { + ...obj, + ...{ + "endpoints": obj.endpoints + ? obj.endpoints.map(item => { + return model.EndpointDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/gen-ai-update-detail.ts b/lib/dif/lib/model/gen-ai-update-detail.ts new file mode 100644 index 0000000000..d40b975231 --- /dev/null +++ b/lib/dif/lib/model/gen-ai-update-detail.ts @@ -0,0 +1,64 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required for existing GenAi instance to be updated. + */ +export interface GenAiUpdateDetail { + /** + * Instance id of the exisitng GenAi instance to be updated. + */ + "instanceId": string; + /** + * No of replicas of base model to be used for hosting. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "unitCount"?: number; + /** + * List of endpoints to be provisioned new or updated if existing for the GenAi dedicated cluster. + */ + "endpoints"?: Array; +} + +export namespace GenAiUpdateDetail { + export function getJsonObj(obj: GenAiUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "endpoints": obj.endpoints + ? obj.endpoints.map(item => { + return model.EndpointDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenAiUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "endpoints": obj.endpoints + ? obj.endpoints.map(item => { + return model.EndpointDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-artifacts-detail.ts b/lib/dif/lib/model/ggcs-artifacts-detail.ts new file mode 100644 index 0000000000..ba37ee8018 --- /dev/null +++ b/lib/dif/lib/model/ggcs-artifacts-detail.ts @@ -0,0 +1,92 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required to deploy artifacts in the GGCS deployment. + */ +export interface GgcsArtifactsDetail { + /** + * Instance id of the exisitng GGCS instance. + */ + "instanceId": string; + /** + * Object storage root path containing GGCS artifacts. + */ + "artifactObjectStoragePath"?: string; + /** + * Ggcs user details to be created or updated. + */ + "users"?: Array; + /** + * Source Detail to configure existing or new datasource. + */ + "sources"?: Array; + /** + * Target Detail to configure existing or new datasource. + */ + "targets"?: Array; +} + +export namespace GgcsArtifactsDetail { + export function getJsonObj(obj: GgcsArtifactsDetail): object { + const jsonObj = { + ...obj, + ...{ + "users": obj.users + ? obj.users.map(item => { + return model.GgcsUserDetail.getJsonObj(item); + }) + : undefined, + "sources": obj.sources + ? obj.sources.map(item => { + return model.GgcsSourceDetail.getJsonObj(item); + }) + : undefined, + "targets": obj.targets + ? obj.targets.map(item => { + return model.GgcsTargetDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsArtifactsDetail): object { + const jsonObj = { + ...obj, + ...{ + "users": obj.users + ? obj.users.map(item => { + return model.GgcsUserDetail.getDeserializedJsonObj(item); + }) + : undefined, + "sources": obj.sources + ? obj.sources.map(item => { + return model.GgcsSourceDetail.getDeserializedJsonObj(item); + }) + : undefined, + "targets": obj.targets + ? obj.targets.map(item => { + return model.GgcsTargetDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-connection-details.ts b/lib/dif/lib/model/ggcs-connection-details.ts new file mode 100644 index 0000000000..46eb310321 --- /dev/null +++ b/lib/dif/lib/model/ggcs-connection-details.ts @@ -0,0 +1,68 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GGCS connections to be created. + */ +export interface GgcsConnectionDetails { + /** + * Name of the connection to be created. + */ + "connectionName": string; + /** + * List of Service Dependency Details for connection creation. + */ + "difDependencies"?: Array; + /** + * Vault secret OCID containing password that Oracle GoldenGate uses to connect the associated system of the given technology. + */ + "ggAdminSecretId"?: string; + /** + * OCID of pre-created Oracle GoldenGate connection. + */ + "connectionId"?: string; +} + +export namespace GgcsConnectionDetails { + export function getJsonObj(obj: GgcsConnectionDetails): object { + const jsonObj = { + ...obj, + ...{ + "difDependencies": obj.difDependencies + ? obj.difDependencies.map(item => { + return model.DifDependencyDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsConnectionDetails): object { + const jsonObj = { + ...obj, + ...{ + "difDependencies": obj.difDependencies + ? obj.difDependencies.map(item => { + return model.DifDependencyDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-detail.ts b/lib/dif/lib/model/ggcs-detail.ts new file mode 100644 index 0000000000..3f267c0b6f --- /dev/null +++ b/lib/dif/lib/model/ggcs-detail.ts @@ -0,0 +1,80 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * GGCS details required to provision deployments and connections. + */ +export interface GgcsDetail { + /** + * Id for the GGCS instance to provision. + */ + "instanceId": string; + /** + * The Minimum number of OCPUs to be made available for this Deployment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ocpu": number; + /** + * The OCID of the subnet of the GGCS deployment's private endpoint. + */ + "subnetId": string; + /** + * The OCID of a public subnet in the customer tenancy. Can be provided only for public GGCS deployments. + */ + "publicSubnetId"?: string; + /** + * The OCID of the Secret where the deployment password is stored. + */ + "passwordSecretId": string; + /** + * Version of OGG. + */ + "oggVersion"?: string; + /** + * Connection details to be associated with the Goldengate deployment. + */ + "connections"?: Array; +} + +export namespace GgcsDetail { + export function getJsonObj(obj: GgcsDetail): object { + const jsonObj = { + ...obj, + ...{ + "connections": obj.connections + ? obj.connections.map(item => { + return model.GgcsConnectionDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsDetail): object { + const jsonObj = { + ...obj, + ...{ + "connections": obj.connections + ? obj.connections.map(item => { + return model.GgcsConnectionDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-source-detail.ts b/lib/dif/lib/model/ggcs-source-detail.ts new file mode 100644 index 0000000000..ea8a0b10ea --- /dev/null +++ b/lib/dif/lib/model/ggcs-source-detail.ts @@ -0,0 +1,54 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * GGCS source configuration for creating or updating existing extracts. + */ +export interface GgcsSourceDetail { + /** + * Ggcs source artifact id. + */ + "sourceId": string; + /** + * Action to be done over the user. Allowed values are \"CREATE\" or \"UPDATE\". + */ + "action": model.WorkflowAction; + /** + * Boolean value that determines source operations should start or not. + */ + "shouldStartSourceOperations": boolean; + /** + * Target uri for the GoldenGate deployment where distribution path needs to be configured. + */ + "targetUri"?: string; + /** + * Name of assigned connection for the source. + */ + "targetConnectionName"?: string; +} + +export namespace GgcsSourceDetail { + export function getJsonObj(obj: GgcsSourceDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsSourceDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-target-detail.ts b/lib/dif/lib/model/ggcs-target-detail.ts new file mode 100644 index 0000000000..7ca3fa80f4 --- /dev/null +++ b/lib/dif/lib/model/ggcs-target-detail.ts @@ -0,0 +1,54 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * GGCS target configuration for creating or updating existing replicats. + */ +export interface GgcsTargetDetail { + /** + * GGCS target artifact id. + */ + "targetId": string; + /** + * Action to be done over the user. Allowed values are \"CREATE\" or \"UPDATE\". + */ + "action": model.WorkflowAction; + /** + * Boolean value that determines target operations should start or not. + */ + "shouldStartTargetOperations": boolean; + /** + * Source uri for the GoldenGate deployment from where the collector path needs to be configured. + */ + "sourceUri"?: string; + /** + * Name of assigned connection for the target. + */ + "sourceConnectionName"?: string; +} + +export namespace GgcsTargetDetail { + export function getJsonObj(obj: GgcsTargetDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsTargetDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-update-detail.ts b/lib/dif/lib/model/ggcs-update-detail.ts new file mode 100644 index 0000000000..8c0bc1b28e --- /dev/null +++ b/lib/dif/lib/model/ggcs-update-detail.ts @@ -0,0 +1,68 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required to update the existing GGCS instance. + */ +export interface GgcsUpdateDetail { + /** + * Instance id of the existing GGCS instance to be updated. + */ + "instanceId": string; + /** + * The Minimum number of OCPUs to be made available for this Deployment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ocpu"?: number; + /** + * The OCID of a public subnet in the customer tenancy. Can be provided only for public GGCS deployments. + */ + "publicSubnetId"?: string; + /** + * Connection details to be associated with the Goldengate deployment. + */ + "connections"?: Array; +} + +export namespace GgcsUpdateDetail { + export function getJsonObj(obj: GgcsUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "connections": obj.connections + ? obj.connections.map(item => { + return model.GgcsConnectionDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsUpdateDetail): object { + const jsonObj = { + ...obj, + ...{ + "connections": obj.connections + ? obj.connections.map(item => { + return model.GgcsConnectionDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/ggcs-user-detail.ts b/lib/dif/lib/model/ggcs-user-detail.ts new file mode 100644 index 0000000000..972b29f583 --- /dev/null +++ b/lib/dif/lib/model/ggcs-user-detail.ts @@ -0,0 +1,50 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Ggcs user credentials to be created or updated. + */ +export interface GgcsUserDetail { + /** + * username for the user. + */ + "userName": string; + /** + * Vault OCID containing password for existing or new user. + */ + "secretId": string; + /** + * Type of GoldenGate user. Allowed values are \"OPERATOR\". + */ + "userType": string; + /** + * Action to be done over the user. Allowed values are \"CREATE\" or \"UPDATE\". + */ + "action": model.WorkflowAction; +} + +export namespace GgcsUserDetail { + export function getJsonObj(obj: GgcsUserDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GgcsUserDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/index.ts b/lib/dif/lib/model/index.ts new file mode 100644 index 0000000000..32302735cd --- /dev/null +++ b/lib/dif/lib/model/index.ts @@ -0,0 +1,127 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as AdbArtifactsDetail from "./adb-artifacts-detail"; +export import AdbArtifactsDetail = AdbArtifactsDetail.AdbArtifactsDetail; +import * as AdbDetail from "./adb-detail"; +export import AdbDetail = AdbDetail.AdbDetail; +import * as AdbUpdateDetail from "./adb-update-detail"; +export import AdbUpdateDetail = AdbUpdateDetail.AdbUpdateDetail; +import * as AddServiceDetails from "./add-service-details"; +export import AddServiceDetails = AddServiceDetails.AddServiceDetails; +import * as AdditionalDetails from "./additional-details"; +export import AdditionalDetails = AdditionalDetails.AdditionalDetails; +import * as AssignedConnectionDetails from "./assigned-connection-details"; +export import AssignedConnectionDetails = AssignedConnectionDetails.AssignedConnectionDetails; +import * as AutoTiering from "./auto-tiering"; +export import AutoTiering = AutoTiering.AutoTiering; +import * as ChangeStackCompartmentDetails from "./change-stack-compartment-details"; +export import ChangeStackCompartmentDetails = ChangeStackCompartmentDetails.ChangeStackCompartmentDetails; +import * as ClusterType from "./cluster-type"; +export import ClusterType = ClusterType.ClusterType; +import * as CreateStackDetails from "./create-stack-details"; +export import CreateStackDetails = CreateStackDetails.CreateStackDetails; +import * as DataflowArtifactsDetail from "./dataflow-artifacts-detail"; +export import DataflowArtifactsDetail = DataflowArtifactsDetail.DataflowArtifactsDetail; +import * as DataflowConnectionDetails from "./dataflow-connection-details"; +export import DataflowConnectionDetails = DataflowConnectionDetails.DataflowConnectionDetails; +import * as DataflowConnections from "./dataflow-connections"; +export import DataflowConnections = DataflowConnections.DataflowConnections; +import * as DataflowDetail from "./dataflow-detail"; +export import DataflowDetail = DataflowDetail.DataflowDetail; +import * as DataflowUpdateDetail from "./dataflow-update-detail"; +export import DataflowUpdateDetail = DataflowUpdateDetail.DataflowUpdateDetail; +import * as DbCredentialsDetail from "./db-credentials-detail"; +export import DbCredentialsDetail = DbCredentialsDetail.DbCredentialsDetail; +import * as DbWorkload from "./db-workload"; +export import DbWorkload = DbWorkload.DbWorkload; +import * as DeployArtifactsDetails from "./deploy-artifacts-details"; +export import DeployArtifactsDetails = DeployArtifactsDetails.DeployArtifactsDetails; +import * as DifDependencyDetails from "./dif-dependency-details"; +export import DifDependencyDetails = DifDependencyDetails.DifDependencyDetails; +import * as EndpointAdditional from "./endpoint-additional"; +export import EndpointAdditional = EndpointAdditional.EndpointAdditional; +import * as EndpointDetails from "./endpoint-details"; +export import EndpointDetails = EndpointDetails.EndpointDetails; +import * as GenAiDetail from "./gen-ai-detail"; +export import GenAiDetail = GenAiDetail.GenAiDetail; +import * as GenAiUpdateDetail from "./gen-ai-update-detail"; +export import GenAiUpdateDetail = GenAiUpdateDetail.GenAiUpdateDetail; +import * as GgcsArtifactsDetail from "./ggcs-artifacts-detail"; +export import GgcsArtifactsDetail = GgcsArtifactsDetail.GgcsArtifactsDetail; +import * as GgcsConnectionDetails from "./ggcs-connection-details"; +export import GgcsConnectionDetails = GgcsConnectionDetails.GgcsConnectionDetails; +import * as GgcsDetail from "./ggcs-detail"; +export import GgcsDetail = GgcsDetail.GgcsDetail; +import * as GgcsSourceDetail from "./ggcs-source-detail"; +export import GgcsSourceDetail = GgcsSourceDetail.GgcsSourceDetail; +import * as GgcsTargetDetail from "./ggcs-target-detail"; +export import GgcsTargetDetail = GgcsTargetDetail.GgcsTargetDetail; +import * as GgcsUpdateDetail from "./ggcs-update-detail"; +export import GgcsUpdateDetail = GgcsUpdateDetail.GgcsUpdateDetail; +import * as GgcsUserDetail from "./ggcs-user-detail"; +export import GgcsUserDetail = GgcsUserDetail.GgcsUserDetail; +import * as ObjectStorageDetail from "./object-storage-detail"; +export import ObjectStorageDetail = ObjectStorageDetail.ObjectStorageDetail; +import * as ObjectStorageUpdateDetail from "./object-storage-update-detail"; +export import ObjectStorageUpdateDetail = ObjectStorageUpdateDetail.ObjectStorageUpdateDetail; +import * as ObjectVersioning from "./object-versioning"; +export import ObjectVersioning = ObjectVersioning.ObjectVersioning; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as Service from "./service"; +export import Service = Service.Service; +import * as ServiceDetailResponse from "./service-detail-response"; +export import ServiceDetailResponse = ServiceDetailResponse.ServiceDetailResponse; +import * as ShapeConfig from "./shape-config"; +export import ShapeConfig = ShapeConfig.ShapeConfig; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as Stack from "./stack"; +export import Stack = Stack.Stack; +import * as StackCollection from "./stack-collection"; +export import StackCollection = StackCollection.StackCollection; +import * as StackSummary from "./stack-summary"; +export import StackSummary = StackSummary.StackSummary; +import * as StackTemplate from "./stack-template"; +export import StackTemplate = StackTemplate.StackTemplate; +import * as StorageTier from "./storage-tier"; +export import StorageTier = StorageTier.StorageTier; +import * as UpdateDataflowConnections from "./update-dataflow-connections"; +export import UpdateDataflowConnections = UpdateDataflowConnections.UpdateDataflowConnections; +import * as UpdateStackDetails from "./update-stack-details"; +export import UpdateStackDetails = UpdateStackDetails.UpdateStackDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; +import * as WorkflowAction from "./workflow-action"; +export import WorkflowAction = WorkflowAction.WorkflowAction; diff --git a/lib/dif/lib/model/object-storage-detail.ts b/lib/dif/lib/model/object-storage-detail.ts new file mode 100644 index 0000000000..d0f4f7a66a --- /dev/null +++ b/lib/dif/lib/model/object-storage-detail.ts @@ -0,0 +1,50 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Object Storage Details required to provision buckets. + */ +export interface ObjectStorageDetail { + /** + * Id for Object Storage instance to be provisioned. + */ + "instanceId": string; + /** + * Mentions whether the object versioning to be enabled or not,Allowed values are \"ENABLED\" / \"DISABLED\"/\"SUSPENDED\" + */ + "objectVersioning": model.ObjectVersioning; + /** + * Mentions which storage tier to use for the bucket,Allowed values are \"STANDARD\" / \"ARCHIVE\" + */ + "storageTier": model.StorageTier; + /** + * It sets the auto-tiering status on the bucket.Allowed values are \"DISABLED\" / \"INFREQUENTACCESS\" + */ + "autoTiering"?: model.AutoTiering; +} + +export namespace ObjectStorageDetail { + export function getJsonObj(obj: ObjectStorageDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ObjectStorageDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/object-storage-update-detail.ts b/lib/dif/lib/model/object-storage-update-detail.ts new file mode 100644 index 0000000000..3fbd41d7fe --- /dev/null +++ b/lib/dif/lib/model/object-storage-update-detail.ts @@ -0,0 +1,46 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Object Storage instance to be updated. + */ +export interface ObjectStorageUpdateDetail { + /** + * Instance id of the existing Object Storage instance to be updated. + */ + "instanceId": string; + /** + * Mentions which storage tier to use for the bucket,Allowed values are \"STANDARD\" / \"ARCHIVE\" + */ + "objectVersioning"?: model.ObjectVersioning; + /** + * It sets the auto-tiering status on the bucket.Allowed values are \"DISABLED\" / \"INFREQUENTACCESS\" + */ + "autoTiering"?: model.AutoTiering; +} + +export namespace ObjectStorageUpdateDetail { + export function getJsonObj(obj: ObjectStorageUpdateDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ObjectStorageUpdateDetail): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/macsec-state.ts b/lib/dif/lib/model/object-versioning.ts similarity index 55% rename from lib/vnmonitoring/lib/model/macsec-state.ts rename to lib/dif/lib/model/object-versioning.ts index 014aa8892e..9fec1d022f 100644 --- a/lib/vnmonitoring/lib/model/macsec-state.ts +++ b/lib/dif/lib/model/object-versioning.ts @@ -1,10 +1,8 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * OpenAPI spec version: 20160918 - * + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -17,10 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Indicates whether or not MACsec is enabled. + * Mentions whether the object versioning to be enabled or not,Allowed values are \"ENABLED\" / \"DISABLED\"/\"SUSPENDED\" **/ -export enum MacsecState { +export enum ObjectVersioning { Enabled = "ENABLED", + Suspended = "SUSPENDED", Disabled = "DISABLED", /** @@ -30,11 +29,11 @@ export enum MacsecState { UnknownValue = "UNKNOWN_VALUE" } -export namespace MacsecState { - export function getJsonObj(obj: MacsecState): MacsecState { +export namespace ObjectVersioning { + export function getJsonObj(obj: ObjectVersioning): ObjectVersioning { return obj; } - export function getDeserializedJsonObj(obj: MacsecState): MacsecState { + export function getDeserializedJsonObj(obj: ObjectVersioning): ObjectVersioning { return obj; } } diff --git a/lib/dif/lib/model/operation-status.ts b/lib/dif/lib/model/operation-status.ts new file mode 100644 index 0000000000..ba902bfccb --- /dev/null +++ b/lib/dif/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Cancelling = "CANCELLING", + Cancelled = "CANCELLED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/dif/lib/model/operation-type.ts b/lib/dif/lib/model/operation-type.ts new file mode 100644 index 0000000000..8dea1f1339 --- /dev/null +++ b/lib/dif/lib/model/operation-type.ts @@ -0,0 +1,42 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + CreateStack = "CREATE_STACK", + UpdateStack = "UPDATE_STACK", + DeleteStack = "DELETE_STACK", + MoveStack = "MOVE_STACK", + DeployArtifacts = "DEPLOY_ARTIFACTS", + AddServiceInStack = "ADD_SERVICE_IN_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 namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/dif/lib/model/service-detail-response.ts b/lib/dif/lib/model/service-detail-response.ts new file mode 100644 index 0000000000..69dd89b95f --- /dev/null +++ b/lib/dif/lib/model/service-detail-response.ts @@ -0,0 +1,77 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 cloud service. + */ +export interface ServiceDetailResponse { + /** + * ID for the service instance. + */ + "instanceId"?: string; + /** + * ID for the service + */ + "serviceId"?: string; + /** + * name of the service + */ + "displayName"?: string; + /** + * name of the service + */ + "currentArtifactPath"?: string; + /** + * name of the cloud service + */ + "serviceType"?: string; + /** + * url for the service + */ + "serviceUrl"?: string; + /** + * state of the service + */ + "status"?: string; + "additionalDetails"?: model.AdditionalDetails; +} + +export namespace ServiceDetailResponse { + export function getJsonObj(obj: ServiceDetailResponse): object { + const jsonObj = { + ...obj, + ...{ + "additionalDetails": obj.additionalDetails + ? model.AdditionalDetails.getJsonObj(obj.additionalDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ServiceDetailResponse): object { + const jsonObj = { + ...obj, + ...{ + "additionalDetails": obj.additionalDetails + ? model.AdditionalDetails.getDeserializedJsonObj(obj.additionalDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/service.ts b/lib/dif/lib/model/service.ts new file mode 100644 index 0000000000..fcdcd0605d --- /dev/null +++ b/lib/dif/lib/model/service.ts @@ -0,0 +1,41 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 for the stack + **/ +export enum Service { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW", + + /** + * 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 Service { + export function getJsonObj(obj: Service): Service { + return obj; + } + export function getDeserializedJsonObj(obj: Service): Service { + return obj; + } +} diff --git a/lib/dif/lib/model/shape-config.ts b/lib/dif/lib/model/shape-config.ts new file mode 100644 index 0000000000..0f92c5d377 --- /dev/null +++ b/lib/dif/lib/model/shape-config.ts @@ -0,0 +1,42 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 is used to configure the shape of the driver or executor if a flexible shape is used. + */ +export interface ShapeConfig { + /** + * The amount of memory used for the driver or executors. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryInGBs": number; + /** + * The total number of OCPUs used for the driver or executors. See here for details. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ocpus": number; +} + +export namespace ShapeConfig { + export function getJsonObj(obj: ShapeConfig): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ShapeConfig): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/sort-order.ts b/lib/dif/lib/model/sort-order.ts new file mode 100644 index 0000000000..edfac6215e --- /dev/null +++ b/lib/dif/lib/model/sort-order.ts @@ -0,0 +1,40 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/dif/lib/model/stack-collection.ts b/lib/dif/lib/model/stack-collection.ts new file mode 100644 index 0000000000..4efdf52a20 --- /dev/null +++ b/lib/dif/lib/model/stack-collection.ts @@ -0,0 +1,56 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Stack search. Contains both StackSummary items and other information, such as metadata. + */ +export interface StackCollection { + /** + * List of Stacks. + */ + "items": Array; +} + +export namespace StackCollection { + export function getJsonObj(obj: StackCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.StackSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: StackCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.StackSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/stack-summary.ts b/lib/dif/lib/model/stack-summary.ts new file mode 100644 index 0000000000..f77ab11a31 --- /dev/null +++ b/lib/dif/lib/model/stack-summary.ts @@ -0,0 +1,93 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a Stack. + */ +export interface StackSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the Stack was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

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

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace StackSummary { + export function getJsonObj(obj: StackSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: StackSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/stack-template.ts b/lib/dif/lib/model/stack-template.ts new file mode 100644 index 0000000000..0046683296 --- /dev/null +++ b/lib/dif/lib/model/stack-template.ts @@ -0,0 +1,40 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Template for the stack + **/ +export enum StackTemplate { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION", + + /** + * 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 StackTemplate { + export function getJsonObj(obj: StackTemplate): StackTemplate { + return obj; + } + export function getDeserializedJsonObj(obj: StackTemplate): StackTemplate { + return obj; + } +} diff --git a/lib/dif/lib/model/stack.ts b/lib/dif/lib/model/stack.ts new file mode 100644 index 0000000000..fa6df92547 --- /dev/null +++ b/lib/dif/lib/model/stack.ts @@ -0,0 +1,242 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Stack is a collection of a templates and services. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface Stack { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * email id to which the stack notifications would be sent. + */ + "notificationEmail"?: string; + /** + * List of templates to be onboarded for the stack. + */ + "stackTemplates": Array; + /** + * List of services to be onboarded for the stack. + */ + "services": Array; + /** + * ADB details if adb is included in the services. + */ + "adb"?: Array; + /** + * GGCS details if ggcs is included in the services. + */ + "ggcs"?: Array; + /** + * DATAFLOW details if dataflow is included in the services. + */ + "dataflow"?: Array; + /** + * Object Storage Details if object storage is included in services. + */ + "objectstorage"?: Array; + /** + * GenAI Details if genai is included in services. + */ + "genai"?: Array; + /** + * Details of the service onboarded for the data intelligence stack. + */ + "serviceDetails"?: Array; + /** + * The date and time the Stack was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

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

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace Stack { + export enum StackTemplates { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION", + /** + * 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 Services { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW", + /** + * 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 LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + NeedsAttention = "NEEDS_ATTENTION", + /** + * 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: Stack): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getJsonObj(item); + }) + : undefined, + "serviceDetails": obj.serviceDetails + ? obj.serviceDetails.map(item => { + return model.ServiceDetailResponse.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Stack): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbDetail.getDeserializedJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsDetail.getDeserializedJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowDetail.getDeserializedJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageDetail.getDeserializedJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiDetail.getDeserializedJsonObj(item); + }) + : undefined, + "serviceDetails": obj.serviceDetails + ? obj.serviceDetails.map(item => { + return model.ServiceDetailResponse.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/storage-tier.ts b/lib/dif/lib/model/storage-tier.ts new file mode 100644 index 0000000000..1d5aa16202 --- /dev/null +++ b/lib/dif/lib/model/storage-tier.ts @@ -0,0 +1,38 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Mentions which storage tier to use for the bucket,Allowed values are \"STANDARD\" / \"ARCHIVE\" + **/ +export enum StorageTier { + Standard = "STANDARD", + Archive = "ARCHIVE", + + /** + * 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 StorageTier { + export function getJsonObj(obj: StorageTier): StorageTier { + return obj; + } + export function getDeserializedJsonObj(obj: StorageTier): StorageTier { + return obj; + } +} diff --git a/lib/dif/lib/model/update-dataflow-connections.ts b/lib/dif/lib/model/update-dataflow-connections.ts new file mode 100644 index 0000000000..733d8d6d00 --- /dev/null +++ b/lib/dif/lib/model/update-dataflow-connections.ts @@ -0,0 +1,49 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 connections to other services from Dataflow. + */ +export interface UpdateDataflowConnections { + "connectionDetails": model.DataflowConnectionDetails; +} + +export namespace UpdateDataflowConnections { + export function getJsonObj(obj: UpdateDataflowConnections): object { + const jsonObj = { + ...obj, + ...{ + "connectionDetails": obj.connectionDetails + ? model.DataflowConnectionDetails.getJsonObj(obj.connectionDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateDataflowConnections): object { + const jsonObj = { + ...obj, + ...{ + "connectionDetails": obj.connectionDetails + ? model.DataflowConnectionDetails.getDeserializedJsonObj(obj.connectionDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/update-stack-details.ts b/lib/dif/lib/model/update-stack-details.ts new file mode 100644 index 0000000000..ab771bf529 --- /dev/null +++ b/lib/dif/lib/model/update-stack-details.ts @@ -0,0 +1,155 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to update a Stack. + */ +export interface UpdateStackDetails { + /** + * email id to which the stack notifications would be sent. + */ + "notificationEmail"?: string; + /** + * List of templates to be updated for the stack. + */ + "stackTemplates"?: Array; + /** + * List of services to be updated for the stack. + */ + "services"?: Array; + /** + * ADB details if adb is included in the services to be updated. + */ + "adb"?: Array; + /** + * GGCS details if ggcs is included in the services to be updated. + */ + "ggcs"?: Array; + /** + * DATAFLOW details if dataflow is included in the services to be updated. + */ + "dataflow"?: Array; + /** + * Object Storage Details if object storage is included in services to be updated. + */ + "objectstorage"?: Array; + /** + * GenAI Details if genai is included in services to be updated. + */ + "genai"?: 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 UpdateStackDetails { + export enum StackTemplates { + Datalake = "DATALAKE", + Datapipeline = "DATAPIPELINE", + Aiservices = "AISERVICES", + Datatransformation = "DATATRANSFORMATION" + } + + export enum Services { + Adb = "ADB", + Ggcs = "GGCS", + Objectstorage = "OBJECTSTORAGE", + Genai = "GENAI", + Dataflow = "DATAFLOW" + } + + export function getJsonObj(obj: UpdateStackDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbUpdateDetail.getJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsUpdateDetail.getJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowUpdateDetail.getJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageUpdateDetail.getJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiUpdateDetail.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateStackDetails): object { + const jsonObj = { + ...obj, + ...{ + "adb": obj.adb + ? obj.adb.map(item => { + return model.AdbUpdateDetail.getDeserializedJsonObj(item); + }) + : undefined, + "ggcs": obj.ggcs + ? obj.ggcs.map(item => { + return model.GgcsUpdateDetail.getDeserializedJsonObj(item); + }) + : undefined, + "dataflow": obj.dataflow + ? obj.dataflow.map(item => { + return model.DataflowUpdateDetail.getDeserializedJsonObj(item); + }) + : undefined, + "objectstorage": obj.objectstorage + ? obj.objectstorage.map(item => { + return model.ObjectStorageUpdateDetail.getDeserializedJsonObj(item); + }) + : undefined, + "genai": obj.genai + ? obj.genai.map(item => { + return model.GenAiUpdateDetail.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-error-collection.ts b/lib/dif/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..d82b0b2cb4 --- /dev/null +++ b/lib/dif/lib/model/work-request-error-collection.ts @@ -0,0 +1,56 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-error.ts b/lib/dif/lib/model/work-request-error.ts new file mode 100644 index 0000000000..566d8aa0c3 --- /dev/null +++ b/lib/dif/lib/model/work-request-error.ts @@ -0,0 +1,50 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-log-entry-collection.ts b/lib/dif/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..d51cb583be --- /dev/null +++ b/lib/dif/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,56 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-log-entry.ts b/lib/dif/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..af4ce7c3fb --- /dev/null +++ b/lib/dif/lib/model/work-request-log-entry.ts @@ -0,0 +1,44 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-resource-metadata-key.ts b/lib/dif/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..a4fe78cd6c --- /dev/null +++ b/lib/dif/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,39 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/dif/lib/model/work-request-resource.ts b/lib/dif/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..206068b4b5 --- /dev/null +++ b/lib/dif/lib/model/work-request-resource.ts @@ -0,0 +1,58 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until + * work is complete for that resource, at which point it transitions to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-summary-collection.ts b/lib/dif/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..000df98aea --- /dev/null +++ b/lib/dif/lib/model/work-request-summary-collection.ts @@ -0,0 +1,56 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request-summary.ts b/lib/dif/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..b3cfed000e --- /dev/null +++ b/lib/dif/lib/model/work-request-summary.ts @@ -0,0 +1,103 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/work-request.ts b/lib/dif/lib/model/work-request.ts new file mode 100644 index 0000000000..afcc88e14e --- /dev/null +++ b/lib/dif/lib/model/work-request.ts @@ -0,0 +1,106 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, + * the service creates a work request. A work request is an activity log that lets you track each step in the operation's + * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/dif/lib/model/workflow-action.ts b/lib/dif/lib/model/workflow-action.ts new file mode 100644 index 0000000000..3dab3040b6 --- /dev/null +++ b/lib/dif/lib/model/workflow-action.ts @@ -0,0 +1,32 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Action to be done over the user. Allowed values are \"CREATE\" or \"UPDATE\". + **/ +export enum WorkflowAction { + Create = "CREATE", + Update = "UPDATE" +} + +export namespace WorkflowAction { + export function getJsonObj(obj: WorkflowAction): WorkflowAction { + return obj; + } + export function getDeserializedJsonObj(obj: WorkflowAction): WorkflowAction { + return obj; + } +} diff --git a/lib/dif/lib/request/add-service-request.ts b/lib/dif/lib/request/add-service-request.ts new file mode 100644 index 0000000000..7e8d491312 --- /dev/null +++ b/lib/dif/lib/request/add-service-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/AddService.ts.html |here} to see how to use AddServiceRequest. + */ +export interface AddServiceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * The information to be updated. + */ + "addServiceDetails": model.AddServiceDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/cancel-work-request-request.ts b/lib/dif/lib/request/cancel-work-request-request.ts new file mode 100644 index 0000000000..1e5bf4bea1 --- /dev/null +++ b/lib/dif/lib/request/cancel-work-request-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. + */ +export interface CancelWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/change-stack-compartment-request.ts b/lib/dif/lib/request/change-stack-compartment-request.ts new file mode 100644 index 0000000000..e9afc108b8 --- /dev/null +++ b/lib/dif/lib/request/change-stack-compartment-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/ChangeStackCompartment.ts.html |here} to see how to use ChangeStackCompartmentRequest. + */ +export interface ChangeStackCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * The information to be updated. + */ + "changeStackCompartmentDetails": model.ChangeStackCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/create-stack-request.ts b/lib/dif/lib/request/create-stack-request.ts new file mode 100644 index 0000000000..6b238df4a9 --- /dev/null +++ b/lib/dif/lib/request/create-stack-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/CreateStack.ts.html |here} to see how to use CreateStackRequest. + */ +export interface CreateStackRequest extends common.BaseRequest { + /** + * Details for the new Stack. + */ + "createStackDetails": model.CreateStackDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/delete-stack-request.ts b/lib/dif/lib/request/delete-stack-request.ts new file mode 100644 index 0000000000..856dd3d62f --- /dev/null +++ b/lib/dif/lib/request/delete-stack-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/DeleteStack.ts.html |here} to see how to use DeleteStackRequest. + */ +export interface DeleteStackRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/deploy-artifacts-request.ts b/lib/dif/lib/request/deploy-artifacts-request.ts new file mode 100644 index 0000000000..6dbc70ceeb --- /dev/null +++ b/lib/dif/lib/request/deploy-artifacts-request.ts @@ -0,0 +1,54 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/DeployArtifacts.ts.html |here} to see how to use DeployArtifactsRequest. + */ +export interface DeployArtifactsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * The artifact information to be deployed. + */ + "deployArtifactsDetails": model.DeployArtifactsDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/dif/lib/request/get-stack-request.ts b/lib/dif/lib/request/get-stack-request.ts new file mode 100644 index 0000000000..53e7ad4c7e --- /dev/null +++ b/lib/dif/lib/request/get-stack-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/GetStack.ts.html |here} to see how to use GetStackRequest. + */ +export interface GetStackRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/get-work-request-request.ts b/lib/dif/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..10fb55f94a --- /dev/null +++ b/lib/dif/lib/request/get-work-request-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/request/index.ts b/lib/dif/lib/request/index.ts new file mode 100644 index 0000000000..b3deca61c8 --- /dev/null +++ b/lib/dif/lib/request/index.ts @@ -0,0 +1,39 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as AddServiceRequest from "./add-service-request"; +export import AddServiceRequest = AddServiceRequest.AddServiceRequest; +import * as CancelWorkRequestRequest from "./cancel-work-request-request"; +export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; +import * as ChangeStackCompartmentRequest from "./change-stack-compartment-request"; +export import ChangeStackCompartmentRequest = ChangeStackCompartmentRequest.ChangeStackCompartmentRequest; +import * as CreateStackRequest from "./create-stack-request"; +export import CreateStackRequest = CreateStackRequest.CreateStackRequest; +import * as DeleteStackRequest from "./delete-stack-request"; +export import DeleteStackRequest = DeleteStackRequest.DeleteStackRequest; +import * as DeployArtifactsRequest from "./deploy-artifacts-request"; +export import DeployArtifactsRequest = DeployArtifactsRequest.DeployArtifactsRequest; +import * as GetStackRequest from "./get-stack-request"; +export import GetStackRequest = GetStackRequest.GetStackRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListStacksRequest from "./list-stacks-request"; +export import ListStacksRequest = ListStacksRequest.ListStacksRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as UpdateStackRequest from "./update-stack-request"; +export import UpdateStackRequest = UpdateStackRequest.UpdateStackRequest; diff --git a/lib/dif/lib/request/list-stacks-request.ts b/lib/dif/lib/request/list-stacks-request.ts new file mode 100644 index 0000000000..c9a3eb6f00 --- /dev/null +++ b/lib/dif/lib/request/list-stacks-request.ts @@ -0,0 +1,78 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/ListStacks.ts.html |here} to see how to use ListStacksRequest. + */ +export interface ListStacksRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending. + * + */ + "sortBy"?: ListStacksRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListStacksRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/dif/lib/request/list-work-request-errors-request.ts b/lib/dif/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..892912f974 --- /dev/null +++ b/lib/dif/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/dif/lib/request/list-work-request-logs-request.ts b/lib/dif/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..66a87ec8fb --- /dev/null +++ b/lib/dif/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/dif/lib/request/list-work-requests-request.ts b/lib/dif/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..98bd67ce0c --- /dev/null +++ b/lib/dif/lib/request/list-work-requests-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/dif/lib/request/update-stack-request.ts b/lib/dif/lib/request/update-stack-request.ts new file mode 100644 index 0000000000..270a1f2da0 --- /dev/null +++ b/lib/dif/lib/request/update-stack-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dif/UpdateStack.ts.html |here} to see how to use UpdateStackRequest. + */ +export interface UpdateStackRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Stack. + */ + "stackId": string; + /** + * The information to be updated. + */ + "updateStackDetails": model.UpdateStackDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/dif/lib/response/add-service-response.ts b/lib/dif/lib/response/add-service-response.ts new file mode 100644 index 0000000000..90146008a6 --- /dev/null +++ b/lib/dif/lib/response/add-service-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AddServiceResponse { + /** + * 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/dif/lib/response/cancel-work-request-response.ts b/lib/dif/lib/response/cancel-work-request-response.ts new file mode 100644 index 0000000000..df1ee7ddd0 --- /dev/null +++ b/lib/dif/lib/response/cancel-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CancelWorkRequestResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/dif/lib/response/change-stack-compartment-response.ts b/lib/dif/lib/response/change-stack-compartment-response.ts new file mode 100644 index 0000000000..95436e3389 --- /dev/null +++ b/lib/dif/lib/response/change-stack-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeStackCompartmentResponse { + /** + * 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/dif/lib/response/create-stack-response.ts b/lib/dif/lib/response/create-stack-response.ts new file mode 100644 index 0000000000..f09b2cf168 --- /dev/null +++ b/lib/dif/lib/response/create-stack-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateStackResponse { + /** + * URL for the created Stack. The Stack OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Stack instance. + */ + "stack": model.Stack; +} diff --git a/lib/dif/lib/response/delete-stack-response.ts b/lib/dif/lib/response/delete-stack-response.ts new file mode 100644 index 0000000000..9313bd0845 --- /dev/null +++ b/lib/dif/lib/response/delete-stack-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteStackResponse { + /** + * 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/dif/lib/response/deploy-artifacts-response.ts b/lib/dif/lib/response/deploy-artifacts-response.ts new file mode 100644 index 0000000000..8c882b73bc --- /dev/null +++ b/lib/dif/lib/response/deploy-artifacts-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeployArtifactsResponse { + /** + * 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/marketplacepublisher/lib/response/get-attachment-content-response.ts b/lib/dif/lib/response/get-stack-response.ts similarity index 75% rename from lib/marketplacepublisher/lib/response/get-attachment-content-response.ts rename to lib/dif/lib/response/get-stack-response.ts index 2a59720501..5f624ce027 100644 --- a/lib/marketplacepublisher/lib/response/get-attachment-content-response.ts +++ b/lib/dif/lib/response/get-stack-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20250830 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -13,9 +13,13 @@ import * as model from "../model"; import common = require("oci-common"); -import stream = require("stream"); -export interface GetAttachmentContentResponse { +export interface GetStackResponse { + /** + * 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. @@ -23,7 +27,7 @@ export interface GetAttachmentContentResponse { */ "opcRequestId": string; /** - * The returned stream.Readable | ReadableStream instance. + * The returned model.Stack instance. */ - "value": stream.Readable | ReadableStream; + "stack": model.Stack; } diff --git a/lib/dif/lib/response/get-work-request-response.ts b/lib/dif/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..1e5361c55f --- /dev/null +++ b/lib/dif/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/dif/lib/response/index.ts b/lib/dif/lib/response/index.ts new file mode 100644 index 0000000000..379b04d4dc --- /dev/null +++ b/lib/dif/lib/response/index.ts @@ -0,0 +1,39 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as AddServiceResponse from "./add-service-response"; +export import AddServiceResponse = AddServiceResponse.AddServiceResponse; +import * as CancelWorkRequestResponse from "./cancel-work-request-response"; +export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; +import * as ChangeStackCompartmentResponse from "./change-stack-compartment-response"; +export import ChangeStackCompartmentResponse = ChangeStackCompartmentResponse.ChangeStackCompartmentResponse; +import * as CreateStackResponse from "./create-stack-response"; +export import CreateStackResponse = CreateStackResponse.CreateStackResponse; +import * as DeleteStackResponse from "./delete-stack-response"; +export import DeleteStackResponse = DeleteStackResponse.DeleteStackResponse; +import * as DeployArtifactsResponse from "./deploy-artifacts-response"; +export import DeployArtifactsResponse = DeployArtifactsResponse.DeployArtifactsResponse; +import * as GetStackResponse from "./get-stack-response"; +export import GetStackResponse = GetStackResponse.GetStackResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListStacksResponse from "./list-stacks-response"; +export import ListStacksResponse = ListStacksResponse.ListStacksResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as UpdateStackResponse from "./update-stack-response"; +export import UpdateStackResponse = UpdateStackResponse.UpdateStackResponse; diff --git a/lib/dif/lib/response/list-stacks-response.ts b/lib/dif/lib/response/list-stacks-response.ts new file mode 100644 index 0000000000..1f48967835 --- /dev/null +++ b/lib/dif/lib/response/list-stacks-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListStacksResponse { + /** + * 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.StackCollection instance. + */ + "stackCollection": model.StackCollection; +} diff --git a/lib/dif/lib/response/list-work-request-errors-response.ts b/lib/dif/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..ef756b795e --- /dev/null +++ b/lib/dif/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/dif/lib/response/list-work-request-logs-response.ts b/lib/dif/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..7c1fc0b655 --- /dev/null +++ b/lib/dif/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/dif/lib/response/list-work-requests-response.ts b/lib/dif/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..206262b8f3 --- /dev/null +++ b/lib/dif/lib/response/list-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/dif/lib/response/update-stack-response.ts b/lib/dif/lib/response/update-stack-response.ts new file mode 100644 index 0000000000..b086271894 --- /dev/null +++ b/lib/dif/lib/response/update-stack-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateStackResponse { + /** + * 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/dif/lib/stack-waiter.ts b/lib/dif/lib/stack-waiter.ts new file mode 100644 index 0000000000..9fd9879c78 --- /dev/null +++ b/lib/dif/lib/stack-waiter.ts @@ -0,0 +1,57 @@ +/** + * DataIntelligences Control Plane API + * Use the DataIntelligences Control Plane API to manage dataIntelligences. + * OpenAPI spec version: 20250830 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { StackClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class StackWaiter { + public constructor(private client: StackClient, private readonly config?: WaiterConfiguration) {} + + /** + * Waits forStack 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 GetStackResponse | null (null in case of 404 response) + */ + public async forStack( + request: serviceRequests.GetStackRequest, + ...targetStates: models.Stack.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getStack(request), + response => targetStates.includes(response.stack.lifecycleState!), + targetStates.includes(models.Stack.LifecycleState.Deleted) + ); + } + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/dif/package.json b/lib/dif/package.json new file mode 100644 index 0000000000..a334221c1b --- /dev/null +++ b/lib/dif/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-dif", + "version": "2.121.0", + "description": "OCI NodeJS client for Dif Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/dif/index.js", + "typings": "../../target/lib/dif/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/dif/tsconfig.json b/lib/dif/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/dif/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 3ac1008257..8dbea943e7 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/lib/client.ts b/lib/distributeddatabase/lib/client.ts index 8f2e521e60..eb92579315 100644 --- a/lib/distributeddatabase/lib/client.ts +++ b/lib/distributeddatabase/lib/client.ts @@ -408,6 +408,90 @@ export class DistributedAutonomousDbServiceClient { } } + /** + * Change the DbBackupConfig for the Globally distributed autonomous database. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeDistributedAutonomousDbBackupConfigRequest + * @return ChangeDistributedAutonomousDbBackupConfigResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/distributeddatabase/ChangeDistributedAutonomousDbBackupConfig.ts.html |here} to see how to use ChangeDistributedAutonomousDbBackupConfig API. + */ + public async changeDistributedAutonomousDbBackupConfig( + changeDistributedAutonomousDbBackupConfigRequest: requests.ChangeDistributedAutonomousDbBackupConfigRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DistributedAutonomousDbServiceClient#changeDistributedAutonomousDbBackupConfig." + ); + const operationName = "changeDistributedAutonomousDbBackupConfig"; + const apiReferenceLink = ""; + const pathParams = { + "{distributedAutonomousDatabaseId}": + changeDistributedAutonomousDbBackupConfigRequest.distributedAutonomousDatabaseId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": changeDistributedAutonomousDbBackupConfigRequest.opcRequestId, + "if-match": changeDistributedAutonomousDbBackupConfigRequest.ifMatch, + "opc-retry-token": changeDistributedAutonomousDbBackupConfigRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeDistributedAutonomousDbBackupConfigRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/distributedAutonomousDatabases/{distributedAutonomousDatabaseId}/actions/changeDbBackupConfig", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeDistributedAutonomousDbBackupConfigRequest.changeDistributedAutonomousDbBackupConfigDetails, + "ChangeDistributedAutonomousDbBackupConfigDetails", + model.ChangeDistributedAutonomousDbBackupConfigDetails.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; + } + } + /** * Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed autonomous database. * @@ -1286,7 +1370,7 @@ export class DistributedAutonomousDbServiceClient { } /** - * Rotate passwords for different components of the Globally distributed autonomous database. + * Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed autonomous database. This operation will also remove GdsCtlNodes if present. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RotateDistributedAutonomousDatabasePasswordsRequest * @return RotateDistributedAutonomousDatabasePasswordsResponse @@ -3887,7 +3971,7 @@ export class DistributedDbServiceClient { } /** - * Rotate passwords for different components of the Globally distributed database. + * Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed database. This operation will also remove GdsCtlNodes if present. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RotateDistributedDatabasePasswordsRequest * @return RotateDistributedDatabasePasswordsResponse diff --git a/lib/distributeddatabase/lib/model/catalog-peer-with-dedicated-infra.ts b/lib/distributeddatabase/lib/model/catalog-peer-with-dedicated-infra.ts index 303b598b24..0a39fd4422 100644 --- a/lib/distributeddatabase/lib/model/catalog-peer-with-dedicated-infra.ts +++ b/lib/distributeddatabase/lib/model/catalog-peer-with-dedicated-infra.ts @@ -46,6 +46,25 @@ export interface CatalogPeerWithDedicatedInfra { * The time the catalog peer was last updated. An RFC3339 formatted datetime string */ "timeUpdated": Date; + /** + * The protectionMode for the shard peer. + */ + "protectionMode"?: model.DistributedAutonomousDbProtectionMode; + /** + * The lag time for my preference based on data loss tolerance in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "fastStartFailOverLagLimitInSeconds"?: number; + /** + * Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association + * + */ + "isAutomaticFailoverEnabled"?: boolean; + /** + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before schedlued maintenance of the primary database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "standbyMaintenanceBufferInDays"?: number; "metadata"?: model.DistributedAutonomousDbMetadata; } diff --git a/lib/distributeddatabase/lib/model/catalog-peer-with-exadb-xs.ts b/lib/distributeddatabase/lib/model/catalog-peer-with-exadb-xs.ts index 99844ab4bd..f132df83a6 100644 --- a/lib/distributeddatabase/lib/model/catalog-peer-with-exadb-xs.ts +++ b/lib/distributeddatabase/lib/model/catalog-peer-with-exadb-xs.ts @@ -27,7 +27,7 @@ export interface CatalogPeerWithExadbXs { */ "shardGroup": string; /** - * Status of catalog with VmCluster for the Globally ditributed database. + * Status of EXADB_XS based catalog peer. */ "status": CatalogPeerWithExadbXs.Status; /** @@ -46,6 +46,14 @@ export interface CatalogPeerWithExadbXs { * The time the catalog peer was last updated. An RFC3339 formatted datetime string */ "timeUpdated": Date; + /** + * The protectionMode for the catalog peer. + */ + "protectionMode"?: model.DistributedDbProtectionMode; + /** + * The redo transport type to use for this Data Guard association. + */ + "transportType"?: model.DistributedDbTransportType; "metadata"?: model.DistributedDbMetadata; } diff --git a/lib/distributeddatabase/lib/model/change-distributed-autonomous-db-backup-config-details.ts b/lib/distributeddatabase/lib/model/change-distributed-autonomous-db-backup-config-details.ts new file mode 100644 index 0000000000..099295e24d --- /dev/null +++ b/lib/distributeddatabase/lib/model/change-distributed-autonomous-db-backup-config-details.ts @@ -0,0 +1,51 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DbBackupConfig to be updated for the Globally distributed autonomous database. + */ +export interface ChangeDistributedAutonomousDbBackupConfigDetails { + "dbBackupConfig": model.DistributedAutonomousDbBackupConfig; +} + +export namespace ChangeDistributedAutonomousDbBackupConfigDetails { + export function getJsonObj(obj: ChangeDistributedAutonomousDbBackupConfigDetails): object { + const jsonObj = { + ...obj, + ...{ + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getJsonObj(obj.dbBackupConfig) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeDistributedAutonomousDbBackupConfigDetails + ): object { + const jsonObj = { + ...obj, + ...{ + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/create-catalog-peer-with-dedicated-infra-details.ts b/lib/distributeddatabase/lib/model/create-catalog-peer-with-dedicated-infra-details.ts new file mode 100644 index 0000000000..621dd314bb --- /dev/null +++ b/lib/distributeddatabase/lib/model/create-catalog-peer-with-dedicated-infra-details.ts @@ -0,0 +1,57 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required for creation of autonomous dedicated infrastructure based catalog peer. + */ +export interface CreateCatalogPeerWithDedicatedInfraDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster for the peer catalog. + */ + "cloudAutonomousVmClusterId": string; + /** + * The protectionMode for the catalog peer. + */ + "protectionMode"?: model.DistributedAutonomousDbProtectionMode; + /** + * The lag time preference based on data loss tolerance in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "fastStartFailOverLagLimitInSeconds"?: number; + /** + * Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association + * + */ + "isAutomaticFailoverEnabled"?: boolean; + /** + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before schedlued maintenance of the primary database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "standbyMaintenanceBufferInDays"?: number; +} + +export namespace CreateCatalogPeerWithDedicatedInfraDetails { + export function getJsonObj(obj: CreateCatalogPeerWithDedicatedInfraDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateCatalogPeerWithDedicatedInfraDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/create-catalog-peer-with-exadb-xs-details.ts b/lib/distributeddatabase/lib/model/create-catalog-peer-with-exadb-xs-details.ts new file mode 100644 index 0000000000..01caa4d4f7 --- /dev/null +++ b/lib/distributeddatabase/lib/model/create-catalog-peer-with-exadb-xs-details.ts @@ -0,0 +1,46 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required for creation of ExadbXs infrastructure based catalog peer. + */ +export interface CreateCatalogPeerWithExadbXsDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster for the catalog peer. + */ + "vmClusterId": string; + /** + * The protectionMode for the catalog peer. + */ + "protectionMode"?: model.DistributedDbProtectionMode; + /** + * The redo transport type to use for this Data Guard association. + */ + "transportType"?: model.DistributedDbTransportType; +} + +export namespace CreateCatalogPeerWithExadbXsDetails { + export function getJsonObj(obj: CreateCatalogPeerWithExadbXsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateCatalogPeerWithExadbXsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.ts b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.ts index 62174a8c2e..516753261c 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-catalog-with-dedicated-infra-details.ts @@ -40,9 +40,15 @@ export interface CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDet */ "cloudAutonomousVmClusterId": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous VM Clusters. + * This field is deprecated. This should not be used while creation of new distributed autonomous database. To set the peers + * on catalog of distributed autonomous database please use peerDetails. + * */ "peerCloudAutonomousVmClusterIds"?: Array; + /** + * The details required for creation of the peer for the autonomous dedicated infrastructure based catalog. + */ + "peerDetails"?: Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and {@code kmsKeyId} are required for Customer Managed Keys. */ @@ -71,7 +77,13 @@ export namespace CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDet : (model.CreateDistributedAutonomousDatabaseCatalogDetails.getJsonObj( obj ) as CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateCatalogPeerWithDedicatedInfraDetails.getJsonObj(item); + }) + : undefined + } }; return jsonObj; @@ -87,7 +99,13 @@ export namespace CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDet : (model.CreateDistributedAutonomousDatabaseCatalogDetails.getDeserializedJsonObj( obj ) as CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateCatalogPeerWithDedicatedInfraDetails.getDeserializedJsonObj(item); + }) + : undefined + } }; return jsonObj; diff --git a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-details.ts b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-details.ts index d02076a6a0..ede3f88e23 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-details.ts @@ -45,7 +45,7 @@ export interface CreateDistributedAutonomousDatabaseDetails { */ "shardingMethod": CreateDistributedAutonomousDatabaseDetails.ShardingMethod; /** - * Possible workload types. + * Possible workload types. Currently only OLTP workload type is supported. */ "dbWorkload": CreateDistributedAutonomousDatabaseDetails.DbWorkload; /** @@ -57,30 +57,47 @@ export interface CreateDistributedAutonomousDatabaseDetails { */ "ncharacterSet": string; /** - * The default number of unique chunks in a shardspace. The value of chunks must be - * greater than 2 times the size of the largest shardgroup in any shardspace. + * Number of chunks in a shardspace. The value of chunks must be + * greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is + * required to be provided for distributed autonomous databases being created with + * SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "chunks"?: number; /** - * The listener port number for the Globally distributed autonomous database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The listener port number for the Globally distributed autonomous database. The listener port number + * has to be unique for a customer tenancy across all distributed autonomous databases. Same port number + * should not be re-used for any other distributed autonomous database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "listenerPort": number; /** - * The TLS listener port number for Globally distributed autonomous database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The TLS listener port number for Globally distributed autonomous database. The TLS listener port number + * has to be unique for a customer tenancy across all distributed autonomous databases. Same port number + * should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory + * for dedicated infrastructure based distributed autonomous databases. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "listenerPortTls"?: number; /** - * Ons local port number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for + * a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for + * any other distributed autonomous database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "onsPortLocal": number; /** - * Ons remote port number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for + * a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for + * any other distributed autonomous database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "onsPortRemote": number; /** - * The Replication method for Globally distributed autonomous database. Use RAFT for Raft replication, and DG for - * DataGuard. If replicationMethod is not provided, it defaults to DG. + * The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. + * With RAFT replication, shards cannot have peers details set on them. In case shards need to + * have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or + * without peers), please set replicationMethod as DG or do not set any value for replicationMethod. * */ "replicationMethod"?: CreateDistributedAutonomousDatabaseDetails.ReplicationMethod; @@ -90,7 +107,9 @@ export interface CreateDistributedAutonomousDatabaseDetails { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based + * Globally distributed autonomous database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; /** @@ -106,6 +125,7 @@ export interface CreateDistributedAutonomousDatabaseDetails { * Collection of catalog for the Globally distributed autonomous database. */ "catalogDetails": Array; + "dbBackupConfig"?: model.DistributedAutonomousDbBackupConfig; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -153,6 +173,9 @@ export namespace CreateDistributedAutonomousDatabaseDetails { ? obj.catalogDetails.map(item => { return model.CreateDistributedAutonomousDatabaseCatalogDetails.getJsonObj(item); }) + : undefined, + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getJsonObj(obj.dbBackupConfig) : undefined } }; @@ -176,6 +199,9 @@ export namespace CreateDistributedAutonomousDatabaseDetails { item ); }) + : undefined, + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig) : undefined } }; diff --git a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.ts b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.ts index d5cdfa49bd..a79b16a936 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-autonomous-database-shard-with-dedicated-infra-details.ts @@ -47,9 +47,15 @@ export interface CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetai */ "cloudAutonomousVmClusterId": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousExadataVMClusters. + * This field is deprecated. This should not be used while creation of new distributed autonomous database. To set the peers + * on new shards of distributed autonomous database please use peerDetails. + * */ "peerCloudAutonomousVmClusterIds"?: Array; + /** + * The details required for creation of the peer for the autonomous dedicated infrastructure based shard. + */ + "peerDetails"?: Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). This parameter and {@code kmsKeyId} are required for Customer Managed Keys. */ @@ -78,7 +84,13 @@ export namespace CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetai : (model.CreateDistributedAutonomousDatabaseShardDetails.getJsonObj( obj ) as CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateShardPeerWithDedicatedInfraDetails.getJsonObj(item); + }) + : undefined + } }; return jsonObj; @@ -94,7 +106,13 @@ export namespace CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetai : (model.CreateDistributedAutonomousDatabaseShardDetails.getDeserializedJsonObj( obj ) as CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateShardPeerWithDedicatedInfraDetails.getDeserializedJsonObj(item); + }) + : undefined + } }; return jsonObj; diff --git a/lib/distributeddatabase/lib/model/create-distributed-database-catalog-with-exadb-xs-details.ts b/lib/distributeddatabase/lib/model/create-distributed-database-catalog-with-exadb-xs-details.ts index 9a9428efb8..45698629a6 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-database-catalog-with-exadb-xs-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-database-catalog-with-exadb-xs-details.ts @@ -28,9 +28,15 @@ export interface CreateDistributedDatabaseCatalogWithExadbXsDetails */ "adminPassword": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer VmClusterIds. + * This field is deprecated. This should not be used while creation of new distributed database. To set the peers + * on catalog of distributed database please use peerDetails. + * */ "peerVmClusterIds"?: Array; + /** + * The details required for creation of the peer for the ExadbXs infrastructure based catalog. + */ + "peerDetails"?: Array; /** * The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created. * Shard space name shall be used while creation of new shards. @@ -65,7 +71,13 @@ export namespace CreateDistributedDatabaseCatalogWithExadbXsDetails { : (model.CreateDistributedDatabaseCatalogDetails.getJsonObj( obj ) as CreateDistributedDatabaseCatalogWithExadbXsDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateCatalogPeerWithExadbXsDetails.getJsonObj(item); + }) + : undefined + } }; return jsonObj; @@ -81,7 +93,13 @@ export namespace CreateDistributedDatabaseCatalogWithExadbXsDetails { : (model.CreateDistributedDatabaseCatalogDetails.getDeserializedJsonObj( obj ) as CreateDistributedDatabaseCatalogWithExadbXsDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateCatalogPeerWithExadbXsDetails.getDeserializedJsonObj(item); + }) + : undefined + } }; return jsonObj; diff --git a/lib/distributeddatabase/lib/model/create-distributed-database-details.ts b/lib/distributeddatabase/lib/model/create-distributed-database-details.ts index f2dc761713..2c8b867012 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-database-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-database-details.ts @@ -53,30 +53,47 @@ export interface CreateDistributedDatabaseDetails { */ "ncharacterSet": string; /** - * The default number of unique chunks in a shardspace. The value of chunks must be - * greater than 2 times the size of the largest shardgroup in any shardspace. + * Number of chunks in a shardspace. The value of chunks must be + * greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is + * required to be provided for distributed databases being created with + * SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "chunks"?: number; /** - * The listener port number for the Globally distributed database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The listener port number for the Globally distributed database. The listener port number + * has to be unique for a customer tenancy across all distributed databases. Same port number should + * not be re-used for any other distributed database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "listenerPort": number; /** - * The TLS listener port number for Globally distributed database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The TLS listener port number for the Globally distributed database. The TLS listener port number + * has to be unique for a customer tenancy across all distributed databases. Same port number should + * not be re-used for any other distributed database. For BASE_DB and EXADB_XS based distributed databases, + * tls is not supported hence the listenerPortTls is not needed to be provided in create payload. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "listenerPortTls"?: number; /** - * Ons local port number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The ons local port number for the Globally distributed database. The onsPortLocal has to be + * unique for a customer tenancy across all distributed databases. Same port number should not be + * re-used for any other distributed database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "onsPortLocal": number; /** - * Ons remote port number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The ons remote port number for the Globally distributed database. The onsPortRemote has to be + * unique for a customer tenancy across all distributed databases. Same port number should not be + * re-used for any other distributed database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "onsPortRemote": number; /** - * The Replication method for Globally distributed database. Use RAFT for Raft replication, and DG for - * DataGuard. If replicationMethod is not provided, it defaults to DG. + * The Replication method for Globally distributed database. Use RAFT for Raft based replication. + * With RAFT replication, shards cannot have peers details set on them. In case shards need to + * have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or + * without peers), please set replicationMethod as DG or do not set any value for replicationMethod. * */ "replicationMethod"?: CreateDistributedDatabaseDetails.ReplicationMethod; @@ -86,7 +103,9 @@ export interface CreateDistributedDatabaseDetails { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed database. For RAFT replication based + * Globally distributed database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; /** diff --git a/lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts b/lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts index 9cd0770619..fd91fb55f8 100644 --- a/lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts +++ b/lib/distributeddatabase/lib/model/create-distributed-database-shard-with-exadb-xs-details.ts @@ -28,9 +28,15 @@ export interface CreateDistributedDatabaseShardWithExadbXsDetails */ "adminPassword": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer VmClusterIds. + * This field is deprecated. This should not be used while creation of new distributed database. To set the peers + * on new shards of distributed database please use peerDetails. + * */ "peerVmClusterIds"?: Array; + /** + * The details required for creation of the peer for the ExadbXs infrastructure based shard. + */ + "peerDetails"?: Array; /** * The shard space name for the Globally distributed database. Shard space for existing shard cannot be changed, once shard is created. * Shard space name shall be used while creation of new shards. @@ -65,7 +71,13 @@ export namespace CreateDistributedDatabaseShardWithExadbXsDetails { : (model.CreateDistributedDatabaseShardDetails.getJsonObj( obj ) as CreateDistributedDatabaseShardWithExadbXsDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateShardPeerWithExadbXsDetails.getJsonObj(item); + }) + : undefined + } }; return jsonObj; @@ -81,7 +93,13 @@ export namespace CreateDistributedDatabaseShardWithExadbXsDetails { : (model.CreateDistributedDatabaseShardDetails.getDeserializedJsonObj( obj ) as CreateDistributedDatabaseShardWithExadbXsDetails)), - ...{} + ...{ + "peerDetails": obj.peerDetails + ? obj.peerDetails.map(item => { + return model.CreateShardPeerWithExadbXsDetails.getDeserializedJsonObj(item); + }) + : undefined + } }; return jsonObj; diff --git a/lib/distributeddatabase/lib/model/create-shard-peer-with-dedicated-infra-details.ts b/lib/distributeddatabase/lib/model/create-shard-peer-with-dedicated-infra-details.ts new file mode 100644 index 0000000000..9c32e571a8 --- /dev/null +++ b/lib/distributeddatabase/lib/model/create-shard-peer-with-dedicated-infra-details.ts @@ -0,0 +1,57 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required for creation of autonomous dedicated infrastructure based shard peer. + */ +export interface CreateShardPeerWithDedicatedInfraDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous VM Cluster for the peer shard. + */ + "cloudAutonomousVmClusterId": string; + /** + * The protectionMode for the shard peer. + */ + "protectionMode"?: model.DistributedAutonomousDbProtectionMode; + /** + * The lag time preference based on data loss tolerance in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "fastStartFailOverLagLimitInSeconds"?: number; + /** + * Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association + * + */ + "isAutomaticFailoverEnabled"?: boolean; + /** + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before schedlued maintenance of the primary database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "standbyMaintenanceBufferInDays"?: number; +} + +export namespace CreateShardPeerWithDedicatedInfraDetails { + export function getJsonObj(obj: CreateShardPeerWithDedicatedInfraDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateShardPeerWithDedicatedInfraDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/create-shard-peer-with-exadb-xs-details.ts b/lib/distributeddatabase/lib/model/create-shard-peer-with-exadb-xs-details.ts new file mode 100644 index 0000000000..26ab121908 --- /dev/null +++ b/lib/distributeddatabase/lib/model/create-shard-peer-with-exadb-xs-details.ts @@ -0,0 +1,46 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details required for creation of ExadbXs infrastructure based shard peer. + */ +export interface CreateShardPeerWithExadbXsDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster for the shard peer. + */ + "vmClusterId": string; + /** + * The protectionMode for the shard peer. + */ + "protectionMode"?: model.DistributedDbProtectionMode; + /** + * The redo transport type to use for this Data Guard association. + */ + "transportType"?: model.DistributedDbTransportType; +} + +export namespace CreateShardPeerWithExadbXsDetails { + export function getJsonObj(obj: CreateShardPeerWithExadbXsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateShardPeerWithExadbXsDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-database-catalog-with-dedicated-infra.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-database-catalog-with-dedicated-infra.ts index 8d97ca0267..550b10195d 100644 --- a/lib/distributeddatabase/lib/model/distributed-autonomous-database-catalog-with-dedicated-infra.ts +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-database-catalog-with-dedicated-infra.ts @@ -40,7 +40,7 @@ export interface DistributedAutonomousDatabaseCatalogWithDedicatedInfra */ "cloudAutonomousVmClusterId": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousVmClusters. + * This field is deprecated. For catalog peer details please refer peerDetails attribute. */ "peerCloudAutonomousVmClusterIds"?: Array; /** diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-database-shard-with-dedicated-infra.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-database-shard-with-dedicated-infra.ts index 6292e3fad3..41fcdea6f4 100644 --- a/lib/distributeddatabase/lib/model/distributed-autonomous-database-shard-with-dedicated-infra.ts +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-database-shard-with-dedicated-infra.ts @@ -40,7 +40,7 @@ export interface DistributedAutonomousDatabaseShardWithDedicatedInfra */ "cloudAutonomousVmClusterId": string; /** - * The collection of [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloudAutonomousVmClusters. + * This field is deprecated. For shard peer details please refer peerDetails attribute. */ "peerCloudAutonomousVmClusterIds"?: Array; /** diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts index f26f12da9e..934a9df8b7 100644 --- a/lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-database-summary.ts @@ -111,7 +111,9 @@ export interface DistributedAutonomousDatabaseSummary { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based + * Globally distributed autonomous database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; /** diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-database.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-database.ts index f31cea9907..5631984d27 100644 --- a/lib/distributeddatabase/lib/model/distributed-autonomous-database.ts +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-database.ts @@ -66,7 +66,7 @@ export interface DistributedAutonomousDatabase { */ "shardingMethod": DistributedAutonomousDatabase.ShardingMethod; /** - * Possible workload types. + * Possible workload types. Currently only OLTP workload type is supported. */ "dbWorkload": DistributedAutonomousDatabase.DbWorkload; /** @@ -111,7 +111,9 @@ export interface DistributedAutonomousDatabase { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed autonomous database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed autonomous database. For RAFT replication based + * Globally distributed autonomous database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; "latestGsmImage"?: model.DistributedAutonomousDatabaseGsmImage; @@ -132,6 +134,7 @@ export interface DistributedAutonomousDatabase { * Collection of catalogs associated with the Globally distributed autonomous database. */ "gsmDetails"?: Array; + "dbBackupConfig"?: model.DistributedAutonomousDbBackupConfig; "metadata"?: model.DistributedAutonomousDbMetadata; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. @@ -236,6 +239,9 @@ export namespace DistributedAutonomousDatabase { return model.DistributedAutonomousDatabaseGsm.getJsonObj(item); }) : undefined, + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getJsonObj(obj.dbBackupConfig) + : undefined, "metadata": obj.metadata ? model.DistributedAutonomousDbMetadata.getJsonObj(obj.metadata) : undefined @@ -273,6 +279,9 @@ export namespace DistributedAutonomousDatabase { return model.DistributedAutonomousDatabaseGsm.getDeserializedJsonObj(item); }) : undefined, + "dbBackupConfig": obj.dbBackupConfig + ? model.DistributedAutonomousDbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig) + : undefined, "metadata": obj.metadata ? model.DistributedAutonomousDbMetadata.getDeserializedJsonObj(obj.metadata) : undefined diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-config.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-config.ts new file mode 100644 index 0000000000..5083d8860f --- /dev/null +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-config.ts @@ -0,0 +1,64 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Backup options for the Distributed Autonomous Database. + * + */ +export interface DistributedAutonomousDbBackupConfig { + /** + * Backup destination details. + */ + "backupDestinationDetails"?: Array; + /** + * Number of days between the current and the earliest point of recoverability covered by automatic backups. + * This value applies to automatic backups. When the value is updated, it is applied to all existing automatic backups. + * If the number of specified days is 0 then there will be no backups. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "recoveryWindowInDays"?: number; +} + +export namespace DistributedAutonomousDbBackupConfig { + export function getJsonObj(obj: DistributedAutonomousDbBackupConfig): object { + const jsonObj = { + ...obj, + ...{ + "backupDestinationDetails": obj.backupDestinationDetails + ? obj.backupDestinationDetails.map(item => { + return model.DistributedAutonomousDbBackupDestination.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DistributedAutonomousDbBackupConfig): object { + const jsonObj = { + ...obj, + ...{ + "backupDestinationDetails": obj.backupDestinationDetails + ? obj.backupDestinationDetails.map(item => { + return model.DistributedAutonomousDbBackupDestination.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-destination.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-destination.ts new file mode 100644 index 0000000000..e31ad54f37 --- /dev/null +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-db-backup-destination.ts @@ -0,0 +1,82 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Backup destination details + */ +export interface DistributedAutonomousDbBackupDestination { + /** + * Type of the database backup destination. + */ + "type": DistributedAutonomousDbBackupDestination.Type; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. + */ + "id"?: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. + */ + "vpcUser"?: string; + /** + * For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. + */ + "vpcPassword"?: string; + /** + * Proxy URL to connect to object store. + */ + "internetProxy"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. + */ + "dbrsPolicyId"?: string; + /** + * Indicates whether the backup destination is cross-region or local region. + */ + "isRemote"?: boolean; + /** + * The name of the remote region where the remote automatic incremental backups will be stored. + * For information about valid region names, see + * [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). + * + */ + "remoteRegion"?: string; +} + +export namespace DistributedAutonomousDbBackupDestination { + export enum Type { + Nfs = "NFS", + RecoveryAppliance = "RECOVERY_APPLIANCE", + ObjectStore = "OBJECT_STORE", + Local = "LOCAL", + Dbrs = "DBRS", + /** + * 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: DistributedAutonomousDbBackupDestination): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DistributedAutonomousDbBackupDestination): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/distributeddatabase/lib/model/distributed-autonomous-db-protection-mode.ts b/lib/distributeddatabase/lib/model/distributed-autonomous-db-protection-mode.ts new file mode 100644 index 0000000000..b491ac0638 --- /dev/null +++ b/lib/distributeddatabase/lib/model/distributed-autonomous-db-protection-mode.ts @@ -0,0 +1,45 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 protection mode of this Autonomous Data Guard association. For more information, see + * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) + * in the Oracle Data Guard documentation. + * + **/ +export enum DistributedAutonomousDbProtectionMode { + MaximumAvailability = "MAXIMUM_AVAILABILITY", + MaximumPerformance = "MAXIMUM_PERFORMANCE", + + /** + * 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 DistributedAutonomousDbProtectionMode { + export function getJsonObj( + obj: DistributedAutonomousDbProtectionMode + ): DistributedAutonomousDbProtectionMode { + return obj; + } + export function getDeserializedJsonObj( + obj: DistributedAutonomousDbProtectionMode + ): DistributedAutonomousDbProtectionMode { + return obj; + } +} diff --git a/lib/distributeddatabase/lib/model/distributed-database-catalog-with-exadb-xs.ts b/lib/distributeddatabase/lib/model/distributed-database-catalog-with-exadb-xs.ts index fdd3fadda5..e92f9c7c70 100644 --- a/lib/distributeddatabase/lib/model/distributed-database-catalog-with-exadb-xs.ts +++ b/lib/distributeddatabase/lib/model/distributed-database-catalog-with-exadb-xs.ts @@ -44,7 +44,7 @@ export interface DistributedDatabaseCatalogWithExadbXs extends model.Distributed */ "kmsKeyVersionId"?: string; /** - * Status of catalog with VmCluster for the Globally ditributed database. + * Status of EXADB_XS based catalog. */ "status": DistributedDatabaseCatalogWithExadbXs.Status; /** diff --git a/lib/distributeddatabase/lib/model/distributed-database-gsm.ts b/lib/distributeddatabase/lib/model/distributed-database-gsm.ts index 723f339651..e2313a3042 100644 --- a/lib/distributeddatabase/lib/model/distributed-database-gsm.ts +++ b/lib/distributeddatabase/lib/model/distributed-database-gsm.ts @@ -39,7 +39,7 @@ export interface DistributedDatabaseGsm { */ "timeUpdated": Date; /** - * Status of the gsm for the Globally ditributed database. + * Status of the gsm. */ "status": DistributedDatabaseGsm.Status; /** diff --git a/lib/distributeddatabase/lib/model/distributed-database-shard-with-exadb-xs.ts b/lib/distributeddatabase/lib/model/distributed-database-shard-with-exadb-xs.ts index 28a371d647..099015d031 100644 --- a/lib/distributeddatabase/lib/model/distributed-database-shard-with-exadb-xs.ts +++ b/lib/distributeddatabase/lib/model/distributed-database-shard-with-exadb-xs.ts @@ -50,7 +50,7 @@ export interface DistributedDatabaseShardWithExadbXs extends model.DistributedDa */ "kmsKeyVersionId"?: string; /** - * Status of shard based on exadbxs for the Globally ditributed database. + * Status of EXADB_XS based shard. */ "status": DistributedDatabaseShardWithExadbXs.Status; /** diff --git a/lib/distributeddatabase/lib/model/distributed-database-summary.ts b/lib/distributeddatabase/lib/model/distributed-database-summary.ts index 5e7487e918..e1707b5a13 100644 --- a/lib/distributeddatabase/lib/model/distributed-database-summary.ts +++ b/lib/distributeddatabase/lib/model/distributed-database-summary.ts @@ -107,7 +107,9 @@ export interface DistributedDatabaseSummary { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed database. For RAFT replication based + * Globally distributed database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; /** diff --git a/lib/distributeddatabase/lib/model/distributed-database.ts b/lib/distributeddatabase/lib/model/distributed-database.ts index 242480da72..1ad1e5f79d 100644 --- a/lib/distributeddatabase/lib/model/distributed-database.ts +++ b/lib/distributeddatabase/lib/model/distributed-database.ts @@ -108,7 +108,9 @@ export interface DistributedDatabase { */ "replicationFactor"?: number; /** - * For RAFT replication based Globally distributed database, the value should be atleast twice the number of shards. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The replication unit count for RAFT based distributed database. For RAFT replication based + * Globally distributed database, the value should be at least twice the number of shards. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "replicationUnit"?: number; /** diff --git a/lib/distributeddatabase/lib/model/distributed-db-protection-mode.ts b/lib/distributeddatabase/lib/model/distributed-db-protection-mode.ts new file mode 100644 index 0000000000..c463d007a8 --- /dev/null +++ b/lib/distributeddatabase/lib/model/distributed-db-protection-mode.ts @@ -0,0 +1,41 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 protection mode to set up between the primary and standby databases. + **/ +export enum DistributedDbProtectionMode { + MaximumAvailability = "MAXIMUM_AVAILABILITY", + MaximumPerformance = "MAXIMUM_PERFORMANCE", + MaximumProtection = "MAXIMUM_PROTECTION", + + /** + * 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 DistributedDbProtectionMode { + export function getJsonObj(obj: DistributedDbProtectionMode): DistributedDbProtectionMode { + return obj; + } + export function getDeserializedJsonObj( + obj: DistributedDbProtectionMode + ): DistributedDbProtectionMode { + return obj; + } +} diff --git a/lib/distributeddatabase/lib/model/distributed-db-transport-type.ts b/lib/distributeddatabase/lib/model/distributed-db-transport-type.ts new file mode 100644 index 0000000000..55bcb67342 --- /dev/null +++ b/lib/distributeddatabase/lib/model/distributed-db-transport-type.ts @@ -0,0 +1,41 @@ +/** + * Globally Distributed Database + * Use the Globally Distributed Database service APIs to create and manage the Globally distributed databases. + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 redo transport type to use for this Data Guard association. + **/ +export enum DistributedDbTransportType { + Sync = "SYNC", + Async = "ASYNC", + Fastsync = "FASTSYNC", + + /** + * 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 DistributedDbTransportType { + export function getJsonObj(obj: DistributedDbTransportType): DistributedDbTransportType { + return obj; + } + export function getDeserializedJsonObj( + obj: DistributedDbTransportType + ): DistributedDbTransportType { + return obj; + } +} diff --git a/lib/distributeddatabase/lib/model/index.ts b/lib/distributeddatabase/lib/model/index.ts index 62bc4828ce..d15175abc6 100644 --- a/lib/distributeddatabase/lib/model/index.ts +++ b/lib/distributeddatabase/lib/model/index.ts @@ -23,6 +23,8 @@ import * as CatalogPeerWithExadbXs from "./catalog-peer-with-exadb-xs"; export import CatalogPeerWithExadbXs = CatalogPeerWithExadbXs.CatalogPeerWithExadbXs; import * as ChangeDistributedAutonomousDatabaseCompartmentDetails from "./change-distributed-autonomous-database-compartment-details"; export import ChangeDistributedAutonomousDatabaseCompartmentDetails = ChangeDistributedAutonomousDatabaseCompartmentDetails.ChangeDistributedAutonomousDatabaseCompartmentDetails; +import * as ChangeDistributedAutonomousDbBackupConfigDetails from "./change-distributed-autonomous-db-backup-config-details"; +export import ChangeDistributedAutonomousDbBackupConfigDetails = ChangeDistributedAutonomousDbBackupConfigDetails.ChangeDistributedAutonomousDbBackupConfigDetails; import * as ChangeDistributedDatabaseCompartmentDetails from "./change-distributed-database-compartment-details"; export import ChangeDistributedDatabaseCompartmentDetails = ChangeDistributedDatabaseCompartmentDetails.ChangeDistributedDatabaseCompartmentDetails; import * as ChangeDistributedDatabasePrivateEndpointCompartmentDetails from "./change-distributed-database-private-endpoint-compartment-details"; @@ -33,6 +35,10 @@ import * as ConfigureDistributedAutonomousDatabaseGsmsDetails from "./configure- export import ConfigureDistributedAutonomousDatabaseGsmsDetails = ConfigureDistributedAutonomousDatabaseGsmsDetails.ConfigureDistributedAutonomousDatabaseGsmsDetails; import * as ConfigureDistributedDatabaseGsmsDetails from "./configure-distributed-database-gsms-details"; export import ConfigureDistributedDatabaseGsmsDetails = ConfigureDistributedDatabaseGsmsDetails.ConfigureDistributedDatabaseGsmsDetails; +import * as CreateCatalogPeerWithDedicatedInfraDetails from "./create-catalog-peer-with-dedicated-infra-details"; +export import CreateCatalogPeerWithDedicatedInfraDetails = CreateCatalogPeerWithDedicatedInfraDetails.CreateCatalogPeerWithDedicatedInfraDetails; +import * as CreateCatalogPeerWithExadbXsDetails from "./create-catalog-peer-with-exadb-xs-details"; +export import CreateCatalogPeerWithExadbXsDetails = CreateCatalogPeerWithExadbXsDetails.CreateCatalogPeerWithExadbXsDetails; import * as CreateDistributedAutonomousDatabaseCatalogDetails from "./create-distributed-autonomous-database-catalog-details"; export import CreateDistributedAutonomousDatabaseCatalogDetails = CreateDistributedAutonomousDatabaseCatalogDetails.CreateDistributedAutonomousDatabaseCatalogDetails; import * as CreateDistributedAutonomousDatabaseDetails from "./create-distributed-autonomous-database-details"; @@ -47,6 +53,10 @@ import * as CreateDistributedDatabasePrivateEndpointDetails from "./create-distr export import CreateDistributedDatabasePrivateEndpointDetails = CreateDistributedDatabasePrivateEndpointDetails.CreateDistributedDatabasePrivateEndpointDetails; import * as CreateDistributedDatabaseShardDetails from "./create-distributed-database-shard-details"; export import CreateDistributedDatabaseShardDetails = CreateDistributedDatabaseShardDetails.CreateDistributedDatabaseShardDetails; +import * as CreateShardPeerWithDedicatedInfraDetails from "./create-shard-peer-with-dedicated-infra-details"; +export import CreateShardPeerWithDedicatedInfraDetails = CreateShardPeerWithDedicatedInfraDetails.CreateShardPeerWithDedicatedInfraDetails; +import * as CreateShardPeerWithExadbXsDetails from "./create-shard-peer-with-exadb-xs-details"; +export import CreateShardPeerWithExadbXsDetails = CreateShardPeerWithExadbXsDetails.CreateShardPeerWithExadbXsDetails; import * as DistributedAutonomousDatabase from "./distributed-autonomous-database"; export import DistributedAutonomousDatabase = DistributedAutonomousDatabase.DistributedAutonomousDatabase; import * as DistributedAutonomousDatabaseAssociatedWithPrivateEndpoint from "./distributed-autonomous-database-associated-with-private-endpoint"; @@ -65,8 +75,14 @@ import * as DistributedAutonomousDatabaseShard from "./distributed-autonomous-da export import DistributedAutonomousDatabaseShard = DistributedAutonomousDatabaseShard.DistributedAutonomousDatabaseShard; import * as DistributedAutonomousDatabaseSummary from "./distributed-autonomous-database-summary"; export import DistributedAutonomousDatabaseSummary = DistributedAutonomousDatabaseSummary.DistributedAutonomousDatabaseSummary; +import * as DistributedAutonomousDbBackupConfig from "./distributed-autonomous-db-backup-config"; +export import DistributedAutonomousDbBackupConfig = DistributedAutonomousDbBackupConfig.DistributedAutonomousDbBackupConfig; +import * as DistributedAutonomousDbBackupDestination from "./distributed-autonomous-db-backup-destination"; +export import DistributedAutonomousDbBackupDestination = DistributedAutonomousDbBackupDestination.DistributedAutonomousDbBackupDestination; import * as DistributedAutonomousDbMetadata from "./distributed-autonomous-db-metadata"; export import DistributedAutonomousDbMetadata = DistributedAutonomousDbMetadata.DistributedAutonomousDbMetadata; +import * as DistributedAutonomousDbProtectionMode from "./distributed-autonomous-db-protection-mode"; +export import DistributedAutonomousDbProtectionMode = DistributedAutonomousDbProtectionMode.DistributedAutonomousDbProtectionMode; import * as DistributedDatabase from "./distributed-database"; export import DistributedDatabase = DistributedDatabase.DistributedDatabase; import * as DistributedDatabaseAssociatedWithPrivateEndpoint from "./distributed-database-associated-with-private-endpoint"; @@ -97,6 +113,10 @@ import * as DistributedDbGsmImage from "./distributed-db-gsm-image"; export import DistributedDbGsmImage = DistributedDbGsmImage.DistributedDbGsmImage; import * as DistributedDbMetadata from "./distributed-db-metadata"; export import DistributedDbMetadata = DistributedDbMetadata.DistributedDbMetadata; +import * as DistributedDbProtectionMode from "./distributed-db-protection-mode"; +export import DistributedDbProtectionMode = DistributedDbProtectionMode.DistributedDbProtectionMode; +import * as DistributedDbTransportType from "./distributed-db-transport-type"; +export import DistributedDbTransportType = DistributedDbTransportType.DistributedDbTransportType; import * as GenerateDistributedAutonomousDatabaseWalletDetails from "./generate-distributed-autonomous-database-wallet-details"; export import GenerateDistributedAutonomousDatabaseWalletDetails = GenerateDistributedAutonomousDatabaseWalletDetails.GenerateDistributedAutonomousDatabaseWalletDetails; import * as GenerateDistributedDatabaseWalletDetails from "./generate-distributed-database-wallet-details"; diff --git a/lib/distributeddatabase/lib/model/operation-type.ts b/lib/distributeddatabase/lib/model/operation-type.ts index fd71c3a06d..4cb1a71672 100644 --- a/lib/distributeddatabase/lib/model/operation-type.ts +++ b/lib/distributeddatabase/lib/model/operation-type.ts @@ -50,6 +50,8 @@ export enum OperationType { DeleteDistributedDbGsm = "DELETE_DISTRIBUTED_DB_GSM", AddGdscontrolNode = "ADD_GDSCONTROL_NODE", ChangeDistributedDbBackupConfig = "CHANGE_DISTRIBUTED_DB_BACKUP_CONFIG", + AddDistributedDbDg = "ADD_DISTRIBUTED_DB_DG", + RemoveDistributedDbDg = "REMOVE_DISTRIBUTED_DB_DG", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/distributeddatabase/lib/model/shard-peer-with-dedicated-infra.ts b/lib/distributeddatabase/lib/model/shard-peer-with-dedicated-infra.ts index 20387b1d19..5c58c8812b 100644 --- a/lib/distributeddatabase/lib/model/shard-peer-with-dedicated-infra.ts +++ b/lib/distributeddatabase/lib/model/shard-peer-with-dedicated-infra.ts @@ -46,6 +46,25 @@ export interface ShardPeerWithDedicatedInfra { * The time the shard peer was last updated. An RFC3339 formatted datetime string */ "timeUpdated": Date; + /** + * The protectionMode for the shard peer. + */ + "protectionMode"?: model.DistributedAutonomousDbProtectionMode; + /** + * The lag time for my preference based on data loss tolerance in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "fastStartFailOverLagLimitInSeconds"?: number; + /** + * Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association + * + */ + "isAutomaticFailoverEnabled"?: boolean; + /** + * The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database. + * This value represents the number of days before schedlued maintenance of the primary database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "standbyMaintenanceBufferInDays"?: number; "metadata"?: model.DistributedAutonomousDbMetadata; } diff --git a/lib/distributeddatabase/lib/model/shard-peer-with-exadb-xs.ts b/lib/distributeddatabase/lib/model/shard-peer-with-exadb-xs.ts index a5de649af6..f4548cbe1d 100644 --- a/lib/distributeddatabase/lib/model/shard-peer-with-exadb-xs.ts +++ b/lib/distributeddatabase/lib/model/shard-peer-with-exadb-xs.ts @@ -27,7 +27,7 @@ export interface ShardPeerWithExadbXs { */ "shardGroup": string; /** - * Status of catalog with VmCluster for the Globally ditributed database. + * Status of EXADB_XS based shard peer. */ "status": ShardPeerWithExadbXs.Status; /** @@ -46,6 +46,14 @@ export interface ShardPeerWithExadbXs { * The time the shard peer was last updated. An RFC3339 formatted datetime string */ "timeUpdated": Date; + /** + * The protectionMode for the shard peer. + */ + "protectionMode"?: model.DistributedDbProtectionMode; + /** + * The redo transport type to use for this Data Guard association. + */ + "transportType"?: model.DistributedDbTransportType; "metadata"?: model.DistributedDbMetadata; } diff --git a/lib/distributeddatabase/lib/request/change-distributed-autonomous-db-backup-config-request.ts b/lib/distributeddatabase/lib/request/change-distributed-autonomous-db-backup-config-request.ts new file mode 100644 index 0000000000..7cfdf02d60 --- /dev/null +++ b/lib/distributeddatabase/lib/request/change-distributed-autonomous-db-backup-config-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/distributeddatabase/ChangeDistributedAutonomousDbBackupConfig.ts.html |here} to see how to use ChangeDistributedAutonomousDbBackupConfigRequest. + */ +export interface ChangeDistributedAutonomousDbBackupConfigRequest extends common.BaseRequest { + /** + * Globally distributed autonomous database identifier + */ + "distributedAutonomousDatabaseId": string; + /** + * Details of the DistributedAutonomousDbBackupConfig for the Globally distributed autonomous database. + */ + "changeDistributedAutonomousDbBackupConfigDetails": model.ChangeDistributedAutonomousDbBackupConfigDetails; + /** + * The client request ID for tracing. + */ + "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; + /** + * 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/distributeddatabase/lib/request/index.ts b/lib/distributeddatabase/lib/request/index.ts index 9661b326a0..65ef720efa 100644 --- a/lib/distributeddatabase/lib/request/index.ts +++ b/lib/distributeddatabase/lib/request/index.ts @@ -15,6 +15,8 @@ import * as AddDistributedAutonomousDatabaseGdsControlNodeRequest from "./add-di export import AddDistributedAutonomousDatabaseGdsControlNodeRequest = AddDistributedAutonomousDatabaseGdsControlNodeRequest.AddDistributedAutonomousDatabaseGdsControlNodeRequest; import * as ChangeDistributedAutonomousDatabaseCompartmentRequest from "./change-distributed-autonomous-database-compartment-request"; export import ChangeDistributedAutonomousDatabaseCompartmentRequest = ChangeDistributedAutonomousDatabaseCompartmentRequest.ChangeDistributedAutonomousDatabaseCompartmentRequest; +import * as ChangeDistributedAutonomousDbBackupConfigRequest from "./change-distributed-autonomous-db-backup-config-request"; +export import ChangeDistributedAutonomousDbBackupConfigRequest = ChangeDistributedAutonomousDbBackupConfigRequest.ChangeDistributedAutonomousDbBackupConfigRequest; import * as ConfigureDistributedAutonomousDatabaseGsmsRequest from "./configure-distributed-autonomous-database-gsms-request"; export import ConfigureDistributedAutonomousDatabaseGsmsRequest = ConfigureDistributedAutonomousDatabaseGsmsRequest.ConfigureDistributedAutonomousDatabaseGsmsRequest; import * as ConfigureDistributedAutonomousDatabaseShardingRequest from "./configure-distributed-autonomous-database-sharding-request"; diff --git a/lib/marketplacepublisher/lib/response/delete-attachment-response.ts b/lib/distributeddatabase/lib/response/change-distributed-autonomous-db-backup-config-response.ts similarity index 89% rename from lib/marketplacepublisher/lib/response/delete-attachment-response.ts rename to lib/distributeddatabase/lib/response/change-distributed-autonomous-db-backup-config-response.ts index a3bfbf2dcf..963681fb3f 100644 --- a/lib/marketplacepublisher/lib/response/delete-attachment-response.ts +++ b/lib/distributeddatabase/lib/response/change-distributed-autonomous-db-backup-config-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20220901 + * OpenAPI spec version: 20250101 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -14,7 +14,7 @@ import * as model from "../model"; import common = require("oci-common"); -export interface DeleteAttachmentResponse { +export interface ChangeDistributedAutonomousDbBackupConfigResponse { /** * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. * diff --git a/lib/distributeddatabase/lib/response/index.ts b/lib/distributeddatabase/lib/response/index.ts index 0b84284792..a4b08ff90a 100644 --- a/lib/distributeddatabase/lib/response/index.ts +++ b/lib/distributeddatabase/lib/response/index.ts @@ -15,6 +15,8 @@ import * as AddDistributedAutonomousDatabaseGdsControlNodeResponse from "./add-d export import AddDistributedAutonomousDatabaseGdsControlNodeResponse = AddDistributedAutonomousDatabaseGdsControlNodeResponse.AddDistributedAutonomousDatabaseGdsControlNodeResponse; import * as ChangeDistributedAutonomousDatabaseCompartmentResponse from "./change-distributed-autonomous-database-compartment-response"; export import ChangeDistributedAutonomousDatabaseCompartmentResponse = ChangeDistributedAutonomousDatabaseCompartmentResponse.ChangeDistributedAutonomousDatabaseCompartmentResponse; +import * as ChangeDistributedAutonomousDbBackupConfigResponse from "./change-distributed-autonomous-db-backup-config-response"; +export import ChangeDistributedAutonomousDbBackupConfigResponse = ChangeDistributedAutonomousDbBackupConfigResponse.ChangeDistributedAutonomousDbBackupConfigResponse; import * as ConfigureDistributedAutonomousDatabaseGsmsResponse from "./configure-distributed-autonomous-database-gsms-response"; export import ConfigureDistributedAutonomousDatabaseGsmsResponse = ConfigureDistributedAutonomousDatabaseGsmsResponse.ConfigureDistributedAutonomousDatabaseGsmsResponse; import * as ConfigureDistributedAutonomousDatabaseShardingResponse from "./configure-distributed-autonomous-database-sharding-response"; diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index e266579443..979dab8b99 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.120.0", + "version": "2.121.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 4061f61f60..eae66e9625 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index c46838f0ad..283caf2357 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index 70656b6e9e..1ee7163f6f 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.120.0", + "version": "2.121.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 c77b4a5c27..f0e9df999f 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.120.0", + "version": "2.121.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 994317ad7c..d147dfc4fa 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 822341aa40..0cb36975d8 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 14ea851a5b..4a80d19dff 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.120.0", + "version": "2.121.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 baf9768a49..fb44f8f44c 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.120.0", + "version": "2.121.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 f62b97c42f..21eadf911b 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 38625510fd..7acaceaf43 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.120.0", + "version": "2.121.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 532dcab845..ff16eab0e4 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/lib/model/http-endpoint-delegated-bearer-auth-config.ts b/lib/generativeaiagent/lib/model/http-endpoint-delegated-bearer-auth-config.ts deleted file mode 100644 index b9b107ec8a..0000000000 --- a/lib/generativeaiagent/lib/model/http-endpoint-delegated-bearer-auth-config.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Generative AI Agents Management API - * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient. - -OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API. - -Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests. - -For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}. - -To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm). - - * OpenAPI spec version: 20240531 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Specifies Bearer Token Authentication, where the same Bearer token received as part of the Agent Chat API request is used to invoke - * the external endpoint. - * - */ -export interface HttpEndpointDelegatedBearerAuthConfig extends model.HttpEndpointAuthConfig { - "httpEndpointAuthConfigType": string; -} - -export namespace HttpEndpointDelegatedBearerAuthConfig { - export function getJsonObj( - obj: HttpEndpointDelegatedBearerAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getJsonObj(obj) as HttpEndpointDelegatedBearerAuthConfig)), - ...{} - }; - - return jsonObj; - } - export const httpEndpointAuthConfigType = "HTTP_ENDPOINT_DELEGATED_BEARER_AUTH_CONFIG"; - export function getDeserializedJsonObj( - obj: HttpEndpointDelegatedBearerAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getDeserializedJsonObj( - obj - ) as HttpEndpointDelegatedBearerAuthConfig)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/generativeaiagent/lib/model/http-endpoint-idcs-auth-config.ts b/lib/generativeaiagent/lib/model/http-endpoint-idcs-auth-config.ts deleted file mode 100644 index eff5dc761a..0000000000 --- a/lib/generativeaiagent/lib/model/http-endpoint-idcs-auth-config.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Generative AI Agents Management API - * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient. - -OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API. - -Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests. - -For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}. - -To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm). - - * OpenAPI spec version: 20240531 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Specifies authentication using Oracle Identity Cloud Service (IDCS), leveraging OAuth 2.0 for token-based authentication. - * - */ -export interface HttpEndpointIdcsAuthConfig extends model.HttpEndpointAuthConfig { - "idcsSecret": model.IdcsSecret; - - "httpEndpointAuthConfigType": string; -} - -export namespace HttpEndpointIdcsAuthConfig { - export function getJsonObj(obj: HttpEndpointIdcsAuthConfig, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getJsonObj(obj) as HttpEndpointIdcsAuthConfig)), - ...{ - "idcsSecret": obj.idcsSecret ? model.IdcsSecret.getJsonObj(obj.idcsSecret) : undefined - } - }; - - return jsonObj; - } - export const httpEndpointAuthConfigType = "HTTP_ENDPOINT_IDCS_AUTH_CONFIG"; - export function getDeserializedJsonObj( - obj: HttpEndpointIdcsAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getDeserializedJsonObj(obj) as HttpEndpointIdcsAuthConfig)), - ...{ - "idcsSecret": obj.idcsSecret - ? model.IdcsSecret.getDeserializedJsonObj(obj.idcsSecret) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/generativeaiagent/lib/model/http-endpoint-no-auth-config.ts b/lib/generativeaiagent/lib/model/http-endpoint-no-auth-config.ts deleted file mode 100644 index a8cce01772..0000000000 --- a/lib/generativeaiagent/lib/model/http-endpoint-no-auth-config.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Generative AI Agents Management API - * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient. - -OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API. - -Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests. - -For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}. - -To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm). - - * OpenAPI spec version: 20240531 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Indicates that no authentication is required for invoking the endpoint. - * - */ -export interface HttpEndpointNoAuthConfig extends model.HttpEndpointAuthConfig { - "httpEndpointAuthConfigType": string; -} - -export namespace HttpEndpointNoAuthConfig { - export function getJsonObj(obj: HttpEndpointNoAuthConfig, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getJsonObj(obj) as HttpEndpointNoAuthConfig)), - ...{} - }; - - return jsonObj; - } - export const httpEndpointAuthConfigType = "HTTP_ENDPOINT_NO_AUTH_CONFIG"; - export function getDeserializedJsonObj( - obj: HttpEndpointNoAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getDeserializedJsonObj(obj) as HttpEndpointNoAuthConfig)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/generativeaiagent/lib/model/http-endpoint-oci-resource-principal-auth-config.ts b/lib/generativeaiagent/lib/model/http-endpoint-oci-resource-principal-auth-config.ts deleted file mode 100644 index 63d175d45d..0000000000 --- a/lib/generativeaiagent/lib/model/http-endpoint-oci-resource-principal-auth-config.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Generative AI Agents Management API - * OCI Generative AI Agents is a fully managed service that combines the power of large language models (LLMs) with an intelligent retrieval system to create contextually relevant answers by searching your knowledge base, making your AI applications smart and efficient. - -OCI Generative AI Agents supports several ways to onboard your data and then allows you and your customers to interact with your data using a chat interface or API. - -Use the Generative AI Agents API to create and manage agents, knowledge bases, data sources, endpoints, data ingestion jobs, and work requests. - -For creating and managing client chat sessions see the {@link #eNGenerative-ai-agents-clientLatest(ENGenerative-ai-agents-clientLatestRequest) eNGenerative-ai-agents-clientLatest}. - -To learn more about the service, see the [Generative AI Agents documentation](https://docs.oracle.com/iaas/Content/generative-ai-agents/home.htm). - - * OpenAPI spec version: 20240531 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Specifies authentication using Oracle Cloud Infrastructure (OCI) Resource Principal, leveraging OCI's identity-based authentication mechanism. - * - */ -export interface HttpEndpointOciResourcePrincipalAuthConfig extends model.HttpEndpointAuthConfig { - "httpEndpointAuthConfigType": string; -} - -export namespace HttpEndpointOciResourcePrincipalAuthConfig { - export function getJsonObj( - obj: HttpEndpointOciResourcePrincipalAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getJsonObj( - obj - ) as HttpEndpointOciResourcePrincipalAuthConfig)), - ...{} - }; - - return jsonObj; - } - export const httpEndpointAuthConfigType = "HTTP_ENDPOINT_OCI_RESOURCE_PRINCIPAL_AUTH_CONFIG"; - export function getDeserializedJsonObj( - obj: HttpEndpointOciResourcePrincipalAuthConfig, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.HttpEndpointAuthConfig.getDeserializedJsonObj( - obj - ) as HttpEndpointOciResourcePrincipalAuthConfig)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index 0ede0e37e6..70dcf2b880 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.120.0", + "version": "2.121.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 fd640faa2b..1b15ce52a7 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index fded1a2b53..6ae28dbd18 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.120.0", + "version": "2.121.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 9629e6c55f..7f8792aae6 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.120.0", + "version": "2.121.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 abc5fad78c..ef37fc6b4b 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index ff010e6d77..b057facfac 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.120.0", + "version": "2.121.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 29b3c8558a..ab08a8aed8 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.120.0", + "version": "2.121.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 aa780964a1..cb9f70909f 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index aa1171bf35..8194141452 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 7f280eb306..25dbd35775 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.120.0", + "version": "2.121.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 3ec5274eeb..913b3e7653 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.120.0", + "version": "2.121.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 6975ed2208..09f8295874 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/iot/package.json b/lib/iot/package.json index bd3a852780..4e701213bc 100644 --- a/lib/iot/package.json +++ b/lib/iot/package.json @@ -1,6 +1,6 @@ { "name": "oci-iot", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Iot Service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 6b96c5649a..1c830ea47e 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 771cd0542c..648eee3164 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.120.0", + "version": "2.121.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 96bfb0e384..84566533f4 100644 --- a/lib/jmsutils/package.json +++ b/lib/jmsutils/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsutils", - "version": "2.120.0", + "version": "2.121.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 2a50d1debd..77647caa51 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index f8801c1803..2ba17fcf19 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.120.0", + "version": "2.121.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 5d2809bae3..a3c49614c3 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 27c00cb6d8..c61e0394b9 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 44d805b83d..f195bfc656 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 10a1d8bf18..0f0cb13c51 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.120.0", + "version": "2.121.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 740dd8ceb9..85dc042a41 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index cc33c9005c..9b34f00d3e 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 8bfa26e24b..3f8b72018d 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index ecedc4743a..956cf015a9 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.120.0", + "version": "2.121.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 8c8f5cd357..ee6d6bfc42 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.120.0", + "version": "2.121.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 879a213124..fe1fc549c9 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.120.0", + "version": "2.121.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 5773b1d033..6788ae3f57 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.120.0", + "version": "2.121.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 9d02c11b33..2e6d48f849 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index 7636118fee..df256511b3 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/lib/model/pricing.ts b/lib/marketplacepublisher/lib/model/pricing.ts deleted file mode 100644 index f8154520ef..0000000000 --- a/lib/marketplacepublisher/lib/model/pricing.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 pricing information for the offer - */ -export interface Pricing { - /** - * The currency supported for a given Offer, in the format specified by ISO-4217 - */ - "currencyType"?: string; - /** - * The total amount an Offer costs Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "totalAmount"?: number; - /** - * The frequency at which the customer is billed for the Offer - */ - "billingCycle"?: Pricing.BillingCycle; -} - -export namespace Pricing { - export enum BillingCycle { - OneTime = "ONE_TIME", - /** - * 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: Pricing): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Pricing): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/request/list-attachments-request.ts b/lib/marketplacepublisher/lib/request/list-attachments-request.ts deleted file mode 100644 index b9d14dd546..0000000000 --- a/lib/marketplacepublisher/lib/request/list-attachments-request.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/marketplacepublisher/ListAttachments.ts.html |here} to see how to use ListAttachmentsRequest. - */ -export interface ListAttachmentsRequest extends common.BaseRequest { - /** - * unique Offer identifier - */ - "offerId": string; - /** - * The ID of the buyer compartment this offer is associated with. - */ - "buyerCompartmentId"?: string; - /** - * The ID of the seller compartment this offer is associated with. - */ - "sellerCompartmentId"?: string; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: string; - /** - * unique Offer identifier - */ - "id"?: string; - /** - * The maximum number of items to return. - */ - "limit"?: number; - /** - * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. - */ - "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. - * - */ - "sortBy"?: ListAttachmentsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListAttachmentsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/marketplacepublisher/lib/request/list-offers-request.ts b/lib/marketplacepublisher/lib/request/list-offers-request.ts deleted file mode 100644 index b450a1e309..0000000000 --- a/lib/marketplacepublisher/lib/request/list-offers-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/marketplacepublisher/ListOffers.ts.html |here} to see how to use ListOffersRequest. - */ -export interface ListOffersRequest extends common.BaseRequest { - /** - * The ID of the buyer compartment this offer is associated with. - */ - "buyerCompartmentId"?: string; - /** - * The ID of the seller compartment this offer is associated with. - */ - "sellerCompartmentId"?: string; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: string; - /** - * unique Offer identifier - */ - "id"?: string; - /** - * The maximum number of items to return. - */ - "limit"?: number; - /** - * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. - */ - "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. - * - */ - "sortBy"?: ListOffersRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListOffersRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 0fd38e0976..8774c595e2 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.120.0", + "version": "2.121.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 e0db3b83ef..5b11ffc6b9 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.120.0", + "version": "2.121.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 63c6278795..c0882fcd19 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index a47429312e..c771f5a0d8 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.120.0", + "version": "2.121.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 1aa9f654c8..b90b362d91 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index 022fa4a701..a66c636e1e 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 082b519255..99bbc7616f 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index 9c1a3817d3..e4a3da2169 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.120.0", + "version": "2.121.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 3dc2b8bc1c..6e5276b042 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.120.0", + "version": "2.121.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 82b1e44768..fff530bc01 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index 377da62c24..c3f3a990b6 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index ecc69675f7..5c8aa96609 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 4687a475a9..c6137857b1 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.120.0", + "version": "2.121.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 e4303fe193..70732370a3 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 7c71677ce3..00a5642e47 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 681ad0a439..2c9c551d56 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index c2ab63ccab..98c5053fbf 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index d80ed253d6..61eb93f2d7 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index fa2302db79..e09ce91735 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 9c3bad7126..948a5e324c 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.120.0", + "version": "2.121.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 527fbf339f..1da64238b4 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 0f91ae3a73..6b9aa7c3ae 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 553c7ea873..472ee1bc9e 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.120.0", + "version": "2.121.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 6ddd72ea58..bfa7f75e88 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.120.0", + "version": "2.121.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 05dc4e8f9c..42e6d559e2 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.120.0", + "version": "2.121.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 e6c8bd3da4..d1aad57102 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.120.0", + "version": "2.121.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 0496dbecee..de58e6f482 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.120.0", + "version": "2.121.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 396e8c1f6e..f3424fd781 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psa/README.md b/lib/psa/README.md new file mode 100644 index 0000000000..6ffd4a9d35 --- /dev/null +++ b/lib/psa/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Psa Service + +This module enables you to write code to manage resources for Psa Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-psa +``` + +Alternatively you can git clone this repo. diff --git a/lib/psa/index.ts b/lib/psa/index.ts new file mode 100644 index 0000000000..ba8ab317c8 --- /dev/null +++ b/lib/psa/index.ts @@ -0,0 +1,24 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as privateserviceaccess_waiter from "./lib/privateserviceaccess-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import PrivateServiceAccessClient = client.PrivateServiceAccessClient; +export import PrivateServiceAccessWaiter = privateserviceaccess_waiter.PrivateServiceAccessWaiter; diff --git a/lib/psa/lib/client.ts b/lib/psa/lib/client.ts new file mode 100644 index 0000000000..0bca6846ce --- /dev/null +++ b/lib/psa/lib/client.ts @@ -0,0 +1,1213 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { PrivateServiceAccessWaiter } from "./privateserviceaccess-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum PrivateServiceAccessApiKeys {} +/** + * 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 PrivateServiceAccessClient { + protected static serviceEndpointTemplate = "https://psasvc.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = "psasvc"; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": PrivateServiceAccessWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "PrivateServiceAccess"; + 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("psa")) { + 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("psa"); + } + + // 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 + "/20240301"; + if (this.logger) + this.logger.info(`PrivateServiceAccessClient 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( + PrivateServiceAccessClient.serviceEndpointTemplate, + this._region, + PrivateServiceAccessClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + PrivateServiceAccessClient.serviceEndpointTemplate, + this._regionId, + PrivateServiceAccessClient.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( + PrivateServiceAccessClient.serviceEndpointTemplate, + region, + PrivateServiceAccessClient.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( + PrivateServiceAccessClient.serviceEndpointTemplate, + regionId, + PrivateServiceAccessClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new PrivateServiceAccessWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): PrivateServiceAccessWaiter { + this._waiters = new PrivateServiceAccessWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): PrivateServiceAccessWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Cancels a PrivateServiceAccess work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelPsaWorkRequestRequest + * @return CancelPsaWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/CancelPsaWorkRequest.ts.html |here} to see how to use CancelPsaWorkRequest API. + */ + public async cancelPsaWorkRequest( + cancelPsaWorkRequestRequest: requests.CancelPsaWorkRequestRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#cancelPsaWorkRequest."); + const operationName = "cancelPsaWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelPsaWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelPsaWorkRequestRequest.ifMatch, + "opc-request-id": cancelPsaWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelPsaWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaWorkRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a PrivateServiceAccess into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangePrivateServiceAccessCompartmentRequest + * @return ChangePrivateServiceAccessCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ChangePrivateServiceAccessCompartment.ts.html |here} to see how to use ChangePrivateServiceAccessCompartment API. + */ + public async changePrivateServiceAccessCompartment( + changePrivateServiceAccessCompartmentRequest: requests.ChangePrivateServiceAccessCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation PrivateServiceAccessClient#changePrivateServiceAccessCompartment." + ); + const operationName = "changePrivateServiceAccessCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{privateServiceAccessId}": + changePrivateServiceAccessCompartmentRequest.privateServiceAccessId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changePrivateServiceAccessCompartmentRequest.ifMatch, + "opc-request-id": changePrivateServiceAccessCompartmentRequest.opcRequestId, + "opc-retry-token": changePrivateServiceAccessCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changePrivateServiceAccessCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess/{privateServiceAccessId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changePrivateServiceAccessCompartmentRequest.changePrivateServiceAccessCompartmentDetails, + "ChangePrivateServiceAccessCompartmentDetails", + model.ChangePrivateServiceAccessCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a private service access in the specified subnet (in the consumer's VCN) and the specified + * compartment for a particular service. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreatePrivateServiceAccessRequest + * @return CreatePrivateServiceAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/CreatePrivateServiceAccess.ts.html |here} to see how to use CreatePrivateServiceAccess API. + */ + public async createPrivateServiceAccess( + createPrivateServiceAccessRequest: requests.CreatePrivateServiceAccessRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#createPrivateServiceAccess."); + const operationName = "createPrivateServiceAccess"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createPrivateServiceAccessRequest.opcRetryToken, + "opc-request-id": createPrivateServiceAccessRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createPrivateServiceAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createPrivateServiceAccessRequest.createPrivateServiceAccessDetails, + "CreatePrivateServiceAccessDetails", + model.CreatePrivateServiceAccessDetails.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: "privateServiceAccess", + bodyModel: model.PrivateServiceAccess, + type: "model.PrivateServiceAccess", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a PrivateServiceAccess. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeletePrivateServiceAccessRequest + * @return DeletePrivateServiceAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/DeletePrivateServiceAccess.ts.html |here} to see how to use DeletePrivateServiceAccess API. + */ + public async deletePrivateServiceAccess( + deletePrivateServiceAccessRequest: requests.DeletePrivateServiceAccessRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#deletePrivateServiceAccess."); + const operationName = "deletePrivateServiceAccess"; + const apiReferenceLink = ""; + const pathParams = { + "{privateServiceAccessId}": deletePrivateServiceAccessRequest.privateServiceAccessId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deletePrivateServiceAccessRequest.ifMatch, + "opc-request-id": deletePrivateServiceAccessRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deletePrivateServiceAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess/{privateServiceAccessId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a PrivateServiceAccess. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetPrivateServiceAccessRequest + * @return GetPrivateServiceAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/GetPrivateServiceAccess.ts.html |here} to see how to use GetPrivateServiceAccess API. + */ + public async getPrivateServiceAccess( + getPrivateServiceAccessRequest: requests.GetPrivateServiceAccessRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#getPrivateServiceAccess."); + const operationName = "getPrivateServiceAccess"; + const apiReferenceLink = ""; + const pathParams = { + "{privateServiceAccessId}": getPrivateServiceAccessRequest.privateServiceAccessId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getPrivateServiceAccessRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getPrivateServiceAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess/{privateServiceAccessId}", + 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: "privateServiceAccess", + bodyModel: model.PrivateServiceAccess, + type: "model.PrivateServiceAccess", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets the details of a PrivateServiceAccess work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetPsaWorkRequestRequest + * @return GetPsaWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/GetPsaWorkRequest.ts.html |here} to see how to use GetPsaWorkRequest API. + */ + public async getPsaWorkRequest( + getPsaWorkRequestRequest: requests.GetPsaWorkRequestRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#getPsaWorkRequest."); + const operationName = "getPsaWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getPsaWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getPsaWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getPsaWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaWorkRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List the private service accesses in the specified compartment. You can optionally filter the list by + * specifying the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a subnet in the cunsumer's VCN. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPrivateServiceAccessesRequest + * @return ListPrivateServiceAccessesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ListPrivateServiceAccesses.ts.html |here} to see how to use ListPrivateServiceAccesses API. + */ + public async listPrivateServiceAccesses( + listPrivateServiceAccessesRequest: requests.ListPrivateServiceAccessesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#listPrivateServiceAccesses."); + const operationName = "listPrivateServiceAccesses"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPrivateServiceAccessesRequest.compartmentId, + "lifecycleState": listPrivateServiceAccessesRequest.lifecycleState, + "displayName": listPrivateServiceAccessesRequest.displayName, + "id": listPrivateServiceAccessesRequest.id, + "vcnId": listPrivateServiceAccessesRequest.vcnId, + "serviceId": listPrivateServiceAccessesRequest.serviceId, + "limit": listPrivateServiceAccessesRequest.limit, + "page": listPrivateServiceAccessesRequest.page, + "sortBy": listPrivateServiceAccessesRequest.sortBy, + "sortOrder": listPrivateServiceAccessesRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPrivateServiceAccessesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPrivateServiceAccessesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess", + 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: "privateServiceAccessCollection", + bodyModel: model.PrivateServiceAccessCollection, + type: "model.PrivateServiceAccessCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List the OCI services available for Private Service Access catalog in the region, sorted by service name. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPsaServicesRequest + * @return ListPsaServicesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ListPsaServices.ts.html |here} to see how to use ListPsaServices API. + */ + public async listPsaServices( + listPsaServicesRequest: requests.ListPsaServicesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#listPsaServices."); + const operationName = "listPsaServices"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "displayName": listPsaServicesRequest.displayName, + "serviceId": listPsaServicesRequest.serviceId, + "limit": listPsaServicesRequest.limit, + "page": listPsaServicesRequest.page, + "sortBy": listPsaServicesRequest.sortBy, + "sortOrder": listPsaServicesRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPsaServicesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPsaServicesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaServices", + 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: "psaServiceCollection", + bodyModel: model.PsaServiceCollection, + type: "model.PsaServiceCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the errors for a PrivateServiceAccess work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPsaWorkRequestErrorsRequest + * @return ListPsaWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ListPsaWorkRequestErrors.ts.html |here} to see how to use ListPsaWorkRequestErrors API. + */ + public async listPsaWorkRequestErrors( + listPsaWorkRequestErrorsRequest: requests.ListPsaWorkRequestErrorsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#listPsaWorkRequestErrors."); + const operationName = "listPsaWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listPsaWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listPsaWorkRequestErrorsRequest.page, + "limit": listPsaWorkRequestErrorsRequest.limit, + "sortBy": listPsaWorkRequestErrorsRequest.sortBy, + "sortOrder": listPsaWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPsaWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPsaWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaWorkRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs for a PrivateServiceAccess work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPsaWorkRequestLogsRequest + * @return ListPsaWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ListPsaWorkRequestLogs.ts.html |here} to see how to use ListPsaWorkRequestLogs API. + */ + public async listPsaWorkRequestLogs( + listPsaWorkRequestLogsRequest: requests.ListPsaWorkRequestLogsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#listPsaWorkRequestLogs."); + const operationName = "listPsaWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listPsaWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listPsaWorkRequestLogsRequest.page, + "limit": listPsaWorkRequestLogsRequest.limit, + "sortBy": listPsaWorkRequestLogsRequest.sortBy, + "sortOrder": listPsaWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPsaWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPsaWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaWorkRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the PrivateServiceAccess work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPsaWorkRequestsRequest + * @return ListPsaWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/ListPsaWorkRequests.ts.html |here} to see how to use ListPsaWorkRequests API. + */ + public async listPsaWorkRequests( + listPsaWorkRequestsRequest: requests.ListPsaWorkRequestsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#listPsaWorkRequests."); + const operationName = "listPsaWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPsaWorkRequestsRequest.compartmentId, + "workRequestId": listPsaWorkRequestsRequest.workRequestId, + "status": listPsaWorkRequestsRequest.status, + "resourceId": listPsaWorkRequestsRequest.resourceId, + "page": listPsaWorkRequestsRequest.page, + "limit": listPsaWorkRequestsRequest.limit, + "sortOrder": listPsaWorkRequestsRequest.sortOrder, + "sortBy": listPsaWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPsaWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPsaWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/psaWorkRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a PrivateServiceAccess. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdatePrivateServiceAccessRequest + * @return UpdatePrivateServiceAccessResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/psa/UpdatePrivateServiceAccess.ts.html |here} to see how to use UpdatePrivateServiceAccess API. + */ + public async updatePrivateServiceAccess( + updatePrivateServiceAccessRequest: requests.UpdatePrivateServiceAccessRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation PrivateServiceAccessClient#updatePrivateServiceAccess."); + const operationName = "updatePrivateServiceAccess"; + const apiReferenceLink = ""; + const pathParams = { + "{privateServiceAccessId}": updatePrivateServiceAccessRequest.privateServiceAccessId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updatePrivateServiceAccessRequest.ifMatch, + "opc-request-id": updatePrivateServiceAccessRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updatePrivateServiceAccessRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/privateServiceAccess/{privateServiceAccessId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updatePrivateServiceAccessRequest.updatePrivateServiceAccessDetails, + "UpdatePrivateServiceAccessDetails", + model.UpdatePrivateServiceAccessDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/psa/lib/model/action-type.ts b/lib/psa/lib/model/action-type.ts new file mode 100644 index 0000000000..a63e4f7efb --- /dev/null +++ b/lib/psa/lib/model/action-type.ts @@ -0,0 +1,42 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/vnmonitoring/lib/model/change-public-ip-compartment-details.ts b/lib/psa/lib/model/change-private-service-access-compartment-details.ts similarity index 54% rename from lib/vnmonitoring/lib/model/change-public-ip-compartment-details.ts rename to lib/psa/lib/model/change-private-service-access-compartment-details.ts index 2f0e83bdb7..d03761f45f 100644 --- a/lib/vnmonitoring/lib/model/change-public-ip-compartment-details.ts +++ b/lib/psa/lib/model/change-private-service-access-compartment-details.ts @@ -1,10 +1,8 @@ /** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * OpenAPI spec version: 20160918 - * + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. @@ -19,22 +17,24 @@ import common = require("oci-common"); /** * The configuration details for the move operation. */ -export interface ChangePublicIpCompartmentDetails { +export interface ChangePrivateServiceAccessCompartmentDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * public IP to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + * into which the private service access should be moved. * */ "compartmentId": string; } -export namespace ChangePublicIpCompartmentDetails { - export function getJsonObj(obj: ChangePublicIpCompartmentDetails): object { +export namespace ChangePrivateServiceAccessCompartmentDetails { + export function getJsonObj(obj: ChangePrivateServiceAccessCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangePublicIpCompartmentDetails): object { + export function getDeserializedJsonObj( + obj: ChangePrivateServiceAccessCompartmentDetails + ): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/psa/lib/model/create-private-service-access-details.ts b/lib/psa/lib/model/create-private-service-access-details.ts new file mode 100644 index 0000000000..2f562a04bb --- /dev/null +++ b/lib/psa/lib/model/create-private-service-access-details.ts @@ -0,0 +1,101 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to create a private service access. + */ +export interface CreatePrivateServiceAccessDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the + * private service access. + * + */ + "compartmentId": 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 } }; + /** + * 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 }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels +* for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) +* (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + * Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * A description of this private service accesss. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN's + * subnet where the private service access's VNIC will reside. + * + */ + "subnetId": string; + /** + * A list of the OCIDs of the network security groups (NSGs) to add the private + * service access's VNIC to. + * For more information about NSGs, see + * {@link NetworkSecurityGroup}. + * + */ + "nsgIds"?: Array; + /** + * A unique service identifier for which the private service access was created. + * + */ + "serviceId": string; + /** + * The private IPv4 address (in the consumer's VCN) that represents the access point for the + * associated service. + * + */ + "ipv4Ip"?: string; +} + +export namespace CreatePrivateServiceAccessDetails { + export function getJsonObj(obj: CreatePrivateServiceAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreatePrivateServiceAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/index.ts b/lib/psa/lib/model/index.ts new file mode 100644 index 0000000000..e37052e3ea --- /dev/null +++ b/lib/psa/lib/model/index.ts @@ -0,0 +1,55 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as ChangePrivateServiceAccessCompartmentDetails from "./change-private-service-access-compartment-details"; +export import ChangePrivateServiceAccessCompartmentDetails = ChangePrivateServiceAccessCompartmentDetails.ChangePrivateServiceAccessCompartmentDetails; +import * as CreatePrivateServiceAccessDetails from "./create-private-service-access-details"; +export import CreatePrivateServiceAccessDetails = CreatePrivateServiceAccessDetails.CreatePrivateServiceAccessDetails; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as PrivateServiceAccess from "./private-service-access"; +export import PrivateServiceAccess = PrivateServiceAccess.PrivateServiceAccess; +import * as PrivateServiceAccessCollection from "./private-service-access-collection"; +export import PrivateServiceAccessCollection = PrivateServiceAccessCollection.PrivateServiceAccessCollection; +import * as PrivateServiceAccessSummary from "./private-service-access-summary"; +export import PrivateServiceAccessSummary = PrivateServiceAccessSummary.PrivateServiceAccessSummary; +import * as PsaServiceCollection from "./psa-service-collection"; +export import PsaServiceCollection = PsaServiceCollection.PsaServiceCollection; +import * as PsaServiceSummary from "./psa-service-summary"; +export import PsaServiceSummary = PsaServiceSummary.PsaServiceSummary; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as UpdatePrivateServiceAccessDetails from "./update-private-service-access-details"; +export import UpdatePrivateServiceAccessDetails = UpdatePrivateServiceAccessDetails.UpdatePrivateServiceAccessDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; diff --git a/lib/psa/lib/model/operation-status.ts b/lib/psa/lib/model/operation-status.ts new file mode 100644 index 0000000000..ef79c5418d --- /dev/null +++ b/lib/psa/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Cancelling = "CANCELLING", + Cancelled = "CANCELLED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/psa/lib/model/operation-type.ts b/lib/psa/lib/model/operation-type.ts new file mode 100644 index 0000000000..ddf99fe2fe --- /dev/null +++ b/lib/psa/lib/model/operation-type.ts @@ -0,0 +1,40 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + CreatePrivateServiceAccess = "CREATE_PRIVATE_SERVICE_ACCESS", + UpdatePrivateServiceAccess = "UPDATE_PRIVATE_SERVICE_ACCESS", + DeletePrivateServiceAccess = "DELETE_PRIVATE_SERVICE_ACCESS", + MovePrivateServiceAccess = "MOVE_PRIVATE_SERVICE_ACCESS", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/psa/lib/model/private-service-access-collection.ts b/lib/psa/lib/model/private-service-access-collection.ts new file mode 100644 index 0000000000..3cebcbfde8 --- /dev/null +++ b/lib/psa/lib/model/private-service-access-collection.ts @@ -0,0 +1,56 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 privateServiceAccess search. Contains both PrivateServiceAccessSummary items and other information, such as metadata. + */ +export interface PrivateServiceAccessCollection { + /** + * List of privateServiceAccess. + */ + "items": Array; +} + +export namespace PrivateServiceAccessCollection { + export function getJsonObj(obj: PrivateServiceAccessCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PrivateServiceAccessSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PrivateServiceAccessCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PrivateServiceAccessSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/private-service-access-summary.ts b/lib/psa/lib/model/private-service-access-summary.ts new file mode 100644 index 0000000000..a2ca4e0439 --- /dev/null +++ b/lib/psa/lib/model/private-service-access-summary.ts @@ -0,0 +1,150 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A summary of private service access information. This object is returned when listing private service accesses. + * + */ +export interface PrivateServiceAccessSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the + * private service access. + * + */ + "compartmentId": 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 } }; + /** + * 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 }; + /** + * 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 } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels +* for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) +* (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + * Avoid entering confidential information. + * + */ + "displayName": string; + /** + * A description of this private service access. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access. + * + */ + "id": string; + /** + * The date and time the private service access was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private + * service access belongs to. + * + */ + "vcnId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private service access + * belongs to. + * + */ + "subnetId": string; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access's VNIC, which + * resides in the private service access's VCN . + * + */ + "vnicId": string; + /** + * The private service access's current lifecycle state. + */ + "lifecycleState": string; + /** + * A unique service identifier for which the private service access was created. + * + */ + "serviceId": string; + /** + * A list of the OCIDs of the network security groups that the private service access's VNIC belongs to. + * For more information about NSGs, see + * {@link NetworkSecurityGroup}. + * + */ + "nsgIds"?: Array; + /** + * The private service access IPv4 FQDNs, which are going to be used to access the service. +*

+Example: {@code xyz.oraclecloud.com} +* + */ + "fqdns": Array; + /** + * The private IP address (in the consumer's VCN) that represents the access point for the + * associated service. + * + */ + "ipv4Ip"?: string; +} + +export namespace PrivateServiceAccessSummary { + export function getJsonObj(obj: PrivateServiceAccessSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PrivateServiceAccessSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/private-service-access.ts b/lib/psa/lib/model/private-service-access.ts new file mode 100644 index 0000000000..295a394b41 --- /dev/null +++ b/lib/psa/lib/model/private-service-access.ts @@ -0,0 +1,164 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Private Service Access (PSA) is a new way to create private accesss for a service. + * + */ +export interface PrivateServiceAccess { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the + * private service access. + * + */ + "compartmentId": 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 } }; + /** + * 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 }; + /** + * 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 } }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels +* for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) +* (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + * Avoid entering confidential information. + * + */ + "displayName": string; + /** + * A description of this private service access. + * + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access. + * + */ + "id": string; + /** + * The date and time the private service access was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private + * service access belongs to. + * + */ + "vcnId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that the private service access + * belongs to. + * + */ + "subnetId": string; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private service access's VNIC, which + * resides in the private service access's VCN . + * + */ + "vnicId": string; + /** + * The private service access's current lifecycle state. + */ + "lifecycleState": PrivateServiceAccess.LifecycleState; + /** + * A list of the OCIDs of the network security groups that the private service access's VNIC belongs to. + * For more information about NSGs, see + * {@link NetworkSecurityGroup}. + * + */ + "nsgIds"?: Array; + /** + * A unique service identifier for which the private service access was created. + * + */ + "serviceId": string; + /** + * The private service access FQDNs, which are going to be used to access the service. +*

+Example: {@code xyz.oraclecloud.com} +* + */ + "fqdns": Array; + /** + * The private IPv4 address (in the consumer's VCN) that represents the access point for the + * associated service. + * + */ + "ipv4Ip"?: string; +} + +export namespace PrivateServiceAccess { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: PrivateServiceAccess): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PrivateServiceAccess): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/psa-service-collection.ts b/lib/psa/lib/model/psa-service-collection.ts new file mode 100644 index 0000000000..9f840c8812 --- /dev/null +++ b/lib/psa/lib/model/psa-service-collection.ts @@ -0,0 +1,56 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 psaServices search. Contains PsaServiceSummary items. + */ +export interface PsaServiceCollection { + /** + * List of PsaServiceSummary. + */ + "items": Array; +} + +export namespace PsaServiceCollection { + export function getJsonObj(obj: PsaServiceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PsaServiceSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PsaServiceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PsaServiceSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/psa-service-summary.ts b/lib/psa/lib/model/psa-service-summary.ts new file mode 100644 index 0000000000..09deca3cc9 --- /dev/null +++ b/lib/psa/lib/model/psa-service-summary.ts @@ -0,0 +1,65 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An OCI service summary, that will be used as a catalog for Private Service Access. + * + */ +export interface PsaServiceSummary { + /** + * A unique OCI service identifier. +*

+Example: {@code object-storage-api} +* + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + * Avoid entering confidential information. + * + */ + "displayName": string; + /** + * A description of the OCI service. + * + */ + "description"?: string; + /** + * The public facing service FQDNs, which are going to be used to access the service. +*

+Example: {@code xyz.oraclecloud.com} +* + */ + "fqdns": Array; + /** + * This optional field will indicate that whether service is IPv6 enabled. + * + */ + "isV6Enabled"?: boolean; +} + +export namespace PsaServiceSummary { + export function getJsonObj(obj: PsaServiceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PsaServiceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/sort-order.ts b/lib/psa/lib/model/sort-order.ts new file mode 100644 index 0000000000..2ee9a87b37 --- /dev/null +++ b/lib/psa/lib/model/sort-order.ts @@ -0,0 +1,40 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/psa/lib/model/update-private-service-access-details.ts b/lib/psa/lib/model/update-private-service-access-details.ts new file mode 100644 index 0000000000..f3336e624d --- /dev/null +++ b/lib/psa/lib/model/update-private-service-access-details.ts @@ -0,0 +1,77 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to update a private service access. + */ +export interface UpdatePrivateServiceAccessDetails { + /** + * 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 } }; + /** + * 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 }; + /** + * [Security attributes](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/zpr-artifacts.htm#security-attributes) are labels +* for a resource that can be referenced in a [Zero Trust Packet Routing](https://docs.oracle.com/iaas/Content/zero-trust-packet-routing/overview.htm) +* (ZPR) policy to control access to ZPR-supported resources. +*

+Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}} +* + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + * Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * A description of this private service. + * + */ + "description"?: string; + /** + * A list of the OCIDs of the network security groups (NSGs) to add the private service access's VNIC to. + * For more information about NSGs, see + * {@link NetworkSecurityGroup}. + * + */ + "nsgIds"?: Array; +} + +export namespace UpdatePrivateServiceAccessDetails { + export function getJsonObj(obj: UpdatePrivateServiceAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdatePrivateServiceAccessDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-error-collection.ts b/lib/psa/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..073583c238 --- /dev/null +++ b/lib/psa/lib/model/work-request-error-collection.ts @@ -0,0 +1,56 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-error.ts b/lib/psa/lib/model/work-request-error.ts new file mode 100644 index 0000000000..661bcf7b54 --- /dev/null +++ b/lib/psa/lib/model/work-request-error.ts @@ -0,0 +1,50 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-log-entry-collection.ts b/lib/psa/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..76e4a3d34f --- /dev/null +++ b/lib/psa/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,56 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-log-entry.ts b/lib/psa/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..7b66e4b63b --- /dev/null +++ b/lib/psa/lib/model/work-request-log-entry.ts @@ -0,0 +1,44 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-resource-metadata-key.ts b/lib/psa/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..a35dd07ac3 --- /dev/null +++ b/lib/psa/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,39 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/psa/lib/model/work-request-resource.ts b/lib/psa/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..a8cbe7a37a --- /dev/null +++ b/lib/psa/lib/model/work-request-resource.ts @@ -0,0 +1,58 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until + * work is complete for that resource, at which point it transitions to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-summary-collection.ts b/lib/psa/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..d75f9414fd --- /dev/null +++ b/lib/psa/lib/model/work-request-summary-collection.ts @@ -0,0 +1,56 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request-summary.ts b/lib/psa/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..446a74e56d --- /dev/null +++ b/lib/psa/lib/model/work-request-summary.ts @@ -0,0 +1,103 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/model/work-request.ts b/lib/psa/lib/model/work-request.ts new file mode 100644 index 0000000000..789724e6ce --- /dev/null +++ b/lib/psa/lib/model/work-request.ts @@ -0,0 +1,106 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, + * the service creates a work request. A work request is an activity log that lets you track each step in the operation's + * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/psa/lib/privateserviceaccess-waiter.ts b/lib/psa/lib/privateserviceaccess-waiter.ts new file mode 100644 index 0000000000..9dc642353a --- /dev/null +++ b/lib/psa/lib/privateserviceaccess-waiter.ts @@ -0,0 +1,44 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { PrivateServiceAccessClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class PrivateServiceAccessWaiter { + public constructor( + private client: PrivateServiceAccessClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forPrivateServiceAccess 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 GetPrivateServiceAccessResponse | null (null in case of 404 response) + */ + public async forPrivateServiceAccess( + request: serviceRequests.GetPrivateServiceAccessRequest, + ...targetStates: models.PrivateServiceAccess.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getPrivateServiceAccess(request), + response => targetStates.includes(response.privateServiceAccess.lifecycleState!), + targetStates.includes(models.PrivateServiceAccess.LifecycleState.Deleted) + ); + } +} diff --git a/lib/psa/lib/request/cancel-psa-work-request-request.ts b/lib/psa/lib/request/cancel-psa-work-request-request.ts new file mode 100644 index 0000000000..b9c01ee263 --- /dev/null +++ b/lib/psa/lib/request/cancel-psa-work-request-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/CancelPsaWorkRequest.ts.html |here} to see how to use CancelPsaWorkRequestRequest. + */ +export interface CancelPsaWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/request/change-private-service-access-compartment-request.ts b/lib/psa/lib/request/change-private-service-access-compartment-request.ts new file mode 100644 index 0000000000..e371cbd7c1 --- /dev/null +++ b/lib/psa/lib/request/change-private-service-access-compartment-request.ts @@ -0,0 +1,54 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ChangePrivateServiceAccessCompartment.ts.html |here} to see how to use ChangePrivateServiceAccessCompartmentRequest. + */ +export interface ChangePrivateServiceAccessCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess. + */ + "privateServiceAccessId": string; + /** + * The information to be updated. + */ + "changePrivateServiceAccessCompartmentDetails": model.ChangePrivateServiceAccessCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/psa/lib/request/create-private-service-access-request.ts b/lib/psa/lib/request/create-private-service-access-request.ts new file mode 100644 index 0000000000..8776a78dc5 --- /dev/null +++ b/lib/psa/lib/request/create-private-service-access-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/CreatePrivateServiceAccess.ts.html |here} to see how to use CreatePrivateServiceAccessRequest. + */ +export interface CreatePrivateServiceAccessRequest extends common.BaseRequest { + /** + * Details for the new PrivateServiceAccess. + */ + "createPrivateServiceAccessDetails": model.CreatePrivateServiceAccessDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/request/delete-private-service-access-request.ts b/lib/psa/lib/request/delete-private-service-access-request.ts new file mode 100644 index 0000000000..4b0f30370f --- /dev/null +++ b/lib/psa/lib/request/delete-private-service-access-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/DeletePrivateServiceAccess.ts.html |here} to see how to use DeletePrivateServiceAccessRequest. + */ +export interface DeletePrivateServiceAccessRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess. + */ + "privateServiceAccessId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/request/get-private-service-access-request.ts b/lib/psa/lib/request/get-private-service-access-request.ts new file mode 100644 index 0000000000..dc9a1c9901 --- /dev/null +++ b/lib/psa/lib/request/get-private-service-access-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/GetPrivateServiceAccess.ts.html |here} to see how to use GetPrivateServiceAccessRequest. + */ +export interface GetPrivateServiceAccessRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess. + */ + "privateServiceAccessId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/request/get-psa-work-request-request.ts b/lib/psa/lib/request/get-psa-work-request-request.ts new file mode 100644 index 0000000000..7a96595381 --- /dev/null +++ b/lib/psa/lib/request/get-psa-work-request-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/GetPsaWorkRequest.ts.html |here} to see how to use GetPsaWorkRequestRequest. + */ +export interface GetPsaWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/request/index.ts b/lib/psa/lib/request/index.ts new file mode 100644 index 0000000000..4d3d953d41 --- /dev/null +++ b/lib/psa/lib/request/index.ts @@ -0,0 +1,37 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as CancelPsaWorkRequestRequest from "./cancel-psa-work-request-request"; +export import CancelPsaWorkRequestRequest = CancelPsaWorkRequestRequest.CancelPsaWorkRequestRequest; +import * as ChangePrivateServiceAccessCompartmentRequest from "./change-private-service-access-compartment-request"; +export import ChangePrivateServiceAccessCompartmentRequest = ChangePrivateServiceAccessCompartmentRequest.ChangePrivateServiceAccessCompartmentRequest; +import * as CreatePrivateServiceAccessRequest from "./create-private-service-access-request"; +export import CreatePrivateServiceAccessRequest = CreatePrivateServiceAccessRequest.CreatePrivateServiceAccessRequest; +import * as DeletePrivateServiceAccessRequest from "./delete-private-service-access-request"; +export import DeletePrivateServiceAccessRequest = DeletePrivateServiceAccessRequest.DeletePrivateServiceAccessRequest; +import * as GetPrivateServiceAccessRequest from "./get-private-service-access-request"; +export import GetPrivateServiceAccessRequest = GetPrivateServiceAccessRequest.GetPrivateServiceAccessRequest; +import * as GetPsaWorkRequestRequest from "./get-psa-work-request-request"; +export import GetPsaWorkRequestRequest = GetPsaWorkRequestRequest.GetPsaWorkRequestRequest; +import * as ListPrivateServiceAccessesRequest from "./list-private-service-accesses-request"; +export import ListPrivateServiceAccessesRequest = ListPrivateServiceAccessesRequest.ListPrivateServiceAccessesRequest; +import * as ListPsaServicesRequest from "./list-psa-services-request"; +export import ListPsaServicesRequest = ListPsaServicesRequest.ListPsaServicesRequest; +import * as ListPsaWorkRequestErrorsRequest from "./list-psa-work-request-errors-request"; +export import ListPsaWorkRequestErrorsRequest = ListPsaWorkRequestErrorsRequest.ListPsaWorkRequestErrorsRequest; +import * as ListPsaWorkRequestLogsRequest from "./list-psa-work-request-logs-request"; +export import ListPsaWorkRequestLogsRequest = ListPsaWorkRequestLogsRequest.ListPsaWorkRequestLogsRequest; +import * as ListPsaWorkRequestsRequest from "./list-psa-work-requests-request"; +export import ListPsaWorkRequestsRequest = ListPsaWorkRequestsRequest.ListPsaWorkRequestsRequest; +import * as UpdatePrivateServiceAccessRequest from "./update-private-service-access-request"; +export import UpdatePrivateServiceAccessRequest = UpdatePrivateServiceAccessRequest.UpdatePrivateServiceAccessRequest; diff --git a/lib/psa/lib/request/list-private-service-accesses-request.ts b/lib/psa/lib/request/list-private-service-accesses-request.ts new file mode 100644 index 0000000000..e371944821 --- /dev/null +++ b/lib/psa/lib/request/list-private-service-accesses-request.ts @@ -0,0 +1,86 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ListPrivateServiceAccesses.ts.html |here} to see how to use ListPrivateServiceAccessesRequest. + */ +export interface ListPrivateServiceAccessesRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. + */ + "id"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. + */ + "vcnId"?: string; + /** + * The unique identifier of the OCI service. + */ + "serviceId"?: 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 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"?: ListPrivateServiceAccessesRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * 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 ListPrivateServiceAccessesRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/psa/lib/request/list-psa-services-request.ts b/lib/psa/lib/request/list-psa-services-request.ts new file mode 100644 index 0000000000..3a99d404c1 --- /dev/null +++ b/lib/psa/lib/request/list-psa-services-request.ts @@ -0,0 +1,66 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ListPsaServices.ts.html |here} to see how to use ListPsaServicesRequest. + */ +export interface ListPsaServicesRequest extends common.BaseRequest { + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The unique identifier of the OCI service. + */ + "serviceId"?: 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 field to sort by. Only one sort order may be provided. Default order for {@code displayName} is descending. + * + */ + "sortBy"?: ListPsaServicesRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * 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 ListPsaServicesRequest { + export enum SortBy { + DisplayName = "displayName" + } +} diff --git a/lib/psa/lib/request/list-psa-work-request-errors-request.ts b/lib/psa/lib/request/list-psa-work-request-errors-request.ts new file mode 100644 index 0000000000..8b83d89f7a --- /dev/null +++ b/lib/psa/lib/request/list-psa-work-request-errors-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ListPsaWorkRequestErrors.ts.html |here} to see how to use ListPsaWorkRequestErrorsRequest. + */ +export interface ListPsaWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListPsaWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListPsaWorkRequestErrorsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/psa/lib/request/list-psa-work-request-logs-request.ts b/lib/psa/lib/request/list-psa-work-request-logs-request.ts new file mode 100644 index 0000000000..4831025a78 --- /dev/null +++ b/lib/psa/lib/request/list-psa-work-request-logs-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ListPsaWorkRequestLogs.ts.html |here} to see how to use ListPsaWorkRequestLogsRequest. + */ +export interface ListPsaWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListPsaWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListPsaWorkRequestLogsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/psa/lib/request/list-psa-work-requests-request.ts b/lib/psa/lib/request/list-psa-work-requests-request.ts new file mode 100644 index 0000000000..6114d771ff --- /dev/null +++ b/lib/psa/lib/request/list-psa-work-requests-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/ListPsaWorkRequests.ts.html |here} to see how to use ListPsaWorkRequestsRequest. + */ +export interface ListPsaWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListPsaWorkRequestsRequest.SortBy; +} + +export namespace ListPsaWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/psa/lib/request/update-private-service-access-request.ts b/lib/psa/lib/request/update-private-service-access-request.ts new file mode 100644 index 0000000000..7b56840667 --- /dev/null +++ b/lib/psa/lib/request/update-private-service-access-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/psa/UpdatePrivateServiceAccess.ts.html |here} to see how to use UpdatePrivateServiceAccessRequest. + */ +export interface UpdatePrivateServiceAccessRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PrivateServiceAccess. + */ + "privateServiceAccessId": string; + /** + * PrivateServiceAccess information to be updated. + */ + "updatePrivateServiceAccessDetails": model.UpdatePrivateServiceAccessDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/psa/lib/response/cancel-psa-work-request-response.ts b/lib/psa/lib/response/cancel-psa-work-request-response.ts new file mode 100644 index 0000000000..2fd8ad332c --- /dev/null +++ b/lib/psa/lib/response/cancel-psa-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CancelPsaWorkRequestResponse { + /** + * 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/psa/lib/response/change-private-service-access-compartment-response.ts b/lib/psa/lib/response/change-private-service-access-compartment-response.ts new file mode 100644 index 0000000000..46f3847cc3 --- /dev/null +++ b/lib/psa/lib/response/change-private-service-access-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangePrivateServiceAccessCompartmentResponse { + /** + * 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/psa/lib/response/create-private-service-access-response.ts b/lib/psa/lib/response/create-private-service-access-response.ts new file mode 100644 index 0000000000..6040633d6e --- /dev/null +++ b/lib/psa/lib/response/create-private-service-access-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreatePrivateServiceAccessResponse { + /** + * URL for the created privateServiceAccess. The privateServiceAccess OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.PrivateServiceAccess instance. + */ + "privateServiceAccess": model.PrivateServiceAccess; +} diff --git a/lib/psa/lib/response/delete-private-service-access-response.ts b/lib/psa/lib/response/delete-private-service-access-response.ts new file mode 100644 index 0000000000..a07d390da2 --- /dev/null +++ b/lib/psa/lib/response/delete-private-service-access-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeletePrivateServiceAccessResponse { + /** + * 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/psa/lib/response/get-private-service-access-response.ts b/lib/psa/lib/response/get-private-service-access-response.ts new file mode 100644 index 0000000000..dd7b32913f --- /dev/null +++ b/lib/psa/lib/response/get-private-service-access-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetPrivateServiceAccessResponse { + /** + * 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.PrivateServiceAccess instance. + */ + "privateServiceAccess": model.PrivateServiceAccess; +} diff --git a/lib/psa/lib/response/get-psa-work-request-response.ts b/lib/psa/lib/response/get-psa-work-request-response.ts new file mode 100644 index 0000000000..afeaf5468f --- /dev/null +++ b/lib/psa/lib/response/get-psa-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetPsaWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/psa/lib/response/index.ts b/lib/psa/lib/response/index.ts new file mode 100644 index 0000000000..384791ebb3 --- /dev/null +++ b/lib/psa/lib/response/index.ts @@ -0,0 +1,37 @@ +/** + * PrivateServiceAccess Control Plane API + * Use the PrivateServiceAccess Control Plane API to manage privateServiceAccess. + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as CancelPsaWorkRequestResponse from "./cancel-psa-work-request-response"; +export import CancelPsaWorkRequestResponse = CancelPsaWorkRequestResponse.CancelPsaWorkRequestResponse; +import * as ChangePrivateServiceAccessCompartmentResponse from "./change-private-service-access-compartment-response"; +export import ChangePrivateServiceAccessCompartmentResponse = ChangePrivateServiceAccessCompartmentResponse.ChangePrivateServiceAccessCompartmentResponse; +import * as CreatePrivateServiceAccessResponse from "./create-private-service-access-response"; +export import CreatePrivateServiceAccessResponse = CreatePrivateServiceAccessResponse.CreatePrivateServiceAccessResponse; +import * as DeletePrivateServiceAccessResponse from "./delete-private-service-access-response"; +export import DeletePrivateServiceAccessResponse = DeletePrivateServiceAccessResponse.DeletePrivateServiceAccessResponse; +import * as GetPrivateServiceAccessResponse from "./get-private-service-access-response"; +export import GetPrivateServiceAccessResponse = GetPrivateServiceAccessResponse.GetPrivateServiceAccessResponse; +import * as GetPsaWorkRequestResponse from "./get-psa-work-request-response"; +export import GetPsaWorkRequestResponse = GetPsaWorkRequestResponse.GetPsaWorkRequestResponse; +import * as ListPrivateServiceAccessesResponse from "./list-private-service-accesses-response"; +export import ListPrivateServiceAccessesResponse = ListPrivateServiceAccessesResponse.ListPrivateServiceAccessesResponse; +import * as ListPsaServicesResponse from "./list-psa-services-response"; +export import ListPsaServicesResponse = ListPsaServicesResponse.ListPsaServicesResponse; +import * as ListPsaWorkRequestErrorsResponse from "./list-psa-work-request-errors-response"; +export import ListPsaWorkRequestErrorsResponse = ListPsaWorkRequestErrorsResponse.ListPsaWorkRequestErrorsResponse; +import * as ListPsaWorkRequestLogsResponse from "./list-psa-work-request-logs-response"; +export import ListPsaWorkRequestLogsResponse = ListPsaWorkRequestLogsResponse.ListPsaWorkRequestLogsResponse; +import * as ListPsaWorkRequestsResponse from "./list-psa-work-requests-response"; +export import ListPsaWorkRequestsResponse = ListPsaWorkRequestsResponse.ListPsaWorkRequestsResponse; +import * as UpdatePrivateServiceAccessResponse from "./update-private-service-access-response"; +export import UpdatePrivateServiceAccessResponse = UpdatePrivateServiceAccessResponse.UpdatePrivateServiceAccessResponse; diff --git a/lib/psa/lib/response/list-private-service-accesses-response.ts b/lib/psa/lib/response/list-private-service-accesses-response.ts new file mode 100644 index 0000000000..8a9da5d13b --- /dev/null +++ b/lib/psa/lib/response/list-private-service-accesses-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPrivateServiceAccessesResponse { + /** + * 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.PrivateServiceAccessCollection instance. + */ + "privateServiceAccessCollection": model.PrivateServiceAccessCollection; +} diff --git a/lib/psa/lib/response/list-psa-services-response.ts b/lib/psa/lib/response/list-psa-services-response.ts new file mode 100644 index 0000000000..4c29c7b602 --- /dev/null +++ b/lib/psa/lib/response/list-psa-services-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPsaServicesResponse { + /** + * 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.PsaServiceCollection instance. + */ + "psaServiceCollection": model.PsaServiceCollection; +} diff --git a/lib/psa/lib/response/list-psa-work-request-errors-response.ts b/lib/psa/lib/response/list-psa-work-request-errors-response.ts new file mode 100644 index 0000000000..2d07247ab0 --- /dev/null +++ b/lib/psa/lib/response/list-psa-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPsaWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/psa/lib/response/list-psa-work-request-logs-response.ts b/lib/psa/lib/response/list-psa-work-request-logs-response.ts new file mode 100644 index 0000000000..06a589768c --- /dev/null +++ b/lib/psa/lib/response/list-psa-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPsaWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/psa/lib/response/list-psa-work-requests-response.ts b/lib/psa/lib/response/list-psa-work-requests-response.ts new file mode 100644 index 0000000000..0cf4d2c921 --- /dev/null +++ b/lib/psa/lib/response/list-psa-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPsaWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/psa/lib/response/update-private-service-access-response.ts b/lib/psa/lib/response/update-private-service-access-response.ts new file mode 100644 index 0000000000..3b1c79e978 --- /dev/null +++ b/lib/psa/lib/response/update-private-service-access-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240301 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdatePrivateServiceAccessResponse { + /** + * 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/psa/package.json b/lib/psa/package.json new file mode 100644 index 0000000000..31fa6ac0a8 --- /dev/null +++ b/lib/psa/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-psa", + "version": "2.121.0", + "description": "OCI NodeJS client for Psa Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/psa/index.js", + "typings": "../../target/lib/psa/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/psa/tsconfig.json b/lib/psa/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/psa/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/psql/package.json b/lib/psql/package.json index 2fce216cf9..caabb07f14 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 831e3f739f..2df26c8b42 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index cf1092b131..354e927a89 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index 8e172dce5c..46d38c32cb 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourceanalytics/package.json b/lib/resourceanalytics/package.json index 10a64680f4..cbdbf3c5f1 100644 --- a/lib/resourceanalytics/package.json +++ b/lib/resourceanalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourceanalytics", - "version": "2.120.0", + "version": "2.121.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 5d8eccb178..f319275157 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.120.0", + "version": "2.121.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 7a3e05b7db..3197134137 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.120.0", + "version": "2.121.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 5f3e4bc10a..9815754bf7 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.120.0", + "version": "2.121.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 470f1632a2..4c17f92110 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 48b857c37d..476d906fb7 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 86fbdbb512..d35f3ebae7 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index 8f1b08a4c6..81890d9563 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index d1eeae0b07..7730539f91 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.120.0", + "version": "2.121.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 6745b050b6..577b9bc3ac 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.120.0", + "version": "2.121.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 dd0ca00271..9e059fe8c2 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.120.0", + "version": "2.121.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 9faa1c8712..ed87554244 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 322a4a3e6f..9fd7d1b790 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.120.0", + "version": "2.121.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 ab302f2b3e..67fa2be711 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.120.0", + "version": "2.121.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 65b48f9443..c8cd18b1ea 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 675fc3eab3..3611e2381f 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.120.0", + "version": "2.121.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 2aa0f11be1..e9f990255f 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index 7983a1cef2..4cab6152a7 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.120.0", + "version": "2.121.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 003378a301..1450b8326f 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/lib/model/add-drg-route-rule-details.ts b/lib/vnmonitoring/lib/model/add-drg-route-rule-details.ts index c5f4d39dec..c593e56513 100644 --- a/lib/vnmonitoring/lib/model/add-drg-route-rule-details.ts +++ b/lib/vnmonitoring/lib/model/add-drg-route-rule-details.ts @@ -33,7 +33,7 @@ export interface AddDrgRouteRuleDetails { * traffic. Only CIDR_BLOCK values are allowed. *

Potential values: -* * IP address range in CIDR notation. This can be an IPv4 or IPv6 CIDR. For example: {@code 192.168.1.0/24} +* * IP address range in CIDR notation. This can be an IPv4 CIDR block or IPv6 prefix. For example: {@code 192.168.1.0/24} * or {@code 2001:0db8:0123:45::/56}. * */ diff --git a/lib/vnmonitoring/lib/model/add-network-security-group-security-rules-details.ts b/lib/vnmonitoring/lib/model/add-network-security-group-security-rules-details.ts index c10f601268..a2f978e9ac 100644 --- a/lib/vnmonitoring/lib/model/add-network-security-group-security-rules-details.ts +++ b/lib/vnmonitoring/lib/model/add-network-security-group-security-rules-details.ts @@ -18,7 +18,10 @@ import common = require("oci-common"); export interface AddNetworkSecurityGroupSecurityRulesDetails { /** - * The NSG security rules to add. + * An array of security rules to add to the NSG. You can add up to 25 rules in a single + * {@code AddNetworkSecurityGroupSecurityRules} operation. + * Adding more than 25 rules requires multiple operations. + * */ "securityRules"?: Array; } diff --git a/lib/vnmonitoring/lib/model/add-public-ip-pool-capacity-details.ts b/lib/vnmonitoring/lib/model/add-public-ip-pool-capacity-details.ts deleted file mode 100644 index 6e3efd69f6..0000000000 --- a/lib/vnmonitoring/lib/model/add-public-ip-pool-capacity-details.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 information used to add capacity to an IP pool. - */ -export interface AddPublicIpPoolCapacityDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code ByoipRange} resource to which the CIDR block belongs. - */ - "byoipRangeId": string; - /** - * The CIDR block to add to the public IP pool. It could be all of the CIDR block identified in {@code byoipRangeId}, or a subrange. - * Example: {@code 10.0.1.0/24} - * - */ - "cidrBlock": string; -} - -export namespace AddPublicIpPoolCapacityDetails { - export function getJsonObj(obj: AddPublicIpPoolCapacityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AddPublicIpPoolCapacityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/add-subnet-ipv6-cidr-details.ts b/lib/vnmonitoring/lib/model/add-subnet-ipv6-cidr-details.ts deleted file mode 100644 index 41086c9216..0000000000 --- a/lib/vnmonitoring/lib/model/add-subnet-ipv6-cidr-details.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Details used when adding an IPv6 CIDR block to a subnet. - */ -export interface AddSubnetIpv6CidrDetails { - /** - * This field is not required and should only be specified when adding an IPv6 CIDR -* to a subnet's IPv6 address space. -* See[IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:0db8:0123::/64} -* - */ - "ipv6CidrBlock": string; -} - -export namespace AddSubnetIpv6CidrDetails { - export function getJsonObj(obj: AddSubnetIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AddSubnetIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/add-vcn-ipv6-cidr-details.ts b/lib/vnmonitoring/lib/model/add-vcn-ipv6-cidr-details.ts deleted file mode 100644 index c54e5fd3f9..0000000000 --- a/lib/vnmonitoring/lib/model/add-vcn-ipv6-cidr-details.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Details used when adding a ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or a BYOIPv6 prefix. You can add only one of these per request. - */ -export interface AddVcnIpv6CidrDetails { - /** - * This field is not required and should only be specified if a ULA or private IPv6 prefix is desired for VCN's private IP address space. -* See[IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:0db8:0123::/48} or {@code fd00:1000:0:1::/64} -* - */ - "ipv6PrivateCidrBlock"?: string; - /** - * Indicates whether Oracle will allocate an IPv6 GUA. Only one prefix of /56 size can be allocated by Oracle as a GUA. - * - */ - "isOracleGuaAllocationEnabled"?: boolean; - "byoipv6CidrDetail"?: model.Byoipv6CidrDetails; -} - -export namespace AddVcnIpv6CidrDetails { - export function getJsonObj(obj: AddVcnIpv6CidrDetails): object { - const jsonObj = { - ...obj, - ...{ - "byoipv6CidrDetail": obj.byoipv6CidrDetail - ? model.Byoipv6CidrDetails.getJsonObj(obj.byoipv6CidrDetail) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AddVcnIpv6CidrDetails): object { - const jsonObj = { - ...obj, - ...{ - "byoipv6CidrDetail": obj.byoipv6CidrDetail - ? model.Byoipv6CidrDetails.getDeserializedJsonObj(obj.byoipv6CidrDetail) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/adhoc-get-path-analysis-details.ts b/lib/vnmonitoring/lib/model/adhoc-get-path-analysis-details.ts index 179d1da8d7..b19c5cab1f 100644 --- a/lib/vnmonitoring/lib/model/adhoc-get-path-analysis-details.ts +++ b/lib/vnmonitoring/lib/model/adhoc-get-path-analysis-details.ts @@ -33,6 +33,7 @@ export interface AdhocGetPathAnalysisDetails extends model.GetPathAnalysisDetail | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint @@ -44,6 +45,7 @@ export interface AdhocGetPathAnalysisDetails extends model.GetPathAnalysisDetail | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint diff --git a/lib/vnmonitoring/lib/model/allowed-ike-ip-sec-parameters.ts b/lib/vnmonitoring/lib/model/allowed-ike-ip-sec-parameters.ts deleted file mode 100644 index 3249feddab..0000000000 --- a/lib/vnmonitoring/lib/model/allowed-ike-ip-sec-parameters.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Lists the current allowed and default IPSec tunnel parameters. - */ -export interface AllowedIkeIPSecParameters { - "allowedPhaseOneParameters": model.AllowedPhaseOneParameters; - "allowedPhaseTwoParameters": model.AllowedPhaseTwoParameters; - "defaultPhaseOneParameters": model.DefaultPhaseOneParameters; - "defaultPhaseTwoParameters": model.DefaultPhaseTwoParameters; -} - -export namespace AllowedIkeIPSecParameters { - export function getJsonObj(obj: AllowedIkeIPSecParameters): object { - const jsonObj = { - ...obj, - ...{ - "allowedPhaseOneParameters": obj.allowedPhaseOneParameters - ? model.AllowedPhaseOneParameters.getJsonObj(obj.allowedPhaseOneParameters) - : undefined, - "allowedPhaseTwoParameters": obj.allowedPhaseTwoParameters - ? model.AllowedPhaseTwoParameters.getJsonObj(obj.allowedPhaseTwoParameters) - : undefined, - "defaultPhaseOneParameters": obj.defaultPhaseOneParameters - ? model.DefaultPhaseOneParameters.getJsonObj(obj.defaultPhaseOneParameters) - : undefined, - "defaultPhaseTwoParameters": obj.defaultPhaseTwoParameters - ? model.DefaultPhaseTwoParameters.getJsonObj(obj.defaultPhaseTwoParameters) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AllowedIkeIPSecParameters): object { - const jsonObj = { - ...obj, - ...{ - "allowedPhaseOneParameters": obj.allowedPhaseOneParameters - ? model.AllowedPhaseOneParameters.getDeserializedJsonObj(obj.allowedPhaseOneParameters) - : undefined, - "allowedPhaseTwoParameters": obj.allowedPhaseTwoParameters - ? model.AllowedPhaseTwoParameters.getDeserializedJsonObj(obj.allowedPhaseTwoParameters) - : undefined, - "defaultPhaseOneParameters": obj.defaultPhaseOneParameters - ? model.DefaultPhaseOneParameters.getDeserializedJsonObj(obj.defaultPhaseOneParameters) - : undefined, - "defaultPhaseTwoParameters": obj.defaultPhaseTwoParameters - ? model.DefaultPhaseTwoParameters.getDeserializedJsonObj(obj.defaultPhaseTwoParameters) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/allowed-security-action-details.ts b/lib/vnmonitoring/lib/model/allowed-security-action-details.ts index 84ddccf1f6..6028dfc735 100644 --- a/lib/vnmonitoring/lib/model/allowed-security-action-details.ts +++ b/lib/vnmonitoring/lib/model/allowed-security-action-details.ts @@ -27,7 +27,9 @@ export interface AllowedSecurityActionDetails { "isRestrictedOrPartial": boolean; "allowedSecurityConfiguration"?: | model.StatefulEgressSecurityListConfiguration + | model.StatefulZprConfiguration | model.NsgConfiguration + | model.ZprConfiguration | model.IngressSecurityListConfiguration | model.StatefulIngressSecurityListConfiguration | model.EgressSecurityListConfiguration diff --git a/lib/vnmonitoring/lib/model/allowed-security-configuration.ts b/lib/vnmonitoring/lib/model/allowed-security-configuration.ts index 95d931ccde..a17d3ed0c3 100644 --- a/lib/vnmonitoring/lib/model/allowed-security-configuration.ts +++ b/lib/vnmonitoring/lib/model/allowed-security-configuration.ts @@ -34,8 +34,15 @@ export namespace AllowedSecurityConfiguration { (jsonObj), true ); + case "STATEFUL_ZPR": + return model.StatefulZprConfiguration.getJsonObj( + (jsonObj), + true + ); case "NSG": return model.NsgConfiguration.getJsonObj((jsonObj), true); + case "ZPR": + return model.ZprConfiguration.getJsonObj((jsonObj), true); case "INGRESS_SECURITY_LIST": return model.IngressSecurityListConfiguration.getJsonObj( (jsonObj), @@ -72,11 +79,21 @@ export namespace AllowedSecurityConfiguration { (jsonObj), true ); + case "STATEFUL_ZPR": + return model.StatefulZprConfiguration.getDeserializedJsonObj( + (jsonObj), + true + ); case "NSG": return model.NsgConfiguration.getDeserializedJsonObj( (jsonObj), true ); + case "ZPR": + return model.ZprConfiguration.getDeserializedJsonObj( + (jsonObj), + true + ); case "INGRESS_SECURITY_LIST": return model.IngressSecurityListConfiguration.getDeserializedJsonObj( (jsonObj), diff --git a/lib/vnmonitoring/lib/model/bgp-session-info.ts b/lib/vnmonitoring/lib/model/bgp-session-info.ts deleted file mode 100644 index 813581a866..0000000000 --- a/lib/vnmonitoring/lib/model/bgp-session-info.ts +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Information for establishing a BGP session for the IPSec tunnel. - */ -export interface BgpSessionInfo { - /** - * The IP address for the Oracle end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is required and used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP -* address so you can troubleshoot or monitor the tunnel. -*

-The value must be a /30 or /31. -*

-Example: {@code 10.0.0.4/31} -* - */ - "oracleInterfaceIp"?: string; - /** - * The IP address for the CPE end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is required and used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP -* address so you can troubleshoot or monitor the tunnel. -*

-The value must be a /30 or /31. -*

-Example: {@code 10.0.0.5/31} -* - */ - "customerInterfaceIp"?: string; - /** - * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "oracleInterfaceIpv6"?: string; - /** - * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "customerInterfaceIpv6"?: string; - /** - * The Oracle BGP ASN. - * - */ - "oracleBgpAsn"?: string; - /** - * If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this ASN -* is required and used for the tunnel's BGP session. This is the ASN of the network on the -* CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. -*

-If the tunnel uses static routing, the {@code customerBgpAsn} must be null. -*

-Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) -* - */ - "customerBgpAsn"?: string; - /** - * The state of the BGP session. - * - */ - "bgpState"?: BgpSessionInfo.BgpState; - /** - * The state of the BGP IPv6 session. - * - */ - "bgpIpv6State"?: BgpSessionInfo.BgpIpv6State; -} - -export namespace BgpSessionInfo { - export enum BgpState { - Up = "UP", - Down = "DOWN", - /** - * 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 BgpIpv6State { - Up = "UP", - Down = "DOWN", - /** - * 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: BgpSessionInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: BgpSessionInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/byoip-range-summary.ts b/lib/vnmonitoring/lib/model/byoip-range-summary.ts deleted file mode 100644 index ed97cf8113..0000000000 --- a/lib/vnmonitoring/lib/model/byoip-range-summary.ts +++ /dev/null @@ -1,112 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Information about a {@code ByoipRange} resource. - */ -export interface ByoipRangeSummary { - /** - * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. - * - */ - "byoipRangeVcnIpv6Allocations"?: Array; - /** - * The public IPv4 address range you are importing to the Oracle cloud. - */ - "cidrBlock"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the {@code ByoipRange} resource. - * - */ - "compartmentId"?: string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code ByoipRange} resource. - */ - "id"?: string; - /** - * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or larger, and can be subdivided into sub-ranges used - * across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify - * a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. - * - */ - "ipv6CidrBlock"?: string; - /** - * The {@code ByoipRange} resource's current state. - */ - "lifecycleState"?: string; - /** - * The Byoip Range's current lifeCycle substate. - */ - "lifecycleDetails"?: string; - /** - * The date and time the {@code ByoipRange} resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; -} - -export namespace ByoipRangeSummary { - export function getJsonObj(obj: ByoipRangeSummary): object { - const jsonObj = { - ...obj, - ...{ - "byoipRangeVcnIpv6Allocations": obj.byoipRangeVcnIpv6Allocations - ? obj.byoipRangeVcnIpv6Allocations.map(item => { - return model.ByoipRangeVcnIpv6AllocationSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ByoipRangeSummary): object { - const jsonObj = { - ...obj, - ...{ - "byoipRangeVcnIpv6Allocations": obj.byoipRangeVcnIpv6Allocations - ? obj.byoipRangeVcnIpv6Allocations.map(item => { - return model.ByoipRangeVcnIpv6AllocationSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/byoip-range-vcn-ipv6-allocation-summary.ts b/lib/vnmonitoring/lib/model/byoip-range-vcn-ipv6-allocation-summary.ts deleted file mode 100644 index efb1b71973..0000000000 --- a/lib/vnmonitoring/lib/model/byoip-range-vcn-ipv6-allocation-summary.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * A summary of IPv6 CIDR block subranges currently allocated to a VCN. - * - */ -export interface ByoipRangeVcnIpv6AllocationSummary { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code ByoipRange} resource to which the CIDR block belongs. - */ - "byoipRangeId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the {@code ByoipRange}. - * - */ - "compartmentId"?: string; - /** - * The BYOIPv6 CIDR block range or subrange allocated to a VCN. This could be all or part of a BYOIPv6 CIDR block. - * Each VCN allocation must be /64 or larger. - * - */ - "ipv6CidrBlock"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code Vcn} resource to which the ByoipRange belongs. - * - */ - "vcnId"?: string; -} - -export namespace ByoipRangeVcnIpv6AllocationSummary { - export function getJsonObj(obj: ByoipRangeVcnIpv6AllocationSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ByoipRangeVcnIpv6AllocationSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/byoip-range.ts b/lib/vnmonitoring/lib/model/byoip-range.ts deleted file mode 100644 index 04fca61896..0000000000 --- a/lib/vnmonitoring/lib/model/byoip-range.ts +++ /dev/null @@ -1,168 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Oracle offers the ability to Bring Your Own IP (BYOIP), importing public IP addresses or IPv6 addresses that you currently own to Oracle Cloud Infrastructure. A {@code ByoipRange} resource is a record of the imported address block (a BYOIP CIDR block) and also some associated metadata. - * The process used to [Bring Your Own IP](https://docs.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm) is explained in the documentation. - */ -export interface ByoipRange { - /** - * A list of {@code ByoipRangeVcnIpv6AllocationSummary} objects. - * - */ - "byoipRangeVcnIpv6Allocations"?: Array; - /** - * The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. - */ - "cidrBlock"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. - * - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code ByoipRange} resource. - */ - "id": string; - /** - * The IPv6 CIDR block being imported to the Oracle cloud. This CIDR block must be /48 or larger, and can be subdivided into sub-ranges used - * across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify - * a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. - * - */ - "ipv6CidrBlock"?: string; - /** - * The {@code ByoipRange} resource's current status. - */ - "lifecycleDetails"?: ByoipRange.LifecycleDetails; - /** - * The {@code ByoipRange} resource's current state. - */ - "lifecycleState": ByoipRange.LifecycleState; - /** - * The date and time the {@code ByoipRange} resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

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

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeValidated"?: Date; - /** - * The date and time the {@code ByoipRange} resource was advertised to the internet by BGP, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeAdvertised"?: Date; - /** - * The date and time the {@code ByoipRange} resource was withdrawn from advertisement by BGP to the internet, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeWithdrawn"?: Date; - /** - * The validation token is an internally-generated ASCII string used in the validation process. See [Importing a CIDR block](https://docs.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. - */ - "validationToken": string; -} - -export namespace ByoipRange { - export enum LifecycleDetails { - Creating = "CREATING", - Validating = "VALIDATING", - Provisioned = "PROVISIONED", - Active = "ACTIVE", - Failed = "FAILED", - Deleting = "DELETING", - Deleted = "DELETED", - Advertising = "ADVERTISING", - Withdrawing = "WITHDRAWING", - /** - * 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 LifecycleState { - Inactive = "INACTIVE", - Updating = "UPDATING", - Active = "ACTIVE", - 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: ByoipRange): object { - const jsonObj = { - ...obj, - ...{ - "byoipRangeVcnIpv6Allocations": obj.byoipRangeVcnIpv6Allocations - ? obj.byoipRangeVcnIpv6Allocations.map(item => { - return model.ByoipRangeVcnIpv6AllocationSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ByoipRange): object { - const jsonObj = { - ...obj, - ...{ - "byoipRangeVcnIpv6Allocations": obj.byoipRangeVcnIpv6Allocations - ? obj.byoipRangeVcnIpv6Allocations.map(item => { - return model.ByoipRangeVcnIpv6AllocationSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/byoipv6-cidr-details.ts b/lib/vnmonitoring/lib/model/byoipv6-cidr-details.ts deleted file mode 100644 index 06da989dfb..0000000000 --- a/lib/vnmonitoring/lib/model/byoipv6-cidr-details.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 list of one or more BYOIPv6 CIDR blocks for the VCN that meets the following criteria: - * - The CIDR must from a BYOIPv6 range. - * - The IPv6 CIDR blocks must be valid. - * - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - * - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a VCN. - * - */ -export interface Byoipv6CidrDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@code ByoipRange} resource to which the CIDR block belongs. - */ - "byoipv6RangeId": string; - /** - * An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR block identified in {@code byoipv6RangeId}, or a subrange. - * Example: {@code 2001:0db8:0123::/48} - * - */ - "ipv6CidrBlock": string; -} - -export namespace Byoipv6CidrDetails { - export function getJsonObj(obj: Byoipv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Byoipv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/capture-filter.ts b/lib/vnmonitoring/lib/model/capture-filter.ts deleted file mode 100644 index eaf205ba4b..0000000000 --- a/lib/vnmonitoring/lib/model/capture-filter.ts +++ /dev/null @@ -1,142 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * A capture filter contains a set of *{@link #captureFilterRuleDetails(CaptureFilterRuleDetailsRequest) captureFilterRuleDetails}* governing what traffic a *{@link Vtap}* mirrors. - * The capture filter is created with no rules defined, and it must have at least one rule for the VTAP to start mirroring traffic. - * - */ -export interface CaptureFilter { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. - * - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The capture filter's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - * - */ - "id": string; - /** - * The capture filter's current administrative state. - */ - "lifecycleState": CaptureFilter.LifecycleState; - /** - * Indicates which service will use this capture filter - */ - "filterType"?: CaptureFilter.FilterType; - /** - * The date and time the capture filter was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2021-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; - /** - * The set of rules governing what traffic a VTAP mirrors. - * - */ - "vtapCaptureFilterRules"?: Array; - /** - * The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter. - * - */ - "flowLogCaptureFilterRules"?: Array; -} - -export namespace CaptureFilter { - export enum LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Updating = "UPDATING", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - /** - * 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 FilterType { - Vtap = "VTAP", - Flowlog = "FLOWLOG", - /** - * 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: CaptureFilter): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CaptureFilter): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-byoip-range-compartment-details.ts b/lib/vnmonitoring/lib/model/change-byoip-range-compartment-details.ts deleted file mode 100644 index a16757f207..0000000000 --- a/lib/vnmonitoring/lib/model/change-byoip-range-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeByoipRangeCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the BYOIP CIDR block move. - * - */ - "compartmentId": string; -} - -export namespace ChangeByoipRangeCompartmentDetails { - export function getJsonObj(obj: ChangeByoipRangeCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeByoipRangeCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-capture-filter-compartment-details.ts b/lib/vnmonitoring/lib/model/change-capture-filter-compartment-details.ts deleted file mode 100644 index 27d8561b90..0000000000 --- a/lib/vnmonitoring/lib/model/change-capture-filter-compartment-details.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP) capture filter. - * - */ -export interface ChangeCaptureFilterCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP - * capture filter move. - * - */ - "compartmentId": string; -} - -export namespace ChangeCaptureFilterCompartmentDetails { - export function getJsonObj(obj: ChangeCaptureFilterCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeCaptureFilterCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-cross-connect-compartment-details.ts b/lib/vnmonitoring/lib/model/change-cross-connect-compartment-details.ts deleted file mode 100644 index 195372d6ad..0000000000 --- a/lib/vnmonitoring/lib/model/change-cross-connect-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeCrossConnectCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * cross-connect to. - * - */ - "compartmentId": string; -} - -export namespace ChangeCrossConnectCompartmentDetails { - export function getJsonObj(obj: ChangeCrossConnectCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeCrossConnectCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-cross-connect-group-compartment-details.ts b/lib/vnmonitoring/lib/model/change-cross-connect-group-compartment-details.ts deleted file mode 100644 index 39b9b3352d..0000000000 --- a/lib/vnmonitoring/lib/model/change-cross-connect-group-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeCrossConnectGroupCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * cross-connect group to. - * - */ - "compartmentId": string; -} - -export namespace ChangeCrossConnectGroupCompartmentDetails { - export function getJsonObj(obj: ChangeCrossConnectGroupCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeCrossConnectGroupCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-dhcp-options-compartment-details.ts b/lib/vnmonitoring/lib/model/change-dhcp-options-compartment-details.ts deleted file mode 100644 index 8240ac2dd5..0000000000 --- a/lib/vnmonitoring/lib/model/change-dhcp-options-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeDhcpOptionsCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * set of DHCP options to. - * - */ - "compartmentId": string; -} - -export namespace ChangeDhcpOptionsCompartmentDetails { - export function getJsonObj(obj: ChangeDhcpOptionsCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeDhcpOptionsCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-cpe-compartment-details.ts b/lib/vnmonitoring/lib/model/change-drg-attachment-compartment-details.ts similarity index 79% rename from lib/vnmonitoring/lib/model/change-cpe-compartment-details.ts rename to lib/vnmonitoring/lib/model/change-drg-attachment-compartment-details.ts index 4ef30b1294..edb719d588 100644 --- a/lib/vnmonitoring/lib/model/change-cpe-compartment-details.ts +++ b/lib/vnmonitoring/lib/model/change-drg-attachment-compartment-details.ts @@ -19,22 +19,22 @@ import common = require("oci-common"); /** * The configuration details for the move operation. */ -export interface ChangeCpeCompartmentDetails { +export interface ChangeDrgAttachmentCompartmentDetails { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * CPE object to. + * DRG attachment to. * */ "compartmentId": string; } -export namespace ChangeCpeCompartmentDetails { - export function getJsonObj(obj: ChangeCpeCompartmentDetails): object { +export namespace ChangeDrgAttachmentCompartmentDetails { + export function getJsonObj(obj: ChangeDrgAttachmentCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeCpeCompartmentDetails): object { + export function getDeserializedJsonObj(obj: ChangeDrgAttachmentCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/change-route-table-compartment-details.ts b/lib/vnmonitoring/lib/model/change-flex-tunnel-compartment-details.ts similarity index 79% rename from lib/vnmonitoring/lib/model/change-route-table-compartment-details.ts rename to lib/vnmonitoring/lib/model/change-flex-tunnel-compartment-details.ts index f140bc2ae9..40496587c1 100644 --- a/lib/vnmonitoring/lib/model/change-route-table-compartment-details.ts +++ b/lib/vnmonitoring/lib/model/change-flex-tunnel-compartment-details.ts @@ -19,22 +19,22 @@ import common = require("oci-common"); /** * The configuration details for the move operation. */ -export interface ChangeRouteTableCompartmentDetails { +export interface ChangeFlexTunnelCompartmentDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * route table to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment + * to move the flex tunnel to. * */ "compartmentId": string; } -export namespace ChangeRouteTableCompartmentDetails { - export function getJsonObj(obj: ChangeRouteTableCompartmentDetails): object { +export namespace ChangeFlexTunnelCompartmentDetails { + export function getJsonObj(obj: ChangeFlexTunnelCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeRouteTableCompartmentDetails): object { + export function getDeserializedJsonObj(obj: ChangeFlexTunnelCompartmentDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/change-internet-gateway-compartment-details.ts b/lib/vnmonitoring/lib/model/change-internet-gateway-compartment-details.ts deleted file mode 100644 index 60c2efce74..0000000000 --- a/lib/vnmonitoring/lib/model/change-internet-gateway-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeInternetGatewayCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * internet gateway to. - * - */ - "compartmentId": string; -} - -export namespace ChangeInternetGatewayCompartmentDetails { - export function getJsonObj(obj: ChangeInternetGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeInternetGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-ip-sec-connection-compartment-details.ts b/lib/vnmonitoring/lib/model/change-ip-sec-connection-compartment-details.ts deleted file mode 100644 index 08775f846f..0000000000 --- a/lib/vnmonitoring/lib/model/change-ip-sec-connection-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeIPSecConnectionCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * IPSec connection to. - * - */ - "compartmentId": string; -} - -export namespace ChangeIPSecConnectionCompartmentDetails { - export function getJsonObj(obj: ChangeIPSecConnectionCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeIPSecConnectionCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-local-peering-gateway-compartment-details.ts b/lib/vnmonitoring/lib/model/change-local-peering-gateway-compartment-details.ts deleted file mode 100644 index 557cbe4fa8..0000000000 --- a/lib/vnmonitoring/lib/model/change-local-peering-gateway-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeLocalPeeringGatewayCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * local peering gateway to. - * - */ - "compartmentId": string; -} - -export namespace ChangeLocalPeeringGatewayCompartmentDetails { - export function getJsonObj(obj: ChangeLocalPeeringGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeLocalPeeringGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-nat-gateway-compartment-details.ts b/lib/vnmonitoring/lib/model/change-nat-gateway-compartment-details.ts deleted file mode 100644 index 916fb98892..0000000000 --- a/lib/vnmonitoring/lib/model/change-nat-gateway-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeNatGatewayCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the NAT gateway to. - * - */ - "compartmentId": string; -} - -export namespace ChangeNatGatewayCompartmentDetails { - export function getJsonObj(obj: ChangeNatGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeNatGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-public-ip-pool-compartment-details.ts b/lib/vnmonitoring/lib/model/change-public-ip-pool-compartment-details.ts deleted file mode 100644 index 393ef5e8f4..0000000000 --- a/lib/vnmonitoring/lib/model/change-public-ip-pool-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangePublicIpPoolCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the public IP pool move. - * - */ - "compartmentId": string; -} - -export namespace ChangePublicIpPoolCompartmentDetails { - export function getJsonObj(obj: ChangePublicIpPoolCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangePublicIpPoolCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-security-list-compartment-details.ts b/lib/vnmonitoring/lib/model/change-security-list-compartment-details.ts deleted file mode 100644 index ad0f954772..0000000000 --- a/lib/vnmonitoring/lib/model/change-security-list-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeSecurityListCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * security list to. - * - */ - "compartmentId": string; -} - -export namespace ChangeSecurityListCompartmentDetails { - export function getJsonObj(obj: ChangeSecurityListCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeSecurityListCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-service-gateway-compartment-details.ts b/lib/vnmonitoring/lib/model/change-service-gateway-compartment-details.ts deleted file mode 100644 index a046695189..0000000000 --- a/lib/vnmonitoring/lib/model/change-service-gateway-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeServiceGatewayCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * service gateway to. - * - */ - "compartmentId": string; -} - -export namespace ChangeServiceGatewayCompartmentDetails { - export function getJsonObj(obj: ChangeServiceGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeServiceGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-virtual-circuit-compartment-details.ts b/lib/vnmonitoring/lib/model/change-virtual-circuit-compartment-details.ts deleted file mode 100644 index fd553fd4b9..0000000000 --- a/lib/vnmonitoring/lib/model/change-virtual-circuit-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 configuration details for the move operation. - */ -export interface ChangeVirtualCircuitCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * virtual circuit to. - * - */ - "compartmentId": string; -} - -export namespace ChangeVirtualCircuitCompartmentDetails { - export function getJsonObj(obj: ChangeVirtualCircuitCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeVirtualCircuitCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/change-vtap-compartment-details.ts b/lib/vnmonitoring/lib/model/change-vtap-compartment-details.ts deleted file mode 100644 index 80393615cd..0000000000 --- a/lib/vnmonitoring/lib/model/change-vtap-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP). - */ -export interface ChangeVtapCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP move. - * - */ - "compartmentId": string; -} - -export namespace ChangeVtapCompartmentDetails { - export function getJsonObj(obj: ChangeVtapCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeVtapCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cpe-device-config-answer.ts b/lib/vnmonitoring/lib/model/cpe-device-config-answer.ts deleted file mode 100644 index 4b2e432f26..0000000000 --- a/lib/vnmonitoring/lib/model/cpe-device-config-answer.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* An individual answer to a CPE device question. -*

-The answers correlate to the questions that are specific to the CPE device type (see the -* {@code parameters} attribute of {@link CpeDeviceShapeDetail}). -* -*/ -export interface CpeDeviceConfigAnswer { - /** - * A string that identifies the question to be answered. See the {@code key} attribute in - * {@link #cpeDeviceConfigQuestion(CpeDeviceConfigQuestionRequest) cpeDeviceConfigQuestion}. - * - */ - "key"?: string; - /** - * The answer to the question. - */ - "value"?: string; -} - -export namespace CpeDeviceConfigAnswer { - export function getJsonObj(obj: CpeDeviceConfigAnswer): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CpeDeviceConfigAnswer): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cpe-device-config-question.ts b/lib/vnmonitoring/lib/model/cpe-device-config-question.ts deleted file mode 100644 index dcac44045c..0000000000 --- a/lib/vnmonitoring/lib/model/cpe-device-config-question.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* An individual question that the customer can answer about the CPE device. -*

-The customer provides answers to these questions in -* {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig}. -* -*/ -export interface CpeDeviceConfigQuestion { - /** - * A string that identifies the question. - * - */ - "key"?: string; - /** - * A descriptive label for the question (for example, to display in a form in a graphical interface). - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * A description or explanation of the question, to help the customer answer accurately. - * - */ - "explanation"?: string; -} - -export namespace CpeDeviceConfigQuestion { - export function getJsonObj(obj: CpeDeviceConfigQuestion): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CpeDeviceConfigQuestion): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cpe-device-info.ts b/lib/vnmonitoring/lib/model/cpe-device-info.ts deleted file mode 100644 index 7b1acf7a7e..0000000000 --- a/lib/vnmonitoring/lib/model/cpe-device-info.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Basic information about a particular CPE device type. - */ -export interface CpeDeviceInfo { - /** - * The vendor that makes the CPE device. - */ - "vendor"?: string; - /** - * The platform or software version of the CPE device. - */ - "platformSoftwareVersion"?: string; -} - -export namespace CpeDeviceInfo { - export function getJsonObj(obj: CpeDeviceInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CpeDeviceInfo): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cpe-device-shape-detail.ts b/lib/vnmonitoring/lib/model/cpe-device-shape-detail.ts deleted file mode 100644 index 5f94848c42..0000000000 --- a/lib/vnmonitoring/lib/model/cpe-device-shape-detail.ts +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 detailed information about a particular CPE device type. Compare with - * {@link CpeDeviceShapeSummary}. - * - */ -export interface CpeDeviceShapeDetail { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. - * This value uniquely identifies the type of CPE device. - * - */ - "cpeDeviceShapeId"?: string; - "cpeDeviceInfo"?: model.CpeDeviceInfo; - /** - * For certain CPE devices types, the customer can provide answers to - * questions that are specific to the device type. This attribute contains - * a list of those questions. The Networking service merges the answers with - * other information and renders a set of CPE configuration content. To - * provide the answers, use - * {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig}. - * - */ - "parameters"?: Array; - /** - * A template of CPE device configuration information that will be merged with the customer's - * answers to the questions to render the final CPE device configuration content. Also see: - *

- * {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} - * * {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} - * * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} - * - */ - "template"?: string; -} - -export namespace CpeDeviceShapeDetail { - export function getJsonObj(obj: CpeDeviceShapeDetail): object { - const jsonObj = { - ...obj, - ...{ - "cpeDeviceInfo": obj.cpeDeviceInfo - ? model.CpeDeviceInfo.getJsonObj(obj.cpeDeviceInfo) - : undefined, - "parameters": obj.parameters - ? obj.parameters.map(item => { - return model.CpeDeviceConfigQuestion.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CpeDeviceShapeDetail): object { - const jsonObj = { - ...obj, - ...{ - "cpeDeviceInfo": obj.cpeDeviceInfo - ? model.CpeDeviceInfo.getDeserializedJsonObj(obj.cpeDeviceInfo) - : undefined, - "parameters": obj.parameters - ? obj.parameters.map(item => { - return model.CpeDeviceConfigQuestion.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cpe.ts b/lib/vnmonitoring/lib/model/cpe.ts index 48a219df7b..18cc3194fd 100644 --- a/lib/vnmonitoring/lib/model/cpe.ts +++ b/lib/vnmonitoring/lib/model/cpe.ts @@ -59,24 +59,6 @@ export interface Cpe { * The public IP address of the on-premises router. */ "ipAddress": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE's device type. -* The Networking service maintains a general list of CPE device types (for example, -* Cisco ASA). For each type, Oracle provides CPE configuration content that can help -* a network engineer configure the CPE. The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) uniquely identifies the type of -* device. To get the OCIDs for the device types on the list, see -* {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. -*

-For information about how to generate CPE configuration content for a -* CPE device type, see: -*

- * {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} -* * {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} -* - */ - "cpeDeviceShapeId"?: string; /** * The date and time the CPE was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

diff --git a/lib/vnmonitoring/lib/model/create-capture-filter-details.ts b/lib/vnmonitoring/lib/model/create-capture-filter-details.ts deleted file mode 100644 index 0f34220118..0000000000 --- a/lib/vnmonitoring/lib/model/create-capture-filter-details.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * A capture filter contains a set of rules governing what traffic a VTAP mirrors. - * - */ -export interface CreateCaptureFilterDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter. - * - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * Indicates which service will use this capture filter - */ - "filterType": CreateCaptureFilterDetails.FilterType; - /** - * The set of rules governing what traffic a VTAP mirrors. - * - */ - "vtapCaptureFilterRules"?: Array; - /** - * The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter. - * - */ - "flowLogCaptureFilterRules"?: Array; -} - -export namespace CreateCaptureFilterDetails { - export enum FilterType { - Vtap = "VTAP", - Flowlog = "FLOWLOG" - } - - export function getJsonObj(obj: CreateCaptureFilterDetails): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateCaptureFilterDetails): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-cpe-details.ts b/lib/vnmonitoring/lib/model/create-cpe-details.ts index 3105e4896d..998934d01e 100644 --- a/lib/vnmonitoring/lib/model/create-cpe-details.ts +++ b/lib/vnmonitoring/lib/model/create-cpe-details.ts @@ -46,22 +46,6 @@ Example: {@code 203.0.113.2} * */ "ipAddress": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide -* a value if you want to later generate CPE device configuration content for IPSec connections -* that use this CPE. You can also call {@link #updateCpe(UpdateCpeRequest) updateCpe} later to -* provide a value. For a list of possible values, see -* {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. -*

-For more information about generating CPE device configuration content, see: -*

- * {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} -* * {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} -* - */ - "cpeDeviceShapeId"?: string; /** * Indicates whether this CPE is of type {@code private} or not. * diff --git a/lib/vnmonitoring/lib/model/create-cross-connect-details.ts b/lib/vnmonitoring/lib/model/create-cross-connect-details.ts index 0b0f211804..233486a5ce 100644 --- a/lib/vnmonitoring/lib/model/create-cross-connect-details.ts +++ b/lib/vnmonitoring/lib/model/create-cross-connect-details.ts @@ -26,12 +26,6 @@ export interface CreateCrossConnectDetails { * */ "crossConnectGroupId"?: string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. @@ -46,12 +40,6 @@ export interface CreateCrossConnectDetails { * */ "farCrossConnectOrCrossConnectGroupId"?: string; - /** - * 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 }; /** * The name of the FastConnect location where this cross-connect will be installed. * To get a list of the available locations, see @@ -76,37 +64,16 @@ Example: {@code 10 Gbps} * */ "portSpeedShapeName": string; - /** - * A reference name or identifier for the physical fiber connection that this cross-connect - * uses. - * - */ - "customerReferenceName"?: string; - "macsecProperties"?: model.CreateMacsecProperties; } export namespace CreateCrossConnectDetails { export function getJsonObj(obj: CreateCrossConnectDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.CreateMacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CreateCrossConnectDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.CreateMacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/create-cross-connect-group-details.ts b/lib/vnmonitoring/lib/model/create-cross-connect-group-details.ts index a6a8c65611..8de3178f0f 100644 --- a/lib/vnmonitoring/lib/model/create-cross-connect-group-details.ts +++ b/lib/vnmonitoring/lib/model/create-cross-connect-group-details.ts @@ -21,55 +21,22 @@ export interface CreateCrossConnectGroupDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the cross-connect group. */ "compartmentId": string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * A reference name or identifier for the physical fiber connection that this cross-connect - * group uses. - * - */ - "customerReferenceName"?: string; - /** - * 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 }; - "macsecProperties"?: model.CreateMacsecProperties; } export namespace CreateCrossConnectGroupDetails { export function getJsonObj(obj: CreateCrossConnectGroupDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.CreateMacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CreateCrossConnectGroupDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.CreateMacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/create-dhcp-details.ts b/lib/vnmonitoring/lib/model/create-dhcp-details.ts index 2a2fe2ac01..ad4abf67cb 100644 --- a/lib/vnmonitoring/lib/model/create-dhcp-details.ts +++ b/lib/vnmonitoring/lib/model/create-dhcp-details.ts @@ -47,19 +47,9 @@ export interface CreateDhcpDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. */ "vcnId": string; - /** - * The search domain name type of DHCP options - */ - "domainNameType"?: CreateDhcpDetails.DomainNameType; } export namespace CreateDhcpDetails { - export enum DomainNameType { - SubnetDomain = "SUBNET_DOMAIN", - VcnDomain = "VCN_DOMAIN", - CustomDomain = "CUSTOM_DOMAIN" - } - export function getJsonObj(obj: CreateDhcpDetails): object { const jsonObj = { ...obj, diff --git a/lib/vnmonitoring/lib/model/create-drg-attachment-details.ts b/lib/vnmonitoring/lib/model/create-drg-attachment-details.ts index f6c6053943..95cb3db846 100644 --- a/lib/vnmonitoring/lib/model/create-drg-attachment-details.ts +++ b/lib/vnmonitoring/lib/model/create-drg-attachment-details.ts @@ -34,7 +34,14 @@ The DRG route table manages traffic inside the DRG. * */ "drgRouteTableId"?: string; - "networkDetails"?: model.VcnDrgAttachmentNetworkCreateDetails; + "networkDetails"?: + | model.IpsecTunnelDrgAttachmentNetworkCreateDetails + | model.LoopBackDrgAttachmentNetworkCreateDetails + | model.VirtualCircuitDrgAttachmentNetworkCreateDetails + | model.RemotePeeringConnectionDrgAttachmentNetworkCreateDetails + | model.InternetDrgAttachmentNetworkCreateDetails + | model.VcnDrgAttachmentNetworkCreateDetails + | model.FlexTunnelDrgAttachmentNetworkCreateDetails; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} @@ -47,20 +54,6 @@ The DRG route table manages traffic inside the DRG. * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the DRG attachment. -*

-If you don't specify a route table here, the DRG attachment is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route table -* with the DRG attachment. -* For information about why you would associate a route table with a DRG attachment, see: -*

- * [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) -* * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) -* This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment. -* - */ - "routeTableId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. * This field is deprecated. Instead, use the {@code networkDetails} field to specify the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. diff --git a/lib/vnmonitoring/lib/model/create-drg-route-distribution-details.ts b/lib/vnmonitoring/lib/model/create-drg-route-distribution-details.ts index 24c38e098a..c747602beb 100644 --- a/lib/vnmonitoring/lib/model/create-drg-route-distribution-details.ts +++ b/lib/vnmonitoring/lib/model/create-drg-route-distribution-details.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details used to create a route distribution. + * Details used to create an import route distribution. You can't create a new export route distribution. * */ export interface CreateDrgRouteDistributionDetails { @@ -45,7 +45,7 @@ export interface CreateDrgRouteDistributionDetails { */ "drgId": string; /** - * Whether this distribution defines how routes get imported into route tables or exported through DRG Attachments + * States that this distribution defines how routes get imported into route tables. * */ "distributionType": CreateDrgRouteDistributionDetails.DistributionType; diff --git a/lib/vnmonitoring/lib/model/allowed-phase-two-parameters.ts b/lib/vnmonitoring/lib/model/create-flex-tunnel-bgp-session-details.ts similarity index 56% rename from lib/vnmonitoring/lib/model/allowed-phase-two-parameters.ts rename to lib/vnmonitoring/lib/model/create-flex-tunnel-bgp-session-details.ts index 5197e9a11f..989119f4fd 100644 --- a/lib/vnmonitoring/lib/model/allowed-phase-two-parameters.ts +++ b/lib/vnmonitoring/lib/model/create-flex-tunnel-bgp-session-details.ts @@ -17,30 +17,38 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Allowed phase two parameters. + * Boarder Gateway Protocol (BGP) fields */ -export interface AllowedPhaseTwoParameters { +export interface CreateFlexTunnelBgpSessionDetails { /** - * Allowed phase two encryption algorithms. + * The BGP ASN of the network on your end of the BGP session. */ - "encryptionAlgorithms"?: Array; + "customerBgpAsn": string; /** - * Allowed phase two authentication algorithms. + * This IPv4 CIDR block is for your end of the inside tunnel interface. */ - "authenticationAlgorithms"?: Array; + "customerBgpIp"?: string; /** - * Allowed perfect forward secrecy Diffie-Hellman groups. + * The IPv4 CIDR block for the Oracle end of the inside tunnel interface. */ - "pfsDhGroups"?: Array; + "oracleBgpIp"?: string; + /** + * This IPv6 prefix is for your end of the inside tunnel interface. + */ + "customerBgpIpv6"?: string; + /** + * The IPv6 prefix for the Oracle end of the inside tunnel interface. + */ + "oracleBgpIpv6"?: string; } -export namespace AllowedPhaseTwoParameters { - export function getJsonObj(obj: AllowedPhaseTwoParameters): object { +export namespace CreateFlexTunnelBgpSessionDetails { + export function getJsonObj(obj: CreateFlexTunnelBgpSessionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: AllowedPhaseTwoParameters): object { + export function getDeserializedJsonObj(obj: CreateFlexTunnelBgpSessionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/create-flex-tunnel-configuration-details.ts b/lib/vnmonitoring/lib/model/create-flex-tunnel-configuration-details.ts new file mode 100644 index 0000000000..7233a7b1cd --- /dev/null +++ b/lib/vnmonitoring/lib/model/create-flex-tunnel-configuration-details.ts @@ -0,0 +1,83 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 create details for tunnel configuration. + */ +export interface CreateFlexTunnelConfigurationDetails { + /** + * IP address of your end of the tunnel. + */ + "customerTunnelIp": string; + /** + * IP address of the oracle end of the tunnel. + */ + "oracleTunnelIp": string; + "bgpSession": model.CreateFlexTunnelBgpSessionDetails; + + "tunnelType": string; +} + +export namespace CreateFlexTunnelConfigurationDetails { + export function getJsonObj(obj: CreateFlexTunnelConfigurationDetails): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.CreateFlexTunnelBgpSessionDetails.getJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.CreateGreFlexTunnelConfigurationDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateFlexTunnelConfigurationDetails): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.CreateFlexTunnelBgpSessionDetails.getDeserializedJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.CreateGreFlexTunnelConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/create-nat-gateway-details.ts b/lib/vnmonitoring/lib/model/create-flex-tunnel-details.ts similarity index 59% rename from lib/vnmonitoring/lib/model/create-nat-gateway-details.ts rename to lib/vnmonitoring/lib/model/create-flex-tunnel-details.ts index 42ccd8cfae..773770ddaf 100644 --- a/lib/vnmonitoring/lib/model/create-nat-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/create-flex-tunnel-details.ts @@ -16,19 +16,14 @@ documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Conte import * as model from "../model"; import common = require("oci-common"); -export interface CreateNatGatewayDetails { +/** + * These details can be included in a request to create a flex tunnel. + */ +export interface CreateFlexTunnelDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the - * NAT gateway. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the flex tunnel. */ "compartmentId": string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. @@ -36,47 +31,56 @@ export interface CreateNatGatewayDetails { */ "displayName"?: string; /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG for loopback attachment. */ - "freeformTags"?: { [key: string]: string }; + "drgId": string; /** - * Whether the NAT gateway blocks traffic through it. The default is {@code false}. -*

-Example: {@code true} -* - */ - "blockTraffic"?: boolean; + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the transport attachment. + */ + "transportAttachmentId": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the gateway belongs to. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table. */ - "vcnId": string; + "drgRouteTableId": string; + "flexTunnelConfiguration": model.CreateGreFlexTunnelConfigurationDetails; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} * */ - "publicIpId"?: string; + "freeformTags"?: { [key: string]: string }; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. -*

-If you don't specify a route table here, the NAT gateway is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route table -* with the NAT gateway. -* - */ - "routeTableId"?: string; + * 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 } }; } -export namespace CreateNatGatewayDetails { - export function getJsonObj(obj: CreateNatGatewayDetails): object { - const jsonObj = { ...obj, ...{} }; +export namespace CreateFlexTunnelDetails { + export function getJsonObj(obj: CreateFlexTunnelDetails): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.CreateFlexTunnelConfigurationDetails.getJsonObj(obj.flexTunnelConfiguration) + : undefined + } + }; return jsonObj; } - export function getDeserializedJsonObj(obj: CreateNatGatewayDetails): object { - const jsonObj = { ...obj, ...{} }; + export function getDeserializedJsonObj(obj: CreateFlexTunnelDetails): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.CreateFlexTunnelConfigurationDetails.getDeserializedJsonObj( + obj.flexTunnelConfiguration + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/create-macsec-properties.ts b/lib/vnmonitoring/lib/model/create-gre-flex-tunnel-configuration-details.ts similarity index 52% rename from lib/vnmonitoring/lib/model/create-macsec-properties.ts rename to lib/vnmonitoring/lib/model/create-gre-flex-tunnel-configuration-details.ts index 0a66673d4a..bf872cca18 100644 --- a/lib/vnmonitoring/lib/model/create-macsec-properties.ts +++ b/lib/vnmonitoring/lib/model/create-gre-flex-tunnel-configuration-details.ts @@ -17,39 +17,41 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Properties used to configure MACsec (if capable). + * The gre tunnel configuration create details. */ -export interface CreateMacsecProperties { - /** - * Indicates whether or not MACsec is enabled. - */ - "state": model.MacsecState; - "primaryKey"?: model.CreateMacsecKey; - /** - * Type of encryption cipher suite to use for the MACsec connection. - */ - "encryptionCipher"?: model.MacsecEncryptionCipher; +export interface CreateGreFlexTunnelConfigurationDetails + extends model.CreateFlexTunnelConfigurationDetails { + "tunnelType": string; } -export namespace CreateMacsecProperties { - export function getJsonObj(obj: CreateMacsecProperties): object { +export namespace CreateGreFlexTunnelConfigurationDetails { + export function getJsonObj( + obj: CreateGreFlexTunnelConfigurationDetails, + isParentJsonObj?: boolean + ): object { const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey ? model.CreateMacsecKey.getJsonObj(obj.primaryKey) : undefined - } + ...(isParentJsonObj + ? obj + : (model.CreateFlexTunnelConfigurationDetails.getJsonObj( + obj + ) as CreateGreFlexTunnelConfigurationDetails)), + ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: CreateMacsecProperties): object { + export const tunnelType = "GRE"; + export function getDeserializedJsonObj( + obj: CreateGreFlexTunnelConfigurationDetails, + isParentJsonObj?: boolean + ): object { const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey - ? model.CreateMacsecKey.getDeserializedJsonObj(obj.primaryKey) - : undefined - } + ...(isParentJsonObj + ? obj + : (model.CreateFlexTunnelConfigurationDetails.getDeserializedJsonObj( + obj + ) as CreateGreFlexTunnelConfigurationDetails)), + ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/create-internet-gateway-details.ts b/lib/vnmonitoring/lib/model/create-internet-gateway-details.ts index 3367a0334f..5f34339690 100644 --- a/lib/vnmonitoring/lib/model/create-internet-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/create-internet-gateway-details.ts @@ -47,10 +47,6 @@ export interface CreateInternetGatewayDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway is attached to. */ "vcnId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. - */ - "routeTableId"?: string; } export namespace CreateInternetGatewayDetails { diff --git a/lib/vnmonitoring/lib/model/create-ip-sec-connection-details.ts b/lib/vnmonitoring/lib/model/create-ip-sec-connection-details.ts index bd3cdf0c10..a0db1c3eb5 100644 --- a/lib/vnmonitoring/lib/model/create-ip-sec-connection-details.ts +++ b/lib/vnmonitoring/lib/model/create-ip-sec-connection-details.ts @@ -47,94 +47,26 @@ export interface CreateIPSecConnectionDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the -* fully qualified domain name (FQDN)). The type of identifier you provide here must correspond -* to the value for {@code cpeLocalIdentifierType}. -*

-If you don't provide a value, the {@code ipAddress} attribute for the {@link Cpe} -* object specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. -*

-For information about why you'd provide this value, see -* [If Your CPE Is Behind a NAT Device](https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). -*

-Example IP address: {@code 10.0.3.3} -*

-Example hostname: {@code cpe.example.com} -* - */ - "cpeLocalIdentifier"?: string; - /** - * The type of identifier for your CPE device. The value you provide here must correspond to the value - * for {@code cpeLocalIdentifier}. - * - */ - "cpeLocalIdentifierType"?: CreateIPSecConnectionDetails.CpeLocalIdentifierType; /** * Static routes to the CPE. A static route's CIDR must not be a * multicast address or class E address. *

-Used for routing a given IPSec tunnel's traffic only if the tunnel -* is using static routing. If you configure at least one tunnel to use static routing, then -* you must provide at least one valid static route. If you configure both -* tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. -* For more information, see the important note in {@link IPSecConnection}. -*

-The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. -* See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + *

Example: {@code 10.0.1.0/24} -*

-Example: {@code 2001:db8::/32} * */ - "staticRoutes": Array; - /** - * Information for creating the individual tunnels in the IPSec connection. You can provide a - * maximum of 2 {@code tunnelConfiguration} objects in the array (one for each of the - * two tunnels). - * - */ - "tunnelConfiguration"?: Array; - /** - * The count of tunnels in the IPsec connection. This value should be equal to the number of - * {@code tunnelConfiguration} objects specified in the {@code CreateIPSecConnection} request. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "tunnelCount"?: number; + "staticRoutes"?: Array; } export namespace CreateIPSecConnectionDetails { - export enum CpeLocalIdentifierType { - IpAddress = "IP_ADDRESS", - Hostname = "HOSTNAME" - } - export function getJsonObj(obj: CreateIPSecConnectionDetails): object { - const jsonObj = { - ...obj, - ...{ - "tunnelConfiguration": obj.tunnelConfiguration - ? obj.tunnelConfiguration.map(item => { - return model.CreateIPSecConnectionTunnelDetails.getJsonObj(item); - }) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CreateIPSecConnectionDetails): object { - const jsonObj = { - ...obj, - ...{ - "tunnelConfiguration": obj.tunnelConfiguration - ? obj.tunnelConfiguration.map(item => { - return model.CreateIPSecConnectionTunnelDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/create-ip-sec-connection-tunnel-details.ts b/lib/vnmonitoring/lib/model/create-ip-sec-connection-tunnel-details.ts deleted file mode 100644 index c7be7f8687..0000000000 --- a/lib/vnmonitoring/lib/model/create-ip-sec-connection-tunnel-details.ts +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 CreateIPSecConnectionTunnelDetails { - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing). - * - */ - "routing"?: CreateIPSecConnectionTunnelDetails.Routing; - /** - * Internet Key Exchange protocol version. - * - */ - "ikeVersion"?: CreateIPSecConnectionTunnelDetails.IkeVersion; - /** - * The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and - * spaces are allowed. If you don't provide a value, - * Oracle generates a value for you. You can specify your own shared secret later if - * you like with {@link #updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest) updateIPSecConnectionTunnelSharedSecret}. - * - */ - "sharedSecret"?: string; - "bgpSessionConfig"?: model.CreateIPSecTunnelBgpSessionDetails; - /** - * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel. - * - */ - "oracleInitiation"?: CreateIPSecConnectionTunnelDetails.OracleInitiation; - /** - * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port set to 500, -* and when it detects that the port used to forward packets has changed (most likely because a NAT device -* is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T. -*

-The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets. -*

-The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T -* even if it senses there may be a NAT device in use. -* - */ - "natTranslationEnabled"?: CreateIPSecConnectionTunnelDetails.NatTranslationEnabled; - "phaseOneConfig"?: model.PhaseOneConfigDetails; - "phaseTwoConfig"?: model.PhaseTwoConfigDetails; - "dpdConfig"?: model.DpdConfig; - /** - * The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel. - * - */ - "oracleTunnelIp"?: string; - /** - * The list of virtual circuit [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. - * - */ - "associatedVirtualCircuits"?: Array; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment. -*

-The DRG route table manages traffic inside the DRG. -* - */ - "drgRouteTableId"?: string; - "encryptionDomainConfig"?: model.CreateIPSecTunnelEncryptionDomainDetails; -} - -export namespace CreateIPSecConnectionTunnelDetails { - export enum Routing { - Bgp = "BGP", - Static = "STATIC", - Policy = "POLICY" - } - - export enum IkeVersion { - V1 = "V1", - V2 = "V2" - } - - export enum OracleInitiation { - InitiatorOrResponder = "INITIATOR_OR_RESPONDER", - ResponderOnly = "RESPONDER_ONLY" - } - - export enum NatTranslationEnabled { - Enabled = "ENABLED", - Disabled = "DISABLED", - Auto = "AUTO" - } - - export function getJsonObj(obj: CreateIPSecConnectionTunnelDetails): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionConfig": obj.bgpSessionConfig - ? model.CreateIPSecTunnelBgpSessionDetails.getJsonObj(obj.bgpSessionConfig) - : undefined, - - "phaseOneConfig": obj.phaseOneConfig - ? model.PhaseOneConfigDetails.getJsonObj(obj.phaseOneConfig) - : undefined, - "phaseTwoConfig": obj.phaseTwoConfig - ? model.PhaseTwoConfigDetails.getJsonObj(obj.phaseTwoConfig) - : undefined, - "dpdConfig": obj.dpdConfig ? model.DpdConfig.getJsonObj(obj.dpdConfig) : undefined, - - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.CreateIPSecTunnelEncryptionDomainDetails.getJsonObj(obj.encryptionDomainConfig) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateIPSecConnectionTunnelDetails): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionConfig": obj.bgpSessionConfig - ? model.CreateIPSecTunnelBgpSessionDetails.getDeserializedJsonObj(obj.bgpSessionConfig) - : undefined, - - "phaseOneConfig": obj.phaseOneConfig - ? model.PhaseOneConfigDetails.getDeserializedJsonObj(obj.phaseOneConfig) - : undefined, - "phaseTwoConfig": obj.phaseTwoConfig - ? model.PhaseTwoConfigDetails.getDeserializedJsonObj(obj.phaseTwoConfig) - : undefined, - "dpdConfig": obj.dpdConfig - ? model.DpdConfig.getDeserializedJsonObj(obj.dpdConfig) - : undefined, - - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.CreateIPSecTunnelEncryptionDomainDetails.getDeserializedJsonObj( - obj.encryptionDomainConfig - ) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-bgp-session-details.ts b/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-bgp-session-details.ts deleted file mode 100644 index c65cedfcf0..0000000000 --- a/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-bgp-session-details.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 CreateIPSecTunnelBgpSessionDetails { - /** - * The IP address for the Oracle end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is required and used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP -* address to troubleshoot or monitor the tunnel. -*

-The value must be a /30 or /31. -*

-Example: {@code 10.0.0.4/31} -* - */ - "oracleInterfaceIp"?: string; - /** - * The IP address for the CPE end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is required and used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, this IP address is optional. You can set this IP -* address to troubleshoot or monitor the tunnel. -*

-The value must be a /30 or /31. -*

-Example: {@code 10.0.0.5/31} -* - */ - "customerInterfaceIp"?: string; - /** - * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "oracleInterfaceIpv6"?: string; - /** - * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "customerInterfaceIpv6"?: string; - /** - * If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this ASN -* is required and used for the tunnel's BGP session. This is the ASN of the network on the -* CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. -*

-If the tunnel's {@code routing} attribute is set to {@code STATIC}, the {@code customerBgpAsn} must be null. -*

-Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) -* - */ - "customerBgpAsn"?: string; -} - -export namespace CreateIPSecTunnelBgpSessionDetails { - export function getJsonObj(obj: CreateIPSecTunnelBgpSessionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateIPSecTunnelBgpSessionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-encryption-domain-details.ts b/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-encryption-domain-details.ts deleted file mode 100644 index aaa78f5ac9..0000000000 --- a/lib/vnmonitoring/lib/model/create-ip-sec-tunnel-encryption-domain-details.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Request to enable a multi-encryption domain policy on the IPSec tunnel. - * There can't be more than 50 security associations in use at one time. See [Encryption domain for policy-based - * tunnels](https://docs.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. - * - */ -export interface CreateIPSecTunnelEncryptionDomainDetails { - /** - * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. - */ - "oracleTrafficSelector"?: Array; - /** - * Lists IPv4 or IPv6-enabled subnets in your on-premises network. - */ - "cpeTrafficSelector"?: Array; -} - -export namespace CreateIPSecTunnelEncryptionDomainDetails { - export function getJsonObj(obj: CreateIPSecTunnelEncryptionDomainDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateIPSecTunnelEncryptionDomainDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-ipv6-details.ts b/lib/vnmonitoring/lib/model/create-ipv6-details.ts index c7b1727f6c..033ca237d6 100644 --- a/lib/vnmonitoring/lib/model/create-ipv6-details.ts +++ b/lib/vnmonitoring/lib/model/create-ipv6-details.ts @@ -45,17 +45,24 @@ Example: {@code 2001:DB8::} * */ "ipAddress"?: string; + /** + * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in +* a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, the +* IPv6 uses its public IP address for internet communication. +*

+If {@code isInternetAccessAllowed} is set to {@code false}, the resulting {@code publicIpAddress} attribute +* for the {@code Ipv6} is null. +*

+Example: {@code true} +* + */ + "isInternetAccessAllowed"?: boolean; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to assign the IPv6 to. The * IPv6 will be in the VNIC's subnet. * */ "vnicId": string; - /** - * The IPv6 CIDR allocated to the subnet. This is required if more than one IPv6 CIDR exists on the subnet. - * - */ - "ipv6SubnetCidr"?: string; } export namespace CreateIpv6Details { diff --git a/lib/vnmonitoring/lib/model/create-local-peering-gateway-details.ts b/lib/vnmonitoring/lib/model/create-local-peering-gateway-details.ts index 1dc4175773..a67ce1e3a5 100644 --- a/lib/vnmonitoring/lib/model/create-local-peering-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/create-local-peering-gateway-details.ts @@ -40,18 +40,6 @@ export interface CreateLocalPeeringGatewayDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. -*

-If you don't specify a route table here, the LPG is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route table -* with the LPG. -*

-For information about why you would associate a route table with an LPG, see -* [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). -* - */ - "routeTableId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the LPG belongs to. */ diff --git a/lib/vnmonitoring/lib/model/create-macsec-key.ts b/lib/vnmonitoring/lib/model/create-macsec-key.ts deleted file mode 100644 index 978b576e7b..0000000000 --- a/lib/vnmonitoring/lib/model/create-macsec-key.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Defines the secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. - */ -export interface CreateMacsecKey { - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. -*

-NOTE: Only the latest secret version will be used. -* - */ - "connectivityAssociationNameSecretId": string; - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. -*

-NOTE: Only the latest secret version will be used. -* - */ - "connectivityAssociationKeySecretId": string; -} - -export namespace CreateMacsecKey { - export function getJsonObj(obj: CreateMacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateMacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-path-analyzer-test-details.ts b/lib/vnmonitoring/lib/model/create-path-analyzer-test-details.ts index 51e8b958d7..69993f0a65 100644 --- a/lib/vnmonitoring/lib/model/create-path-analyzer-test-details.ts +++ b/lib/vnmonitoring/lib/model/create-path-analyzer-test-details.ts @@ -39,6 +39,7 @@ export interface CreatePathAnalyzerTestDetails { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint @@ -50,6 +51,7 @@ export interface CreatePathAnalyzerTestDetails { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint diff --git a/lib/vnmonitoring/lib/model/create-private-ip-details.ts b/lib/vnmonitoring/lib/model/create-private-ip-details.ts index 082fc72eb5..144df9bf19 100644 --- a/lib/vnmonitoring/lib/model/create-private-ip-details.ts +++ b/lib/vnmonitoring/lib/model/create-private-ip-details.ts @@ -64,15 +64,7 @@ Example: {@code 10.0.3.3} * must be in the same subnet. * */ - "vnicId"?: string; - /** - * Use this attribute only with the Oracle Cloud VMware Solution. -*

-The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN from which the private IP is to be drawn. The IP address, -* *if supplied*, must be valid for the given VLAN. See {@link Vlan}. -* - */ - "vlanId"?: string; + "vnicId": string; } export namespace CreatePrivateIpDetails { diff --git a/lib/vnmonitoring/lib/model/create-public-ip-details.ts b/lib/vnmonitoring/lib/model/create-public-ip-details.ts index 86146082f4..fff773b96b 100644 --- a/lib/vnmonitoring/lib/model/create-public-ip-details.ts +++ b/lib/vnmonitoring/lib/model/create-public-ip-details.ts @@ -60,10 +60,6 @@ Optional for a reserved public IP. If you don't provide it, the public IP is cre * */ "privateIpId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. - */ - "publicIpPoolId"?: string; } export namespace CreatePublicIpDetails { diff --git a/lib/vnmonitoring/lib/model/create-remote-peering-connection-details.ts b/lib/vnmonitoring/lib/model/create-remote-peering-connection-details.ts index 1bb2bc77e5..796fd38ad5 100644 --- a/lib/vnmonitoring/lib/model/create-remote-peering-connection-details.ts +++ b/lib/vnmonitoring/lib/model/create-remote-peering-connection-details.ts @@ -21,12 +21,6 @@ export interface CreateRemotePeeringConnectionDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the RPC. */ "compartmentId": string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. @@ -37,12 +31,6 @@ export interface CreateRemotePeeringConnectionDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG the RPC belongs to. */ "drgId": string; - /** - * 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 }; } export namespace CreateRemotePeeringConnectionDetails { diff --git a/lib/vnmonitoring/lib/model/create-service-gateway-details.ts b/lib/vnmonitoring/lib/model/create-service-gateway-details.ts index 938f71b4c5..40b01dbbac 100644 --- a/lib/vnmonitoring/lib/model/create-service-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/create-service-gateway-details.ts @@ -18,7 +18,7 @@ import common = require("oci-common"); export interface CreateServiceGatewayDetails { /** - * The [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the service gateway. * */ "compartmentId": string; @@ -40,18 +40,6 @@ export interface CreateServiceGatewayDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. -*

-If you don't specify a route table here, the service gateway is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route table -* with the service gateway. -*

-For information about why you would associate a route table with a service gateway, see -* [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). -* - */ - "routeTableId"?: string; /** * List of the OCIDs of the {@link Service} objects to * enable for the service gateway. This list can be empty if you don't want to enable any diff --git a/lib/vnmonitoring/lib/model/create-subnet-details.ts b/lib/vnmonitoring/lib/model/create-subnet-details.ts index 414387d1c2..6cdcabc0b7 100644 --- a/lib/vnmonitoring/lib/model/create-subnet-details.ts +++ b/lib/vnmonitoring/lib/model/create-subnet-details.ts @@ -18,22 +18,12 @@ import common = require("oci-common"); export interface CreateSubnetDetails { /** - * Controls whether the subnet is regional or specific to an availability domain. Oracle -* recommends creating regional subnets because they're more flexible and make it easier to -* implement failover across availability domains. Originally, AD-specific subnets were the -* only kind available to use. -*

-To create a regional subnet, omit this attribute. Then any resources later created in this -* subnet (such as a Compute instance) can be created in any availability domain in the region. -*

-To instead create an AD-specific subnet, set this attribute to the availability domain you -* want this subnet to be in. Then any resources later created in this subnet can only be -* created in that availability domain. + * The availability domain to contain the subnet. *

Example: {@code Uocm:PHX-AD-1} * */ - "availabilityDomain"?: string; + "availabilityDomain": string; /** * The CIDR IP address range of the subnet. The CIDR must maintain the following rules - *

@@ -101,27 +91,6 @@ Example: {@code 2001:0db8:0123:1111::/64} * */ "ipv6CidrBlock"?: string; - /** - * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - * - The CIDR blocks must be valid. - * - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - * - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a subnet. - * - */ - "ipv6CidrBlocks"?: Array; - /** - * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. -*

-For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is not allowed for any -* IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet traffic is allowed by default. -*

-{@code prohibitPublicIpOnVnic} will be set to the value of {@code prohibitInternetIngress} to dictate IPv4 -* behavior in this subnet. Only one or the other flag should be specified. -*

-Example: {@code true} -* - */ - "prohibitInternetIngress"?: boolean; /** * Whether VNICs within this subnet can have public IP addresses. * Defaults to false, which means VNICs created in this subnet will @@ -132,8 +101,8 @@ Example: {@code true} * subnet cannot have public IP addresses (that is, it's a private * subnet). *

-If you intend to use an IPv6 CIDR block, you should use the flag {@code prohibitInternetIngress} to -* specify ingress internet traffic behavior of the subnet. +For IPv6, if {@code prohibitPublicIpOnVnic} is set to {@code true}, internet access is not allowed for any +* IPv6s assigned to VNICs in the subnet. *

Example: {@code true} * diff --git a/lib/vnmonitoring/lib/model/create-vcn-details.ts b/lib/vnmonitoring/lib/model/create-vcn-details.ts index e209420c7c..0af5613f10 100644 --- a/lib/vnmonitoring/lib/model/create-vcn-details.ts +++ b/lib/vnmonitoring/lib/model/create-vcn-details.ts @@ -18,46 +18,39 @@ import common = require("oci-common"); export interface CreateVcnDetails { /** - * **Deprecated.** Do *not* set this value. Use {@code cidrBlocks} instead. + * The CIDR IP address block of the VCN. * Example: {@code 10.0.0.0/16} * */ - "cidrBlock"?: string; - /** - * The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria: - * - The CIDR blocks must be valid. - * - They must not overlap with each other or with the on-premises network CIDR block. - * - The number of CIDR blocks must not exceed the limit of CIDR blocks allowed per VCN. - *

- **Important:** Do *not* specify a value for {@code cidrBlock}. Use this parameter instead. - * - */ - "cidrBlocks"?: Array; + "cidrBlock": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VCN. */ "compartmentId": string; /** - * The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following criteria: - * - The CIDR blocks must be valid. - * - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - * - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a vcn. - *

- **Important:** Do *not* specify a value for {@code ipv6CidrBlock}. Use this parameter instead. - * - */ - "ipv6PrivateCidrBlocks"?: Array; - /** - * Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56 - * size for an IPv6 enabled VCN. - * - */ - "isOracleGuaAllocationEnabled"?: boolean; - /** - * The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. - * - */ - "byoipv6CidrDetails"?: Array; + * If you enable IPv6 for the VCN (see {@code isIpv6Enabled}), you may optionally provide an IPv6 +* /56 prefix from the supported ranges (see [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). +* The addresses in this block will be considered private and cannot be accessed +* from the internet. The documentation refers to this as a *custom CIDR* for the VCN. +*

+If you don't provide a custom CIDR for the VCN, Oracle assigns the VCN's IPv6 /56 prefix. +*

+Regardless of whether you or Oracle assigns the {@code ipv6CidrBlock}, +* Oracle *also* assigns the VCN an IPv6 prefix for the VCN's public IP address space +* (see the {@code ipv6PublicCidrBlock} of the {@link Vcn} object). If you do +* not assign a custom prefix, Oracle uses the *same* Oracle-assigned prefix for both the private +* IP address space ({@code ipv6CidrBlock} in the {@code Vcn} object) and the public IP addreses space +* ({@code ipv6PublicCidrBlock} in the {@code Vcn} object). This means that a given VNIC might use the same +* IPv6 IP address for both private and public (internet) communication. You control whether +* an IPv6 address can be used for internet communication by using the {@code isInternetAccessAllowed} +* attribute in the {@link Ipv6} object. +*

+For important details about IPv6 addressing in a VCN, see [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). +*

+Example: {@code 2001:0db8:0123::/48} +* + */ + "ipv6CidrBlock"?: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} @@ -98,7 +91,6 @@ Example: {@code vcn1} /** * Whether IPv6 is enabled for the VCN. Default is {@code false}. * If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block. -* You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to {@code false}. * For important details about IPv6 addressing in a VCN, see [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). *

Example: {@code true} @@ -109,30 +101,12 @@ Example: {@code true} export namespace CreateVcnDetails { export function getJsonObj(obj: CreateVcnDetails): object { - const jsonObj = { - ...obj, - ...{ - "byoipv6CidrDetails": obj.byoipv6CidrDetails - ? obj.byoipv6CidrDetails.map(item => { - return model.Byoipv6CidrDetails.getJsonObj(item); - }) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CreateVcnDetails): object { - const jsonObj = { - ...obj, - ...{ - "byoipv6CidrDetails": obj.byoipv6CidrDetails - ? obj.byoipv6CidrDetails.map(item => { - return model.Byoipv6CidrDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/create-virtual-circuit-details.ts b/lib/vnmonitoring/lib/model/create-virtual-circuit-details.ts index b713af31d2..d36ff98182 100644 --- a/lib/vnmonitoring/lib/model/create-virtual-circuit-details.ts +++ b/lib/vnmonitoring/lib/model/create-virtual-circuit-details.ts @@ -37,63 +37,24 @@ Example: {@code 10 Gbps} * */ "crossConnectMappings"?: Array; - /** - * The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. - * Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. - * See [Route Filtering](https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. - * By default, routing information is shared for all routes in the same market. - * - */ - "routingPolicy"?: Array; - /** - * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set to {@code DISABLED} to deactivate the virtual circuit. - * - */ - "bgpAdminState"?: CreateVirtualCircuitDetails.BgpAdminState; - /** - * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable BFD. If this is not set, the default is {@code false}. - * - */ - "isBfdEnabled"?: boolean; /** * Set to {@code true} for the virtual circuit to carry only encrypted traffic, or set to {@code false} for the virtual circuit to carry unencrypted traffic. If this is not set, the default is {@code false}. * */ "isTransportMode"?: boolean; /** - * Deprecated. Instead use {@code customerAsn}. - * If you specify values for both, the request will be rejected. + * Your BGP ASN (either public or private). Provide this value only if + * there's a BGP session that goes from your edge router to Oracle. + * Otherwise, leave this empty or null. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "customerBgpAsn"?: number; - /** - * Your BGP ASN (either public or private). Provide this value only if -* there's a BGP session that goes from your edge router to Oracle. -* Otherwise, leave this empty or null. -* Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. -*

-Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) -* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "customerAsn"?: number; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * For private virtual circuits only. The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@link Drg} * that this virtual circuit uses. @@ -114,11 +75,6 @@ Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) * */ "providerServiceId"?: string; - /** - * The service key name offered by the provider (if the customer is connecting via a provider). - * - */ - "providerServiceKeyName"?: string; /** * Deprecated. Instead use {@code providerServiceId}. * To get a list of the provider names, see @@ -146,25 +102,9 @@ Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) * */ "type": CreateVirtualCircuitDetails.Type; - /** - * The layer 3 IP MTU to use with this virtual circuit. - */ - "ipMtu"?: model.VirtualCircuitIpMtu; } export namespace CreateVirtualCircuitDetails { - export enum RoutingPolicy { - OracleServiceNetwork = "ORACLE_SERVICE_NETWORK", - Regional = "REGIONAL", - MarketLevel = "MARKET_LEVEL", - Global = "GLOBAL" - } - - export enum BgpAdminState { - Enabled = "ENABLED", - Disabled = "DISABLED" - } - export enum Type { Public = "PUBLIC", Private = "PRIVATE" diff --git a/lib/vnmonitoring/lib/model/create-vlan-details.ts b/lib/vnmonitoring/lib/model/create-vlan-details.ts deleted file mode 100644 index 23346688ee..0000000000 --- a/lib/vnmonitoring/lib/model/create-vlan-details.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 CreateVlanDetails { - /** - * Controls whether the VLAN is regional or specific to an availability domain. -* A regional VLAN has the flexibility to implement failover across availability domains. -* Previously, all VLANs were AD-specific. -*

-To create a regional VLAN, omit this attribute. Resources created subsequently in this -* VLAN (such as a Compute instance) can be created in any availability domain in the region. -*

-To create an AD-specific VLAN, use this attribute to specify the availability domain. -* Resources created in this VLAN must be in that availability domain. -*

-Example: {@code Uocm:PHX-AD-1} -* - */ - "availabilityDomain"?: string; - /** - * The range of IPv4 addresses that will be used for layer 3 communication with -* hosts outside the VLAN. The CIDR must maintain the following rules - -*

-1. The CIDR block is valid and correctly formatted. -* 2. The new range is within one of the parent VCN ranges. -*

-Example: {@code 192.0.2.0/24} -* - */ - "cidrBlock": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the VLAN. - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * A list of the OCIDs of the network security groups (NSGs) to add all VNICs in the VLAN to. For more - * information about NSGs, see - * {@link NetworkSecurityGroup}. - * - */ - "nsgIds"?: Array; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. If you don't provide a value, - * the VLAN uses the VCN's default route table. - * - */ - "routeTableId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN to contain the VLAN. - */ - "vcnId": string; - /** - * The IEEE 802.1Q VLAN tag for this VLAN. The value must be unique across all - * VLANs in the VCN. If you don't provide a value, Oracle assigns one. - * You cannot change the value later. VLAN tag 0 is reserved for use by Oracle. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vlanTag"?: number; -} - -export namespace CreateVlanDetails { - export function getJsonObj(obj: CreateVlanDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVlanDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-vnic-details.ts b/lib/vnmonitoring/lib/model/create-vnic-details.ts deleted file mode 100644 index 18687fcf87..0000000000 --- a/lib/vnmonitoring/lib/model/create-vnic-details.ts +++ /dev/null @@ -1,188 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Contains properties for a VNIC. You use this object when creating the - * primary VNIC during instance launch or when creating a secondary VNIC. - * For more information about VNICs, see - * [Virtual Network Interface Cards (VNICs)](https://docs.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). - * - */ -export interface CreateVnicDetails { - /** - * Whether the VNIC should be assigned a public IP address. Defaults to whether -* the subnet is public or private. If not set and the VNIC is being created -* in a private subnet (that is, where {@code prohibitPublicIpOnVnic} = true in the -* {@link Subnet}), then no public IP address is assigned. -* If not set and the subnet is public ({@code prohibitPublicIpOnVnic} = false), then -* a public IP address is assigned. If set to true and -* {@code prohibitPublicIpOnVnic} = true, an error is returned. -*

-**Note:** This public IP address is associated with the primary private IP -* on the VNIC. For more information, see -* [IP Addresses](https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). -*

-**Note:** There's a limit to the number of {@link PublicIp} -* a VNIC or instance can have. If you try to create a secondary VNIC -* with an assigned public IP for an instance that has already -* reached its public IP limit, an error is returned. For information -* about the public IP limits, see -* [Public IP Addresses](https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). -*

-Example: {@code false} -*

-If you specify a {@code vlanId}, then {@code assignPublicIp} must be set to false. See -* {@link Vlan}. -* - */ - "assignPublicIp"?: boolean; - /** - * Whether the VNIC should be assigned a DNS record. If set to false, there will be no DNS record -* registration for the VNIC. If set to true, the DNS record will be registered. The default -* value is true. -*

-If you specify a {@code hostnameLabel}, then {@code assignPrivateDnsRecord} must be set to true. -* - */ - "assignPrivateDnsRecord"?: boolean; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname -* portion of the primary private IP's fully qualified domain name (FQDN) -* (for example, {@code bminstance1} in FQDN {@code bminstance1.subnet123.vcn1.oraclevcn.com}). -* Must be unique across all VNICs in the subnet and comply with -* [RFC 952](https://tools.ietf.org/html/rfc952) and -* [RFC 1123](https://tools.ietf.org/html/rfc1123). -* The value appears in the {@link Vnic} object and also the -* {@link PrivateIp} object returned by -* {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and -* {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. -*

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

-When launching an instance, use this {@code hostnameLabel} instead -* of the deprecated {@code hostnameLabel} in -* {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. -* If you provide both, the values must match. -*

-Example: {@code bminstance1} -*

-If you specify a {@code vlanId}, the {@code hostnameLabel} cannot be specified. VNICs on a VLAN -* can not be assigned a hostname. See {@link Vlan}. -* - */ - "hostnameLabel"?: string; - /** - * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more -* information about NSGs, see -* {@link NetworkSecurityGroup}. -*

-If a {@code vlanId} is specified, the {@code nsgIds} cannot be specified. The {@code vlanId} -* indicates that the VNIC will belong to a VLAN instead of a subnet. With VLANs, -* all VNICs in the VLAN belong to the NSGs that are associated with the VLAN. -* See {@link Vlan}. -* - */ - "nsgIds"?: Array; - /** - * A private IP address of your choice to assign to the VNIC. Must be an -* available IP address within the subnet's CIDR. If you don't specify a -* value, Oracle automatically assigns a private IP address from the subnet. -* This is the VNIC's *primary* private IP address. The value appears in -* the {@link Vnic} object and also the -* {@link PrivateIp} object returned by -* {@link #listPrivateIps(ListPrivateIpsRequest) listPrivateIps} and -* {@link #getPrivateIp(GetPrivateIpRequest) getPrivateIp}. -*

- -* If you specify a {@code vlanId}, the {@code privateIp} cannot be specified. -* See {@link Vlan}. -*

-Example: {@code 10.0.3.3} -* - */ - "privateIp"?: string; - /** - * Whether the source/destination check is disabled on the VNIC. -* Defaults to {@code false}, which means the check is performed. For information -* about why you would skip the source/destination check, see -* [Using a Private IP as a Route Target](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). -*

- -* If you specify a {@code vlanId}, the {@code skipSourceDestCheck} cannot be specified because the -* source/destination check is always disabled for VNICs in a VLAN. See -* {@link Vlan}. -*

-Example: {@code true} -* - */ - "skipSourceDestCheck"?: boolean; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC in. When launching an instance, -* use this {@code subnetId} instead of the deprecated {@code subnetId} in -* {@link #launchInstanceDetails(LaunchInstanceDetailsRequest) launchInstanceDetails}. -* At least one of them is required; if you provide both, the values must match. -*

-If you are an Oracle Cloud VMware Solution customer and creating a secondary -* VNIC in a VLAN instead of a subnet, provide a {@code vlanId} instead of a {@code subnetId}. -* If you provide both a {@code vlanId} and {@code subnetId}, the request fails. -* - */ - "subnetId"?: string; - /** - * Provide this attribute only if you are an Oracle Cloud VMware Solution -* customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. -* See {@link Vlan}. -*

-Provide a {@code vlanId} instead of a {@code subnetId}. If you provide both a -* {@code vlanId} and {@code subnetId}, the request fails. -* - */ - "vlanId"?: string; -} - -export namespace CreateVnicDetails { - export function getJsonObj(obj: CreateVnicDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVnicDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/create-vtap-details.ts b/lib/vnmonitoring/lib/model/create-vtap-details.ts deleted file mode 100644 index b9a377b922..0000000000 --- a/lib/vnmonitoring/lib/model/create-vtap-details.ts +++ /dev/null @@ -1,152 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These details are included in a request to create a virtual test access point (VTAP). - */ -export interface CreateVtapDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the {@code Vtap} resource. - */ - "compartmentId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the {@code Vtap} resource. - */ - "vcnId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. - * - */ - "sourceId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. - * - */ - "targetId"?: string; - /** - * The IP address of the destination resource where mirrored packets are sent. - * - */ - "targetIp"?: string; - /** - * The capture filter's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - * - */ - "captureFilterId": string; - /** - * Defines an encapsulation header type for the VTAP's mirrored traffic. - * - */ - "encapsulationProtocol"?: CreateVtapDetails.EncapsulationProtocol; - /** - * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vxlanNetworkIdentifier"?: number; - /** - * Used to start or stop a {@code Vtap} resource. - *

- * {@code TRUE} directs the VTAP to start mirroring traffic. - * * {@code FALSE} (Default) directs the VTAP to stop mirroring traffic. - * - */ - "isVtapEnabled"?: boolean; - /** - * The source type for the VTAP. - * - */ - "sourceType"?: CreateVtapDetails.SourceType; - /** - * Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT - */ - "trafficMode"?: CreateVtapDetails.TrafficMode; - /** - * The maximum size of the packets to be included in the filter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maxPacketSize"?: number; - /** - * The target type for the VTAP. - * - */ - "targetType"?: CreateVtapDetails.TargetType; - /** - * The IP Address of the source private endpoint. - * - */ - "sourcePrivateEndpointIp"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. - * - */ - "sourcePrivateEndpointSubnetId"?: string; -} - -export namespace CreateVtapDetails { - export enum EncapsulationProtocol { - Vxlan = "VXLAN" - } - - export enum SourceType { - Vnic = "VNIC", - Subnet = "SUBNET", - LoadBalancer = "LOAD_BALANCER", - DbSystem = "DB_SYSTEM", - ExadataVmCluster = "EXADATA_VM_CLUSTER", - AutonomousDataWarehouse = "AUTONOMOUS_DATA_WAREHOUSE" - } - - export enum TrafficMode { - Default = "DEFAULT", - Priority = "PRIORITY" - } - - export enum TargetType { - Vnic = "VNIC", - NetworkLoadBalancer = "NETWORK_LOAD_BALANCER", - IpAddress = "IP_ADDRESS" - } - - export function getJsonObj(obj: CreateVtapDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVtapDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cross-connect-group.ts b/lib/vnmonitoring/lib/model/cross-connect-group.ts index d0f03268bc..309462c884 100644 --- a/lib/vnmonitoring/lib/model/cross-connect-group.ts +++ b/lib/vnmonitoring/lib/model/cross-connect-group.ts @@ -37,24 +37,12 @@ export interface CrossConnectGroup { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the cross-connect group. */ "compartmentId"?: string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * The cross-connect group's Oracle ID (OCID). */ @@ -63,12 +51,6 @@ export interface CrossConnectGroup { * The cross-connect group's current state. */ "lifecycleState"?: CrossConnectGroup.LifecycleState; - /** - * A reference name or identifier for the physical fiber connection that this cross-connect - * group uses. - * - */ - "customerReferenceName"?: string; /** * The date and time the cross-connect group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

@@ -76,18 +58,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} * */ "timeCreated"?: Date; - "macsecProperties"?: model.MacsecProperties; - /** - * The FastConnect device that terminates the physical connection. - * - */ - "ociPhysicalDeviceName"?: string; - /** - * The FastConnect device that terminates the logical connection. - * This device might be different than the device that terminates the physical connection. - * - */ - "ociLogicalDeviceName"?: string; } export namespace CrossConnectGroup { @@ -105,26 +75,12 @@ export namespace CrossConnectGroup { } export function getJsonObj(obj: CrossConnectGroup): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.MacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CrossConnectGroup): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.MacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/cross-connect-mapping-details.ts b/lib/vnmonitoring/lib/model/cross-connect-mapping-details.ts deleted file mode 100644 index 88eb6ee8a0..0000000000 --- a/lib/vnmonitoring/lib/model/cross-connect-mapping-details.ts +++ /dev/null @@ -1,152 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* For use with Oracle Cloud Infrastructure FastConnect. Each -* {@link VirtualCircuit} runs on one or -* more cross-connects or cross-connect groups. A {@code CrossConnectMappingDetails} -* contains the properties for an individual cross-connect or cross-connect group -* associated with a given virtual circuit. -*

-The details includes information about the cross-connect or -* cross-connect group, the VLAN, and the BGP peering session. -* -*/ -export interface CrossConnectMappingDetails { - /** - * The key for BGP MD5 authentication. Only applicable if your system - * requires MD5 authentication. If empty or not set (null), that - * means you don't use BGP MD5 authentication. - * - */ - "bgpMd5AuthKey"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cross-connect or cross-connect group for this mapping. - * Specified by the owner of the cross-connect or cross-connect group (the - * customer if the customer is colocated with Oracle, or the provider if the - * customer is connecting via provider). - * - */ - "crossConnectOrCrossConnectGroupId"?: string; - /** - * The BGP IPv4 address for the router on the other end of the BGP session from -* Oracle. Specified by the owner of that router. If the session goes from Oracle -* to a customer, this is the BGP IPv4 address of the customer's edge router. If the -* session goes from Oracle to a provider, this is the BGP IPv4 address of the -* provider's edge router. Must use a subnet mask from /28 to /31. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. -*

-Example: {@code 10.0.0.18/31} -* - */ - "customerBgpPeeringIp"?: string; - /** - * The IPv4 address for Oracle's end of the BGP session. Must use a subnet mask from /28 to /31. -* If the session goes from Oracle to a customer's edge router, -* the customer specifies this information. If the session goes from Oracle to -* a provider's edge router, the provider specifies this. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv4 addresses. -*

-Example: {@code 10.0.0.19/31} -* - */ - "oracleBgpPeeringIp"?: string; - /** - * The BGP IPv6 address for the router on the other end of the BGP session from -* Oracle. Specified by the owner of that router. If the session goes from Oracle -* to a customer, this is the BGP IPv6 address of the customer's edge router. If the -* session goes from Oracle to a provider, this is the BGP IPv6 address of the -* provider's edge router. Only subnet masks from /64 up to /127 are allowed. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. -*

-Example: {@code 2001:db8::1/64} -* - */ - "customerBgpPeeringIpv6"?: string; - /** - * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. -* If the session goes from Oracle to a customer's edge router, -* the customer specifies this information. If the session goes from Oracle to -* a provider's edge router, the provider specifies this. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. -*

-Example: {@code 2001:db8::2/64} -* - */ - "oracleBgpPeeringIpv6"?: string; - /** - * The number of the specific VLAN (on the cross-connect or cross-connect group) -* that is assigned to this virtual circuit. Specified by the owner of the cross-connect -* or cross-connect group (the customer if the customer is colocated with Oracle, or -* the provider if the customer is connecting via provider). -*

-Example: {@code 200} -* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vlan"?: number; - /** - * The state of the Ipv4 BGP session. - */ - "ipv4BgpStatus"?: CrossConnectMappingDetails.Ipv4BgpStatus; - /** - * The state of the Ipv6 BGP session. - */ - "ipv6BgpStatus"?: CrossConnectMappingDetails.Ipv6BgpStatus; - /** - * The FastConnect device that terminates the logical connection. - * - */ - "ociLogicalDeviceName"?: string; -} - -export namespace CrossConnectMappingDetails { - export enum Ipv4BgpStatus { - Up = "UP", - Down = "DOWN", - /** - * 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 Ipv6BgpStatus { - Up = "UP", - Down = "DOWN", - /** - * 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: CrossConnectMappingDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CrossConnectMappingDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/cross-connect-mapping.ts b/lib/vnmonitoring/lib/model/cross-connect-mapping.ts index 4ded0a303c..63ec545b82 100644 --- a/lib/vnmonitoring/lib/model/cross-connect-mapping.ts +++ b/lib/vnmonitoring/lib/model/cross-connect-mapping.ts @@ -42,10 +42,6 @@ Who specifies the BGP peering information in the case of customer connection via * goes from Oracle to the customer's edge router, then the customer specifies the BGP * peering information. There's one exception: for a public virtual circuit, Oracle * specifies the BGP IPv4 addresses. -*

-Every {@code CrossConnectMapping} must have BGP IPv4 peering addresses. BGP IPv6 peering -* addresses are optional. If BGP IPv6 addresses are provided, the customer can -* exchange IPv6 routes with Oracle. * */ export interface CrossConnectMapping { @@ -89,37 +85,6 @@ Example: {@code 10.0.0.19/31} * */ "oracleBgpPeeringIp"?: string; - /** - * The BGP IPv6 address for the router on the other end of the BGP session from -* Oracle. Specified by the owner of that router. If the session goes from Oracle -* to a customer, this is the BGP IPv6 address of the customer's edge router. If the -* session goes from Oracle to a provider, this is the BGP IPv6 address of the -* provider's edge router. Only subnet masks from /64 up to /127 are allowed. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. -*

-IPv6 addressing is supported for all commercial and government regions. See -* [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:db8::1/64} -* - */ - "customerBgpPeeringIpv6"?: string; - /** - * The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. -* If the session goes from Oracle to a customer's edge router, -* the customer specifies this information. If the session goes from Oracle to -* a provider's edge router, the provider specifies this. -*

-There's one exception: for a public virtual circuit, Oracle specifies the BGP IPv6 addresses. -*

-Note that IPv6 addressing is currently supported only in certain regions. See -* [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:db8::2/64} -* - */ - "oracleBgpPeeringIpv6"?: string; /** * The number of the specific VLAN (on the cross-connect or cross-connect group) * that is assigned to this virtual circuit. Specified by the owner of the cross-connect diff --git a/lib/vnmonitoring/lib/model/cross-connect-status.ts b/lib/vnmonitoring/lib/model/cross-connect-status.ts index 70da119a16..29e9d3acb7 100644 --- a/lib/vnmonitoring/lib/model/cross-connect-status.ts +++ b/lib/vnmonitoring/lib/model/cross-connect-status.ts @@ -46,25 +46,6 @@ Example: {@code 14.0} * */ "lightLevelIndicator"?: CrossConnectStatus.LightLevelIndicator; - /** - * Encryption status of this cross connect. -*

-Possible values: -* * **UP:** Traffic is encrypted over this cross-connect -* * **DOWN:** Traffic is not encrypted over this cross-connect -* * **CIPHER_MISMATCH:** The MACsec encryption cipher doesn't match the cipher on the CPE -* * **CKN_MISMATCH:** The MACsec Connectivity association Key Name (CKN) doesn't match the CKN on the CPE -* * **CAK_MISMATCH:** The MACsec Connectivity Association Key (CAK) doesn't match the CAK on the CPE -* - */ - "encryptionStatus"?: CrossConnectStatus.EncryptionStatus; - /** - * The light levels of the cross-connect (in dBm). -*

-Example: {@code [14.0, -14.0, 2.1, -10.1]} -* - */ - "lightLevelsInDBm"?: Array; } export namespace CrossConnectStatus { @@ -91,19 +72,6 @@ export namespace CrossConnectStatus { UnknownValue = "UNKNOWN_VALUE" } - export enum EncryptionStatus { - Up = "UP", - Down = "DOWN", - CipherMismatch = "CIPHER_MISMATCH", - CknMismatch = "CKN_MISMATCH", - CakMismatch = "CAK_MISMATCH", - /** - * 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: CrossConnectStatus): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/vnmonitoring/lib/model/cross-connect.ts b/lib/vnmonitoring/lib/model/cross-connect.ts index 9ce3a68bb1..f1e9df79bc 100644 --- a/lib/vnmonitoring/lib/model/cross-connect.ts +++ b/lib/vnmonitoring/lib/model/cross-connect.ts @@ -45,24 +45,12 @@ export interface CrossConnect { * */ "crossConnectGroupId"?: string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * The cross-connect's Oracle ID (OCID). */ @@ -87,12 +75,6 @@ Example: {@code 10 Gbps} * */ "portSpeedShapeName"?: string; - /** - * A reference name or identifier for the physical fiber connection that this cross-connect - * uses. - * - */ - "customerReferenceName"?: string; /** * The date and time the cross-connect was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

@@ -100,18 +82,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} * */ "timeCreated"?: Date; - "macsecProperties"?: model.MacsecProperties; - /** - * The FastConnect device that terminates the physical connection. - * - */ - "ociPhysicalDeviceName"?: string; - /** - * The FastConnect device that terminates the logical connection. - * This device might be different than the device that terminates the physical connection. - * - */ - "ociLogicalDeviceName"?: string; } export namespace CrossConnect { @@ -130,26 +100,12 @@ export namespace CrossConnect { } export function getJsonObj(obj: CrossConnect): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.MacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: CrossConnect): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.MacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/default-phase-two-parameters.ts b/lib/vnmonitoring/lib/model/default-phase-two-parameters.ts deleted file mode 100644 index 912714488f..0000000000 --- a/lib/vnmonitoring/lib/model/default-phase-two-parameters.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Default phase two parameters. - */ -export interface DefaultPhaseTwoParameters { - /** - * Default phase two encryption algorithms. - */ - "defaultEncryptionAlgorithms"?: Array; - /** - * Default phase two authentication algorithms. - */ - "defaultAuthenticationAlgorithms"?: Array; - /** - * Default perfect forward secrecy Diffie-Hellman groups. - */ - "defaultPfsDhGroup"?: string; -} - -export namespace DefaultPhaseTwoParameters { - export function getJsonObj(obj: DefaultPhaseTwoParameters): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DefaultPhaseTwoParameters): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/denied-security-action-details.ts b/lib/vnmonitoring/lib/model/denied-security-action-details.ts index c9687f3d23..ff45e311cc 100644 --- a/lib/vnmonitoring/lib/model/denied-security-action-details.ts +++ b/lib/vnmonitoring/lib/model/denied-security-action-details.ts @@ -26,7 +26,7 @@ export interface DeniedSecurityActionDetails { */ "isRestrictedOrPartial": boolean; /** - * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of evaluated security lists associcated + * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of evaluated security lists associated * with the OCI resource's subnet. * */ diff --git a/lib/vnmonitoring/lib/model/dhcp-options.ts b/lib/vnmonitoring/lib/model/dhcp-options.ts index 236288bc2a..03bcb227fb 100644 --- a/lib/vnmonitoring/lib/model/dhcp-options.ts +++ b/lib/vnmonitoring/lib/model/dhcp-options.ts @@ -80,10 +80,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. */ "vcnId": string; - /** - * The search domain name type of DHCP options - */ - "domainNameType"?: DhcpOptions.DomainNameType; } export namespace DhcpOptions { @@ -99,17 +95,6 @@ export namespace DhcpOptions { UnknownValue = "UNKNOWN_VALUE" } - export enum DomainNameType { - SubnetDomain = "SUBNET_DOMAIN", - VcnDomain = "VCN_DOMAIN", - CustomDomain = "CUSTOM_DOMAIN", - /** - * 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: DhcpOptions): object { const jsonObj = { ...obj, diff --git a/lib/vnmonitoring/lib/model/dpd-config.ts b/lib/vnmonitoring/lib/model/dpd-config.ts deleted file mode 100644 index 05b00aaa7c..0000000000 --- a/lib/vnmonitoring/lib/model/dpd-config.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These configuration details are used for dead peer detection (DPD). DPD periodically checks the stability of the connection to the customer premises (CPE), and may be used to detect that the link to the CPE has gone down. - * - */ -export interface DpdConfig { - /** - * This option defines whether DPD can be initiated from the Oracle side of the connection. - * - */ - "dpdMode"?: DpdConfig.DpdMode; - /** - * DPD timeout in seconds. This sets the longest interval between CPE device health messages before the IPSec connection indicates it has lost contact with the CPE. The default is 20 seconds. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "dpdTimeoutInSec"?: number; -} - -export namespace DpdConfig { - export enum DpdMode { - InitiateAndRespond = "INITIATE_AND_RESPOND", - RespondOnly = "RESPOND_ONLY" - } - - export function getJsonObj(obj: DpdConfig): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DpdConfig): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/drg-attachment-network-create-details.ts index 26e4d7ec2f..e0c34b84d5 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment-network-create-details.ts +++ b/lib/vnmonitoring/lib/model/drg-attachment-network-create-details.ts @@ -32,11 +32,41 @@ export namespace DrgAttachmentNetworkCreateDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "IPSEC_TUNNEL": + return model.IpsecTunnelDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); + case "LOOPBACK": + return model.LoopBackDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); + case "VIRTUAL_CIRCUIT": + return model.VirtualCircuitDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); + case "REMOTE_PEERING_CONNECTION": + return model.RemotePeeringConnectionDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); + case "INTERNET": + return model.InternetDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); case "VCN": return model.VcnDrgAttachmentNetworkCreateDetails.getJsonObj( (jsonObj), true ); + case "FLEX_TUNNEL": + return model.FlexTunnelDrgAttachmentNetworkCreateDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } @@ -48,11 +78,41 @@ export namespace DrgAttachmentNetworkCreateDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "IPSEC_TUNNEL": + return model.IpsecTunnelDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "LOOPBACK": + return model.LoopBackDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "VIRTUAL_CIRCUIT": + return model.VirtualCircuitDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "REMOTE_PEERING_CONNECTION": + return model.RemotePeeringConnectionDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "INTERNET": + return model.InternetDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "VCN": return model.VcnDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( (jsonObj), true ); + case "FLEX_TUNNEL": + return model.FlexTunnelDrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } diff --git a/lib/vnmonitoring/lib/model/drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/drg-attachment-network-details.ts index 479b452ac7..7d4e9a8355 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/drg-attachment-network-details.ts @@ -37,6 +37,11 @@ export namespace DrgAttachmentNetworkDetails { (jsonObj), true ); + case "INTERNET": + return model.InternetDrgAttachmentNetworkDetails.getJsonObj( + (jsonObj), + true + ); case "LOOPBACK": return model.LoopBackDrgAttachmentNetworkDetails.getJsonObj( (jsonObj), @@ -52,6 +57,11 @@ export namespace DrgAttachmentNetworkDetails { (jsonObj), true ); + case "FLEX_TUNNEL": + return model.FlexTunnelDrgAttachmentNetworkDetails.getJsonObj( + (jsonObj), + true + ); case "REMOTE_PEERING_CONNECTION": return model.RemotePeeringConnectionDrgAttachmentNetworkDetails.getJsonObj( (jsonObj), @@ -73,6 +83,11 @@ export namespace DrgAttachmentNetworkDetails { (jsonObj), true ); + case "INTERNET": + return model.InternetDrgAttachmentNetworkDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "LOOPBACK": return model.LoopBackDrgAttachmentNetworkDetails.getDeserializedJsonObj( (jsonObj), @@ -88,6 +103,11 @@ export namespace DrgAttachmentNetworkDetails { (jsonObj), true ); + case "FLEX_TUNNEL": + return model.FlexTunnelDrgAttachmentNetworkDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "REMOTE_PEERING_CONNECTION": return model.RemotePeeringConnectionDrgAttachmentNetworkDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/vnmonitoring/lib/model/drg-attachment-network-update-details.ts b/lib/vnmonitoring/lib/model/drg-attachment-network-update-details.ts index f9ecd9d39d..28cca9d2fa 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment-network-update-details.ts +++ b/lib/vnmonitoring/lib/model/drg-attachment-network-update-details.ts @@ -26,6 +26,21 @@ export namespace DrgAttachmentNetworkUpdateDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "INTERNET": + return model.InternetDrgAttachmentNetworkUpdateDetails.getJsonObj( + (jsonObj), + true + ); + case "VIRTUAL_CIRCUIT": + return model.VirtualCircuitDrgAttachmentNetworkUpdateDetails.getJsonObj( + (jsonObj), + true + ); + case "LOOPBACK": + return model.LoopbackDrgAttachmentNetworkUpdateDetails.getJsonObj( + (jsonObj), + true + ); case "VCN": return model.VcnDrgAttachmentNetworkUpdateDetails.getJsonObj( (jsonObj), @@ -42,6 +57,21 @@ export namespace DrgAttachmentNetworkUpdateDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "INTERNET": + return model.InternetDrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "VIRTUAL_CIRCUIT": + return model.VirtualCircuitDrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "LOOPBACK": + return model.LoopbackDrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "VCN": return model.VcnDrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/vnmonitoring/lib/model/drg-attachment-type-drg-route-distribution-match-criteria.ts b/lib/vnmonitoring/lib/model/drg-attachment-type-drg-route-distribution-match-criteria.ts index 1434f68ee5..089780f43c 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment-type-drg-route-distribution-match-criteria.ts +++ b/lib/vnmonitoring/lib/model/drg-attachment-type-drg-route-distribution-match-criteria.ts @@ -39,6 +39,8 @@ export namespace DrgAttachmentTypeDrgRouteDistributionMatchCriteria { VirtualCircuit = "VIRTUAL_CIRCUIT", RemotePeeringConnection = "REMOTE_PEERING_CONNECTION", IpsecTunnel = "IPSEC_TUNNEL", + FlexTunnel = "FLEX_TUNNEL", + Loopback = "LOOPBACK", /** * 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/vnmonitoring/lib/model/drg-attachment.ts b/lib/vnmonitoring/lib/model/drg-attachment.ts index e06d035c9e..7eadf8512e 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment.ts +++ b/lib/vnmonitoring/lib/model/drg-attachment.ts @@ -62,9 +62,11 @@ The DRG route table manages traffic inside the DRG. "drgRouteTableId"?: string; "networkDetails"?: | model.VcnDrgAttachmentNetworkDetails + | model.InternetDrgAttachmentNetworkDetails | model.LoopBackDrgAttachmentNetworkDetails | model.IpsecTunnelDrgAttachmentNetworkDetails | model.VirtualCircuitDrgAttachmentNetworkDetails + | model.FlexTunnelDrgAttachmentNetworkDetails | model.RemotePeeringConnectionDrgAttachmentNetworkDetails; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. @@ -78,18 +80,6 @@ The DRG route table manages traffic inside the DRG. * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using. -*

-For information about why you would associate a route table with a DRG attachment, see: -*

- * [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) -* * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) -*

-This field is deprecated. Instead, use the {@code networkDetails} field to view the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. -* - */ - "routeTableId"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. * This field is deprecated. Instead, use the {@code networkDetails} field to view the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. diff --git a/lib/vnmonitoring/lib/model/allowed-phase-one-parameters.ts b/lib/vnmonitoring/lib/model/drg-customer-resource.ts similarity index 66% rename from lib/vnmonitoring/lib/model/allowed-phase-one-parameters.ts rename to lib/vnmonitoring/lib/model/drg-customer-resource.ts index 7cd13f54fd..46e6779117 100644 --- a/lib/vnmonitoring/lib/model/allowed-phase-one-parameters.ts +++ b/lib/vnmonitoring/lib/model/drg-customer-resource.ts @@ -17,30 +17,34 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Allowed phase one parameters. + * The IPSEC / FC / RPC info returned in DrgCustomerResponse */ -export interface AllowedPhaseOneParameters { +export interface DrgCustomerResource { /** - * Allowed phase one encryption algorithms. + * OCID of the IPSEC / FC / RPC */ - "encryptionAlgorithms"?: Array; + "id"?: string; /** - * Allowed phase one authentication algorithms. + * The friendly name of the node. */ - "authenticationAlgorithms"?: Array; + "displayName"?: string; /** - * Allowed phase one Diffie-Hellman groups. + * the compartment id of the DRG */ - "dhGroups"?: Array; + "compartmentId"?: string; + /** + * the lifeCycleState of the IPSEC / FC / RPC + */ + "state"?: string; } -export namespace AllowedPhaseOneParameters { - export function getJsonObj(obj: AllowedPhaseOneParameters): object { +export namespace DrgCustomerResource { + export function getJsonObj(obj: DrgCustomerResource): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: AllowedPhaseOneParameters): object { + export function getDeserializedJsonObj(obj: DrgCustomerResource): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/drg-customer.ts b/lib/vnmonitoring/lib/model/drg-customer.ts new file mode 100644 index 0000000000..a10b31e470 --- /dev/null +++ b/lib/vnmonitoring/lib/model/drg-customer.ts @@ -0,0 +1,90 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 list of IPSEC / FC / RPC info for a given DRG + */ +export interface DrgCustomer { + /** + * OCID of the DRG + */ + "drgId": string; + /** + * A List of the RPC connections on this DRG + */ + "remotePeeringConnections"?: Array; + /** + * A List of the VCs on this DRG + */ + "virtualCircuits"?: Array; + /** + * A List of the IPSec connections on this DRG + */ + "ipsecConnections"?: Array; +} + +export namespace DrgCustomer { + export function getJsonObj(obj: DrgCustomer): object { + const jsonObj = { + ...obj, + ...{ + "remotePeeringConnections": obj.remotePeeringConnections + ? obj.remotePeeringConnections.map(item => { + return model.DrgCustomerResource.getJsonObj(item); + }) + : undefined, + "virtualCircuits": obj.virtualCircuits + ? obj.virtualCircuits.map(item => { + return model.DrgCustomerResource.getJsonObj(item); + }) + : undefined, + "ipsecConnections": obj.ipsecConnections + ? obj.ipsecConnections.map(item => { + return model.DrgCustomerResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DrgCustomer): object { + const jsonObj = { + ...obj, + ...{ + "remotePeeringConnections": obj.remotePeeringConnections + ? obj.remotePeeringConnections.map(item => { + return model.DrgCustomerResource.getDeserializedJsonObj(item); + }) + : undefined, + "virtualCircuits": obj.virtualCircuits + ? obj.virtualCircuits.map(item => { + return model.DrgCustomerResource.getDeserializedJsonObj(item); + }) + : undefined, + "ipsecConnections": obj.ipsecConnections + ? obj.ipsecConnections.map(item => { + return model.DrgCustomerResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/create-public-ip-pool-details.ts b/lib/vnmonitoring/lib/model/drg-promotion-status-response.ts similarity index 50% rename from lib/vnmonitoring/lib/model/create-public-ip-pool-details.ts rename to lib/vnmonitoring/lib/model/drg-promotion-status-response.ts index f037c2de50..5292e1ac66 100644 --- a/lib/vnmonitoring/lib/model/create-public-ip-pool-details.ts +++ b/lib/vnmonitoring/lib/model/drg-promotion-status-response.ts @@ -17,41 +17,45 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information used to create a public IP pool. + * The promotion/unpromotion status of a DRG */ -export interface CreatePublicIpPoolDetails { +export interface DrgPromotionStatusResponse { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. - * + * OCID of the DRG */ - "compartmentId": string; + "drgId": string; /** - * Defined tags for this resource. Each key is predefined and scoped to a namespace. - * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} - * + * The promotion status of the DRG */ - "definedTags"?: { [key: string]: { [key: string]: any } }; + "drgPromotionStatus"?: DrgPromotionStatusResponse.DrgPromotionStatus; /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * + * A map of the promotion status of each RPC connection on this DRG {conn_id -> promo_status} */ - "displayName"?: string; + "rpcPromotionStatus"?: { [key: string]: string }; /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * + * A map of the promotion status of each VC on this DRG {conn_id -> promo_status} */ - "freeformTags"?: { [key: string]: string }; + "vcPromotionStatus"?: { [key: string]: string }; + /** + * A map of the promotion status of each IPSec connection on this DRG {conn_id -> promo_status} + */ + "ipsecPromotionStatus"?: { [key: string]: string }; } -export namespace CreatePublicIpPoolDetails { - export function getJsonObj(obj: CreatePublicIpPoolDetails): object { +export namespace DrgPromotionStatusResponse { + export enum DrgPromotionStatus { + Unpromoted = "UNPROMOTED", + Promoting = "PROMOTING", + Promoted = "PROMOTED", + Unpromoting = "UNPROMOTING" + } + + export function getJsonObj(obj: DrgPromotionStatusResponse): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: CreatePublicIpPoolDetails): object { + export function getDeserializedJsonObj(obj: DrgPromotionStatusResponse): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/drg-redundancy-status.ts b/lib/vnmonitoring/lib/model/drg-redundancy-status.ts deleted file mode 100644 index c6f09cbf32..0000000000 --- a/lib/vnmonitoring/lib/model/drg-redundancy-status.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 redundancy status of the DRG. For more information, see - * [Redundancy Remedies](https://docs.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). - * - */ -export interface DrgRedundancyStatus { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. - */ - "id"?: string; - /** - * The redundancy status of the DRG. - */ - "status"?: DrgRedundancyStatus.Status; -} - -export namespace DrgRedundancyStatus { - export enum Status { - NotAvailable = "NOT_AVAILABLE", - Redundant = "REDUNDANT", - NotRedundantSingleIpsec = "NOT_REDUNDANT_SINGLE_IPSEC", - NotRedundantSingleVirtualcircuit = "NOT_REDUNDANT_SINGLE_VIRTUALCIRCUIT", - NotRedundantMultipleIpsecs = "NOT_REDUNDANT_MULTIPLE_IPSECS", - NotRedundantMultipleVirtualcircuits = "NOT_REDUNDANT_MULTIPLE_VIRTUALCIRCUITS", - NotRedundantMixConnections = "NOT_REDUNDANT_MIX_CONNECTIONS", - NotRedundantNoConnection = "NOT_REDUNDANT_NO_CONNECTION", - /** - * 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: DrgRedundancyStatus): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DrgRedundancyStatus): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/drg-route-distribution-match-criteria.ts b/lib/vnmonitoring/lib/model/drg-route-distribution-match-criteria.ts index 7f99a6c1e1..df38d3213f 100644 --- a/lib/vnmonitoring/lib/model/drg-route-distribution-match-criteria.ts +++ b/lib/vnmonitoring/lib/model/drg-route-distribution-match-criteria.ts @@ -41,11 +41,6 @@ export namespace DrgRouteDistributionMatchCriteria { (jsonObj), true ); - case "MATCH_ALL": - return model.DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.getJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.matchType}`); } @@ -67,11 +62,6 @@ export namespace DrgRouteDistributionMatchCriteria { (jsonObj), true ); - case "MATCH_ALL": - return model.DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.getDeserializedJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.matchType}`); } diff --git a/lib/vnmonitoring/lib/model/drg-route-distribution.ts b/lib/vnmonitoring/lib/model/drg-route-distribution.ts index dff42a64ec..8317ca4fac 100644 --- a/lib/vnmonitoring/lib/model/drg-route-distribution.ts +++ b/lib/vnmonitoring/lib/model/drg-route-distribution.ts @@ -19,18 +19,17 @@ import common = require("oci-common"); /** * A route distribution establishes how routes get imported into DRG route tables and exported through the DRG attachments. *

-A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be {@code True} in order for -* the statement's action to take place. Each statement determines which routes are propagated. +A route distribution is a list of statements. Each statement consists of a set of matches, all of which must be {@code True} for the statement's action to take place. Each statement determines which routes are propagated. *

You can assign a route distribution as a route table's import distribution. The statements in an import * route distribution specify how how incoming route advertisements through a referenced attachment or all attachments of a certain type are inserted into the route table. *

You can assign a route distribution as a DRG attachment's export distribution unless the -* attachment has the type VCN. Exporting routes through a VCN attachment is unsupported. Export +* attachment has the type {@code VCN}. Exporting routes through a VCN attachment is unsupported. Export * route distribution statements specify how routes in a DRG attachment's assigned table are * advertised out through the attachment. When a DRG is created, a route distribution is created * with a single ACCEPT statement with match criteria MATCH_ALL. By default, all DRG attachments -* (except for those of type VCN), are assigned this distribution. +* (except for those of type VCN), are assigned this distribution. You can't create a new export route distribution, one is created for you when the DRG is created. *

* The two auto-generated DRG route tables (one as the default for VCN attachments, and the other for all other types of attachments) diff --git a/lib/vnmonitoring/lib/model/egress-security-rule.ts b/lib/vnmonitoring/lib/model/egress-security-rule.ts index 48b8c1ae47..6bc6e175f8 100644 --- a/lib/vnmonitoring/lib/model/egress-security-rule.ts +++ b/lib/vnmonitoring/lib/model/egress-security-rule.ts @@ -69,11 +69,6 @@ Allowed values: "protocol": string; "tcpOptions"?: model.TcpOptions; "udpOptions"?: model.UdpOptions; - /** - * An optional description of your choice for the rule. - * - */ - "description"?: string; } export namespace EgressSecurityRule { diff --git a/lib/vnmonitoring/lib/model/encryption-domain-config.ts b/lib/vnmonitoring/lib/model/encryption-domain-config.ts deleted file mode 100644 index 6e3d824970..0000000000 --- a/lib/vnmonitoring/lib/model/encryption-domain-config.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Configuration information used by the encryption domain policy. - */ -export interface EncryptionDomainConfig { - /** - * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. - */ - "oracleTrafficSelector"?: Array; - /** - * Lists IPv4 or IPv6-enabled subnets in your on-premises network. - */ - "cpeTrafficSelector"?: Array; -} - -export namespace EncryptionDomainConfig { - export function getJsonObj(obj: EncryptionDomainConfig): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: EncryptionDomainConfig): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/endpoint.ts b/lib/vnmonitoring/lib/model/endpoint.ts index 8f34a0afa8..480701acb2 100644 --- a/lib/vnmonitoring/lib/model/endpoint.ts +++ b/lib/vnmonitoring/lib/model/endpoint.ts @@ -47,6 +47,11 @@ export namespace Endpoint { ); case "ON_PREM": return model.OnPremEndpoint.getJsonObj((jsonObj), true); + case "PRIVATE_SERVICE_ACCESS": + return model.PrivateServiceAccessEndpoint.getJsonObj( + (jsonObj), + true + ); case "LOAD_BALANCER": return model.LoadBalancerEndpoint.getJsonObj( (jsonObj), @@ -99,6 +104,11 @@ export namespace Endpoint { (jsonObj), true ); + case "PRIVATE_SERVICE_ACCESS": + return model.PrivateServiceAccessEndpoint.getDeserializedJsonObj( + (jsonObj), + true + ); case "LOAD_BALANCER": return model.LoadBalancerEndpoint.getDeserializedJsonObj( (jsonObj), diff --git a/lib/vnmonitoring/lib/model/fast-connect-provider-service-key.ts b/lib/vnmonitoring/lib/model/fast-connect-provider-service-key.ts deleted file mode 100644 index 619c4ad304..0000000000 --- a/lib/vnmonitoring/lib/model/fast-connect-provider-service-key.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * A provider service key and its details. A provider service key is an identifier for a provider's - * virtual circuit. - * - */ -export interface FastConnectProviderServiceKey { - /** - * The service key that the provider gives you when you set up a virtual circuit connection - * from the provider to Oracle Cloud Infrastructure. Use this value as the {@code providerServiceKeyName} - * query parameter for - * {@link #getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest) getFastConnectProviderServiceKey}. - * - */ - "name": string; - /** - * The provisioned data rate of the connection. To get a list of the -* available bandwidth levels (that is, shapes), see -* {@link #listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) listFastConnectProviderVirtualCircuitBandwidthShapes}. -*

-Example: {@code 10 Gbps} -* - */ - "bandwidthShapeName"?: string; - /** - * The provider's peering location. - */ - "peeringLocation"?: string; -} - -export namespace FastConnectProviderServiceKey { - export function getJsonObj(obj: FastConnectProviderServiceKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: FastConnectProviderServiceKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/fast-connect-provider-service.ts b/lib/vnmonitoring/lib/model/fast-connect-provider-service.ts index bdac955b34..d692f62840 100644 --- a/lib/vnmonitoring/lib/model/fast-connect-provider-service.ts +++ b/lib/vnmonitoring/lib/model/fast-connect-provider-service.ts @@ -61,27 +61,6 @@ Example: {@code https://example.com} * */ "supportedVirtualCircuitTypes"?: Array; - /** - * Who is responsible for managing the ASN information for the network at the other end - * of the connection from Oracle. - * - */ - "customerAsnManagement": FastConnectProviderService.CustomerAsnManagement; - /** - * Who is responsible for managing the provider service key. - * - */ - "providerServiceKeyManagement": FastConnectProviderService.ProviderServiceKeyManagement; - /** - * Who is responsible for managing the virtual circuit bandwidth. - * - */ - "bandwithShapeManagement": FastConnectProviderService.BandwithShapeManagement; - /** - * Total number of cross-connect or cross-connect groups required for the virtual circuit. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requiredTotalCrossConnects": number; /** * Provider service type. * @@ -122,39 +101,6 @@ export namespace FastConnectProviderService { UnknownValue = "UNKNOWN_VALUE" } - export enum CustomerAsnManagement { - CustomerManaged = "CUSTOMER_MANAGED", - ProviderManaged = "PROVIDER_MANAGED", - OracleManaged = "ORACLE_MANAGED", - /** - * 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 ProviderServiceKeyManagement { - CustomerManaged = "CUSTOMER_MANAGED", - ProviderManaged = "PROVIDER_MANAGED", - OracleManaged = "ORACLE_MANAGED", - /** - * 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 BandwithShapeManagement { - CustomerManaged = "CUSTOMER_MANAGED", - ProviderManaged = "PROVIDER_MANAGED", - OracleManaged = "ORACLE_MANAGED", - /** - * 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 Type { Layer2 = "LAYER2", Layer3 = "LAYER3", diff --git a/lib/vnmonitoring/lib/model/default-phase-one-parameters.ts b/lib/vnmonitoring/lib/model/flex-tunnel-bgp-session.ts similarity index 55% rename from lib/vnmonitoring/lib/model/default-phase-one-parameters.ts rename to lib/vnmonitoring/lib/model/flex-tunnel-bgp-session.ts index 48d1bc3b09..0e845a43ac 100644 --- a/lib/vnmonitoring/lib/model/default-phase-one-parameters.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel-bgp-session.ts @@ -17,30 +17,42 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Default phase one parameters. + * Boarder Gateway Protocol (BGP) fields. */ -export interface DefaultPhaseOneParameters { +export interface FlexTunnelBgpSession { /** - * Default phase one encryption algorithms. + * The BGP ASN of the network on your end of the BGP session. */ - "defaultEncryptionAlgorithms"?: Array; + "customerBgpAsn": string; /** - * Default phase one authentication algorithms. + * The Oracle BPG ASN number. */ - "defaultAuthenticationAlgorithms"?: Array; + "oracleBgpAsn": string; /** - * Default phase one Diffie-Hellman groups. + * This IPv4 CIDR block is for your end of the inside tunnel interface. */ - "defaultDhGroups"?: Array; + "customerBgpIp": string; + /** + * The IPv4 CIDR block for the Oracle end of the inside tunnel interface. + */ + "oracleBgpIp": string; + /** + * This IPv6 prefix is for your end of the inside tunnel interface. + */ + "customerBgpIpv6"?: string; + /** + * The IPv6 prefix block for the Oracle end of the inside tunnel interface. + */ + "oracleBgpIpv6"?: string; } -export namespace DefaultPhaseOneParameters { - export function getJsonObj(obj: DefaultPhaseOneParameters): object { +export namespace FlexTunnelBgpSession { + export function getJsonObj(obj: FlexTunnelBgpSession): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: DefaultPhaseOneParameters): object { + export function getDeserializedJsonObj(obj: FlexTunnelBgpSession): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/byoip-allocated-range-summary.ts b/lib/vnmonitoring/lib/model/flex-tunnel-bgp-status.ts similarity index 59% rename from lib/vnmonitoring/lib/model/byoip-allocated-range-summary.ts rename to lib/vnmonitoring/lib/model/flex-tunnel-bgp-status.ts index 40939af79d..d562acfb26 100644 --- a/lib/vnmonitoring/lib/model/byoip-allocated-range-summary.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel-bgp-status.ts @@ -17,27 +17,40 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A summary of CIDR block subranges that are currently allocated to an IP pool. + * Boarder Gateway Protocol (BGP) session status */ -export interface ByoipAllocatedRangeSummary { +export interface FlexTunnelBgpStatus { /** - * The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flex tunnel. */ - "cidrBlock"?: string; + "flexTunnelId": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block. - * + * The state of the IPv4 BGP session associated with the flex tunnel. */ - "publicIpPoolId"?: string; + "bgpSessionStatus"?: FlexTunnelBgpStatus.BgpSessionStatus; + /** + * The state of the IPv6 BGP session associated with the flex tunnel. + */ + "bgpSessionStatusIpv6"?: FlexTunnelBgpStatus.BgpSessionStatusIpv6; } -export namespace ByoipAllocatedRangeSummary { - export function getJsonObj(obj: ByoipAllocatedRangeSummary): object { +export namespace FlexTunnelBgpStatus { + export enum BgpSessionStatus { + Up = "UP", + Down = "DOWN" + } + + export enum BgpSessionStatusIpv6 { + Up = "UP", + Down = "DOWN" + } + + export function getJsonObj(obj: FlexTunnelBgpStatus): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ByoipAllocatedRangeSummary): object { + export function getDeserializedJsonObj(obj: FlexTunnelBgpStatus): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/byoip-range-collection.ts b/lib/vnmonitoring/lib/model/flex-tunnel-collection.ts similarity index 72% rename from lib/vnmonitoring/lib/model/byoip-range-collection.ts rename to lib/vnmonitoring/lib/model/flex-tunnel-collection.ts index 535f18a04d..159026b480 100644 --- a/lib/vnmonitoring/lib/model/byoip-range-collection.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel-collection.ts @@ -17,23 +17,23 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The results returned by a {@code ListByoipRange} operation. + * The list of Flex Tunnels. */ -export interface ByoipRangeCollection { +export interface FlexTunnelCollection { /** - * A list of {@code ByoipRange} resource summaries. + * Collection of flex tunnels. */ - "items": Array; + "items": Array; } -export namespace ByoipRangeCollection { - export function getJsonObj(obj: ByoipRangeCollection): object { +export namespace FlexTunnelCollection { + export function getJsonObj(obj: FlexTunnelCollection): object { const jsonObj = { ...obj, ...{ "items": obj.items ? obj.items.map(item => { - return model.ByoipRangeSummary.getJsonObj(item); + return model.FlexTunnelSummary.getJsonObj(item); }) : undefined } @@ -41,13 +41,13 @@ export namespace ByoipRangeCollection { return jsonObj; } - export function getDeserializedJsonObj(obj: ByoipRangeCollection): object { + export function getDeserializedJsonObj(obj: FlexTunnelCollection): object { const jsonObj = { ...obj, ...{ "items": obj.items ? obj.items.map(item => { - return model.ByoipRangeSummary.getDeserializedJsonObj(item); + return model.FlexTunnelSummary.getDeserializedJsonObj(item); }) : undefined } diff --git a/lib/vnmonitoring/lib/model/flex-tunnel-configuration.ts b/lib/vnmonitoring/lib/model/flex-tunnel-configuration.ts new file mode 100644 index 0000000000..bc57e8f047 --- /dev/null +++ b/lib/vnmonitoring/lib/model/flex-tunnel-configuration.ts @@ -0,0 +1,83 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 tunnel configuration of a flex tunnel. + */ +export interface FlexTunnelConfiguration { + /** + * IP address of your end of the tunnel. + */ + "customerTunnelIp": string; + /** + * IP address of the oracle end of the tunnel. + */ + "oracleTunnelIp": string; + "bgpSession": model.FlexTunnelBgpSession; + + "tunnelType": string; +} + +export namespace FlexTunnelConfiguration { + export function getJsonObj(obj: FlexTunnelConfiguration): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.FlexTunnelBgpSession.getJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.GreFlexTunnelConfiguration.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: FlexTunnelConfiguration): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.FlexTunnelBgpSession.getDeserializedJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.GreFlexTunnelConfiguration.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..bc14de410d --- /dev/null +++ b/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-create-details.ts @@ -0,0 +1,68 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Specifies the flex tunnel attachment. + */ +export interface FlexTunnelDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the flex tunnel. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the transport drg attachment of the flex tunnel. + */ + "transportAttachmentId": string; + + "type": string; +} + +export namespace FlexTunnelDrgAttachmentNetworkCreateDetails { + export function getJsonObj( + obj: FlexTunnelDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as FlexTunnelDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "FLEX_TUNNEL"; + export function getDeserializedJsonObj( + obj: FlexTunnelDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as FlexTunnelDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-details.ts new file mode 100644 index 0000000000..fde5ff5199 --- /dev/null +++ b/lib/vnmonitoring/lib/model/flex-tunnel-drg-attachment-network-details.ts @@ -0,0 +1,88 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Specifies the flex tunnel attached to the DRG. + */ +export interface FlexTunnelDrgAttachmentNetworkDetails extends model.DrgAttachmentNetworkDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the transport drg attachment of the flex tunnel. + */ + "transportAttachmentId"?: string; + /** + * The BGP ASN to use for the Flex Tunnel connection's route target + * + */ + "regionalOciAsn"?: string; + /** + * Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors + * tagged with the attachment's import route target. + * + */ + "importRouteTarget"?: string; + /** + * Routes which are exported to the attachment are exported to the route reflectors + * with the route target set to the value of the attachment's export route target. + * + */ + "exportRouteTarget"?: string; + /** + * The MPLS label of the DRG attachment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mplsLabel"?: number; + /** + * IPv4 address used to encapsulate ingress traffic to the DRG through this attachment + */ + "ingressVip"?: string; + + "type": string; +} + +export namespace FlexTunnelDrgAttachmentNetworkDetails { + export function getJsonObj( + obj: FlexTunnelDrgAttachmentNetworkDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkDetails.getJsonObj( + obj + ) as FlexTunnelDrgAttachmentNetworkDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "FLEX_TUNNEL"; + export function getDeserializedJsonObj( + obj: FlexTunnelDrgAttachmentNetworkDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkDetails.getDeserializedJsonObj( + obj + ) as FlexTunnelDrgAttachmentNetworkDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/tunnel-route-summary.ts b/lib/vnmonitoring/lib/model/flex-tunnel-route-summary.ts similarity index 73% rename from lib/vnmonitoring/lib/model/tunnel-route-summary.ts rename to lib/vnmonitoring/lib/model/flex-tunnel-route-summary.ts index 303d6673cd..ae21f21fef 100644 --- a/lib/vnmonitoring/lib/model/tunnel-route-summary.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel-route-summary.ts @@ -17,10 +17,10 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A summary of the routes advertised to and received from the on-premises network. + * A summary of the routes advertised to and received from the SD-WAN. * */ -export interface TunnelRouteSummary { +export interface FlexTunnelRouteSummary { /** * The BGP network layer reachability information. */ @@ -40,26 +40,21 @@ export interface TunnelRouteSummary { /** * The source of the route advertisement. */ - "advertiser"?: TunnelRouteSummary.Advertiser; + "advertiser"?: FlexTunnelRouteSummary.Advertiser; } -export namespace TunnelRouteSummary { +export namespace FlexTunnelRouteSummary { export enum Advertiser { Customer = "CUSTOMER", - Oracle = "ORACLE", - /** - * 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" + Oracle = "ORACLE" } - export function getJsonObj(obj: TunnelRouteSummary): object { + export function getJsonObj(obj: FlexTunnelRouteSummary): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: TunnelRouteSummary): object { + export function getDeserializedJsonObj(obj: FlexTunnelRouteSummary): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/public-ip-pool-summary.ts b/lib/vnmonitoring/lib/model/flex-tunnel-summary.ts similarity index 74% rename from lib/vnmonitoring/lib/model/public-ip-pool-summary.ts rename to lib/vnmonitoring/lib/model/flex-tunnel-summary.ts index 50de21e7cc..d5d5a02014 100644 --- a/lib/vnmonitoring/lib/model/public-ip-pool-summary.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel-summary.ts @@ -17,26 +17,35 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Summary information about a public IP pool. + * Summary of FlexTunnel. */ -export interface PublicIpPoolSummary { +export interface FlexTunnelSummary { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP pool. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flex tunnel. */ - "compartmentId"?: string; + "id": string; /** - * Defined tags for this resource. Each key is predefined and scoped to a namespace. - * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the flex tunnel. */ - "definedTags"?: { [key: string]: { [key: string]: any } }; + "compartmentId": string; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; + /** + * The date and time the flex tunnel was created, in the format defined +* by [RFC3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The current state of the flex tunnel. + */ + "lifecycleState": string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -44,29 +53,20 @@ export interface PublicIpPoolSummary { */ "freeformTags"?: { [key: string]: string }; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. - */ - "id"?: string; - /** - * The public IP pool's current state. + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * */ - "lifecycleState"?: string; - /** - * The date and time the public IP pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; + "definedTags"?: { [key: string]: { [key: string]: any } }; } -export namespace PublicIpPoolSummary { - export function getJsonObj(obj: PublicIpPoolSummary): object { +export namespace FlexTunnelSummary { + export function getJsonObj(obj: FlexTunnelSummary): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: PublicIpPoolSummary): object { + export function getDeserializedJsonObj(obj: FlexTunnelSummary): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/public-ip-pool.ts b/lib/vnmonitoring/lib/model/flex-tunnel.ts similarity index 56% rename from lib/vnmonitoring/lib/model/public-ip-pool.ts rename to lib/vnmonitoring/lib/model/flex-tunnel.ts index 0293479c2a..e7a9d817a6 100644 --- a/lib/vnmonitoring/lib/model/public-ip-pool.ts +++ b/lib/vnmonitoring/lib/model/flex-tunnel.ts @@ -17,32 +17,44 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A public IP pool is a set of public IP addresses represented as one or more IPv4 CIDR blocks. Resources like load balancers and compute instances can be allocated public IP addresses from a public IP pool. - * + * Flex tunnel will set up a network tunnel between your SD-WAN appliance and DRG, allowing you to establish BGP and advertise routes. */ -export interface PublicIpPool { +export interface FlexTunnel { /** - * The CIDR blocks added to this pool. This could be all or a portion of a BYOIP CIDR block. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the flex tunnel. */ - "cidrBlocks"?: Array; + "id": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing this pool. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to contain the flex tunnel. */ "compartmentId": string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; + /** + * The date and time the flex tunnel was created, in the format defined +* by [RFC3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The current state of the flex tunnel. + */ + "lifecycleState": FlexTunnel.LifecycleState; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the drg for loopback attachment. + */ + "drgId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the transport attachment. + */ + "transportAttachmentId": string; + "flexTunnelConfiguration": model.GreFlexTunnelConfiguration; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -50,43 +62,44 @@ export interface PublicIpPool { */ "freeformTags"?: { [key: string]: string }; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP pool. - */ - "id": string; - /** - * The public IP pool's current state. + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * */ - "lifecycleState"?: PublicIpPool.LifecycleState; - /** - * The date and time the public IP pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated": Date; + "definedTags"?: { [key: string]: { [key: string]: any } }; } -export namespace PublicIpPool { +export namespace FlexTunnel { export enum LifecycleState { - Inactive = "INACTIVE", - Updating = "UPDATING", + Creating = "CREATING", Active = "ACTIVE", + Updating = "UPDATING", 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" + Failed = "FAILED" } - export function getJsonObj(obj: PublicIpPool): object { - const jsonObj = { ...obj, ...{} }; + export function getJsonObj(obj: FlexTunnel): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.FlexTunnelConfiguration.getJsonObj(obj.flexTunnelConfiguration) + : undefined + } + }; return jsonObj; } - export function getDeserializedJsonObj(obj: PublicIpPool): object { - const jsonObj = { ...obj, ...{} }; + export function getDeserializedJsonObj(obj: FlexTunnel): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.FlexTunnelConfiguration.getDeserializedJsonObj(obj.flexTunnelConfiguration) + : undefined + } + }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/flow-log-capture-filter-rule-details.ts b/lib/vnmonitoring/lib/model/flow-log-capture-filter-rule-details.ts deleted file mode 100644 index 05279afcfc..0000000000 --- a/lib/vnmonitoring/lib/model/flow-log-capture-filter-rule-details.ts +++ /dev/null @@ -1,122 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 set of rules governing what traffic the flow log collects when creating a flow log capture filter. - * - */ -export interface FlowLogCaptureFilterRuleDetails { - /** - * Indicates whether a flow log capture filter rule is enabled. - * - */ - "isEnabled"?: boolean; - /** - * A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * Sampling interval as 1 of X, where X is an integer not greater than 100000. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "samplingRate"?: number; - /** - * Traffic from this CIDR will be captured in the flow log. - * - */ - "sourceCidr"?: string; - /** - * Traffic to this CIDR will be captured in the flow log. - * - */ - "destinationCidr"?: string; - /** - * The transport protocol the filter uses. - * - */ - "protocol"?: string; - "icmpOptions"?: model.IcmpOptions; - "tcpOptions"?: model.TcpOptions; - "udpOptions"?: model.UdpOptions; - /** - * Type or types of flow logs to store. {@code ALL} includes records for both accepted traffic and - * rejected traffic. - * - */ - "flowLogType"?: FlowLogCaptureFilterRuleDetails.FlowLogType; - /** - * Include or exclude a ruleAction object. - * - */ - "ruleAction"?: FlowLogCaptureFilterRuleDetails.RuleAction; -} - -export namespace FlowLogCaptureFilterRuleDetails { - export enum FlowLogType { - All = "ALL", - Reject = "REJECT", - Accept = "ACCEPT", - /** - * 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 RuleAction { - Include = "INCLUDE", - Exclude = "EXCLUDE", - /** - * 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: FlowLogCaptureFilterRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "icmpOptions": obj.icmpOptions ? model.IcmpOptions.getJsonObj(obj.icmpOptions) : undefined, - "tcpOptions": obj.tcpOptions ? model.TcpOptions.getJsonObj(obj.tcpOptions) : undefined, - "udpOptions": obj.udpOptions ? model.UdpOptions.getJsonObj(obj.udpOptions) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: FlowLogCaptureFilterRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "icmpOptions": obj.icmpOptions - ? model.IcmpOptions.getDeserializedJsonObj(obj.icmpOptions) - : undefined, - "tcpOptions": obj.tcpOptions - ? model.TcpOptions.getDeserializedJsonObj(obj.tcpOptions) - : undefined, - "udpOptions": obj.udpOptions - ? model.UdpOptions.getDeserializedJsonObj(obj.udpOptions) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/public-ip-pool-collection.ts b/lib/vnmonitoring/lib/model/gre-flex-tunnel-configuration.ts similarity index 56% rename from lib/vnmonitoring/lib/model/public-ip-pool-collection.ts rename to lib/vnmonitoring/lib/model/gre-flex-tunnel-configuration.ts index fff0fb380a..bbcf56179e 100644 --- a/lib/vnmonitoring/lib/model/public-ip-pool-collection.ts +++ b/lib/vnmonitoring/lib/model/gre-flex-tunnel-configuration.ts @@ -17,40 +17,35 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Results of a {@code ListPublicIpPool} operation. + * The gre tunnel configuration details. */ -export interface PublicIpPoolCollection { - /** - * A list of public IP pool summaries. - */ - "items": Array; +export interface GreFlexTunnelConfiguration extends model.FlexTunnelConfiguration { + "tunnelType": string; } -export namespace PublicIpPoolCollection { - export function getJsonObj(obj: PublicIpPoolCollection): object { +export namespace GreFlexTunnelConfiguration { + export function getJsonObj(obj: GreFlexTunnelConfiguration, isParentJsonObj?: boolean): object { const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.PublicIpPoolSummary.getJsonObj(item); - }) - : undefined - } + ...(isParentJsonObj + ? obj + : (model.FlexTunnelConfiguration.getJsonObj(obj) as GreFlexTunnelConfiguration)), + ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: PublicIpPoolCollection): object { + export const tunnelType = "GRE"; + export function getDeserializedJsonObj( + obj: GreFlexTunnelConfiguration, + isParentJsonObj?: boolean + ): object { const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.PublicIpPoolSummary.getDeserializedJsonObj(item); - }) - : undefined - } + ...(isParentJsonObj + ? obj + : (model.FlexTunnelConfiguration.getDeserializedJsonObj( + obj + ) as GreFlexTunnelConfiguration)), + ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/i-psec-connection-device-config.ts b/lib/vnmonitoring/lib/model/i-psec-connection-device-config.ts index 3c15caedf1..e4d12a1b43 100644 --- a/lib/vnmonitoring/lib/model/i-psec-connection-device-config.ts +++ b/lib/vnmonitoring/lib/model/i-psec-connection-device-config.ts @@ -17,11 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Deprecated. For tunnel information, instead see: - *

- * {@link IPSecConnectionTunnel} - * * {@link IPSecConnectionTunnelSharedSecret} - * + * Information about the IPSecConnection device configuration. */ export interface IPSecConnectionDeviceConfig { /** diff --git a/lib/vnmonitoring/lib/model/i-psec-connection-device-status.ts b/lib/vnmonitoring/lib/model/i-psec-connection-device-status.ts index 371ba4f844..5a20d01a3f 100644 --- a/lib/vnmonitoring/lib/model/i-psec-connection-device-status.ts +++ b/lib/vnmonitoring/lib/model/i-psec-connection-device-status.ts @@ -17,9 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Deprecated. For tunnel information, instead see - * {@link IPSecConnectionTunnel}. - * + * Status of the IPSec connection. */ export interface IPSecConnectionDeviceStatus { /** diff --git a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel-shared-secret.ts b/lib/vnmonitoring/lib/model/i-psec-connection-tunnel-shared-secret.ts deleted file mode 100644 index 9f52c84cb4..0000000000 --- a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel-shared-secret.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 tunnel's shared secret (pre-shared key). - */ -export interface IPSecConnectionTunnelSharedSecret { - /** - * The tunnel's shared secret (pre-shared key). - * - */ - "sharedSecret": string; -} - -export namespace IPSecConnectionTunnelSharedSecret { - export function getJsonObj(obj: IPSecConnectionTunnelSharedSecret): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IPSecConnectionTunnelSharedSecret): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel.ts b/lib/vnmonitoring/lib/model/i-psec-connection-tunnel.ts deleted file mode 100644 index edd60c0db8..0000000000 --- a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel.ts +++ /dev/null @@ -1,250 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Information about a single IPSec tunnel in an IPSec connection. This object does not include the tunnel's - * shared secret (pre-shared key), which is found in the - * {@link IPSecConnectionTunnelSharedSecret} object. - * - */ -export interface IPSecConnectionTunnel { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the tunnel. - * - */ - "compartmentId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tunnel. - */ - "id": string; - /** - * The IP address of the Oracle VPN headend for the connection. -*

-Example: {@code 203.0.113.21} -* - */ - "vpnIp"?: string; - /** - * The IP address of the CPE device's VPN headend. -*

-Example: {@code 203.0.113.22} -* - */ - "cpeIp"?: string; - /** - * The status of the tunnel based on IPSec protocol characteristics. - */ - "status"?: IPSecConnectionTunnel.Status; - /** - * Internet Key Exchange protocol version. - * - */ - "ikeVersion"?: IPSecConnectionTunnel.IkeVersion; - /** - * The tunnel's lifecycle state. - */ - "lifecycleState": IPSecConnectionTunnel.LifecycleState; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - "bgpSessionInfo"?: model.BgpSessionInfo; - "encryptionDomainConfig"?: model.EncryptionDomainConfig; - /** - * The type of routing used for this tunnel (BGP dynamic routing, static routing, or policy-based routing). - * - */ - "routing"?: IPSecConnectionTunnel.Routing; - /** - * The date and time the IPSec tunnel was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; - /** - * When the status of the IPSec tunnel last changed, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeStatusUpdated"?: Date; - /** - * Indicates whether Oracle can only respond to a request to start an IPSec tunnel from the CPE device, or both respond to and initiate requests. - * - */ - "oracleCanInitiate"?: IPSecConnectionTunnel.OracleCanInitiate; - /** - * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port set to 500, -* and when it detects that the port used to forward packets has changed (most likely because a NAT device -* is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T. -*

-The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets. -*

-The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T -* even if it senses there may be a NAT device in use. -*

- -* . -* - */ - "natTranslationEnabled"?: IPSecConnectionTunnel.NatTranslationEnabled; - /** - * Dead peer detection (DPD) mode set on the Oracle side of the connection. - * This mode sets whether Oracle can only respond to a request from the CPE device to start DPD, - * or both respond to and initiate requests. - * - */ - "dpdMode"?: IPSecConnectionTunnel.DpdMode; - /** - * DPD timeout in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "dpdTimeoutInSec"?: number; - "phaseOneDetails"?: model.TunnelPhaseOneDetails; - "phaseTwoDetails"?: model.TunnelPhaseTwoDetails; - /** - * The list of virtual circuit [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel. - * - */ - "associatedVirtualCircuits"?: Array; -} - -export namespace IPSecConnectionTunnel { - export enum Status { - Up = "UP", - Down = "DOWN", - DownForMaintenance = "DOWN_FOR_MAINTENANCE", - PartialUp = "PARTIAL_UP", - /** - * 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 IkeVersion { - V1 = "V1", - V2 = "V2", - /** - * 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 LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - /** - * 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 Routing { - Bgp = "BGP", - Static = "STATIC", - Policy = "POLICY", - /** - * 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 OracleCanInitiate { - InitiatorOrResponder = "INITIATOR_OR_RESPONDER", - ResponderOnly = "RESPONDER_ONLY", - /** - * 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 NatTranslationEnabled { - Enabled = "ENABLED", - Disabled = "DISABLED", - Auto = "AUTO", - /** - * 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 DpdMode { - InitiateAndRespond = "INITIATE_AND_RESPOND", - RespondOnly = "RESPOND_ONLY", - /** - * 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: IPSecConnectionTunnel): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionInfo": obj.bgpSessionInfo - ? model.BgpSessionInfo.getJsonObj(obj.bgpSessionInfo) - : undefined, - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.EncryptionDomainConfig.getJsonObj(obj.encryptionDomainConfig) - : undefined, - - "phaseOneDetails": obj.phaseOneDetails - ? model.TunnelPhaseOneDetails.getJsonObj(obj.phaseOneDetails) - : undefined, - "phaseTwoDetails": obj.phaseTwoDetails - ? model.TunnelPhaseTwoDetails.getJsonObj(obj.phaseTwoDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IPSecConnectionTunnel): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionInfo": obj.bgpSessionInfo - ? model.BgpSessionInfo.getDeserializedJsonObj(obj.bgpSessionInfo) - : undefined, - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.EncryptionDomainConfig.getDeserializedJsonObj(obj.encryptionDomainConfig) - : undefined, - - "phaseOneDetails": obj.phaseOneDetails - ? model.TunnelPhaseOneDetails.getDeserializedJsonObj(obj.phaseOneDetails) - : undefined, - "phaseTwoDetails": obj.phaseTwoDetails - ? model.TunnelPhaseTwoDetails.getDeserializedJsonObj(obj.phaseTwoDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/i-psec-connection.ts b/lib/vnmonitoring/lib/model/i-psec-connection.ts index 25e8a420f9..d9fe278e8a 100644 --- a/lib/vnmonitoring/lib/model/i-psec-connection.ts +++ b/lib/vnmonitoring/lib/model/i-psec-connection.ts @@ -19,21 +19,7 @@ import common = require("oci-common"); /** * A connection between a DRG and CPE. This connection consists of multiple IPSec * tunnels. Creating this connection is one of the steps required when setting up -* a Site-to-Site VPN. -*

-**Important:** Each tunnel in an IPSec connection can use either static routing or BGP dynamic -* routing (see the {@link IPSecConnectionTunnel} object's -* {@code routing} attribute). Originally only static routing was supported and -* every IPSec connection was required to have at least one static route configured. -* To maintain backward compatibility in the API when support for BPG dynamic routing was introduced, -* the API accepts an empty list of static routes if you configure both of the IPSec tunnels to use -* BGP dynamic routing. If you switch a tunnel's routing from {@code BGP} to {@code STATIC}, you must first -* ensure that the IPSec connection is configured with at least one valid CIDR block static route. -* Oracle uses the IPSec connection's static routes when routing a tunnel's traffic *only* -* if that tunnel's {@code routing} attribute = {@code STATIC}. Otherwise the static routes are ignored. -*

-For more information about the workflow for setting up an IPSec connection, see -* [Site-to-Site VPN Overview](https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). +* a Site-to-Site VPN. For more information, see [Site-to-Site VPN Overview](https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm). *

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, * talk to an administrator. If you're an administrator who needs to write policies to give users access, see @@ -79,47 +65,16 @@ export interface IPSecConnection { * The IPSec connection's current state. */ "lifecycleState": IPSecConnection.LifecycleState; - /** - * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, -* the fully qualified domain name (FQDN)). The type of identifier here must correspond -* to the value for {@code cpeLocalIdentifierType}. -*

-If you don't provide a value when creating the IPSec connection, the {@code ipAddress} attribute -* for the {@link Cpe} object specified by {@code cpeId} is used as the {@code cpeLocalIdentifier}. -*

-For information about why you'd provide this value, see -* [If Your CPE Is Behind a NAT Device](https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). -*

-Example IP address: {@code 10.0.3.3} -*

-Example hostname: {@code cpe.example.com} -* - */ - "cpeLocalIdentifier"?: string; - /** - * The type of identifier for your CPE device. The value here must correspond to the value - * for {@code cpeLocalIdentifier}. - * - */ - "cpeLocalIdentifierType"?: IPSecConnection.CpeLocalIdentifierType; /** * Static routes to the CPE. The CIDR must not be a * multicast address or class E address. *

-Used for routing a given IPSec tunnel's traffic only if the tunnel -* is using static routing. If you configure at least one tunnel to use static routing, then -* you must provide at least one valid static route. If you configure both -* tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. -*

-The CIDR can be either IPv4 or IPv6. IPv6 addressing is supported for all commercial and government regions. -* See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + *

Example: {@code 10.0.1.0/24} -*

-Example: {@code 2001:db8::/32} * */ - "staticRoutes": Array; + "staticRoutes"?: Array; /** * The date and time the IPSec connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

@@ -147,16 +102,6 @@ export namespace IPSecConnection { UnknownValue = "UNKNOWN_VALUE" } - export enum CpeLocalIdentifierType { - IpAddress = "IP_ADDRESS", - Hostname = "HOSTNAME", - /** - * 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 TransportType { Internet = "INTERNET", Fastconnect = "FASTCONNECT", diff --git a/lib/vnmonitoring/lib/model/index.ts b/lib/vnmonitoring/lib/model/index.ts index 4e8e1270eb..f39882316e 100644 --- a/lib/vnmonitoring/lib/model/index.ts +++ b/lib/vnmonitoring/lib/model/index.ts @@ -25,98 +25,24 @@ import * as AddDrgRouteRulesDetails from "./add-drg-route-rules-details"; export import AddDrgRouteRulesDetails = AddDrgRouteRulesDetails.AddDrgRouteRulesDetails; import * as AddNetworkSecurityGroupSecurityRulesDetails from "./add-network-security-group-security-rules-details"; export import AddNetworkSecurityGroupSecurityRulesDetails = AddNetworkSecurityGroupSecurityRulesDetails.AddNetworkSecurityGroupSecurityRulesDetails; -import * as AddPublicIpPoolCapacityDetails from "./add-public-ip-pool-capacity-details"; -export import AddPublicIpPoolCapacityDetails = AddPublicIpPoolCapacityDetails.AddPublicIpPoolCapacityDetails; import * as AddSecurityRuleDetails from "./add-security-rule-details"; export import AddSecurityRuleDetails = AddSecurityRuleDetails.AddSecurityRuleDetails; -import * as AddSubnetIpv6CidrDetails from "./add-subnet-ipv6-cidr-details"; -export import AddSubnetIpv6CidrDetails = AddSubnetIpv6CidrDetails.AddSubnetIpv6CidrDetails; -import * as AddVcnCidrDetails from "./add-vcn-cidr-details"; -export import AddVcnCidrDetails = AddVcnCidrDetails.AddVcnCidrDetails; -import * as AddVcnIpv6CidrDetails from "./add-vcn-ipv6-cidr-details"; -export import AddVcnIpv6CidrDetails = AddVcnIpv6CidrDetails.AddVcnIpv6CidrDetails; import * as AddedNetworkSecurityGroupSecurityRules from "./added-network-security-group-security-rules"; export import AddedNetworkSecurityGroupSecurityRules = AddedNetworkSecurityGroupSecurityRules.AddedNetworkSecurityGroupSecurityRules; -import * as AllowedIkeIPSecParameters from "./allowed-ike-ip-sec-parameters"; -export import AllowedIkeIPSecParameters = AllowedIkeIPSecParameters.AllowedIkeIPSecParameters; -import * as AllowedPhaseOneParameters from "./allowed-phase-one-parameters"; -export import AllowedPhaseOneParameters = AllowedPhaseOneParameters.AllowedPhaseOneParameters; -import * as AllowedPhaseTwoParameters from "./allowed-phase-two-parameters"; -export import AllowedPhaseTwoParameters = AllowedPhaseTwoParameters.AllowedPhaseTwoParameters; import * as AllowedSecurityActionDetails from "./allowed-security-action-details"; export import AllowedSecurityActionDetails = AllowedSecurityActionDetails.AllowedSecurityActionDetails; import * as AllowedSecurityConfiguration from "./allowed-security-configuration"; export import AllowedSecurityConfiguration = AllowedSecurityConfiguration.AllowedSecurityConfiguration; -import * as BgpSessionInfo from "./bgp-session-info"; -export import BgpSessionInfo = BgpSessionInfo.BgpSessionInfo; import * as BulkAddVirtualCircuitPublicPrefixesDetails from "./bulk-add-virtual-circuit-public-prefixes-details"; export import BulkAddVirtualCircuitPublicPrefixesDetails = BulkAddVirtualCircuitPublicPrefixesDetails.BulkAddVirtualCircuitPublicPrefixesDetails; import * as BulkDeleteVirtualCircuitPublicPrefixesDetails from "./bulk-delete-virtual-circuit-public-prefixes-details"; export import BulkDeleteVirtualCircuitPublicPrefixesDetails = BulkDeleteVirtualCircuitPublicPrefixesDetails.BulkDeleteVirtualCircuitPublicPrefixesDetails; -import * as ByoipAllocatedRangeCollection from "./byoip-allocated-range-collection"; -export import ByoipAllocatedRangeCollection = ByoipAllocatedRangeCollection.ByoipAllocatedRangeCollection; -import * as ByoipAllocatedRangeSummary from "./byoip-allocated-range-summary"; -export import ByoipAllocatedRangeSummary = ByoipAllocatedRangeSummary.ByoipAllocatedRangeSummary; -import * as ByoipRange from "./byoip-range"; -export import ByoipRange = ByoipRange.ByoipRange; -import * as ByoipRangeCollection from "./byoip-range-collection"; -export import ByoipRangeCollection = ByoipRangeCollection.ByoipRangeCollection; -import * as ByoipRangeSummary from "./byoip-range-summary"; -export import ByoipRangeSummary = ByoipRangeSummary.ByoipRangeSummary; -import * as ByoipRangeVcnIpv6AllocationSummary from "./byoip-range-vcn-ipv6-allocation-summary"; -export import ByoipRangeVcnIpv6AllocationSummary = ByoipRangeVcnIpv6AllocationSummary.ByoipRangeVcnIpv6AllocationSummary; -import * as Byoipv6CidrDetails from "./byoipv6-cidr-details"; -export import Byoipv6CidrDetails = Byoipv6CidrDetails.Byoipv6CidrDetails; -import * as CaptureFilter from "./capture-filter"; -export import CaptureFilter = CaptureFilter.CaptureFilter; -import * as ChangeByoipRangeCompartmentDetails from "./change-byoip-range-compartment-details"; -export import ChangeByoipRangeCompartmentDetails = ChangeByoipRangeCompartmentDetails.ChangeByoipRangeCompartmentDetails; -import * as ChangeCaptureFilterCompartmentDetails from "./change-capture-filter-compartment-details"; -export import ChangeCaptureFilterCompartmentDetails = ChangeCaptureFilterCompartmentDetails.ChangeCaptureFilterCompartmentDetails; -import * as ChangeCpeCompartmentDetails from "./change-cpe-compartment-details"; -export import ChangeCpeCompartmentDetails = ChangeCpeCompartmentDetails.ChangeCpeCompartmentDetails; -import * as ChangeCrossConnectCompartmentDetails from "./change-cross-connect-compartment-details"; -export import ChangeCrossConnectCompartmentDetails = ChangeCrossConnectCompartmentDetails.ChangeCrossConnectCompartmentDetails; -import * as ChangeCrossConnectGroupCompartmentDetails from "./change-cross-connect-group-compartment-details"; -export import ChangeCrossConnectGroupCompartmentDetails = ChangeCrossConnectGroupCompartmentDetails.ChangeCrossConnectGroupCompartmentDetails; -import * as ChangeDhcpOptionsCompartmentDetails from "./change-dhcp-options-compartment-details"; -export import ChangeDhcpOptionsCompartmentDetails = ChangeDhcpOptionsCompartmentDetails.ChangeDhcpOptionsCompartmentDetails; -import * as ChangeDrgCompartmentDetails from "./change-drg-compartment-details"; -export import ChangeDrgCompartmentDetails = ChangeDrgCompartmentDetails.ChangeDrgCompartmentDetails; -import * as ChangeIPSecConnectionCompartmentDetails from "./change-ip-sec-connection-compartment-details"; -export import ChangeIPSecConnectionCompartmentDetails = ChangeIPSecConnectionCompartmentDetails.ChangeIPSecConnectionCompartmentDetails; -import * as ChangeInternetGatewayCompartmentDetails from "./change-internet-gateway-compartment-details"; -export import ChangeInternetGatewayCompartmentDetails = ChangeInternetGatewayCompartmentDetails.ChangeInternetGatewayCompartmentDetails; -import * as ChangeLocalPeeringGatewayCompartmentDetails from "./change-local-peering-gateway-compartment-details"; -export import ChangeLocalPeeringGatewayCompartmentDetails = ChangeLocalPeeringGatewayCompartmentDetails.ChangeLocalPeeringGatewayCompartmentDetails; -import * as ChangeNatGatewayCompartmentDetails from "./change-nat-gateway-compartment-details"; -export import ChangeNatGatewayCompartmentDetails = ChangeNatGatewayCompartmentDetails.ChangeNatGatewayCompartmentDetails; -import * as ChangeNetworkSecurityGroupCompartmentDetails from "./change-network-security-group-compartment-details"; -export import ChangeNetworkSecurityGroupCompartmentDetails = ChangeNetworkSecurityGroupCompartmentDetails.ChangeNetworkSecurityGroupCompartmentDetails; +import * as ChangeDrgAttachmentCompartmentDetails from "./change-drg-attachment-compartment-details"; +export import ChangeDrgAttachmentCompartmentDetails = ChangeDrgAttachmentCompartmentDetails.ChangeDrgAttachmentCompartmentDetails; +import * as ChangeFlexTunnelCompartmentDetails from "./change-flex-tunnel-compartment-details"; +export import ChangeFlexTunnelCompartmentDetails = ChangeFlexTunnelCompartmentDetails.ChangeFlexTunnelCompartmentDetails; import * as ChangePathAnalyzerTestCompartmentDetails from "./change-path-analyzer-test-compartment-details"; export import ChangePathAnalyzerTestCompartmentDetails = ChangePathAnalyzerTestCompartmentDetails.ChangePathAnalyzerTestCompartmentDetails; -import * as ChangePublicIpCompartmentDetails from "./change-public-ip-compartment-details"; -export import ChangePublicIpCompartmentDetails = ChangePublicIpCompartmentDetails.ChangePublicIpCompartmentDetails; -import * as ChangePublicIpPoolCompartmentDetails from "./change-public-ip-pool-compartment-details"; -export import ChangePublicIpPoolCompartmentDetails = ChangePublicIpPoolCompartmentDetails.ChangePublicIpPoolCompartmentDetails; -import * as ChangeRemotePeeringConnectionCompartmentDetails from "./change-remote-peering-connection-compartment-details"; -export import ChangeRemotePeeringConnectionCompartmentDetails = ChangeRemotePeeringConnectionCompartmentDetails.ChangeRemotePeeringConnectionCompartmentDetails; -import * as ChangeRouteTableCompartmentDetails from "./change-route-table-compartment-details"; -export import ChangeRouteTableCompartmentDetails = ChangeRouteTableCompartmentDetails.ChangeRouteTableCompartmentDetails; -import * as ChangeSecurityListCompartmentDetails from "./change-security-list-compartment-details"; -export import ChangeSecurityListCompartmentDetails = ChangeSecurityListCompartmentDetails.ChangeSecurityListCompartmentDetails; -import * as ChangeServiceGatewayCompartmentDetails from "./change-service-gateway-compartment-details"; -export import ChangeServiceGatewayCompartmentDetails = ChangeServiceGatewayCompartmentDetails.ChangeServiceGatewayCompartmentDetails; -import * as ChangeSubnetCompartmentDetails from "./change-subnet-compartment-details"; -export import ChangeSubnetCompartmentDetails = ChangeSubnetCompartmentDetails.ChangeSubnetCompartmentDetails; -import * as ChangeVcnCompartmentDetails from "./change-vcn-compartment-details"; -export import ChangeVcnCompartmentDetails = ChangeVcnCompartmentDetails.ChangeVcnCompartmentDetails; -import * as ChangeVirtualCircuitCompartmentDetails from "./change-virtual-circuit-compartment-details"; -export import ChangeVirtualCircuitCompartmentDetails = ChangeVirtualCircuitCompartmentDetails.ChangeVirtualCircuitCompartmentDetails; -import * as ChangeVlanCompartmentDetails from "./change-vlan-compartment-details"; -export import ChangeVlanCompartmentDetails = ChangeVlanCompartmentDetails.ChangeVlanCompartmentDetails; -import * as ChangeVtapCompartmentDetails from "./change-vtap-compartment-details"; -export import ChangeVtapCompartmentDetails = ChangeVtapCompartmentDetails.ChangeVtapCompartmentDetails; import * as CompartmentInternal from "./compartment-internal"; export import CompartmentInternal = CompartmentInternal.CompartmentInternal; import * as ConnectLocalPeeringGatewaysDetails from "./connect-local-peering-gateways-details"; @@ -125,20 +51,6 @@ import * as ConnectRemotePeeringConnectionsDetails from "./connect-remote-peerin export import ConnectRemotePeeringConnectionsDetails = ConnectRemotePeeringConnectionsDetails.ConnectRemotePeeringConnectionsDetails; import * as Cpe from "./cpe"; export import Cpe = Cpe.Cpe; -import * as CpeDeviceConfigAnswer from "./cpe-device-config-answer"; -export import CpeDeviceConfigAnswer = CpeDeviceConfigAnswer.CpeDeviceConfigAnswer; -import * as CpeDeviceConfigQuestion from "./cpe-device-config-question"; -export import CpeDeviceConfigQuestion = CpeDeviceConfigQuestion.CpeDeviceConfigQuestion; -import * as CpeDeviceInfo from "./cpe-device-info"; -export import CpeDeviceInfo = CpeDeviceInfo.CpeDeviceInfo; -import * as CpeDeviceShapeDetail from "./cpe-device-shape-detail"; -export import CpeDeviceShapeDetail = CpeDeviceShapeDetail.CpeDeviceShapeDetail; -import * as CpeDeviceShapeSummary from "./cpe-device-shape-summary"; -export import CpeDeviceShapeSummary = CpeDeviceShapeSummary.CpeDeviceShapeSummary; -import * as CreateByoipRangeDetails from "./create-byoip-range-details"; -export import CreateByoipRangeDetails = CreateByoipRangeDetails.CreateByoipRangeDetails; -import * as CreateCaptureFilterDetails from "./create-capture-filter-details"; -export import CreateCaptureFilterDetails = CreateCaptureFilterDetails.CreateCaptureFilterDetails; import * as CreateCpeDetails from "./create-cpe-details"; export import CreateCpeDetails = CreateCpeDetails.CreateCpeDetails; import * as CreateCrossConnectDetails from "./create-cross-connect-details"; @@ -155,26 +67,20 @@ import * as CreateDrgRouteDistributionDetails from "./create-drg-route-distribut export import CreateDrgRouteDistributionDetails = CreateDrgRouteDistributionDetails.CreateDrgRouteDistributionDetails; import * as CreateDrgRouteTableDetails from "./create-drg-route-table-details"; export import CreateDrgRouteTableDetails = CreateDrgRouteTableDetails.CreateDrgRouteTableDetails; +import * as CreateFlexTunnelBgpSessionDetails from "./create-flex-tunnel-bgp-session-details"; +export import CreateFlexTunnelBgpSessionDetails = CreateFlexTunnelBgpSessionDetails.CreateFlexTunnelBgpSessionDetails; +import * as CreateFlexTunnelConfigurationDetails from "./create-flex-tunnel-configuration-details"; +export import CreateFlexTunnelConfigurationDetails = CreateFlexTunnelConfigurationDetails.CreateFlexTunnelConfigurationDetails; +import * as CreateFlexTunnelDetails from "./create-flex-tunnel-details"; +export import CreateFlexTunnelDetails = CreateFlexTunnelDetails.CreateFlexTunnelDetails; import * as CreateIPSecConnectionDetails from "./create-ip-sec-connection-details"; export import CreateIPSecConnectionDetails = CreateIPSecConnectionDetails.CreateIPSecConnectionDetails; -import * as CreateIPSecConnectionTunnelDetails from "./create-ip-sec-connection-tunnel-details"; -export import CreateIPSecConnectionTunnelDetails = CreateIPSecConnectionTunnelDetails.CreateIPSecConnectionTunnelDetails; -import * as CreateIPSecTunnelBgpSessionDetails from "./create-ip-sec-tunnel-bgp-session-details"; -export import CreateIPSecTunnelBgpSessionDetails = CreateIPSecTunnelBgpSessionDetails.CreateIPSecTunnelBgpSessionDetails; -import * as CreateIPSecTunnelEncryptionDomainDetails from "./create-ip-sec-tunnel-encryption-domain-details"; -export import CreateIPSecTunnelEncryptionDomainDetails = CreateIPSecTunnelEncryptionDomainDetails.CreateIPSecTunnelEncryptionDomainDetails; import * as CreateInternetGatewayDetails from "./create-internet-gateway-details"; export import CreateInternetGatewayDetails = CreateInternetGatewayDetails.CreateInternetGatewayDetails; import * as CreateIpv6Details from "./create-ipv6-details"; export import CreateIpv6Details = CreateIpv6Details.CreateIpv6Details; import * as CreateLocalPeeringGatewayDetails from "./create-local-peering-gateway-details"; export import CreateLocalPeeringGatewayDetails = CreateLocalPeeringGatewayDetails.CreateLocalPeeringGatewayDetails; -import * as CreateMacsecKey from "./create-macsec-key"; -export import CreateMacsecKey = CreateMacsecKey.CreateMacsecKey; -import * as CreateMacsecProperties from "./create-macsec-properties"; -export import CreateMacsecProperties = CreateMacsecProperties.CreateMacsecProperties; -import * as CreateNatGatewayDetails from "./create-nat-gateway-details"; -export import CreateNatGatewayDetails = CreateNatGatewayDetails.CreateNatGatewayDetails; import * as CreateNetworkSecurityGroupDetails from "./create-network-security-group-details"; export import CreateNetworkSecurityGroupDetails = CreateNetworkSecurityGroupDetails.CreateNetworkSecurityGroupDetails; import * as CreatePathAnalyzerTestDetails from "./create-path-analyzer-test-details"; @@ -183,8 +89,6 @@ import * as CreatePrivateIpDetails from "./create-private-ip-details"; export import CreatePrivateIpDetails = CreatePrivateIpDetails.CreatePrivateIpDetails; import * as CreatePublicIpDetails from "./create-public-ip-details"; export import CreatePublicIpDetails = CreatePublicIpDetails.CreatePublicIpDetails; -import * as CreatePublicIpPoolDetails from "./create-public-ip-pool-details"; -export import CreatePublicIpPoolDetails = CreatePublicIpPoolDetails.CreatePublicIpPoolDetails; import * as CreateRemotePeeringConnectionDetails from "./create-remote-peering-connection-details"; export import CreateRemotePeeringConnectionDetails = CreateRemotePeeringConnectionDetails.CreateRemotePeeringConnectionDetails; import * as CreateRouteTableDetails from "./create-route-table-details"; @@ -201,12 +105,6 @@ import * as CreateVirtualCircuitDetails from "./create-virtual-circuit-details"; export import CreateVirtualCircuitDetails = CreateVirtualCircuitDetails.CreateVirtualCircuitDetails; import * as CreateVirtualCircuitPublicPrefixDetails from "./create-virtual-circuit-public-prefix-details"; export import CreateVirtualCircuitPublicPrefixDetails = CreateVirtualCircuitPublicPrefixDetails.CreateVirtualCircuitPublicPrefixDetails; -import * as CreateVlanDetails from "./create-vlan-details"; -export import CreateVlanDetails = CreateVlanDetails.CreateVlanDetails; -import * as CreateVnicDetails from "./create-vnic-details"; -export import CreateVnicDetails = CreateVnicDetails.CreateVnicDetails; -import * as CreateVtapDetails from "./create-vtap-details"; -export import CreateVtapDetails = CreateVtapDetails.CreateVtapDetails; import * as CrossConnect from "./cross-connect"; export import CrossConnect = CrossConnect.CrossConnect; import * as CrossConnectGroup from "./cross-connect-group"; @@ -215,20 +113,12 @@ import * as CrossConnectLocation from "./cross-connect-location"; export import CrossConnectLocation = CrossConnectLocation.CrossConnectLocation; import * as CrossConnectMapping from "./cross-connect-mapping"; export import CrossConnectMapping = CrossConnectMapping.CrossConnectMapping; -import * as CrossConnectMappingDetails from "./cross-connect-mapping-details"; -export import CrossConnectMappingDetails = CrossConnectMappingDetails.CrossConnectMappingDetails; -import * as CrossConnectMappingDetailsCollection from "./cross-connect-mapping-details-collection"; -export import CrossConnectMappingDetailsCollection = CrossConnectMappingDetailsCollection.CrossConnectMappingDetailsCollection; import * as CrossConnectPortSpeedShape from "./cross-connect-port-speed-shape"; export import CrossConnectPortSpeedShape = CrossConnectPortSpeedShape.CrossConnectPortSpeedShape; import * as CrossConnectStatus from "./cross-connect-status"; export import CrossConnectStatus = CrossConnectStatus.CrossConnectStatus; import * as DefaultDrgRouteTables from "./default-drg-route-tables"; export import DefaultDrgRouteTables = DefaultDrgRouteTables.DefaultDrgRouteTables; -import * as DefaultPhaseOneParameters from "./default-phase-one-parameters"; -export import DefaultPhaseOneParameters = DefaultPhaseOneParameters.DefaultPhaseOneParameters; -import * as DefaultPhaseTwoParameters from "./default-phase-two-parameters"; -export import DefaultPhaseTwoParameters = DefaultPhaseTwoParameters.DefaultPhaseTwoParameters; import * as DeleteVirtualCircuitPublicPrefixDetails from "./delete-virtual-circuit-public-prefix-details"; export import DeleteVirtualCircuitPublicPrefixDetails = DeleteVirtualCircuitPublicPrefixDetails.DeleteVirtualCircuitPublicPrefixDetails; import * as DeniedSecurityActionDetails from "./denied-security-action-details"; @@ -237,8 +127,6 @@ import * as DhcpOption from "./dhcp-option"; export import DhcpOption = DhcpOption.DhcpOption; import * as DhcpOptions from "./dhcp-options"; export import DhcpOptions = DhcpOptions.DhcpOptions; -import * as DpdConfig from "./dpd-config"; -export import DpdConfig = DpdConfig.DpdConfig; import * as Drg from "./drg"; export import Drg = Drg.Drg; import * as DrgAttachment from "./drg-attachment"; @@ -251,8 +139,12 @@ import * as DrgAttachmentNetworkDetails from "./drg-attachment-network-details"; export import DrgAttachmentNetworkDetails = DrgAttachmentNetworkDetails.DrgAttachmentNetworkDetails; import * as DrgAttachmentNetworkUpdateDetails from "./drg-attachment-network-update-details"; export import DrgAttachmentNetworkUpdateDetails = DrgAttachmentNetworkUpdateDetails.DrgAttachmentNetworkUpdateDetails; -import * as DrgRedundancyStatus from "./drg-redundancy-status"; -export import DrgRedundancyStatus = DrgRedundancyStatus.DrgRedundancyStatus; +import * as DrgCustomer from "./drg-customer"; +export import DrgCustomer = DrgCustomer.DrgCustomer; +import * as DrgCustomerResource from "./drg-customer-resource"; +export import DrgCustomerResource = DrgCustomerResource.DrgCustomerResource; +import * as DrgPromotionStatusResponse from "./drg-promotion-status-response"; +export import DrgPromotionStatusResponse = DrgPromotionStatusResponse.DrgPromotionStatusResponse; import * as DrgRouteDistribution from "./drg-route-distribution"; export import DrgRouteDistribution = DrgRouteDistribution.DrgRouteDistribution; import * as DrgRouteDistributionMatchCriteria from "./drg-route-distribution-match-criteria"; @@ -267,16 +159,24 @@ import * as EgressSecurityRule from "./egress-security-rule"; export import EgressSecurityRule = EgressSecurityRule.EgressSecurityRule; import * as EgressTrafficSpec from "./egress-traffic-spec"; export import EgressTrafficSpec = EgressTrafficSpec.EgressTrafficSpec; -import * as EncryptionDomainConfig from "./encryption-domain-config"; -export import EncryptionDomainConfig = EncryptionDomainConfig.EncryptionDomainConfig; import * as Endpoint from "./endpoint"; export import Endpoint = Endpoint.Endpoint; import * as FastConnectProviderService from "./fast-connect-provider-service"; export import FastConnectProviderService = FastConnectProviderService.FastConnectProviderService; -import * as FastConnectProviderServiceKey from "./fast-connect-provider-service-key"; -export import FastConnectProviderServiceKey = FastConnectProviderServiceKey.FastConnectProviderServiceKey; -import * as FlowLogCaptureFilterRuleDetails from "./flow-log-capture-filter-rule-details"; -export import FlowLogCaptureFilterRuleDetails = FlowLogCaptureFilterRuleDetails.FlowLogCaptureFilterRuleDetails; +import * as FlexTunnel from "./flex-tunnel"; +export import FlexTunnel = FlexTunnel.FlexTunnel; +import * as FlexTunnelBgpSession from "./flex-tunnel-bgp-session"; +export import FlexTunnelBgpSession = FlexTunnelBgpSession.FlexTunnelBgpSession; +import * as FlexTunnelBgpStatus from "./flex-tunnel-bgp-status"; +export import FlexTunnelBgpStatus = FlexTunnelBgpStatus.FlexTunnelBgpStatus; +import * as FlexTunnelCollection from "./flex-tunnel-collection"; +export import FlexTunnelCollection = FlexTunnelCollection.FlexTunnelCollection; +import * as FlexTunnelConfiguration from "./flex-tunnel-configuration"; +export import FlexTunnelConfiguration = FlexTunnelConfiguration.FlexTunnelConfiguration; +import * as FlexTunnelRouteSummary from "./flex-tunnel-route-summary"; +export import FlexTunnelRouteSummary = FlexTunnelRouteSummary.FlexTunnelRouteSummary; +import * as FlexTunnelSummary from "./flex-tunnel-summary"; +export import FlexTunnelSummary = FlexTunnelSummary.FlexTunnelSummary; import * as ForwardedRoutingActionDetails from "./forwarded-routing-action-details"; export import ForwardedRoutingActionDetails = ForwardedRoutingActionDetails.ForwardedRoutingActionDetails; import * as ForwardedRoutingConfiguration from "./forwarded-routing-configuration"; @@ -293,12 +193,6 @@ import * as IPSecConnectionDeviceConfig from "./i-psec-connection-device-config" export import IPSecConnectionDeviceConfig = IPSecConnectionDeviceConfig.IPSecConnectionDeviceConfig; import * as IPSecConnectionDeviceStatus from "./i-psec-connection-device-status"; export import IPSecConnectionDeviceStatus = IPSecConnectionDeviceStatus.IPSecConnectionDeviceStatus; -import * as IPSecConnectionTunnel from "./i-psec-connection-tunnel"; -export import IPSecConnectionTunnel = IPSecConnectionTunnel.IPSecConnectionTunnel; -import * as IPSecConnectionTunnelErrorDetails from "./i-psec-connection-tunnel-error-details"; -export import IPSecConnectionTunnelErrorDetails = IPSecConnectionTunnelErrorDetails.IPSecConnectionTunnelErrorDetails; -import * as IPSecConnectionTunnelSharedSecret from "./i-psec-connection-tunnel-shared-secret"; -export import IPSecConnectionTunnelSharedSecret = IPSecConnectionTunnelSharedSecret.IPSecConnectionTunnelSharedSecret; import * as IcmpOptions from "./icmp-options"; export import IcmpOptions = IcmpOptions.IcmpOptions; import * as IngressSecurityRule from "./ingress-security-rule"; @@ -311,18 +205,6 @@ import * as LetterOfAuthority from "./letter-of-authority"; export import LetterOfAuthority = LetterOfAuthority.LetterOfAuthority; import * as LocalPeeringGateway from "./local-peering-gateway"; export import LocalPeeringGateway = LocalPeeringGateway.LocalPeeringGateway; -import * as MacsecEncryptionCipher from "./macsec-encryption-cipher"; -export import MacsecEncryptionCipher = MacsecEncryptionCipher.MacsecEncryptionCipher; -import * as MacsecKey from "./macsec-key"; -export import MacsecKey = MacsecKey.MacsecKey; -import * as MacsecProperties from "./macsec-properties"; -export import MacsecProperties = MacsecProperties.MacsecProperties; -import * as MacsecState from "./macsec-state"; -export import MacsecState = MacsecState.MacsecState; -import * as ModifyVcnCidrDetails from "./modify-vcn-cidr-details"; -export import ModifyVcnCidrDetails = ModifyVcnCidrDetails.ModifyVcnCidrDetails; -import * as NatGateway from "./nat-gateway"; -export import NatGateway = NatGateway.NatGateway; import * as NetworkSecurityGroup from "./network-security-group"; export import NetworkSecurityGroup = NetworkSecurityGroup.NetworkSecurityGroup; import * as NetworkSecurityGroupVnic from "./network-security-group-vnic"; @@ -341,10 +223,6 @@ import * as PathAnalyzerTestCollection from "./path-analyzer-test-collection"; export import PathAnalyzerTestCollection = PathAnalyzerTestCollection.PathAnalyzerTestCollection; import * as PathAnalyzerTestSummary from "./path-analyzer-test-summary"; export import PathAnalyzerTestSummary = PathAnalyzerTestSummary.PathAnalyzerTestSummary; -import * as PhaseOneConfigDetails from "./phase-one-config-details"; -export import PhaseOneConfigDetails = PhaseOneConfigDetails.PhaseOneConfigDetails; -import * as PhaseTwoConfigDetails from "./phase-two-config-details"; -export import PhaseTwoConfigDetails = PhaseTwoConfigDetails.PhaseTwoConfigDetails; import * as PortRange from "./port-range"; export import PortRange = PortRange.PortRange; import * as PrivateIp from "./private-ip"; @@ -353,12 +231,6 @@ import * as ProtocolParameters from "./protocol-parameters"; export import ProtocolParameters = ProtocolParameters.ProtocolParameters; import * as PublicIp from "./public-ip"; export import PublicIp = PublicIp.PublicIp; -import * as PublicIpPool from "./public-ip-pool"; -export import PublicIpPool = PublicIpPool.PublicIpPool; -import * as PublicIpPoolCollection from "./public-ip-pool-collection"; -export import PublicIpPoolCollection = PublicIpPoolCollection.PublicIpPoolCollection; -import * as PublicIpPoolSummary from "./public-ip-pool-summary"; -export import PublicIpPoolSummary = PublicIpPoolSummary.PublicIpPoolSummary; import * as QueryOptions from "./query-options"; export import QueryOptions = QueryOptions.QueryOptions; import * as RemotePeeringConnection from "./remote-peering-connection"; @@ -369,14 +241,6 @@ import * as RemoveDrgRouteRulesDetails from "./remove-drg-route-rules-details"; export import RemoveDrgRouteRulesDetails = RemoveDrgRouteRulesDetails.RemoveDrgRouteRulesDetails; import * as RemoveNetworkSecurityGroupSecurityRulesDetails from "./remove-network-security-group-security-rules-details"; export import RemoveNetworkSecurityGroupSecurityRulesDetails = RemoveNetworkSecurityGroupSecurityRulesDetails.RemoveNetworkSecurityGroupSecurityRulesDetails; -import * as RemovePublicIpPoolCapacityDetails from "./remove-public-ip-pool-capacity-details"; -export import RemovePublicIpPoolCapacityDetails = RemovePublicIpPoolCapacityDetails.RemovePublicIpPoolCapacityDetails; -import * as RemoveSubnetIpv6CidrDetails from "./remove-subnet-ipv6-cidr-details"; -export import RemoveSubnetIpv6CidrDetails = RemoveSubnetIpv6CidrDetails.RemoveSubnetIpv6CidrDetails; -import * as RemoveVcnCidrDetails from "./remove-vcn-cidr-details"; -export import RemoveVcnCidrDetails = RemoveVcnCidrDetails.RemoveVcnCidrDetails; -import * as RemoveVcnIpv6CidrDetails from "./remove-vcn-ipv6-cidr-details"; -export import RemoveVcnIpv6CidrDetails = RemoveVcnIpv6CidrDetails.RemoveVcnIpv6CidrDetails; import * as RouteRule from "./route-rule"; export import RouteRule = RouteRule.RouteRule; import * as RouteTable from "./route-table"; @@ -397,6 +261,8 @@ import * as ServiceIdRequestDetails from "./service-id-request-details"; export import ServiceIdRequestDetails = ServiceIdRequestDetails.ServiceIdRequestDetails; import * as ServiceIdResponseDetails from "./service-id-response-details"; export import ServiceIdResponseDetails = ServiceIdResponseDetails.ServiceIdResponseDetails; +import * as SetDrgPeeringConnectionDetails from "./set-drg-peering-connection-details"; +export import SetDrgPeeringConnectionDetails = SetDrgPeeringConnectionDetails.SetDrgPeeringConnectionDetails; import * as SortOrder from "./sort-order"; export import SortOrder = SortOrder.SortOrder; import * as Subnet from "./subnet"; @@ -419,24 +285,10 @@ import * as TrafficRoute from "./traffic-route"; export import TrafficRoute = TrafficRoute.TrafficRoute; import * as TunnelConfig from "./tunnel-config"; export import TunnelConfig = TunnelConfig.TunnelConfig; -import * as TunnelCpeDeviceConfig from "./tunnel-cpe-device-config"; -export import TunnelCpeDeviceConfig = TunnelCpeDeviceConfig.TunnelCpeDeviceConfig; -import * as TunnelPhaseOneDetails from "./tunnel-phase-one-details"; -export import TunnelPhaseOneDetails = TunnelPhaseOneDetails.TunnelPhaseOneDetails; -import * as TunnelPhaseTwoDetails from "./tunnel-phase-two-details"; -export import TunnelPhaseTwoDetails = TunnelPhaseTwoDetails.TunnelPhaseTwoDetails; -import * as TunnelRouteSummary from "./tunnel-route-summary"; -export import TunnelRouteSummary = TunnelRouteSummary.TunnelRouteSummary; -import * as TunnelSecurityAssociationSummary from "./tunnel-security-association-summary"; -export import TunnelSecurityAssociationSummary = TunnelSecurityAssociationSummary.TunnelSecurityAssociationSummary; import * as TunnelStatus from "./tunnel-status"; export import TunnelStatus = TunnelStatus.TunnelStatus; import * as UdpOptions from "./udp-options"; export import UdpOptions = UdpOptions.UdpOptions; -import * as UpdateByoipRangeDetails from "./update-byoip-range-details"; -export import UpdateByoipRangeDetails = UpdateByoipRangeDetails.UpdateByoipRangeDetails; -import * as UpdateCaptureFilterDetails from "./update-capture-filter-details"; -export import UpdateCaptureFilterDetails = UpdateCaptureFilterDetails.UpdateCaptureFilterDetails; import * as UpdateCpeDetails from "./update-cpe-details"; export import UpdateCpeDetails = UpdateCpeDetails.UpdateCpeDetails; import * as UpdateCrossConnectDetails from "./update-cross-connect-details"; @@ -461,28 +313,20 @@ import * as UpdateDrgRouteRulesDetails from "./update-drg-route-rules-details"; export import UpdateDrgRouteRulesDetails = UpdateDrgRouteRulesDetails.UpdateDrgRouteRulesDetails; import * as UpdateDrgRouteTableDetails from "./update-drg-route-table-details"; export import UpdateDrgRouteTableDetails = UpdateDrgRouteTableDetails.UpdateDrgRouteTableDetails; +import * as UpdateFlexTunnelBgpSessionDetails from "./update-flex-tunnel-bgp-session-details"; +export import UpdateFlexTunnelBgpSessionDetails = UpdateFlexTunnelBgpSessionDetails.UpdateFlexTunnelBgpSessionDetails; +import * as UpdateFlexTunnelConfigurationDetails from "./update-flex-tunnel-configuration-details"; +export import UpdateFlexTunnelConfigurationDetails = UpdateFlexTunnelConfigurationDetails.UpdateFlexTunnelConfigurationDetails; +import * as UpdateFlexTunnelDetails from "./update-flex-tunnel-details"; +export import UpdateFlexTunnelDetails = UpdateFlexTunnelDetails.UpdateFlexTunnelDetails; import * as UpdateIPSecConnectionDetails from "./update-ip-sec-connection-details"; export import UpdateIPSecConnectionDetails = UpdateIPSecConnectionDetails.UpdateIPSecConnectionDetails; -import * as UpdateIPSecConnectionTunnelDetails from "./update-ip-sec-connection-tunnel-details"; -export import UpdateIPSecConnectionTunnelDetails = UpdateIPSecConnectionTunnelDetails.UpdateIPSecConnectionTunnelDetails; -import * as UpdateIPSecConnectionTunnelSharedSecretDetails from "./update-ip-sec-connection-tunnel-shared-secret-details"; -export import UpdateIPSecConnectionTunnelSharedSecretDetails = UpdateIPSecConnectionTunnelSharedSecretDetails.UpdateIPSecConnectionTunnelSharedSecretDetails; -import * as UpdateIPSecTunnelBgpSessionDetails from "./update-ip-sec-tunnel-bgp-session-details"; -export import UpdateIPSecTunnelBgpSessionDetails = UpdateIPSecTunnelBgpSessionDetails.UpdateIPSecTunnelBgpSessionDetails; -import * as UpdateIPSecTunnelEncryptionDomainDetails from "./update-ip-sec-tunnel-encryption-domain-details"; -export import UpdateIPSecTunnelEncryptionDomainDetails = UpdateIPSecTunnelEncryptionDomainDetails.UpdateIPSecTunnelEncryptionDomainDetails; import * as UpdateInternetGatewayDetails from "./update-internet-gateway-details"; export import UpdateInternetGatewayDetails = UpdateInternetGatewayDetails.UpdateInternetGatewayDetails; import * as UpdateIpv6Details from "./update-ipv6-details"; export import UpdateIpv6Details = UpdateIpv6Details.UpdateIpv6Details; import * as UpdateLocalPeeringGatewayDetails from "./update-local-peering-gateway-details"; export import UpdateLocalPeeringGatewayDetails = UpdateLocalPeeringGatewayDetails.UpdateLocalPeeringGatewayDetails; -import * as UpdateMacsecKey from "./update-macsec-key"; -export import UpdateMacsecKey = UpdateMacsecKey.UpdateMacsecKey; -import * as UpdateMacsecProperties from "./update-macsec-properties"; -export import UpdateMacsecProperties = UpdateMacsecProperties.UpdateMacsecProperties; -import * as UpdateNatGatewayDetails from "./update-nat-gateway-details"; -export import UpdateNatGatewayDetails = UpdateNatGatewayDetails.UpdateNatGatewayDetails; import * as UpdateNetworkSecurityGroupDetails from "./update-network-security-group-details"; export import UpdateNetworkSecurityGroupDetails = UpdateNetworkSecurityGroupDetails.UpdateNetworkSecurityGroupDetails; import * as UpdateNetworkSecurityGroupSecurityRulesDetails from "./update-network-security-group-security-rules-details"; @@ -493,8 +337,6 @@ import * as UpdatePrivateIpDetails from "./update-private-ip-details"; export import UpdatePrivateIpDetails = UpdatePrivateIpDetails.UpdatePrivateIpDetails; import * as UpdatePublicIpDetails from "./update-public-ip-details"; export import UpdatePublicIpDetails = UpdatePublicIpDetails.UpdatePublicIpDetails; -import * as UpdatePublicIpPoolDetails from "./update-public-ip-pool-details"; -export import UpdatePublicIpPoolDetails = UpdatePublicIpPoolDetails.UpdatePublicIpPoolDetails; import * as UpdateRemotePeeringConnectionDetails from "./update-remote-peering-connection-details"; export import UpdateRemotePeeringConnectionDetails = UpdateRemotePeeringConnectionDetails.UpdateRemotePeeringConnectionDetails; import * as UpdateRouteTableDetails from "./update-route-table-details"; @@ -507,44 +349,28 @@ import * as UpdateServiceGatewayDetails from "./update-service-gateway-details"; export import UpdateServiceGatewayDetails = UpdateServiceGatewayDetails.UpdateServiceGatewayDetails; import * as UpdateSubnetDetails from "./update-subnet-details"; export import UpdateSubnetDetails = UpdateSubnetDetails.UpdateSubnetDetails; -import * as UpdateTunnelCpeDeviceConfigDetails from "./update-tunnel-cpe-device-config-details"; -export import UpdateTunnelCpeDeviceConfigDetails = UpdateTunnelCpeDeviceConfigDetails.UpdateTunnelCpeDeviceConfigDetails; import * as UpdateVcnDetails from "./update-vcn-details"; export import UpdateVcnDetails = UpdateVcnDetails.UpdateVcnDetails; import * as UpdateVirtualCircuitDetails from "./update-virtual-circuit-details"; export import UpdateVirtualCircuitDetails = UpdateVirtualCircuitDetails.UpdateVirtualCircuitDetails; -import * as UpdateVlanDetails from "./update-vlan-details"; -export import UpdateVlanDetails = UpdateVlanDetails.UpdateVlanDetails; import * as UpdateVnicDetails from "./update-vnic-details"; export import UpdateVnicDetails = UpdateVnicDetails.UpdateVnicDetails; -import * as UpdateVtapDetails from "./update-vtap-details"; -export import UpdateVtapDetails = UpdateVtapDetails.UpdateVtapDetails; import * as UpdatedNetworkSecurityGroupSecurityRules from "./updated-network-security-group-security-rules"; export import UpdatedNetworkSecurityGroupSecurityRules = UpdatedNetworkSecurityGroupSecurityRules.UpdatedNetworkSecurityGroupSecurityRules; import * as UpgradeStatus from "./upgrade-status"; export import UpgradeStatus = UpgradeStatus.UpgradeStatus; import * as Vcn from "./vcn"; export import Vcn = Vcn.Vcn; -import * as VcnDnsResolverAssociation from "./vcn-dns-resolver-association"; -export import VcnDnsResolverAssociation = VcnDnsResolverAssociation.VcnDnsResolverAssociation; import * as VirtualCircuit from "./virtual-circuit"; export import VirtualCircuit = VirtualCircuit.VirtualCircuit; import * as VirtualCircuitAssociatedTunnelDetails from "./virtual-circuit-associated-tunnel-details"; export import VirtualCircuitAssociatedTunnelDetails = VirtualCircuitAssociatedTunnelDetails.VirtualCircuitAssociatedTunnelDetails; import * as VirtualCircuitBandwidthShape from "./virtual-circuit-bandwidth-shape"; export import VirtualCircuitBandwidthShape = VirtualCircuitBandwidthShape.VirtualCircuitBandwidthShape; -import * as VirtualCircuitIpMtu from "./virtual-circuit-ip-mtu"; -export import VirtualCircuitIpMtu = VirtualCircuitIpMtu.VirtualCircuitIpMtu; import * as VirtualCircuitPublicPrefix from "./virtual-circuit-public-prefix"; export import VirtualCircuitPublicPrefix = VirtualCircuitPublicPrefix.VirtualCircuitPublicPrefix; -import * as Vlan from "./vlan"; -export import Vlan = Vlan.Vlan; import * as Vnic from "./vnic"; export import Vnic = Vnic.Vnic; -import * as Vtap from "./vtap"; -export import Vtap = Vtap.Vtap; -import * as VtapCaptureFilterRuleDetails from "./vtap-capture-filter-rule-details"; -export import VtapCaptureFilterRuleDetails = VtapCaptureFilterRuleDetails.VtapCaptureFilterRuleDetails; import * as WorkRequest from "./work-request"; export import WorkRequest = WorkRequest.WorkRequest; import * as WorkRequestError from "./work-request-error"; @@ -565,6 +391,16 @@ import * as WorkRequestSummary from "./work-request-summary"; export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; +import * as ZprAllowedSecurityActionDetails from "./zpr-allowed-security-action-details"; +export import ZprAllowedSecurityActionDetails = ZprAllowedSecurityActionDetails.ZprAllowedSecurityActionDetails; +import * as ZprCidrUnsupportedSecurityActionDetails from "./zpr-cidr-unsupported-security-action-details"; +export import ZprCidrUnsupportedSecurityActionDetails = ZprCidrUnsupportedSecurityActionDetails.ZprCidrUnsupportedSecurityActionDetails; +import * as ZprDeniedSecurityActionDetails from "./zpr-denied-security-action-details"; +export import ZprDeniedSecurityActionDetails = ZprDeniedSecurityActionDetails.ZprDeniedSecurityActionDetails; +import * as ZprNsgUnsupportedSecurityActionDetails from "./zpr-nsg-unsupported-security-action-details"; +export import ZprNsgUnsupportedSecurityActionDetails = ZprNsgUnsupportedSecurityActionDetails.ZprNsgUnsupportedSecurityActionDetails; +import * as ZprPolicy from "./zpr-policy"; +export import ZprPolicy = ZprPolicy.ZprPolicy; import * as AccessDeniedTrafficNode from "./access-denied-traffic-node"; export import AccessDeniedTrafficNode = AccessDeniedTrafficNode.AccessDeniedTrafficNode; @@ -574,6 +410,8 @@ import * as AllowedSecurityAction from "./allowed-security-action"; export import AllowedSecurityAction = AllowedSecurityAction.AllowedSecurityAction; import * as ComputeInstanceEndpoint from "./compute-instance-endpoint"; export import ComputeInstanceEndpoint = ComputeInstanceEndpoint.ComputeInstanceEndpoint; +import * as CreateGreFlexTunnelConfigurationDetails from "./create-gre-flex-tunnel-configuration-details"; +export import CreateGreFlexTunnelConfigurationDetails = CreateGreFlexTunnelConfigurationDetails.CreateGreFlexTunnelConfigurationDetails; import * as DeniedSecurityAction from "./denied-security-action"; export import DeniedSecurityAction = DeniedSecurityAction.DeniedSecurityAction; import * as DhcpDnsOption from "./dhcp-dns-option"; @@ -582,16 +420,20 @@ import * as DhcpSearchDomainOption from "./dhcp-search-domain-option"; export import DhcpSearchDomainOption = DhcpSearchDomainOption.DhcpSearchDomainOption; import * as DrgAttachmentIdDrgRouteDistributionMatchCriteria from "./drg-attachment-id-drg-route-distribution-match-criteria"; export import DrgAttachmentIdDrgRouteDistributionMatchCriteria = DrgAttachmentIdDrgRouteDistributionMatchCriteria.DrgAttachmentIdDrgRouteDistributionMatchCriteria; -import * as DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria from "./drg-attachment-match-all-drg-route-distribution-match-criteria"; -export import DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria = DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria.DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria; import * as DrgAttachmentTypeDrgRouteDistributionMatchCriteria from "./drg-attachment-type-drg-route-distribution-match-criteria"; export import DrgAttachmentTypeDrgRouteDistributionMatchCriteria = DrgAttachmentTypeDrgRouteDistributionMatchCriteria.DrgAttachmentTypeDrgRouteDistributionMatchCriteria; import * as DrgRoutingConfiguration from "./drg-routing-configuration"; export import DrgRoutingConfiguration = DrgRoutingConfiguration.DrgRoutingConfiguration; import * as EgressSecurityListConfiguration from "./egress-security-list-configuration"; export import EgressSecurityListConfiguration = EgressSecurityListConfiguration.EgressSecurityListConfiguration; +import * as FlexTunnelDrgAttachmentNetworkCreateDetails from "./flex-tunnel-drg-attachment-network-create-details"; +export import FlexTunnelDrgAttachmentNetworkCreateDetails = FlexTunnelDrgAttachmentNetworkCreateDetails.FlexTunnelDrgAttachmentNetworkCreateDetails; +import * as FlexTunnelDrgAttachmentNetworkDetails from "./flex-tunnel-drg-attachment-network-details"; +export import FlexTunnelDrgAttachmentNetworkDetails = FlexTunnelDrgAttachmentNetworkDetails.FlexTunnelDrgAttachmentNetworkDetails; import * as ForwardedRoutingAction from "./forwarded-routing-action"; export import ForwardedRoutingAction = ForwardedRoutingAction.ForwardedRoutingAction; +import * as GreFlexTunnelConfiguration from "./gre-flex-tunnel-configuration"; +export import GreFlexTunnelConfiguration = GreFlexTunnelConfiguration.GreFlexTunnelConfiguration; import * as IcmpProtocolParameters from "./icmp-protocol-parameters"; export import IcmpProtocolParameters = IcmpProtocolParameters.IcmpProtocolParameters; import * as IcmpTrafficProtocolParameters from "./icmp-traffic-protocol-parameters"; @@ -600,16 +442,28 @@ import * as IndeterminateRoutingAction from "./indeterminate-routing-action"; export import IndeterminateRoutingAction = IndeterminateRoutingAction.IndeterminateRoutingAction; import * as IngressSecurityListConfiguration from "./ingress-security-list-configuration"; export import IngressSecurityListConfiguration = IngressSecurityListConfiguration.IngressSecurityListConfiguration; +import * as InternetDrgAttachmentNetworkCreateDetails from "./internet-drg-attachment-network-create-details"; +export import InternetDrgAttachmentNetworkCreateDetails = InternetDrgAttachmentNetworkCreateDetails.InternetDrgAttachmentNetworkCreateDetails; +import * as InternetDrgAttachmentNetworkDetails from "./internet-drg-attachment-network-details"; +export import InternetDrgAttachmentNetworkDetails = InternetDrgAttachmentNetworkDetails.InternetDrgAttachmentNetworkDetails; +import * as InternetDrgAttachmentNetworkUpdateDetails from "./internet-drg-attachment-network-update-details"; +export import InternetDrgAttachmentNetworkUpdateDetails = InternetDrgAttachmentNetworkUpdateDetails.InternetDrgAttachmentNetworkUpdateDetails; import * as IpAddressEndpoint from "./ip-address-endpoint"; export import IpAddressEndpoint = IpAddressEndpoint.IpAddressEndpoint; +import * as IpsecTunnelDrgAttachmentNetworkCreateDetails from "./ipsec-tunnel-drg-attachment-network-create-details"; +export import IpsecTunnelDrgAttachmentNetworkCreateDetails = IpsecTunnelDrgAttachmentNetworkCreateDetails.IpsecTunnelDrgAttachmentNetworkCreateDetails; import * as IpsecTunnelDrgAttachmentNetworkDetails from "./ipsec-tunnel-drg-attachment-network-details"; export import IpsecTunnelDrgAttachmentNetworkDetails = IpsecTunnelDrgAttachmentNetworkDetails.IpsecTunnelDrgAttachmentNetworkDetails; import * as LoadBalancerEndpoint from "./load-balancer-endpoint"; export import LoadBalancerEndpoint = LoadBalancerEndpoint.LoadBalancerEndpoint; import * as LoadBalancerListenerEndpoint from "./load-balancer-listener-endpoint"; export import LoadBalancerListenerEndpoint = LoadBalancerListenerEndpoint.LoadBalancerListenerEndpoint; +import * as LoopBackDrgAttachmentNetworkCreateDetails from "./loop-back-drg-attachment-network-create-details"; +export import LoopBackDrgAttachmentNetworkCreateDetails = LoopBackDrgAttachmentNetworkCreateDetails.LoopBackDrgAttachmentNetworkCreateDetails; import * as LoopBackDrgAttachmentNetworkDetails from "./loop-back-drg-attachment-network-details"; export import LoopBackDrgAttachmentNetworkDetails = LoopBackDrgAttachmentNetworkDetails.LoopBackDrgAttachmentNetworkDetails; +import * as LoopbackDrgAttachmentNetworkUpdateDetails from "./loopback-drg-attachment-network-update-details"; +export import LoopbackDrgAttachmentNetworkUpdateDetails = LoopbackDrgAttachmentNetworkUpdateDetails.LoopbackDrgAttachmentNetworkUpdateDetails; import * as NetworkLoadBalancerEndpoint from "./network-load-balancer-endpoint"; export import NetworkLoadBalancerEndpoint = NetworkLoadBalancerEndpoint.NetworkLoadBalancerEndpoint; import * as NetworkLoadBalancerListenerEndpoint from "./network-load-balancer-listener-endpoint"; @@ -628,6 +482,10 @@ import * as PathTopology from "./path-topology"; export import PathTopology = PathTopology.PathTopology; import * as PersistedGetPathAnalysisDetails from "./persisted-get-path-analysis-details"; export import PersistedGetPathAnalysisDetails = PersistedGetPathAnalysisDetails.PersistedGetPathAnalysisDetails; +import * as PrivateServiceAccessEndpoint from "./private-service-access-endpoint"; +export import PrivateServiceAccessEndpoint = PrivateServiceAccessEndpoint.PrivateServiceAccessEndpoint; +import * as RemotePeeringConnectionDrgAttachmentNetworkCreateDetails from "./remote-peering-connection-drg-attachment-network-create-details"; +export import RemotePeeringConnectionDrgAttachmentNetworkCreateDetails = RemotePeeringConnectionDrgAttachmentNetworkCreateDetails.RemotePeeringConnectionDrgAttachmentNetworkCreateDetails; import * as RemotePeeringConnectionDrgAttachmentNetworkDetails from "./remote-peering-connection-drg-attachment-network-details"; export import RemotePeeringConnectionDrgAttachmentNetworkDetails = RemotePeeringConnectionDrgAttachmentNetworkDetails.RemotePeeringConnectionDrgAttachmentNetworkDetails; import * as StatefulEgressSecurityListConfiguration from "./stateful-egress-security-list-configuration"; @@ -636,6 +494,8 @@ import * as StatefulIngressSecurityListConfiguration from "./stateful-ingress-se export import StatefulIngressSecurityListConfiguration = StatefulIngressSecurityListConfiguration.StatefulIngressSecurityListConfiguration; import * as StatefulNsgConfiguration from "./stateful-nsg-configuration"; export import StatefulNsgConfiguration = StatefulNsgConfiguration.StatefulNsgConfiguration; +import * as StatefulZprConfiguration from "./stateful-zpr-configuration"; +export import StatefulZprConfiguration = StatefulZprConfiguration.StatefulZprConfiguration; import * as SubnetEndpoint from "./subnet-endpoint"; export import SubnetEndpoint = SubnetEndpoint.SubnetEndpoint; import * as SubnetTopology from "./subnet-topology"; @@ -654,6 +514,8 @@ import * as UdpProtocolParameters from "./udp-protocol-parameters"; export import UdpProtocolParameters = UdpProtocolParameters.UdpProtocolParameters; import * as UdpTrafficProtocolParameters from "./udp-traffic-protocol-parameters"; export import UdpTrafficProtocolParameters = UdpTrafficProtocolParameters.UdpTrafficProtocolParameters; +import * as UpdateGreFlexTunnelConfigurationDetails from "./update-gre-flex-tunnel-configuration-details"; +export import UpdateGreFlexTunnelConfigurationDetails = UpdateGreFlexTunnelConfigurationDetails.UpdateGreFlexTunnelConfigurationDetails; import * as VcnDrgAttachmentNetworkCreateDetails from "./vcn-drg-attachment-network-create-details"; export import VcnDrgAttachmentNetworkCreateDetails = VcnDrgAttachmentNetworkCreateDetails.VcnDrgAttachmentNetworkCreateDetails; import * as VcnDrgAttachmentNetworkDetails from "./vcn-drg-attachment-network-details"; @@ -664,11 +526,31 @@ import * as VcnRoutingConfiguration from "./vcn-routing-configuration"; export import VcnRoutingConfiguration = VcnRoutingConfiguration.VcnRoutingConfiguration; import * as VcnTopology from "./vcn-topology"; export import VcnTopology = VcnTopology.VcnTopology; +import * as VirtualCircuitDrgAttachmentNetworkCreateDetails from "./virtual-circuit-drg-attachment-network-create-details"; +export import VirtualCircuitDrgAttachmentNetworkCreateDetails = VirtualCircuitDrgAttachmentNetworkCreateDetails.VirtualCircuitDrgAttachmentNetworkCreateDetails; import * as VirtualCircuitDrgAttachmentNetworkDetails from "./virtual-circuit-drg-attachment-network-details"; export import VirtualCircuitDrgAttachmentNetworkDetails = VirtualCircuitDrgAttachmentNetworkDetails.VirtualCircuitDrgAttachmentNetworkDetails; +import * as VirtualCircuitDrgAttachmentNetworkUpdateDetails from "./virtual-circuit-drg-attachment-network-update-details"; +export import VirtualCircuitDrgAttachmentNetworkUpdateDetails = VirtualCircuitDrgAttachmentNetworkUpdateDetails.VirtualCircuitDrgAttachmentNetworkUpdateDetails; import * as VisibleTrafficNode from "./visible-traffic-node"; export import VisibleTrafficNode = VisibleTrafficNode.VisibleTrafficNode; import * as VlanEndpoint from "./vlan-endpoint"; export import VlanEndpoint = VlanEndpoint.VlanEndpoint; import * as VnicEndpoint from "./vnic-endpoint"; export import VnicEndpoint = VnicEndpoint.VnicEndpoint; +import * as ZprAllowedSecurityAction from "./zpr-allowed-security-action"; +export import ZprAllowedSecurityAction = ZprAllowedSecurityAction.ZprAllowedSecurityAction; +import * as ZprCidrUnsupportedSecurityAction from "./zpr-cidr-unsupported-security-action"; +export import ZprCidrUnsupportedSecurityAction = ZprCidrUnsupportedSecurityAction.ZprCidrUnsupportedSecurityAction; +import * as ZprConfiguration from "./zpr-configuration"; +export import ZprConfiguration = ZprConfiguration.ZprConfiguration; +import * as ZprDeniedSecurityAction from "./zpr-denied-security-action"; +export import ZprDeniedSecurityAction = ZprDeniedSecurityAction.ZprDeniedSecurityAction; +import * as ZprMissingPolicySecurityAction from "./zpr-missing-policy-security-action"; +export import ZprMissingPolicySecurityAction = ZprMissingPolicySecurityAction.ZprMissingPolicySecurityAction; +import * as ZprNsgUnsupportedSecurityAction from "./zpr-nsg-unsupported-security-action"; +export import ZprNsgUnsupportedSecurityAction = ZprNsgUnsupportedSecurityAction.ZprNsgUnsupportedSecurityAction; +import * as ZprPolicyNotEvaluatedMissingRouteSecurityAction from "./zpr-policy-not-evaluated-missing-route-security-action"; +export import ZprPolicyNotEvaluatedMissingRouteSecurityAction = ZprPolicyNotEvaluatedMissingRouteSecurityAction.ZprPolicyNotEvaluatedMissingRouteSecurityAction; +import * as ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction from "./zpr-policy-not-evaluated-sl-nsg-denied-security-action"; +export import ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction = ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction; diff --git a/lib/vnmonitoring/lib/model/ingress-security-rule.ts b/lib/vnmonitoring/lib/model/ingress-security-rule.ts index 58da5594b7..8382144673 100644 --- a/lib/vnmonitoring/lib/model/ingress-security-rule.ts +++ b/lib/vnmonitoring/lib/model/ingress-security-rule.ts @@ -67,11 +67,6 @@ Allowed values: "sourceType"?: IngressSecurityRule.SourceType; "tcpOptions"?: model.TcpOptions; "udpOptions"?: model.UdpOptions; - /** - * An optional description of your choice for the rule. - * - */ - "description"?: string; } export namespace IngressSecurityRule { diff --git a/lib/vnmonitoring/lib/model/internet-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..201c13a4c1 --- /dev/null +++ b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-create-details.ts @@ -0,0 +1,65 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Create details for an \"Internet\" attachment for a DRG + * + */ +export interface InternetDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * The list of BYOIP Range OCIDs used to be accessible to the internet via this DRG. + */ + "byoipRangeIds"?: Array; + + "type": string; +} + +export namespace InternetDrgAttachmentNetworkCreateDetails { + export function getJsonObj( + obj: InternetDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as InternetDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "INTERNET"; + export function getDeserializedJsonObj( + obj: InternetDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as InternetDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/internet-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-details.ts new file mode 100644 index 0000000000..40a7952aa3 --- /dev/null +++ b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-details.ts @@ -0,0 +1,64 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Details for an \"Internet\" attachment for a DRG + * + */ +export interface InternetDrgAttachmentNetworkDetails extends model.DrgAttachmentNetworkDetails { + /** + * The list of BYOIP Range OCIDs used to be accessible to the internet via this DRG. + */ + "byoipRangeIds"?: Array; + + "type": string; +} + +export namespace InternetDrgAttachmentNetworkDetails { + export function getJsonObj( + obj: InternetDrgAttachmentNetworkDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkDetails.getJsonObj( + obj + ) as InternetDrgAttachmentNetworkDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "INTERNET"; + export function getDeserializedJsonObj( + obj: InternetDrgAttachmentNetworkDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkDetails.getDeserializedJsonObj( + obj + ) as InternetDrgAttachmentNetworkDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/internet-drg-attachment-network-update-details.ts b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-update-details.ts new file mode 100644 index 0000000000..851bb6816c --- /dev/null +++ b/lib/vnmonitoring/lib/model/internet-drg-attachment-network-update-details.ts @@ -0,0 +1,65 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Update details for an Internet attachment for a DRG. + * + */ +export interface InternetDrgAttachmentNetworkUpdateDetails + extends model.DrgAttachmentNetworkUpdateDetails { + /** + * The list of BYOIP Range OCIDs accessible to the internet via this DRG. + */ + "byoipRangeIds"?: Array; + + "type": string; +} + +export namespace InternetDrgAttachmentNetworkUpdateDetails { + export function getJsonObj( + obj: InternetDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getJsonObj( + obj + ) as InternetDrgAttachmentNetworkUpdateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "INTERNET"; + export function getDeserializedJsonObj( + obj: InternetDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + obj + ) as InternetDrgAttachmentNetworkUpdateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/internet-gateway.ts b/lib/vnmonitoring/lib/model/internet-gateway.ts index 3cbd0cf7b6..2aed2003bb 100644 --- a/lib/vnmonitoring/lib/model/internet-gateway.ts +++ b/lib/vnmonitoring/lib/model/internet-gateway.ts @@ -74,10 +74,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the Internet Gateway belongs to. */ "vcnId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. - */ - "routeTableId"?: string; } export namespace InternetGateway { diff --git a/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..87a625723f --- /dev/null +++ b/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-create-details.ts @@ -0,0 +1,77 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Specifies the IPSec tunnel attachment. + */ +export interface IpsecTunnelDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the IPSec connection. + */ + "compartmentId": string; + /** + * The BGP ASN to use for the IPSec connection's route target + * + */ + "regionalOciAsn"?: string; + /** + * The IPSec connection that contains the attached IPSec tunnel. + */ + "ipsecConnectionId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual-circuit drg attachment. + */ + "transportAttachmentId"?: string; + + "type": string; +} + +export namespace IpsecTunnelDrgAttachmentNetworkCreateDetails { + export function getJsonObj( + obj: IpsecTunnelDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as IpsecTunnelDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "IPSEC_TUNNEL"; + export function getDeserializedJsonObj( + obj: IpsecTunnelDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as IpsecTunnelDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-details.ts index d1f99ee6ed..c8613c9f78 100644 --- a/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/ipsec-tunnel-drg-attachment-network-details.ts @@ -24,6 +24,57 @@ export interface IpsecTunnelDrgAttachmentNetworkDetails extends model.DrgAttachm * The IPSec connection that contains the attached IPSec tunnel. */ "ipsecConnectionId"?: string; + /** + * Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors + * tagged with the attachment's import route target. + * + */ + "importRouteTarget"?: string; + /** + * Routes which are exported to the attachment are exported to the route reflectors + * with the route target set to the value of the attachment's export route target. + * + */ + "exportRouteTarget"?: string; + /** + * The MPLS label of the DRG attachment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mplsLabel"?: number; + /** + * The BGP ASN to use for the IPSec connection's route target. + * + */ + "regionalOciAsn"?: string; + /** + * IPv4 address used to encapsulate ingress traffic to the DRG through this attachment + */ + "ingressVip"?: string; + /** + * Whether traffic from this network is forwarded to the El Paso Gamma VIPs (or not) + * + */ + "isGammaDrg"?: boolean; + /** + * Common Export route target to use for the DRG Attachment instead of per-attachment route target. + * This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for + * route unification. + * + */ + "commonExportRT"?: string; + /** + * Common Import route target to use for the DRG attachment instead of per-attachment import route target. + * This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for + * route unification. + * + */ + "commonImportRT"?: string; + /** + * This indicates whether the DRG route table associated with the DRG attachment is whitelisted for route unification. +*

+Example: {@code true} +* + */ + "isRouteUnificationEnabled"?: boolean; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment. */ diff --git a/lib/vnmonitoring/lib/model/ipv6.ts b/lib/vnmonitoring/lib/model/ipv6.ts index f785a19777..d04469e87b 100644 --- a/lib/vnmonitoring/lib/model/ipv6.ts +++ b/lib/vnmonitoring/lib/model/ipv6.ts @@ -57,17 +57,47 @@ export interface Ipv6 { */ "id": string; /** - * The IPv6 address of the {@code IPv6} object. The address is within the IPv6 CIDR block of the VNIC's subnet -* (see the {@code ipv6CidrBlock} attribute for the {@link Subnet} object. + * The IPv6 address of the {@code IPv6} object. The address is within the IPv6 prefix +* of the VNIC's subnet (see the {@code ipv6CidrBlock} attribute for the {@link Subnet} +* object. *

Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} * */ "ipAddress": string; + /** + * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in +* a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, the +* IPv6 uses its public IP address for internet communication. +*

+Example: {@code true} +* + */ + "isInternetAccessAllowed"?: boolean; /** * The IPv6's current state. */ "lifecycleState": Ipv6.LifecycleState; + /** + * The IPv6 address to be used for internet communication. The address is within the +* IPv6 prefix of the VNIC's subnet (see the {@code ipv6PublicCidrBlock} attribute for the +* {@link Subnet} object). +*

+If your organization did NOT assign a custom IPv6 prefix to the VCN for the private address +* space, Oracle provides the IPv6 prefix and uses that same prefix for the private and public +* address space. Therefore the {@code publicIpAddress} would be the same as the {@code ipAddress}. +*

+If your organization assigned a custom IPv6 prefix to the VCN for the address space, +* the right 80 bits of the IPv6 IP (the subnet and address bits) are the same as for +* the {@code ipAddress}. But the left 48 bits are from the IPv6 prefix that Oracle assigned +* to the VCN. +*

+This is null if the IPv6 is created with {@code isInternetAccessAllowed} set to {@code false}. +*

+Example: {@code 2001:0db8:0123:1111:abcd:ef01:2345:6789} +* + */ + "publicIpAddress"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. */ diff --git a/lib/vnmonitoring/lib/model/local-peering-gateway.ts b/lib/vnmonitoring/lib/model/local-peering-gateway.ts index 1a132651a7..b27aae5fde 100644 --- a/lib/vnmonitoring/lib/model/local-peering-gateway.ts +++ b/lib/vnmonitoring/lib/model/local-peering-gateway.ts @@ -67,24 +67,15 @@ Example: {@code false} */ "lifecycleState": LocalPeeringGateway.LifecycleState; /** - * The smallest aggregate CIDR that contains all the CIDR routes advertised by the VCN -* at the other end of the peering from this LPG. See {@code peerAdvertisedCidrDetails} for -* the individual CIDRs. The value is {@code null} if the LPG is not peered. -*

-Example: {@code 192.168.0.0/16}, or if aggregated with {@code 172.16.0.0/24} then {@code 128.0.0.0/1} -* - */ - "peerAdvertisedCidr"?: string; - /** - * The specific ranges of IP addresses available on or via the VCN at the other + * The range of IP addresses available on the VCN at the other * end of the peering from this LPG. The value is {@code null} if the LPG is not peered. -* You can use these as destination CIDRs for route rules to route a subnet's +* You can use this as the destination CIDR for a route rule to route a subnet's * traffic to this LPG. *

-Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] +Example: {@code 192.168.0.0/16} * */ - "peerAdvertisedCidrDetails"?: Array; + "peerAdvertisedCidr"?: string; /** * Whether the LPG is peered with another LPG. {@code NEW} means the LPG has not yet been * peered. {@code PENDING} means the peering is being established. {@code REVOKED} means the @@ -96,18 +87,6 @@ Example: [{@code 192.168.0.0/16}, {@code 172.16.0.0/24}] * Additional information regarding the peering status, if applicable. */ "peeringStatusDetails"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peered LPG. - */ - "peerId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG is using. -*

-For information about why you would associate a route table with an LPG, see -* [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). -* - */ - "routeTableId"?: string; /** * The date and time the LPG was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

diff --git a/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..ef3a323ba1 --- /dev/null +++ b/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-create-details.ts @@ -0,0 +1,68 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Specifies the Loopback attachment. + */ +export interface LoopBackDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * the oracle ip address of the tunnel headend. + */ + "loopBackIp": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG. + */ + "ids": Array; + + "type": string; +} + +export namespace LoopBackDrgAttachmentNetworkCreateDetails { + export function getJsonObj( + obj: LoopBackDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as LoopBackDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "LOOPBACK"; + export function getDeserializedJsonObj( + obj: LoopBackDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as LoopBackDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-details.ts index 1a0ec9716c..ba5ade9881 100644 --- a/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/loop-back-drg-attachment-network-details.ts @@ -24,6 +24,22 @@ export interface LoopBackDrgAttachmentNetworkDetails extends model.DrgAttachment * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment. */ "ids"?: Array; + /** + * The MPLS label of the DRG attachment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mplsLabel"?: number; + /** + * Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors + * tagged with the attachment's import route target. + * + */ + "importRouteTarget"?: string; + /** + * Routes which are exported to the attachment are exported to the route reflectors + * with the route target set to the value of the attachment's export route target. + * + */ + "exportRouteTarget"?: string; "type": string; } diff --git a/lib/vnmonitoring/lib/model/change-network-security-group-compartment-details.ts b/lib/vnmonitoring/lib/model/loopback-drg-attachment-network-update-details.ts similarity index 51% rename from lib/vnmonitoring/lib/model/change-network-security-group-compartment-details.ts rename to lib/vnmonitoring/lib/model/loopback-drg-attachment-network-update-details.ts index 86e609a6a5..0edcca2d39 100644 --- a/lib/vnmonitoring/lib/model/change-network-security-group-compartment-details.ts +++ b/lib/vnmonitoring/lib/model/loopback-drg-attachment-network-update-details.ts @@ -16,25 +16,48 @@ documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Conte import * as model from "../model"; import common = require("oci-common"); -export interface ChangeNetworkSecurityGroupCompartmentDetails { +/** + * Specifies the update details for Loopback attachment. + */ +export interface LoopbackDrgAttachmentNetworkUpdateDetails + extends model.DrgAttachmentNetworkUpdateDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the network - * security group to. - * + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Ipsec tunnel attachment. */ - "compartmentId": string; + "ids"?: Array; + + "type": string; } -export namespace ChangeNetworkSecurityGroupCompartmentDetails { - export function getJsonObj(obj: ChangeNetworkSecurityGroupCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; +export namespace LoopbackDrgAttachmentNetworkUpdateDetails { + export function getJsonObj( + obj: LoopbackDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getJsonObj( + obj + ) as LoopbackDrgAttachmentNetworkUpdateDetails)), + ...{} + }; return jsonObj; } + export const type = "LOOPBACK"; export function getDeserializedJsonObj( - obj: ChangeNetworkSecurityGroupCompartmentDetails + obj: LoopbackDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean ): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + obj + ) as LoopbackDrgAttachmentNetworkUpdateDetails)), + ...{} + }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/macsec-encryption-cipher.ts b/lib/vnmonitoring/lib/model/macsec-encryption-cipher.ts deleted file mode 100644 index dcbd120152..0000000000 --- a/lib/vnmonitoring/lib/model/macsec-encryption-cipher.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Type of encryption cipher suite to use for the MACsec connection. - **/ -export enum MacsecEncryptionCipher { - Aes128Gcm = "AES128_GCM", - Aes128GcmXpn = "AES128_GCM_XPN", - Aes256Gcm = "AES256_GCM", - Aes256GcmXpn = "AES256_GCM_XPN", - - /** - * 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 MacsecEncryptionCipher { - export function getJsonObj(obj: MacsecEncryptionCipher): MacsecEncryptionCipher { - return obj; - } - export function getDeserializedJsonObj(obj: MacsecEncryptionCipher): MacsecEncryptionCipher { - return obj; - } -} diff --git a/lib/vnmonitoring/lib/model/macsec-key.ts b/lib/vnmonitoring/lib/model/macsec-key.ts deleted file mode 100644 index 7d9bc17402..0000000000 --- a/lib/vnmonitoring/lib/model/macsec-key.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * An object defining the Secrets-in-Vault OCIDs representing the MACsec key. - */ -export interface MacsecKey { - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. - */ - "connectivityAssociationNameSecretId": string; - /** - * The secret version of the connectivity association name secret in Vault. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "connectivityAssociationNameSecretVersion"?: number; - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. - */ - "connectivityAssociationKeySecretId": string; - /** - * The secret version of the {@code connectivityAssociationKey} secret in Vault. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "connectivityAssociationKeySecretVersion"?: number; -} - -export namespace MacsecKey { - export function getJsonObj(obj: MacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/modify-vcn-cidr-details.ts b/lib/vnmonitoring/lib/model/modify-vcn-cidr-details.ts deleted file mode 100644 index 64d34f70a9..0000000000 --- a/lib/vnmonitoring/lib/model/modify-vcn-cidr-details.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Details for updating a CIDR block. - * - */ -export interface ModifyVcnCidrDetails { - /** - * The CIDR IP address to update. - * - */ - "originalCidrBlock": string; - /** - * The new CIDR IP address. - * - */ - "newCidrBlock": string; -} - -export namespace ModifyVcnCidrDetails { - export function getJsonObj(obj: ModifyVcnCidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModifyVcnCidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/nat-gateway.ts b/lib/vnmonitoring/lib/model/nat-gateway.ts deleted file mode 100644 index c2c0cd0673..0000000000 --- a/lib/vnmonitoring/lib/model/nat-gateway.ts +++ /dev/null @@ -1,131 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* A NAT (Network Address Translation) gateway, which represents a router that lets instances -* without public IPs contact the public internet without exposing the instance to inbound -* internet traffic. For more information, see -* [NAT Gateway](https://docs.oracle.com/iaas/Content/Network/Tasks/NATgateway.htm). -*

-To use any of the API operations, you must be authorized in an -* IAM policy. If you are not authorized, talk to an -* administrator. If you are an administrator who needs to write -* policies to give users access, see [Getting Started with -* Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). -* -*/ -export interface NatGateway { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains - * the NAT gateway. - * - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the - * NAT gateway. - * - */ - "id": string; - /** - * Whether the NAT gateway blocks traffic through it. The default is {@code false}. -*

-Example: {@code true} -* - */ - "blockTraffic": boolean; - /** - * The NAT gateway's current state. - */ - "lifecycleState": NatGateway.LifecycleState; - /** - * The IP address associated with the NAT gateway. - * - */ - "natIp": string; - /** - * The date and time the NAT gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated": Date; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the NAT gateway - * belongs to. - * - */ - "vcnId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the public IP address associated with the NAT gateway. - * - */ - "publicIpId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. -*

-If you don't specify a route table here, the NAT gateway is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route table -* with the NAT gateway. -* - */ - "routeTableId"?: string; -} - -export namespace NatGateway { - export enum LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - /** - * 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: NatGateway): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: NatGateway): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/networking-topology.ts b/lib/vnmonitoring/lib/model/networking-topology.ts index 2cc53add84..d84de699da 100644 --- a/lib/vnmonitoring/lib/model/networking-topology.ts +++ b/lib/vnmonitoring/lib/model/networking-topology.ts @@ -18,6 +18,9 @@ import common = require("oci-common"); /** * Defines the representation of a virtual network topology for a region. + * See [Network Visualizer Documentation](https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including + * conventions and pictures of symbols. + * */ export interface NetworkingTopology extends model.Topology { "type": string; diff --git a/lib/vnmonitoring/lib/model/path-analyzer-test-summary.ts b/lib/vnmonitoring/lib/model/path-analyzer-test-summary.ts index 4adb00f2ee..df26249d31 100644 --- a/lib/vnmonitoring/lib/model/path-analyzer-test-summary.ts +++ b/lib/vnmonitoring/lib/model/path-analyzer-test-summary.ts @@ -44,6 +44,7 @@ export interface PathAnalyzerTestSummary { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint @@ -55,6 +56,7 @@ export interface PathAnalyzerTestSummary { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint diff --git a/lib/vnmonitoring/lib/model/path-analyzer-test.ts b/lib/vnmonitoring/lib/model/path-analyzer-test.ts index 3802410a40..af76bf9cc2 100644 --- a/lib/vnmonitoring/lib/model/path-analyzer-test.ts +++ b/lib/vnmonitoring/lib/model/path-analyzer-test.ts @@ -46,6 +46,7 @@ export interface PathAnalyzerTest { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint @@ -57,6 +58,7 @@ export interface PathAnalyzerTest { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint diff --git a/lib/vnmonitoring/lib/model/phase-one-config-details.ts b/lib/vnmonitoring/lib/model/phase-one-config-details.ts deleted file mode 100644 index 38757f0415..0000000000 --- a/lib/vnmonitoring/lib/model/phase-one-config-details.ts +++ /dev/null @@ -1,81 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Configuration details for IKE phase one (ISAKMP) configuration parameters. - */ -export interface PhaseOneConfigDetails { - /** - * Indicates whether custom configuration is enabled for phase one options. - */ - "isCustomPhaseOneConfig"?: boolean; - /** - * The custom authentication algorithm proposed during phase one tunnel negotiation. - * - */ - "authenticationAlgorithm"?: PhaseOneConfigDetails.AuthenticationAlgorithm; - /** - * The custom encryption algorithm proposed during phase one tunnel negotiation. - * - */ - "encryptionAlgorithm"?: PhaseOneConfigDetails.EncryptionAlgorithm; - /** - * The custom Diffie-Hellman group proposed during phase one tunnel negotiation. - * - */ - "diffieHelmanGroup"?: PhaseOneConfigDetails.DiffieHelmanGroup; - /** - * Internet key association (IKE) session key lifetime in seconds for IPSec phase one. The default is 28800 which is equivalent to 8 hours. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "lifetimeInSeconds"?: number; -} - -export namespace PhaseOneConfigDetails { - export enum AuthenticationAlgorithm { - Sha2384 = "SHA2_384", - Sha2256 = "SHA2_256", - Sha196 = "SHA1_96" - } - - export enum EncryptionAlgorithm { - Aes256Cbc = "AES_256_CBC", - Aes192Cbc = "AES_192_CBC", - Aes128Cbc = "AES_128_CBC" - } - - export enum DiffieHelmanGroup { - Group2 = "GROUP2", - Group5 = "GROUP5", - Group14 = "GROUP14", - Group19 = "GROUP19", - Group20 = "GROUP20", - Group24 = "GROUP24" - } - - export function getJsonObj(obj: PhaseOneConfigDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: PhaseOneConfigDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/phase-two-config-details.ts b/lib/vnmonitoring/lib/model/phase-two-config-details.ts deleted file mode 100644 index 79a6379293..0000000000 --- a/lib/vnmonitoring/lib/model/phase-two-config-details.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Configuration details for IPSec phase two configuration parameters. - */ -export interface PhaseTwoConfigDetails { - /** - * Indicates whether custom configuration is enabled for phase two options. - */ - "isCustomPhaseTwoConfig"?: boolean; - /** - * The authentication algorithm proposed during phase two tunnel negotiation. - * - */ - "authenticationAlgorithm"?: PhaseTwoConfigDetails.AuthenticationAlgorithm; - /** - * The encryption algorithm proposed during phase two tunnel negotiation. - * - */ - "encryptionAlgorithm"?: PhaseTwoConfigDetails.EncryptionAlgorithm; - /** - * Lifetime in seconds for the IPSec session key set in phase two. The default is 3600 which is equivalent to 1 hour. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "lifetimeInSeconds"?: number; - /** - * Indicates whether perfect forward secrecy (PFS) is enabled. - */ - "isPfsEnabled"?: boolean; - /** - * The Diffie-Hellman group used for PFS, if PFS is enabled. - */ - "pfsDhGroup"?: PhaseTwoConfigDetails.PfsDhGroup; -} - -export namespace PhaseTwoConfigDetails { - export enum AuthenticationAlgorithm { - HmacSha2256128 = "HMAC_SHA2_256_128", - HmacSha1128 = "HMAC_SHA1_128" - } - - export enum EncryptionAlgorithm { - Aes256Gcm = "AES_256_GCM", - Aes192Gcm = "AES_192_GCM", - Aes128Gcm = "AES_128_GCM", - Aes256Cbc = "AES_256_CBC", - Aes192Cbc = "AES_192_CBC", - Aes128Cbc = "AES_128_CBC" - } - - export enum PfsDhGroup { - Group2 = "GROUP2", - Group5 = "GROUP5", - Group14 = "GROUP14", - Group19 = "GROUP19", - Group20 = "GROUP20", - Group24 = "GROUP24" - } - - export function getJsonObj(obj: PhaseTwoConfigDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: PhaseTwoConfigDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/private-ip.ts b/lib/vnmonitoring/lib/model/private-ip.ts index d9323f2fb3..5f93590a07 100644 --- a/lib/vnmonitoring/lib/model/private-ip.ts +++ b/lib/vnmonitoring/lib/model/private-ip.ts @@ -43,11 +43,6 @@ You can add *secondary private IPs* to a VNIC after it's created. For more * {@link #attachVnic(AttachVnicRequest) attachVnic}. To update the hostname * for a primary private IP, you use {@link #updateVnic(UpdateVnicRequest) updateVnic}. *

-{@code PrivateIp} objects that are created for use with the Oracle Cloud VMware Solution are -* assigned to a VLAN and not a VNIC in a subnet. See the -* descriptions of the relevant attributes in the {@code PrivateIp} object. Also see -* {@link Vlan}. -*

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, * talk to an administrator. If you're an administrator who needs to write policies to give users access, see * [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). @@ -55,8 +50,7 @@ To use any of the API operations, you must be authorized in an IAM policy. If yo */ export interface PrivateIp { /** - * The private IP's availability domain. This attribute will be null if this is a *secondary* -* private IP assigned to a VNIC that is in a *regional* subnet. + * The private IP's availability domain. *

Example: {@code Uocm:PHX-AD-1} * @@ -107,11 +101,8 @@ Example: {@code bminstance1} * The private IP address of the {@code privateIp} object. The address is within the CIDR * of the VNIC's subnet. *

-However, if the {@code PrivateIp} object is being used with a VLAN as part of -* the Oracle Cloud VMware Solution, the address is from the range specified by the -* {@code cidrBlock} attribute for the VLAN. See {@link Vlan}. -*

-Example: {@code 10.0.3.3} + +* Example: {@code 10.0.3.3} * */ "ipAddress"?: string; @@ -124,19 +115,9 @@ Example: {@code true} */ "isPrimary"?: boolean; /** - * Applicable only if the {@code PrivateIp} object is being used with a VLAN as part of - * the Oracle Cloud VMware Solution. The {@code vlanId} is the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See - * {@link Vlan}. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. * */ - "vlanId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. -*

-However, if the {@code PrivateIp} object is being used with a VLAN as part of -* the Oracle Cloud VMware Solution, the {@code subnetId} is null. -* - */ "subnetId"?: string; /** * The date and time the private IP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). @@ -148,8 +129,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC the private IP is assigned to. The VNIC and private IP * must be in the same subnet. - * However, if the {@code PrivateIp} object is being used with a VLAN as part of - * the Oracle Cloud VMware Solution, the {@code vnicId} is null. * */ "vnicId"?: string; diff --git a/lib/vnmonitoring/lib/model/change-remote-peering-connection-compartment-details.ts b/lib/vnmonitoring/lib/model/private-service-access-endpoint.ts similarity index 57% rename from lib/vnmonitoring/lib/model/change-remote-peering-connection-compartment-details.ts rename to lib/vnmonitoring/lib/model/private-service-access-endpoint.ts index 2a89ef4026..2a3b854a16 100644 --- a/lib/vnmonitoring/lib/model/change-remote-peering-connection-compartment-details.ts +++ b/lib/vnmonitoring/lib/model/private-service-access-endpoint.ts @@ -17,27 +17,39 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The configuration details for the move operation. + * Defines the details required for an PRIVATE_SERVICE_ACCESS type {@code Endpoint}. + * */ -export interface ChangeRemotePeeringConnectionCompartmentDetails { +export interface PrivateServiceAccessEndpoint extends model.Endpoint { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * remote peering connection to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PSA. * */ - "compartmentId": string; + "psaId": string; + + "type": string; } -export namespace ChangeRemotePeeringConnectionCompartmentDetails { - export function getJsonObj(obj: ChangeRemotePeeringConnectionCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; +export namespace PrivateServiceAccessEndpoint { + export function getJsonObj(obj: PrivateServiceAccessEndpoint, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Endpoint.getJsonObj(obj) as PrivateServiceAccessEndpoint)), + ...{} + }; return jsonObj; } + export const type = "PRIVATE_SERVICE_ACCESS"; export function getDeserializedJsonObj( - obj: ChangeRemotePeeringConnectionCompartmentDetails + obj: PrivateServiceAccessEndpoint, + isParentJsonObj?: boolean ): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.Endpoint.getDeserializedJsonObj(obj) as PrivateServiceAccessEndpoint)), + ...{} + }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/public-ip.ts b/lib/vnmonitoring/lib/model/public-ip.ts index 0daebba215..7ec04874d7 100644 --- a/lib/vnmonitoring/lib/model/public-ip.ts +++ b/lib/vnmonitoring/lib/model/public-ip.ts @@ -29,22 +29,10 @@ For more information and comparison of the two types, * */ export interface PublicIp { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity the public IP is assigned to, or in the process of - * being assigned to. - * - */ - "assignedEntityId"?: string; - /** - * The type of entity the public IP is assigned to, or in the process of being - * assigned to. - * - */ - "assignedEntityType"?: PublicIp.AssignedEntityType; /** * The public IP's availability domain. This property is set only for ephemeral public IPs -* that are assigned to a private IP (that is, when the {@code scope} of the public IP is set to -* AVAILABILITY_DOMAIN). The value is the availability domain of the assigned private IP. +* (that is, when the {@code scope} of the public IP is set to AVAILABILITY_DOMAIN). The value +* is the availability domain of the assigned private IP. *

Example: {@code Uocm:PHX-AD-1} * @@ -52,9 +40,8 @@ Example: {@code Uocm:PHX-AD-1} "availabilityDomain"?: string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the public IP. For an ephemeral public IP, this is - * the compartment of its assigned entity (which can be a private IP or a regional entity such - * as a NAT gateway). For a reserved public IP that is currently assigned, - * its compartment can be different from the assigned private IP's. + * the same compartment as the private IP's. For a reserved public IP that is currently assigned, + * this can be a different compartment than the assigned private IP's. * */ "compartmentId"?: string; @@ -94,12 +81,10 @@ Example: {@code 203.0.113.2} /** * Defines when the public IP is deleted and released back to Oracle's public IP pool. *

-* {@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned entity. An ephemeral -* public IP must always be assigned to an entity. If the assigned entity is a private IP, -* the ephemeral public IP is automatically deleted when the private IP is deleted, when -* the VNIC is terminated, or when the instance is terminated. If the assigned entity is a -* {@link NatGateway}, the ephemeral public IP is automatically -* deleted when the NAT gateway is terminated. +* {@code EPHEMERAL}: The lifetime is tied to the lifetime of its assigned private IP. The +* ephemeral public IP is automatically deleted when its private IP is deleted, when +* the VNIC is terminated, or when the instance is terminated. An ephemeral +* public IP must always be assigned to a private IP. *

* {@code RESERVED}: You control the public IP's lifetime. You can delete a reserved public IP * whenever you like. It does not need to be assigned to a private IP at all times. @@ -110,27 +95,20 @@ For more information and comparison of the two types, */ "lifetime"?: PublicIp.Lifetime; /** - * Deprecated. Use {@code assignedEntityId} instead. -*

-The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the -* process of being assigned to. -*

-**Note:** This is {@code null} if the public IP is not assigned to a private IP, or is -* in the process of being assigned to one. -* - */ + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is currently assigned to, or in the + * process of being assigned to. + * + */ "privateIpId"?: string; /** * Whether the public IP is regional or specific to a particular availability domain. *

- * {@code REGION}: The public IP exists within a region and is assigned to a regional entity - * (such as a {@link NatGateway}), or can be assigned to a private - * IP in any availability domain in the region. Reserved public IPs and ephemeral public IPs - * assigned to a regional entity have {@code scope} = {@code REGION}. + * {@code REGION}: The public IP exists within a region and can be assigned to a private IP + * in any availability domain in the region. Reserved public IPs have {@code scope} = {@code REGION}. *

- * {@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of the entity + * {@code AVAILABILITY_DOMAIN}: The public IP exists within the availability domain of the private IP * it's assigned to, which is specified by the {@code availabilityDomain} property of the public IP object. - * Ephemeral public IPs that are assigned to private IPs have {@code scope} = {@code AVAILABILITY_DOMAIN}. + * Ephemeral public IPs have {@code scope} = {@code AVAILABILITY_DOMAIN}. * */ "scope"?: PublicIp.Scope; @@ -141,23 +119,9 @@ Example: {@code 2016-08-25T21:10:29.600Z} * */ "timeCreated"?: Date; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pool object created in the current tenancy. - */ - "publicIpPoolId"?: string; } export namespace PublicIp { - export enum AssignedEntityType { - PrivateIp = "PRIVATE_IP", - NatGateway = "NAT_GATEWAY", - /** - * 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 LifecycleState { Provisioning = "PROVISIONING", Available = "AVAILABLE", diff --git a/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..c98e5c52c0 --- /dev/null +++ b/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-create-details.ts @@ -0,0 +1,74 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 RemotePeeringConnectionDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment that contains the remote peering connection. + */ + "compartmentId": string; + /** + * The BGP ASN to use for the remote peering connection's route target. + * + */ + "regionalOciAsn"?: string; + /** + * Whether the RPC attachment is for a GFC DRG, indicating the mpls label should be +* allocated from the VC label range. +*

+Example: {@code true} +* + */ + "isGlobalFastConnect"?: boolean; + + "type": string; +} + +export namespace RemotePeeringConnectionDrgAttachmentNetworkCreateDetails { + export function getJsonObj( + obj: RemotePeeringConnectionDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as RemotePeeringConnectionDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "REMOTE_PEERING_CONNECTION"; + export function getDeserializedJsonObj( + obj: RemotePeeringConnectionDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as RemotePeeringConnectionDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-details.ts index 25a8a0cd59..90313137b6 100644 --- a/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/remote-peering-connection-drg-attachment-network-details.ts @@ -21,6 +21,41 @@ import common = require("oci-common"); */ export interface RemotePeeringConnectionDrgAttachmentNetworkDetails extends model.DrgAttachmentNetworkDetails { + /** + * The remote Oracle Cloud Infrastructure region name. + * + */ + "peerRegionName"?: string; + /** + * The attachment route target. + */ + "peerAttachmentRouteTarget"?: string; + /** + * Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors + * tagged with the attachment's import route target. + * + */ + "importRouteTarget"?: string; + /** + * Routes which are exported to the attachment are exported to the route reflectors + * with the route target set to the value of the attachment's export route target. + * + */ + "exportRouteTarget"?: string; + /** + * The MPLS label of the DRG attachment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mplsLabel"?: number; + /** + * The BGP ASN to use for the IPSec connection's route target. + * + */ + "regionalOciAsn"?: string; + /** + * IPv4 address used to encapsulate ingress traffic to the DRG through this attachment + */ + "ingressVip"?: string; + "type": string; } diff --git a/lib/vnmonitoring/lib/model/remote-peering-connection.ts b/lib/vnmonitoring/lib/model/remote-peering-connection.ts index 1c521bcde8..68ce742d2c 100644 --- a/lib/vnmonitoring/lib/model/remote-peering-connection.ts +++ b/lib/vnmonitoring/lib/model/remote-peering-connection.ts @@ -33,12 +33,6 @@ export interface RemotePeeringConnection { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the RPC. */ "compartmentId": string; - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. @@ -49,12 +43,6 @@ export interface RemotePeeringConnection { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG that this RPC belongs to. */ "drgId": string; - /** - * 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 }; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RPC. */ diff --git a/lib/vnmonitoring/lib/model/remove-public-ip-pool-capacity-details.ts b/lib/vnmonitoring/lib/model/remove-public-ip-pool-capacity-details.ts deleted file mode 100644 index 469ff541e2..0000000000 --- a/lib/vnmonitoring/lib/model/remove-public-ip-pool-capacity-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 information needed to remove capacity from a public IP pool. - */ -export interface RemovePublicIpPoolCapacityDetails { - /** - * The CIDR block to remove from the public IP pool. - * Example: {@code 10.0.1.0/24} - * - */ - "cidrBlock": string; -} - -export namespace RemovePublicIpPoolCapacityDetails { - export function getJsonObj(obj: RemovePublicIpPoolCapacityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RemovePublicIpPoolCapacityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/remove-subnet-ipv6-cidr-details.ts b/lib/vnmonitoring/lib/model/remove-subnet-ipv6-cidr-details.ts deleted file mode 100644 index d7773281e4..0000000000 --- a/lib/vnmonitoring/lib/model/remove-subnet-ipv6-cidr-details.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Details object for removing an IPv6 CIDR Block from a Subnet. - */ -export interface RemoveSubnetIpv6CidrDetails { - /** - * This field is not required and should only be specified when removing an IPv6 CIDR -* from a subnet's IPv6 address space. -* See[IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:0db8:0123::/64} -* - */ - "ipv6CidrBlock": string; -} - -export namespace RemoveSubnetIpv6CidrDetails { - export function getJsonObj(obj: RemoveSubnetIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RemoveSubnetIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/remove-vcn-ipv6-cidr-details.ts b/lib/vnmonitoring/lib/model/remove-vcn-ipv6-cidr-details.ts deleted file mode 100644 index 2fda325ea6..0000000000 --- a/lib/vnmonitoring/lib/model/remove-vcn-ipv6-cidr-details.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Details used when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix. You can only remove one of these per request. - * - */ -export interface RemoveVcnIpv6CidrDetails { - /** - * This field is not required and should only be specified when removing ULA or private IPv6 prefix or an IPv6 GUA assigned by Oracle or BYOIPv6 prefix -* from a VCN's IPv6 address space. -* See[IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 2001:0db8:0123::/56} -* - */ - "ipv6CidrBlock"?: string; -} - -export namespace RemoveVcnIpv6CidrDetails { - export function getJsonObj(obj: RemoveVcnIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RemoveVcnIpv6CidrDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/route-rule.ts b/lib/vnmonitoring/lib/model/route-rule.ts index 4633516fbb..6ff7ac7a59 100644 --- a/lib/vnmonitoring/lib/model/route-rule.ts +++ b/lib/vnmonitoring/lib/model/route-rule.ts @@ -29,7 +29,7 @@ export interface RouteRule { A destination IP address range in CIDR notation. Matching packets will * be routed to the indicated network entity (the target). *

-Cannot be an IPv6 CIDR. +Cannot be an IPv6 prefix. *

Example: {@code 0.0.0.0/0} * @@ -41,8 +41,8 @@ Example: {@code 0.0.0.0/0} *

Allowed values: *

- * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: {@code 192.168.1.0/24} -* or {@code 2001:0db8:0123:45::/56}. If you set this to an IPv6 CIDR, the route rule's target + * IP address range in CIDR notation. Can be an IPv4 CIDR block or IPv6 prefix. For example: {@code 192.168.1.0/24} +* or {@code 2001:0db8:0123:45::/56}. If you set this to an IPv6 prefix, the route rule's target * can only be a DRG or internet gateway. * IPv6 addressing is supported for all commercial and government regions. * See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). @@ -71,16 +71,6 @@ Allowed values: * */ "networkEntityId": string; - /** - * An optional description of your choice for the rule. - * - */ - "description"?: string; - /** - * A route rule can be STATIC if manually added to the route table, LOCAL if added by OCI to the route table. - * - */ - "routeType"?: RouteRule.RouteType; } export namespace RouteRule { @@ -94,16 +84,6 @@ export namespace RouteRule { UnknownValue = "UNKNOWN_VALUE" } - export enum RouteType { - Static = "STATIC", - Local = "LOCAL", - /** - * 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: RouteRule): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/vnmonitoring/lib/model/security-action.ts b/lib/vnmonitoring/lib/model/security-action.ts index 926d2fb803..fdbd3c40f5 100644 --- a/lib/vnmonitoring/lib/model/security-action.ts +++ b/lib/vnmonitoring/lib/model/security-action.ts @@ -49,11 +49,46 @@ export namespace SecurityAction { (jsonObj), true ); + case "ZPR_MISSING_POLICY": + return model.ZprMissingPolicySecurityAction.getJsonObj( + (jsonObj), + true + ); + case "ZPR_DENIED": + return model.ZprDeniedSecurityAction.getJsonObj( + (jsonObj), + true + ); + case "ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE": + return model.ZprPolicyNotEvaluatedMissingRouteSecurityAction.getJsonObj( + (jsonObj), + true + ); + case "ZPR_NSG_UNSUPPORTED": + return model.ZprNsgUnsupportedSecurityAction.getJsonObj( + (jsonObj), + true + ); + case "ZPR_ALLOWED": + return model.ZprAllowedSecurityAction.getJsonObj( + (jsonObj), + true + ); case "DENIED": return model.DeniedSecurityAction.getJsonObj( (jsonObj), true ); + case "ZPR_CIDR_UNSUPPORTED": + return model.ZprCidrUnsupportedSecurityAction.getJsonObj( + (jsonObj), + true + ); + case "ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED": + return model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.action}`); } @@ -70,11 +105,46 @@ export namespace SecurityAction { (jsonObj), true ); + case "ZPR_MISSING_POLICY": + return model.ZprMissingPolicySecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ZPR_DENIED": + return model.ZprDeniedSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE": + return model.ZprPolicyNotEvaluatedMissingRouteSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ZPR_NSG_UNSUPPORTED": + return model.ZprNsgUnsupportedSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ZPR_ALLOWED": + return model.ZprAllowedSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); case "DENIED": return model.DeniedSecurityAction.getDeserializedJsonObj( (jsonObj), true ); + case "ZPR_CIDR_UNSUPPORTED": + return model.ZprCidrUnsupportedSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED": + return model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.action}`); } diff --git a/lib/vnmonitoring/lib/model/service-gateway.ts b/lib/vnmonitoring/lib/model/service-gateway.ts index fe22534d86..86dc2e7ec1 100644 --- a/lib/vnmonitoring/lib/model/service-gateway.ts +++ b/lib/vnmonitoring/lib/model/service-gateway.ts @@ -19,10 +19,10 @@ import common = require("oci-common"); /** * Represents a router that lets your VCN privately access specific Oracle services such as Object * Storage without exposing the VCN to the public internet. Traffic leaving the VCN and destined -* for a supported Oracle service (see {@link #listServices(ListServicesRequest) listServices}) is -* routed through the service gateway and does not traverse the internet. The instances in the VCN -* do not need to have public IP addresses nor be in a public subnet. The VCN does not need an internet gateway -* for this traffic. For more information, see +* for a supported Oracle service (use the {@link #listServices(ListServicesRequest) listServices} operation to +* find available service CIDR labels) is routed through the service gateway and does not traverse the internet. +* The instances in the VCN do not need to have public IP addresses nor be in a public subnet. The VCN does not +* need an internet gateway for this traffic. For more information, see * [Access to Oracle Services: Service Gateway](https://docs.oracle.com/iaas/Content/Network/Tasks/servicegateway.htm). *

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, @@ -72,13 +72,6 @@ Example: {@code true} * The service gateway's current state. */ "lifecycleState": ServiceGateway.LifecycleState; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway is using. - * For information about why you would associate a route table with a service gateway, see - * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). - * - */ - "routeTableId"?: string; /** * List of the {@link Service} objects enabled for this service gateway. * The list can be empty. You can enable a particular {@code Service} by using diff --git a/lib/vnmonitoring/lib/model/change-subnet-compartment-details.ts b/lib/vnmonitoring/lib/model/set-drg-peering-connection-details.ts similarity index 66% rename from lib/vnmonitoring/lib/model/change-subnet-compartment-details.ts rename to lib/vnmonitoring/lib/model/set-drg-peering-connection-details.ts index b7d1b1464b..257f9b7e40 100644 --- a/lib/vnmonitoring/lib/model/change-subnet-compartment-details.ts +++ b/lib/vnmonitoring/lib/model/set-drg-peering-connection-details.ts @@ -16,25 +16,32 @@ documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Conte import * as model from "../model"; import common = require("oci-common"); -/** - * The configuration details for the move operation. - */ -export interface ChangeSubnetCompartmentDetails { +export interface SetDrgPeeringConnectionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. + */ + "drgId": string; + /** + * The string in the form ASN:rpc_attachment_mplsLabel. + */ + "peerRpcRouteTarget": string; + /** + * OCI region name to include in the routeData + */ + "peerRegionName": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the - * subnet to. - * + * ingress VIP of the peered DRG */ - "compartmentId": string; + "peerIngressVIP"?: string; } -export namespace ChangeSubnetCompartmentDetails { - export function getJsonObj(obj: ChangeSubnetCompartmentDetails): object { +export namespace SetDrgPeeringConnectionDetails { + export function getJsonObj(obj: SetDrgPeeringConnectionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: ChangeSubnetCompartmentDetails): object { + export function getDeserializedJsonObj(obj: SetDrgPeeringConnectionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/stateful-zpr-configuration.ts b/lib/vnmonitoring/lib/model/stateful-zpr-configuration.ts new file mode 100644 index 0000000000..b30ff3056c --- /dev/null +++ b/lib/vnmonitoring/lib/model/stateful-zpr-configuration.ts @@ -0,0 +1,62 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the stateful zpr configuration that allowed the traffic. + * + */ +export interface StatefulZprConfiguration extends model.AllowedSecurityConfiguration { + "zprPolicy": model.ZprPolicy; + + "type": string; +} + +export namespace StatefulZprConfiguration { + export function getJsonObj(obj: StatefulZprConfiguration, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AllowedSecurityConfiguration.getJsonObj(obj) as StatefulZprConfiguration)), + ...{ + "zprPolicy": obj.zprPolicy ? model.ZprPolicy.getJsonObj(obj.zprPolicy) : undefined + } + }; + + return jsonObj; + } + export const type = "STATEFUL_ZPR"; + export function getDeserializedJsonObj( + obj: StatefulZprConfiguration, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AllowedSecurityConfiguration.getDeserializedJsonObj( + obj + ) as StatefulZprConfiguration)), + ...{ + "zprPolicy": obj.zprPolicy + ? model.ZprPolicy.getDeserializedJsonObj(obj.zprPolicy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/subnet-topology.ts b/lib/vnmonitoring/lib/model/subnet-topology.ts index 3a6ef69d04..efcc046da9 100644 --- a/lib/vnmonitoring/lib/model/subnet-topology.ts +++ b/lib/vnmonitoring/lib/model/subnet-topology.ts @@ -18,6 +18,9 @@ import common = require("oci-common"); /** * Defines the visualization of a subnet in a VCN. + * See [Network Visualizer Documentation](https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including + * conventions and pictures of symbols. + * */ export interface SubnetTopology extends model.Topology { /** diff --git a/lib/vnmonitoring/lib/model/subnet.ts b/lib/vnmonitoring/lib/model/subnet.ts index 3c4d4281c0..ff1ed42f43 100644 --- a/lib/vnmonitoring/lib/model/subnet.ts +++ b/lib/vnmonitoring/lib/model/subnet.ts @@ -30,13 +30,12 @@ To use any of the API operations, you must be authorized in an IAM policy. If yo */ export interface Subnet { /** - * The subnet's availability domain. This attribute will be null if this is a regional subnet -* instead of an AD-specific subnet. Oracle recommends creating regional subnets. + * The subnet's availability domain. *

Example: {@code Uocm:PHX-AD-1} * */ - "availabilityDomain"?: string; + "availabilityDomain": string; /** * The subnet's CIDR block. *

@@ -93,18 +92,24 @@ Example: {@code subnet123} */ "id": string; /** - * For an IPv6-enabled subnet, this is the IPv6 CIDR block for the subnet's IP address space. -* The subnet size is always /64. See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * For an IPv6-enabled subnet, this is the IPv6 prefix for the subnet's private IP address +* space. The subnet size is always /64. IPv6 addressing is supported for all commercial and government regions. +* See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). *

Example: {@code 2001:0db8:0123:1111::/64} * */ "ipv6CidrBlock"?: string; /** - * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet. - * - */ - "ipv6CidrBlocks"?: Array; + * For an IPv6-enabled subnet, this is the IPv6 prefix for the subnet's public IP address +* space. The subnet size is always /64. The left 48 bits are inherited from the +* {@code ipv6PublicCidrBlock} of the {@link Vcn}, +* and the remaining 16 bits are from the subnet's {@code ipv6CidrBlock}. +*

+Example: {@code 2001:0db8:0123:1111::/64} +* + */ + "ipv6PublicCidrBlock"?: string; /** * For an IPv6-enabled subnet, this is the IPv6 address of the virtual router. *

@@ -116,23 +121,6 @@ Example: {@code 2001:0db8:0123:1111:89ab:cdef:1234:5678} * The subnet's current state. */ "lifecycleState": Subnet.LifecycleState; - /** - * Whether to disallow ingress internet traffic to VNICs within this subnet. Defaults to false. -*

-For IPV4, {@code prohibitInternetIngress} behaves similarly to {@code prohibitPublicIpOnVnic}. -* If it is set to false, VNICs created in this subnet will automatically be assigned public IP -* addresses unless specified otherwise during instance launch or VNIC creation (with the {@code assignPublicIp} -* flag in {@link CreateVnicDetails}). -* If {@code prohibitInternetIngress} is set to true, VNICs created in this subnet cannot have public IP addresses -* (that is, it's a privatesubnet). -*

-For IPv6, if {@code prohibitInternetIngress} is set to {@code true}, internet access is not allowed for any -* IPv6s assigned to VNICs in the subnet. Otherwise, ingress internet traffic is allowed by default. -*

-Example: {@code true} -* - */ - "prohibitInternetIngress"?: boolean; /** * Whether VNICs within this subnet can have public IP addresses. * Defaults to false, which means VNICs created in this subnet will @@ -203,7 +191,6 @@ export namespace Subnet { Available = "AVAILABLE", Terminating = "TERMINATING", Terminated = "TERMINATED", - 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/vnmonitoring/lib/model/traffic-node.ts b/lib/vnmonitoring/lib/model/traffic-node.ts index c64d903d09..6d50527c23 100644 --- a/lib/vnmonitoring/lib/model/traffic-node.ts +++ b/lib/vnmonitoring/lib/model/traffic-node.ts @@ -26,8 +26,46 @@ export interface TrafficNode { | model.NoRouteRoutingAction | model.IndeterminateRoutingAction | model.ForwardedRoutingAction; - "egressSecurityAction"?: model.AllowedSecurityAction | model.DeniedSecurityAction; - "ingressSecurityAction"?: model.AllowedSecurityAction | model.DeniedSecurityAction; + "egressSecurityAction"?: + | model.AllowedSecurityAction + | model.ZprMissingPolicySecurityAction + | model.ZprDeniedSecurityAction + | model.ZprPolicyNotEvaluatedMissingRouteSecurityAction + | model.ZprNsgUnsupportedSecurityAction + | model.ZprAllowedSecurityAction + | model.DeniedSecurityAction + | model.ZprCidrUnsupportedSecurityAction + | model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction; + "ingressSecurityAction"?: + | model.AllowedSecurityAction + | model.ZprMissingPolicySecurityAction + | model.ZprDeniedSecurityAction + | model.ZprPolicyNotEvaluatedMissingRouteSecurityAction + | model.ZprNsgUnsupportedSecurityAction + | model.ZprAllowedSecurityAction + | model.DeniedSecurityAction + | model.ZprCidrUnsupportedSecurityAction + | model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction; + "zprEgressSecurityAction"?: + | model.AllowedSecurityAction + | model.ZprMissingPolicySecurityAction + | model.ZprDeniedSecurityAction + | model.ZprPolicyNotEvaluatedMissingRouteSecurityAction + | model.ZprNsgUnsupportedSecurityAction + | model.ZprAllowedSecurityAction + | model.DeniedSecurityAction + | model.ZprCidrUnsupportedSecurityAction + | model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction; + "zprIngressSecurityAction"?: + | model.AllowedSecurityAction + | model.ZprMissingPolicySecurityAction + | model.ZprDeniedSecurityAction + | model.ZprPolicyNotEvaluatedMissingRouteSecurityAction + | model.ZprNsgUnsupportedSecurityAction + | model.ZprAllowedSecurityAction + | model.DeniedSecurityAction + | model.ZprCidrUnsupportedSecurityAction + | model.ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction; "type": string; } @@ -48,6 +86,12 @@ export namespace TrafficNode { : undefined, "ingressSecurityAction": obj.ingressSecurityAction ? model.SecurityAction.getJsonObj(obj.ingressSecurityAction) + : undefined, + "zprEgressSecurityAction": obj.zprEgressSecurityAction + ? model.SecurityAction.getJsonObj(obj.zprEgressSecurityAction) + : undefined, + "zprIngressSecurityAction": obj.zprIngressSecurityAction + ? model.SecurityAction.getJsonObj(obj.zprIngressSecurityAction) : undefined } }; @@ -85,6 +129,12 @@ export namespace TrafficNode { : undefined, "ingressSecurityAction": obj.ingressSecurityAction ? model.SecurityAction.getDeserializedJsonObj(obj.ingressSecurityAction) + : undefined, + "zprEgressSecurityAction": obj.zprEgressSecurityAction + ? model.SecurityAction.getDeserializedJsonObj(obj.zprEgressSecurityAction) + : undefined, + "zprIngressSecurityAction": obj.zprIngressSecurityAction + ? model.SecurityAction.getDeserializedJsonObj(obj.zprIngressSecurityAction) : undefined } }; diff --git a/lib/vnmonitoring/lib/model/tunnel-config.ts b/lib/vnmonitoring/lib/model/tunnel-config.ts index 7ef34f4224..b66492abc0 100644 --- a/lib/vnmonitoring/lib/model/tunnel-config.ts +++ b/lib/vnmonitoring/lib/model/tunnel-config.ts @@ -17,10 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Deprecated. For tunnel information, instead see: - *

- * {@link IPSecConnectionTunnel} - * * {@link IPSecConnectionTunnelSharedSecret} + * Specific connection details for an IPSec tunnel. * */ export interface TunnelConfig { diff --git a/lib/vnmonitoring/lib/model/tunnel-cpe-device-config.ts b/lib/vnmonitoring/lib/model/tunnel-cpe-device-config.ts deleted file mode 100644 index 26cde6e3b6..0000000000 --- a/lib/vnmonitoring/lib/model/tunnel-cpe-device-config.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 set of CPE configuration answers for the tunnel, which the customer provides in -* {@link #updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest) updateTunnelCpeDeviceConfig}. -* The answers correlate to the questions that are specific to the CPE device type (see the -* {@code parameters} attribute of {@link CpeDeviceShapeDetail}). -*

-See these related operations: -*

- * {@link #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} -* * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} -* * {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} -* * {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} -* -*/ -export interface TunnelCpeDeviceConfig { - "tunnelCpeDeviceConfigParameter"?: Array; -} - -export namespace TunnelCpeDeviceConfig { - export function getJsonObj(obj: TunnelCpeDeviceConfig): object { - const jsonObj = { - ...obj, - ...{ - "tunnelCpeDeviceConfigParameter": obj.tunnelCpeDeviceConfigParameter - ? obj.tunnelCpeDeviceConfigParameter.map(item => { - return model.CpeDeviceConfigAnswer.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TunnelCpeDeviceConfig): object { - const jsonObj = { - ...obj, - ...{ - "tunnelCpeDeviceConfigParameter": obj.tunnelCpeDeviceConfigParameter - ? obj.tunnelCpeDeviceConfigParameter.map(item => { - return model.CpeDeviceConfigAnswer.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/tunnel-phase-one-details.ts b/lib/vnmonitoring/lib/model/tunnel-phase-one-details.ts deleted file mode 100644 index 5d141ad0b1..0000000000 --- a/lib/vnmonitoring/lib/model/tunnel-phase-one-details.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * IPSec tunnel details specific to ISAKMP phase one. - */ -export interface TunnelPhaseOneDetails { - /** - * Indicates whether custom phase one configuration is enabled. - * If this option is not enabled, default settings are proposed. - * - */ - "isCustomPhaseOneConfig"?: boolean; - /** - * The total configured lifetime of the IKE security association. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "lifetime"?: number; - /** - * The remaining lifetime before the key is refreshed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "remainingLifetime"?: number; - /** - * The proposed custom authentication algorithm. - */ - "customAuthenticationAlgorithm"?: string; - /** - * The negotiated authentication algorithm. - */ - "negotiatedAuthenticationAlgorithm"?: string; - /** - * The proposed custom encryption algorithm. - */ - "customEncryptionAlgorithm"?: string; - /** - * The negotiated encryption algorithm. - */ - "negotiatedEncryptionAlgorithm"?: string; - /** - * The proposed custom Diffie-Hellman group. - */ - "customDhGroup"?: string; - /** - * The negotiated Diffie-Hellman group. - */ - "negotiatedDhGroup"?: string; - /** - * Indicates whether IKE phase one is established. - */ - "isIkeEstablished"?: boolean; - /** - * The date and time we retrieved the remaining lifetime, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "remainingLifetimeLastRetrieved"?: Date; -} - -export namespace TunnelPhaseOneDetails { - export function getJsonObj(obj: TunnelPhaseOneDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TunnelPhaseOneDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/tunnel-phase-two-details.ts b/lib/vnmonitoring/lib/model/tunnel-phase-two-details.ts deleted file mode 100644 index 4a319b35f8..0000000000 --- a/lib/vnmonitoring/lib/model/tunnel-phase-two-details.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * IPsec tunnel detail information specific to phase two. - */ -export interface TunnelPhaseTwoDetails { - /** - * Indicates whether custom phase two configuration is enabled. - * If this option is not enabled, default settings are proposed. - * - */ - "isCustomPhaseTwoConfig"?: boolean; - /** - * The total configured lifetime of the IKE security association. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "lifetime"?: number; - /** - * The remaining lifetime before the key is refreshed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "remainingLifetime"?: number; - /** - * Phase two authentication algorithm proposed during tunnel negotiation. - * - */ - "customAuthenticationAlgorithm"?: string; - /** - * The negotiated phase two authentication algorithm. - */ - "negotiatedAuthenticationAlgorithm"?: string; - /** - * The proposed custom phase two encryption algorithm. - * - */ - "customEncryptionAlgorithm"?: string; - /** - * The negotiated encryption algorithm. - */ - "negotiatedEncryptionAlgorithm"?: string; - /** - * The proposed Diffie-Hellman group. - * - */ - "dhGroup"?: string; - /** - * The negotiated Diffie-Hellman group. - */ - "negotiatedDhGroup"?: string; - /** - * Indicates that ESP phase two is established. - */ - "isEspEstablished"?: boolean; - /** - * Indicates that PFS (perfect forward secrecy) is enabled. - */ - "isPfsEnabled"?: boolean; - /** - * The date and time the remaining lifetime was last retrieved, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "remainingLifetimeLastRetrieved"?: Date; -} - -export namespace TunnelPhaseTwoDetails { - export function getJsonObj(obj: TunnelPhaseTwoDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TunnelPhaseTwoDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/tunnel-security-association-summary.ts b/lib/vnmonitoring/lib/model/tunnel-security-association-summary.ts deleted file mode 100644 index 86f6433cdb..0000000000 --- a/lib/vnmonitoring/lib/model/tunnel-security-association-summary.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * A summary of the IPSec tunnel security association details. - * - */ -export interface TunnelSecurityAssociationSummary { - /** - * The IP address and mask of the partner subnet used in policy based VPNs or static routes. - */ - "cpeSubnet"?: string; - /** - * The IP address and mask of the local subnet used in policy based VPNs or static routes. - */ - "oracleSubnet"?: string; - /** - * The IPSec tunnel's phase one status. - */ - "tunnelSaStatus"?: TunnelSecurityAssociationSummary.TunnelSaStatus; - /** - * Current state if the IPSec tunnel status is not {@code UP}, including phase one and phase two details and a possible reason the tunnel is not {@code UP}. - * - */ - "tunnelSaErrorInfo"?: string; - /** - * Time in the current state, in seconds. - */ - "time"?: string; -} - -export namespace TunnelSecurityAssociationSummary { - export enum TunnelSaStatus { - Initiating = "INITIATING", - Listening = "LISTENING", - Up = "UP", - Down = "DOWN", - Error = "ERROR", - 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: TunnelSecurityAssociationSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TunnelSecurityAssociationSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/tunnel-status.ts b/lib/vnmonitoring/lib/model/tunnel-status.ts index 68b64f345a..e779e2e89b 100644 --- a/lib/vnmonitoring/lib/model/tunnel-status.ts +++ b/lib/vnmonitoring/lib/model/tunnel-status.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Deprecated. For tunnel information, instead see {@link IPSecConnectionTunnel}. + * Specific connection details for an IPSec tunnel. * */ export interface TunnelStatus { @@ -53,7 +53,6 @@ export namespace TunnelStatus { Up = "UP", Down = "DOWN", DownForMaintenance = "DOWN_FOR_MAINTENANCE", - PartialUp = "PARTIAL_UP", /** * 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/vnmonitoring/lib/model/update-byoip-range-details.ts b/lib/vnmonitoring/lib/model/update-byoip-range-details.ts deleted file mode 100644 index d565fffafa..0000000000 --- a/lib/vnmonitoring/lib/model/update-byoip-range-details.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 information used to update a {@code ByoipRange} resource. - */ -export interface UpdateByoipRangeDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; -} - -export namespace UpdateByoipRangeDetails { - export function getJsonObj(obj: UpdateByoipRangeDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateByoipRangeDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-capture-filter-details.ts b/lib/vnmonitoring/lib/model/update-capture-filter-details.ts deleted file mode 100644 index 9e516fc46a..0000000000 --- a/lib/vnmonitoring/lib/model/update-capture-filter-details.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These details can be included in a request to update a capture filter. A capture filter contains a set of rules governing what traffic a VTAP mirrors. - * - */ -export interface UpdateCaptureFilterDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * The set of rules governing what traffic a VTAP mirrors. - * - */ - "vtapCaptureFilterRules"?: Array; - /** - * The set of rules governing what traffic the Flow Log collects when creating a flow log capture filter. - * - */ - "flowLogCaptureFilterRules"?: Array; - /** - * 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 }; -} - -export namespace UpdateCaptureFilterDetails { - export function getJsonObj(obj: UpdateCaptureFilterDetails): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateCaptureFilterDetails): object { - const jsonObj = { - ...obj, - ...{ - "vtapCaptureFilterRules": obj.vtapCaptureFilterRules - ? obj.vtapCaptureFilterRules.map(item => { - return model.VtapCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined, - "flowLogCaptureFilterRules": obj.flowLogCaptureFilterRules - ? obj.flowLogCaptureFilterRules.map(item => { - return model.FlowLogCaptureFilterRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-cpe-details.ts b/lib/vnmonitoring/lib/model/update-cpe-details.ts index 491e844983..f113a85d7c 100644 --- a/lib/vnmonitoring/lib/model/update-cpe-details.ts +++ b/lib/vnmonitoring/lib/model/update-cpe-details.ts @@ -35,21 +35,6 @@ export interface UpdateCpeDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device type. You can provide -* a value if you want to generate CPE device configuration content for IPSec connections -* that use this CPE. For a list of possible values, see -* {@link #listCpeDeviceShapes(ListCpeDeviceShapesRequest) listCpeDeviceShapes}. -*

-For more information about generating CPE device configuration content, see: -*

- * {@link #getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest) getCpeDeviceConfigContent} -* * {@link #getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest) getIpsecCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest) getTunnelCpeDeviceConfigContent} -* * {@link #getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest) getTunnelCpeDeviceConfig} -* - */ - "cpeDeviceShapeId"?: string; } export namespace UpdateCpeDetails { diff --git a/lib/vnmonitoring/lib/model/update-cross-connect-details.ts b/lib/vnmonitoring/lib/model/update-cross-connect-details.ts index a4805ea061..fc3e815c76 100644 --- a/lib/vnmonitoring/lib/model/update-cross-connect-details.ts +++ b/lib/vnmonitoring/lib/model/update-cross-connect-details.ts @@ -21,24 +21,12 @@ import common = require("oci-common"); * */ export interface UpdateCrossConnectDetails { - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * Set to true to activate the cross-connect. You activate it after the physical cabling * is complete, and you've confirmed the cross-connect's light levels are good and your side @@ -48,36 +36,16 @@ Example: {@code true} * */ "isActive"?: boolean; - /** - * A reference name or identifier for the physical fiber connection this cross-connect uses. - * - */ - "customerReferenceName"?: string; - "macsecProperties"?: model.UpdateMacsecProperties; } export namespace UpdateCrossConnectDetails { export function getJsonObj(obj: UpdateCrossConnectDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.UpdateMacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateCrossConnectDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.UpdateMacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/update-cross-connect-group-details.ts b/lib/vnmonitoring/lib/model/update-cross-connect-group-details.ts index 08e5624052..fe13565542 100644 --- a/lib/vnmonitoring/lib/model/update-cross-connect-group-details.ts +++ b/lib/vnmonitoring/lib/model/update-cross-connect-group-details.ts @@ -17,54 +17,22 @@ import * as model from "../model"; import common = require("oci-common"); export interface UpdateCrossConnectGroupDetails { - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * A reference name or identifier for the physical fiber connection this cross-connect group uses. - * - */ - "customerReferenceName"?: string; - /** - * 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 }; - "macsecProperties"?: model.UpdateMacsecProperties; } export namespace UpdateCrossConnectGroupDetails { export function getJsonObj(obj: UpdateCrossConnectGroupDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.UpdateMacsecProperties.getJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateCrossConnectGroupDetails): object { - const jsonObj = { - ...obj, - ...{ - "macsecProperties": obj.macsecProperties - ? model.UpdateMacsecProperties.getDeserializedJsonObj(obj.macsecProperties) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/update-dhcp-details.ts b/lib/vnmonitoring/lib/model/update-dhcp-details.ts index 00bf28548b..7901c687ae 100644 --- a/lib/vnmonitoring/lib/model/update-dhcp-details.ts +++ b/lib/vnmonitoring/lib/model/update-dhcp-details.ts @@ -36,19 +36,9 @@ export interface UpdateDhcpDetails { */ "freeformTags"?: { [key: string]: string }; "options"?: Array; - /** - * The search domain name type of DHCP options - */ - "domainNameType"?: UpdateDhcpDetails.DomainNameType; } export namespace UpdateDhcpDetails { - export enum DomainNameType { - SubnetDomain = "SUBNET_DOMAIN", - VcnDomain = "VCN_DOMAIN", - CustomDomain = "CUSTOM_DOMAIN" - } - export function getJsonObj(obj: UpdateDhcpDetails): object { const jsonObj = { ...obj, diff --git a/lib/vnmonitoring/lib/model/update-drg-attachment-details.ts b/lib/vnmonitoring/lib/model/update-drg-attachment-details.ts index e75a8c592b..d4d880857c 100644 --- a/lib/vnmonitoring/lib/model/update-drg-attachment-details.ts +++ b/lib/vnmonitoring/lib/model/update-drg-attachment-details.ts @@ -33,7 +33,11 @@ You can't remove a DRG route table from a DRG attachment, but you can reassign w * */ "drgRouteTableId"?: string; - "networkDetails"?: model.VcnDrgAttachmentNetworkUpdateDetails; + "networkDetails"?: + | model.InternetDrgAttachmentNetworkUpdateDetails + | model.VirtualCircuitDrgAttachmentNetworkUpdateDetails + | model.LoopbackDrgAttachmentNetworkUpdateDetails + | model.VcnDrgAttachmentNetworkUpdateDetails; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} @@ -53,16 +57,6 @@ You can't remove a DRG route table from a DRG attachment, but you can reassign w * */ "exportDrgRouteDistributionId"?: string; - /** - * This is the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment. -*

-For information about why you would associate a route table with a DRG attachment, see: -*

- * [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) -* * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) -* - */ - "routeTableId"?: string; } export namespace UpdateDrgAttachmentDetails { diff --git a/lib/vnmonitoring/lib/model/update-drg-route-rule-details.ts b/lib/vnmonitoring/lib/model/update-drg-route-rule-details.ts index b3a68669cc..d9af9f938a 100644 --- a/lib/vnmonitoring/lib/model/update-drg-route-rule-details.ts +++ b/lib/vnmonitoring/lib/model/update-drg-route-rule-details.ts @@ -30,7 +30,7 @@ export interface UpdateDrgRouteRuleDetails { * The range of IP addresses used for matching when routing traffic. *

Potential values: -* * IP address range in CIDR notation. Can be an IPv4 or IPv6 CIDR. For example: {@code 192.168.1.0/24} +* * IP address range in CIDR notation. Can be an IPv4 CIDR block or IPv6 prefix. For example: {@code 192.168.1.0/24} * or {@code 2001:0db8:0123:45::/56}. * */ diff --git a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel-error-details.ts b/lib/vnmonitoring/lib/model/update-flex-tunnel-bgp-session-details.ts similarity index 58% rename from lib/vnmonitoring/lib/model/i-psec-connection-tunnel-error-details.ts rename to lib/vnmonitoring/lib/model/update-flex-tunnel-bgp-session-details.ts index 324df9681f..ab8fd9cd42 100644 --- a/lib/vnmonitoring/lib/model/i-psec-connection-tunnel-error-details.ts +++ b/lib/vnmonitoring/lib/model/update-flex-tunnel-bgp-session-details.ts @@ -17,42 +17,38 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details for an error on an IPSec tunnel. + * Boarder Gateway Protocol (BGP) fields */ -export interface IPSecConnectionTunnelErrorDetails { +export interface UpdateFlexTunnelBgpSessionDetails { /** - * Unique ID generated for each error report. + * The BGP ASN of the network on your end of the BGP session. */ - "id": string; + "customerBgpAsn"?: string; /** - * Unique code describes the error type. + * This IPv4 CIDR block is for your end of the inside tunnel interface. */ - "errorCode": string; + "customerBgpIp"?: string; /** - * A detailed description of the error. + * The IPv4 CIDR block for the Oracle end of the inside tunnel interface. */ - "errorDescription": string; + "oracleBgpIp"?: string; /** - * Resolution for the error. + * The IPv6 prefix for your end of the inside tunnel interface. */ - "solution": string; + "customerBgpIpv6"?: string; /** - * Link to more Oracle resources or relevant documentation. + * The IPv6 prefix for the Oracle end of the inside tunnel interface. */ - "ociResourcesLink": string; - /** - * Timestamp when the error occurred. - */ - "timestamp": Date; + "oracleBgpIpv6"?: string; } -export namespace IPSecConnectionTunnelErrorDetails { - export function getJsonObj(obj: IPSecConnectionTunnelErrorDetails): object { +export namespace UpdateFlexTunnelBgpSessionDetails { + export function getJsonObj(obj: UpdateFlexTunnelBgpSessionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: IPSecConnectionTunnelErrorDetails): object { + export function getDeserializedJsonObj(obj: UpdateFlexTunnelBgpSessionDetails): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/update-flex-tunnel-configuration-details.ts b/lib/vnmonitoring/lib/model/update-flex-tunnel-configuration-details.ts new file mode 100644 index 0000000000..a56bf26534 --- /dev/null +++ b/lib/vnmonitoring/lib/model/update-flex-tunnel-configuration-details.ts @@ -0,0 +1,83 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 update details for tunnel configuration. + */ +export interface UpdateFlexTunnelConfigurationDetails { + /** + * IP address of your end of the tunnel. + */ + "customerTunnelIp"?: string; + /** + * IP address of the oracle end of the tunnel. + */ + "oracleTunnelIp"?: string; + "bgpSession"?: model.UpdateFlexTunnelBgpSessionDetails; + + "tunnelType": string; +} + +export namespace UpdateFlexTunnelConfigurationDetails { + export function getJsonObj(obj: UpdateFlexTunnelConfigurationDetails): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.UpdateFlexTunnelBgpSessionDetails.getJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.UpdateGreFlexTunnelConfigurationDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateFlexTunnelConfigurationDetails): object { + const jsonObj = { + ...obj, + ...{ + "bgpSession": obj.bgpSession + ? model.UpdateFlexTunnelBgpSessionDetails.getDeserializedJsonObj(obj.bgpSession) + : undefined + } + }; + + if (obj && "tunnelType" in obj && obj.tunnelType) { + switch (obj.tunnelType) { + case "GRE": + return model.UpdateGreFlexTunnelConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.tunnelType}`); + } + } + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/create-byoip-range-details.ts b/lib/vnmonitoring/lib/model/update-flex-tunnel-details.ts similarity index 64% rename from lib/vnmonitoring/lib/model/create-byoip-range-details.ts rename to lib/vnmonitoring/lib/model/update-flex-tunnel-details.ts index 92ac83b91c..2e55563c66 100644 --- a/lib/vnmonitoring/lib/model/create-byoip-range-details.ts +++ b/lib/vnmonitoring/lib/model/update-flex-tunnel-details.ts @@ -17,53 +17,54 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information used to create a {@code ByoipRange} resource. + * These details can be included in a request to update a flex tunnel. */ -export interface CreateByoipRangeDetails { - /** - * The BYOIP CIDR block. You can assign some or all of it to a public IP pool after it is validated. - * Example: {@code 10.0.1.0/24} - * - */ - "cidrBlock"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOIP CIDR block. - * - */ - "compartmentId": string; - /** - * The BYOIPv6 CIDR block. You can assign some or all of it to a VCN after it is validated. - * - */ - "ipv6CidrBlock"?: string; - /** - * 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 } }; +export interface UpdateFlexTunnelDetails { /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; + "flexTunnelConfiguration"?: model.UpdateGreFlexTunnelConfigurationDetails; /** * 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 }; + /** + * 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 } }; } -export namespace CreateByoipRangeDetails { - export function getJsonObj(obj: CreateByoipRangeDetails): object { - const jsonObj = { ...obj, ...{} }; +export namespace UpdateFlexTunnelDetails { + export function getJsonObj(obj: UpdateFlexTunnelDetails): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.UpdateFlexTunnelConfigurationDetails.getJsonObj(obj.flexTunnelConfiguration) + : undefined + } + }; return jsonObj; } - export function getDeserializedJsonObj(obj: CreateByoipRangeDetails): object { - const jsonObj = { ...obj, ...{} }; + export function getDeserializedJsonObj(obj: UpdateFlexTunnelDetails): object { + const jsonObj = { + ...obj, + ...{ + "flexTunnelConfiguration": obj.flexTunnelConfiguration + ? model.UpdateFlexTunnelConfigurationDetails.getDeserializedJsonObj( + obj.flexTunnelConfiguration + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/vnmonitoring/lib/model/update-gre-flex-tunnel-configuration-details.ts b/lib/vnmonitoring/lib/model/update-gre-flex-tunnel-configuration-details.ts new file mode 100644 index 0000000000..62eb69f620 --- /dev/null +++ b/lib/vnmonitoring/lib/model/update-gre-flex-tunnel-configuration-details.ts @@ -0,0 +1,59 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 gre tunnel configuration update details. + */ +export interface UpdateGreFlexTunnelConfigurationDetails + extends model.UpdateFlexTunnelConfigurationDetails { + "tunnelType": string; +} + +export namespace UpdateGreFlexTunnelConfigurationDetails { + export function getJsonObj( + obj: UpdateGreFlexTunnelConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateFlexTunnelConfigurationDetails.getJsonObj( + obj + ) as UpdateGreFlexTunnelConfigurationDetails)), + ...{} + }; + + return jsonObj; + } + export const tunnelType = "GRE"; + export function getDeserializedJsonObj( + obj: UpdateGreFlexTunnelConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateFlexTunnelConfigurationDetails.getDeserializedJsonObj( + obj + ) as UpdateGreFlexTunnelConfigurationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/update-internet-gateway-details.ts b/lib/vnmonitoring/lib/model/update-internet-gateway-details.ts index 569e14b560..173736b5cc 100644 --- a/lib/vnmonitoring/lib/model/update-internet-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/update-internet-gateway-details.ts @@ -39,10 +39,6 @@ export interface UpdateInternetGatewayDetails { * Whether the gateway is enabled. */ "isEnabled"?: boolean; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. - */ - "routeTableId"?: string; } export namespace UpdateInternetGatewayDetails { diff --git a/lib/vnmonitoring/lib/model/update-ip-sec-connection-details.ts b/lib/vnmonitoring/lib/model/update-ip-sec-connection-details.ts index db8ab3f350..68603b6998 100644 --- a/lib/vnmonitoring/lib/model/update-ip-sec-connection-details.ts +++ b/lib/vnmonitoring/lib/model/update-ip-sec-connection-details.ts @@ -35,47 +35,9 @@ export interface UpdateIPSecConnectionDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * Your identifier for your CPE device. Can be either an IP address or a hostname (specifically, the -* fully qualified domain name (FQDN)). The type of identifier you provide here must correspond -* to the value for {@code cpeLocalIdentifierType}. -*

-For information about why you'd provide this value, see -* [If Your CPE Is Behind a NAT Device](https://docs.oracle.com/iaas/Content/Network/Tasks/overviewIPsec.htm#nat). -*

-Example IP address: {@code 10.0.3.3} -*

-Example hostname: {@code cpe.example.com} -* - */ - "cpeLocalIdentifier"?: string; - /** - * The type of identifier for your CPE device. The value you provide here must correspond to the value - * for {@code cpeLocalIdentifier}. - * - */ - "cpeLocalIdentifierType"?: UpdateIPSecConnectionDetails.CpeLocalIdentifierType; - /** - * Static routes to the CPE. If you provide this attribute, it replaces the entire current set of -* static routes. A static route's CIDR must not be a multicast address or class E address. -* The CIDR can be either IPv4 or IPv6. -* IPv6 addressing is supported for all commercial and government regions. -* See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -*

-Example: {@code 10.0.1.0/24} -*

-Example: {@code 2001:db8::/32} -* - */ - "staticRoutes"?: Array; } export namespace UpdateIPSecConnectionDetails { - export enum CpeLocalIdentifierType { - IpAddress = "IP_ADDRESS", - Hostname = "HOSTNAME" - } - export function getJsonObj(obj: UpdateIPSecConnectionDetails): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-details.ts b/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-details.ts deleted file mode 100644 index dc84bdaa2c..0000000000 --- a/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-details.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateIPSecConnectionTunnelDetails { - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing). - * - */ - "routing"?: UpdateIPSecConnectionTunnelDetails.Routing; - /** - * Internet Key Exchange protocol version. - * - */ - "ikeVersion"?: UpdateIPSecConnectionTunnelDetails.IkeVersion; - "bgpSessionConfig"?: model.UpdateIPSecTunnelBgpSessionDetails; - /** - * Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel. - * - */ - "oracleInitiation"?: UpdateIPSecConnectionTunnelDetails.OracleInitiation; - /** - * By default (the {@code AUTO} setting), IKE sends packets with a source and destination port set to 500, -* and when it detects that the port used to forward packets has changed (most likely because a NAT device -* is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T. -*

-The {@code ENABLED} option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets. -*

-The {@code DISABLED} option directs IKE to completely refuse to negotiate NAT-T -* even if it senses there may be a NAT device in use. -* - */ - "natTranslationEnabled"?: UpdateIPSecConnectionTunnelDetails.NatTranslationEnabled; - "phaseOneConfig"?: model.PhaseOneConfigDetails; - "phaseTwoConfig"?: model.PhaseTwoConfigDetails; - "dpdConfig"?: model.DpdConfig; - "encryptionDomainConfig"?: model.UpdateIPSecTunnelEncryptionDomainDetails; -} - -export namespace UpdateIPSecConnectionTunnelDetails { - export enum Routing { - Bgp = "BGP", - Static = "STATIC", - Policy = "POLICY" - } - - export enum IkeVersion { - V1 = "V1", - V2 = "V2" - } - - export enum OracleInitiation { - InitiatorOrResponder = "INITIATOR_OR_RESPONDER", - ResponderOnly = "RESPONDER_ONLY" - } - - export enum NatTranslationEnabled { - Enabled = "ENABLED", - Disabled = "DISABLED", - Auto = "AUTO" - } - - export function getJsonObj(obj: UpdateIPSecConnectionTunnelDetails): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionConfig": obj.bgpSessionConfig - ? model.UpdateIPSecTunnelBgpSessionDetails.getJsonObj(obj.bgpSessionConfig) - : undefined, - - "phaseOneConfig": obj.phaseOneConfig - ? model.PhaseOneConfigDetails.getJsonObj(obj.phaseOneConfig) - : undefined, - "phaseTwoConfig": obj.phaseTwoConfig - ? model.PhaseTwoConfigDetails.getJsonObj(obj.phaseTwoConfig) - : undefined, - "dpdConfig": obj.dpdConfig ? model.DpdConfig.getJsonObj(obj.dpdConfig) : undefined, - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.UpdateIPSecTunnelEncryptionDomainDetails.getJsonObj(obj.encryptionDomainConfig) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateIPSecConnectionTunnelDetails): object { - const jsonObj = { - ...obj, - ...{ - "bgpSessionConfig": obj.bgpSessionConfig - ? model.UpdateIPSecTunnelBgpSessionDetails.getDeserializedJsonObj(obj.bgpSessionConfig) - : undefined, - - "phaseOneConfig": obj.phaseOneConfig - ? model.PhaseOneConfigDetails.getDeserializedJsonObj(obj.phaseOneConfig) - : undefined, - "phaseTwoConfig": obj.phaseTwoConfig - ? model.PhaseTwoConfigDetails.getDeserializedJsonObj(obj.phaseTwoConfig) - : undefined, - "dpdConfig": obj.dpdConfig - ? model.DpdConfig.getDeserializedJsonObj(obj.dpdConfig) - : undefined, - "encryptionDomainConfig": obj.encryptionDomainConfig - ? model.UpdateIPSecTunnelEncryptionDomainDetails.getDeserializedJsonObj( - obj.encryptionDomainConfig - ) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-shared-secret-details.ts b/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-shared-secret-details.ts deleted file mode 100644 index 5143aec02f..0000000000 --- a/lib/vnmonitoring/lib/model/update-ip-sec-connection-tunnel-shared-secret-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateIPSecConnectionTunnelSharedSecretDetails { - /** - * The shared secret (pre-shared key) to use for the tunnel. Only numbers, letters, and spaces - * are allowed. - * - */ - "sharedSecret"?: string; -} - -export namespace UpdateIPSecConnectionTunnelSharedSecretDetails { - export function getJsonObj(obj: UpdateIPSecConnectionTunnelSharedSecretDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: UpdateIPSecConnectionTunnelSharedSecretDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-bgp-session-details.ts b/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-bgp-session-details.ts deleted file mode 100644 index ca6670ba04..0000000000 --- a/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-bgp-session-details.ts +++ /dev/null @@ -1,114 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateIPSecTunnelBgpSessionDetails { - /** - * The IP address for the Oracle end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) updateIPSecConnectionTunnelDetails}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP address to troubleshoot or -* monitor the tunnel. -*

-The value must be a /30 or /31. -*

-If you are switching the tunnel from using BGP dynamic routing to static routing and want -* to remove the value for {@code oracleInterfaceIp}, you can set the value to an empty string. -*

-Example: {@code 10.0.0.4/31} -* - */ - "oracleInterfaceIp"?: string; - /** - * The IP address for the CPE end of the inside tunnel interface. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link #updateIPSecConnectionTunnelDetails(UpdateIPSecConnectionTunnelDetailsRequest) updateIPSecConnectionTunnelDetails}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP address to troubleshoot or -* monitor the tunnel. -*

-The value must be a /30 or /31. -*

-If you are switching the tunnel from using BGP dynamic routing to static routing and want -* to remove the value for {@code customerInterfaceIp}, you can set the value to an empty string. -*

-Example: {@code 10.0.0.5/31} -* - */ - "customerInterfaceIp"?: string; - /** - * The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "oracleInterfaceIpv6"?: string; - /** - * The IPv6 address for the CPE end of the inside tunnel interface. This IP address is optional. -*

-If the tunnel's {@code routing} attribute is set to {@code BGP} -* (see {@link IPSecConnectionTunnel}), this IP address -* is used for the tunnel's BGP session. -*

-If {@code routing} is instead set to {@code STATIC}, you can set this IP -* address to troubleshoot or monitor the tunnel. -*

-Only subnet masks from /64 up to /127 are allowed. -*

-Example: {@code 2001:db8::1/64} -* - */ - "customerInterfaceIpv6"?: string; - /** - * The BGP ASN of the network on the CPE end of the BGP session. Can be a 2-byte or 4-byte ASN. -* Uses \"asplain\" format. -*

-If you are switching the tunnel from using BGP dynamic routing to static routing, the -* {@code customerBgpAsn} must be null. -*

-Example: {@code 12345} (2-byte) or {@code 1587232876} (4-byte) -* - */ - "customerBgpAsn"?: string; -} - -export namespace UpdateIPSecTunnelBgpSessionDetails { - export function getJsonObj(obj: UpdateIPSecTunnelBgpSessionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateIPSecTunnelBgpSessionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-encryption-domain-details.ts b/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-encryption-domain-details.ts deleted file mode 100644 index ec71f4cc6a..0000000000 --- a/lib/vnmonitoring/lib/model/update-ip-sec-tunnel-encryption-domain-details.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Request to update a multi-encryption domain policy on the IPSec tunnel. - * There can't be more than 50 security associations in use at one time. See [Encryption domain for policy-based - * tunnels](https://docs.oracle.com/iaas/Content/Network/Tasks/ipsecencryptiondomains.htm#spi_policy_based_tunnel) for more. - * - */ -export interface UpdateIPSecTunnelEncryptionDomainDetails { - /** - * Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. - */ - "oracleTrafficSelector"?: Array; - /** - * Lists IPv4 or IPv6-enabled subnets in your on-premises network. - */ - "cpeTrafficSelector"?: Array; -} - -export namespace UpdateIPSecTunnelEncryptionDomainDetails { - export function getJsonObj(obj: UpdateIPSecTunnelEncryptionDomainDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateIPSecTunnelEncryptionDomainDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-ipv6-details.ts b/lib/vnmonitoring/lib/model/update-ipv6-details.ts index b331952ad7..4f90ac98b1 100644 --- a/lib/vnmonitoring/lib/model/update-ipv6-details.ts +++ b/lib/vnmonitoring/lib/model/update-ipv6-details.ts @@ -35,6 +35,18 @@ export interface UpdateIpv6Details { * */ "freeformTags"?: { [key: string]: string }; + /** + * Whether the IPv6 can be used for internet communication. Allowed by default for an IPv6 in +* a public subnet. Never allowed for an IPv6 in a private subnet. If the value is {@code true}, the +* IPv6 uses its public IP address for internet communication. +*

+If you switch this from {@code true} to {@code false}, the {@code publicIpAddress} attribute for the IPv6 +* becomes null. +*

+Example: {@code false} +* + */ + "isInternetAccessAllowed"?: boolean; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC to reassign the IPv6 to. * The VNIC must be in the same subnet as the current VNIC. diff --git a/lib/vnmonitoring/lib/model/update-local-peering-gateway-details.ts b/lib/vnmonitoring/lib/model/update-local-peering-gateway-details.ts index c3f90079c1..b871f852d5 100644 --- a/lib/vnmonitoring/lib/model/update-local-peering-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/update-local-peering-gateway-details.ts @@ -35,14 +35,6 @@ export interface UpdateLocalPeeringGatewayDetails { * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the LPG will use. -*

-For information about why you would associate a route table with an LPG, see -* [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). -* - */ - "routeTableId"?: string; } export namespace UpdateLocalPeeringGatewayDetails { diff --git a/lib/vnmonitoring/lib/model/update-macsec-key.ts b/lib/vnmonitoring/lib/model/update-macsec-key.ts deleted file mode 100644 index 4ea4aa443d..0000000000 --- a/lib/vnmonitoring/lib/model/update-macsec-key.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * An object defining the OCID of the Secret held in Vault that represent the MACsec key. - */ -export interface UpdateMacsecKey { - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key Name (CKN) of this MACsec key. - * - */ - "connectivityAssociationNameSecretId": string; - /** - * The secret version of the connectivity association name secret in Vault. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "connectivityAssociationNameSecretVersion": number; - /** - * Secret [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity Association Key (CAK) of this MACsec key. - * - */ - "connectivityAssociationKeySecretId": string; - /** - * The secret version of the connectivityAssociationKey secret in Vault. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "connectivityAssociationKeySecretVersion": number; -} - -export namespace UpdateMacsecKey { - export function getJsonObj(obj: UpdateMacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateMacsecKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-macsec-properties.ts b/lib/vnmonitoring/lib/model/update-macsec-properties.ts deleted file mode 100644 index d489a0507e..0000000000 --- a/lib/vnmonitoring/lib/model/update-macsec-properties.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * Properties used to update MACsec settings. - */ -export interface UpdateMacsecProperties { - /** - * Indicates whether or not MACsec is enabled. - */ - "state": model.MacsecState; - "primaryKey"?: model.UpdateMacsecKey; - /** - * Type of encryption cipher suite to use for the MACsec connection. - */ - "encryptionCipher"?: model.MacsecEncryptionCipher; -} - -export namespace UpdateMacsecProperties { - export function getJsonObj(obj: UpdateMacsecProperties): object { - const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey ? model.UpdateMacsecKey.getJsonObj(obj.primaryKey) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateMacsecProperties): object { - const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey - ? model.UpdateMacsecKey.getDeserializedJsonObj(obj.primaryKey) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-nat-gateway-details.ts b/lib/vnmonitoring/lib/model/update-nat-gateway-details.ts deleted file mode 100644 index e62281229a..0000000000 --- a/lib/vnmonitoring/lib/model/update-nat-gateway-details.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateNatGatewayDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * Whether the NAT gateway blocks traffic through it. The default is {@code false}. -*

-Example: {@code true} -* - */ - "blockTraffic"?: boolean; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table used by the NAT gateway. -*

-If you don't specify a route table here, the NAT gateway is created without an associated route -* table. The Networking service does NOT automatically associate the attached VCN's default route -* table with the NAT gateway. -* - */ - "routeTableId"?: string; -} - -export namespace UpdateNatGatewayDetails { - export function getJsonObj(obj: UpdateNatGatewayDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateNatGatewayDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-path-analyzer-test-details.ts b/lib/vnmonitoring/lib/model/update-path-analyzer-test-details.ts index 492b446b2d..e41e1df764 100644 --- a/lib/vnmonitoring/lib/model/update-path-analyzer-test-details.ts +++ b/lib/vnmonitoring/lib/model/update-path-analyzer-test-details.ts @@ -35,6 +35,7 @@ export interface UpdatePathAnalyzerTestDetails { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint @@ -46,6 +47,7 @@ export interface UpdatePathAnalyzerTestDetails { | model.ComputeInstanceEndpoint | model.NetworkLoadBalancerEndpoint | model.OnPremEndpoint + | model.PrivateServiceAccessEndpoint | model.LoadBalancerEndpoint | model.VnicEndpoint | model.IpAddressEndpoint diff --git a/lib/vnmonitoring/lib/model/update-public-ip-pool-details.ts b/lib/vnmonitoring/lib/model/update-public-ip-pool-details.ts deleted file mode 100644 index 866e1d72c6..0000000000 --- a/lib/vnmonitoring/lib/model/update-public-ip-pool-details.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 data to update for a public IP pool. - */ -export interface UpdatePublicIpPoolDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; -} - -export namespace UpdatePublicIpPoolDetails { - export function getJsonObj(obj: UpdatePublicIpPoolDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdatePublicIpPoolDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-remote-peering-connection-details.ts b/lib/vnmonitoring/lib/model/update-remote-peering-connection-details.ts index 8771b744f4..dd7dbe930b 100644 --- a/lib/vnmonitoring/lib/model/update-remote-peering-connection-details.ts +++ b/lib/vnmonitoring/lib/model/update-remote-peering-connection-details.ts @@ -17,24 +17,12 @@ import * as model from "../model"; import common = require("oci-common"); export interface UpdateRemotePeeringConnectionDetails { - /** - * 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 } }; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; } export namespace UpdateRemotePeeringConnectionDetails { diff --git a/lib/vnmonitoring/lib/model/update-service-gateway-details.ts b/lib/vnmonitoring/lib/model/update-service-gateway-details.ts index 4fcccfbcdf..725ce54b7d 100644 --- a/lib/vnmonitoring/lib/model/update-service-gateway-details.ts +++ b/lib/vnmonitoring/lib/model/update-service-gateway-details.ts @@ -43,13 +43,6 @@ Example: {@code true} * */ "freeformTags"?: { [key: string]: string }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the service gateway will use. - * For information about why you would associate a route table with a service gateway, see - * [Transit Routing: Private Access to Oracle Services](https://docs.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). - * - */ - "routeTableId"?: string; /** * List of all the {@code Service} objects you want enabled on this service gateway. Sending an empty list * means you want to disable all services. Omitting this parameter entirely keeps the diff --git a/lib/vnmonitoring/lib/model/update-subnet-details.ts b/lib/vnmonitoring/lib/model/update-subnet-details.ts index 9388e5abd4..4a1ab8d4fa 100644 --- a/lib/vnmonitoring/lib/model/update-subnet-details.ts +++ b/lib/vnmonitoring/lib/model/update-subnet-details.ts @@ -53,42 +53,6 @@ export interface UpdateSubnetDetails { * */ "securityListIds"?: Array; - /** - * The CIDR block of the subnet. The new CIDR block must meet the following criteria: -*

-- Must be valid. -* - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges. -* - The old and new CIDR block ranges must use the same network address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. -* - Must contain all IP addresses in use in the old CIDR range. -* - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range. -*

-**Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress. -*

-Example: {@code 172.16.0.0/16} -* - */ - "cidrBlock"?: string; - /** - * This is the IPv6 CIDR block for the subnet's IP address space. -* The subnet size is always /64. -* See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). -* The provided CIDR must maintain the following rules - -*

-a. The IPv6 CIDR block is valid and correctly formatted. -* b. The IPv6 CIDR is within the parent VCN IPv6 range. -*

-Example: {@code 2001:0db8:0123:1111::/64} -* - */ - "ipv6CidrBlock"?: string; - /** - * The list of all IPv6 CIDR blocks (Oracle allocated IPv6 GUA, ULA or private IPv6 CIDR blocks, BYOIPv6 CIDR blocks) for the subnet that meets the following criteria: - * - The CIDR blocks must be valid. - * - Multiple CIDR blocks must not overlap each other or the on-premises network CIDR block. - * - The number of CIDR blocks must not exceed the limit of IPv6 CIDR blocks allowed to a subnet. - * - */ - "ipv6CidrBlocks"?: Array; } export namespace UpdateSubnetDetails { diff --git a/lib/vnmonitoring/lib/model/update-tunnel-cpe-device-config-details.ts b/lib/vnmonitoring/lib/model/update-tunnel-cpe-device-config-details.ts deleted file mode 100644 index aa74e8e479..0000000000 --- a/lib/vnmonitoring/lib/model/update-tunnel-cpe-device-config-details.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateTunnelCpeDeviceConfigDetails { - /** - * The set of configuration answers for a CPE device. - * - */ - "tunnelCpeDeviceConfig"?: Array; -} - -export namespace UpdateTunnelCpeDeviceConfigDetails { - export function getJsonObj(obj: UpdateTunnelCpeDeviceConfigDetails): object { - const jsonObj = { - ...obj, - ...{ - "tunnelCpeDeviceConfig": obj.tunnelCpeDeviceConfig - ? obj.tunnelCpeDeviceConfig.map(item => { - return model.CpeDeviceConfigAnswer.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateTunnelCpeDeviceConfigDetails): object { - const jsonObj = { - ...obj, - ...{ - "tunnelCpeDeviceConfig": obj.tunnelCpeDeviceConfig - ? obj.tunnelCpeDeviceConfig.map(item => { - return model.CpeDeviceConfigAnswer.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-virtual-circuit-details.ts b/lib/vnmonitoring/lib/model/update-virtual-circuit-details.ts index 6695f4d1c6..033956d912 100644 --- a/lib/vnmonitoring/lib/model/update-virtual-circuit-details.ts +++ b/lib/vnmonitoring/lib/model/update-virtual-circuit-details.ts @@ -35,35 +35,11 @@ The customer and provider can update different properties in the mapping * */ "crossConnectMappings"?: Array; - /** - * The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. - * Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. - * See [Route Filtering](https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. - * By default, routing information is shared for all routes in the same market. - * - */ - "routingPolicy"?: Array; - /** - * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set to {@code DISABLED} to deactivate the virtual circuit. - * - */ - "bgpAdminState"?: UpdateVirtualCircuitDetails.BgpAdminState; - /** - * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable BFD. If this is not set, the default is {@code false}. - * - */ - "isBfdEnabled"?: boolean; /** * Set to {@code true} for the virtual circuit to carry only encrypted traffic, or set to {@code false} for the virtual circuit to carry unencrypted traffic. If this is not set, the default is {@code false}. * */ "isTransportMode"?: boolean; - /** - * Deprecated. Instead use {@code customerAsn}. - * If you specify values for both, the request will be rejected. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "customerBgpAsn"?: number; /** * The BGP ASN of the network at the other end of the BGP * session from Oracle. @@ -75,29 +51,15 @@ If the BGP session is from the customer's edge router to Oracle, the If the BGP session is from the provider's edge router to Oracle, the * required value is the provider's ASN, and it can be updated only * by the provider. -*

-Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "customerAsn"?: number; - /** - * 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 } }; + "customerBgpAsn"?: number; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the {@link Drg} * that this private virtual circuit uses. @@ -117,11 +79,6 @@ To be updated only by the provider. * */ "providerState"?: UpdateVirtualCircuitDetails.ProviderState; - /** - * The service key name offered by the provider (if the customer is connecting via a provider). - * - */ - "providerServiceKeyName"?: string; /** * Provider-supplied reference information about this virtual circuit. * Relevant only if the customer is using FastConnect via a provider. @@ -130,25 +87,9 @@ To be updated only by the provider. * */ "referenceComment"?: string; - /** - * The layer 3 IP MTU to use on this virtual circuit. - */ - "ipMtu"?: model.VirtualCircuitIpMtu; } export namespace UpdateVirtualCircuitDetails { - export enum RoutingPolicy { - OracleServiceNetwork = "ORACLE_SERVICE_NETWORK", - Regional = "REGIONAL", - MarketLevel = "MARKET_LEVEL", - Global = "GLOBAL" - } - - export enum BgpAdminState { - Enabled = "ENABLED", - Disabled = "DISABLED" - } - export enum ProviderState { Active = "ACTIVE", Inactive = "INACTIVE" diff --git a/lib/vnmonitoring/lib/model/update-vlan-details.ts b/lib/vnmonitoring/lib/model/update-vlan-details.ts deleted file mode 100644 index 40e1532877..0000000000 --- a/lib/vnmonitoring/lib/model/update-vlan-details.ts +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 UpdateVlanDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * A list of the OCIDs of the network security groups (NSGs) to use with - * this VLAN. All VNICs in the VLAN will belong to these NSGs. For more - * information about NSGs, see - * {@link NetworkSecurityGroup}. - * - */ - "nsgIds"?: Array; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the VLAN will use. - * - */ - "routeTableId"?: string; - /** - * The CIDR block of the VLAN. The new CIDR block must meet the following criteria: -*

-- Must be valid. -* - The CIDR block's IP range must be completely within one of the VCN's CIDR block ranges. -* - The old and new CIDR block ranges must use the same network address. Example: {@code 10.0.0.0/25} and {@code 10.0.0.0/24}. -* - Must contain all IP addresses in use in the old CIDR range. -* - The new CIDR range's broadcast address (last IP address of CIDR range) must not be an IP address in use in the old CIDR range. -*

-**Note:** If you are changing the CIDR block, you cannot create VNICs or private IPs for this resource while the update is in progress. -* - */ - "cidrBlock"?: string; -} - -export namespace UpdateVlanDetails { - export function getJsonObj(obj: UpdateVlanDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateVlanDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/update-vnic-details.ts b/lib/vnmonitoring/lib/model/update-vnic-details.ts index 1bb852c585..73040108d2 100644 --- a/lib/vnmonitoring/lib/model/update-vnic-details.ts +++ b/lib/vnmonitoring/lib/model/update-vnic-details.ts @@ -56,27 +56,19 @@ For more information, see * A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. Setting this as * an empty array removes the VNIC from all network security groups. *

-If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of -* belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the -* VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. -*

For more information about NSGs, see * {@link NetworkSecurityGroup}. * */ "nsgIds"?: Array; /** - * Whether the source/destination check is disabled on the VNIC. -* Defaults to {@code false}, which means the check is performed. For information about why you would -* skip the source/destination check, see -* [Using a Private IP as a Route Target](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). -*

-If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of -* belonging to a subnet), the value of the {@code skipSourceDestCheck} attribute is ignored. -* This is because the source/destination check is always disabled for VNICs in a VLAN. -* Example: {@code true} -* - */ + * Whether the source/destination check is disabled on the VNIC. + * Defaults to {@code false}, which means the check is performed. For information about why you would + * skip the source/destination check, see + * [Using a Private IP as a Route Target](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). + * Example: {@code true} + * + */ "skipSourceDestCheck"?: boolean; } diff --git a/lib/vnmonitoring/lib/model/update-vtap-details.ts b/lib/vnmonitoring/lib/model/update-vtap-details.ts deleted file mode 100644 index f5cafa37fb..0000000000 --- a/lib/vnmonitoring/lib/model/update-vtap-details.ts +++ /dev/null @@ -1,144 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * These details can be included in a request to update a virtual test access point (VTAP). - */ -export interface UpdateVtapDetails { - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. - * - */ - "sourceId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. - * - */ - "targetId"?: string; - /** - * The IP address of the destination resource where mirrored packets are sent. - * - */ - "targetIp"?: string; - /** - * The capture filter's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - * - */ - "captureFilterId"?: string; - /** - * Defines an encapsulation header type for the VTAP's mirrored traffic. - * - */ - "encapsulationProtocol"?: UpdateVtapDetails.EncapsulationProtocol; - /** - * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vxlanNetworkIdentifier"?: number; - /** - * Used to start or stop a {@code Vtap} resource. - *

- * {@code TRUE} directs the VTAP to start mirroring traffic. - * * {@code FALSE} (Default) directs the VTAP to stop mirroring traffic. - * - */ - "isVtapEnabled"?: boolean; - /** - * Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT - */ - "trafficMode"?: UpdateVtapDetails.TrafficMode; - /** - * The maximum size of the packets to be included in the filter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maxPacketSize"?: number; - /** - * The IP Address of the source private endpoint. - * - */ - "sourcePrivateEndpointIp"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. - * - */ - "sourcePrivateEndpointSubnetId"?: string; - /** - * The target type for the VTAP. - * - */ - "targetType"?: UpdateVtapDetails.TargetType; - /** - * The source type for the VTAP. - * - */ - "sourceType"?: UpdateVtapDetails.SourceType; -} - -export namespace UpdateVtapDetails { - export enum EncapsulationProtocol { - Vxlan = "VXLAN" - } - - export enum TrafficMode { - Default = "DEFAULT", - Priority = "PRIORITY" - } - - export enum TargetType { - Vnic = "VNIC", - NetworkLoadBalancer = "NETWORK_LOAD_BALANCER", - IpAddress = "IP_ADDRESS" - } - - export enum SourceType { - Vnic = "VNIC", - Subnet = "SUBNET", - LoadBalancer = "LOAD_BALANCER", - DbSystem = "DB_SYSTEM", - ExadataVmCluster = "EXADATA_VM_CLUSTER", - AutonomousDataWarehouse = "AUTONOMOUS_DATA_WAREHOUSE" - } - - export function getJsonObj(obj: UpdateVtapDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateVtapDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/vcn-dns-resolver-association.ts b/lib/vnmonitoring/lib/model/vcn-dns-resolver-association.ts deleted file mode 100644 index 78f5c2e0ac..0000000000 --- a/lib/vnmonitoring/lib/model/vcn-dns-resolver-association.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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 information about the VCN and the DNS resolver in the association. - * - */ -export interface VcnDnsResolverAssociation { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN in the association. - */ - "vcnId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DNS resolver in the association. - * - */ - "dnsResolverId"?: string; - /** - * The current state of the association. - */ - "lifecycleState": VcnDnsResolverAssociation.LifecycleState; -} - -export namespace VcnDnsResolverAssociation { - export enum LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - /** - * 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: VcnDnsResolverAssociation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VcnDnsResolverAssociation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-create-details.ts index 25a2c0c041..546fbb9074 100644 --- a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-create-details.ts +++ b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-create-details.ts @@ -33,12 +33,6 @@ For information about why you would associate a route table with a DRG attachmen * */ "routeTableId"?: string; - /** - * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. - * Routes from the VCN ingress route table are always imported. - * - */ - "vcnRouteType"?: string; "type": string; } diff --git a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-details.ts index 8a3aa2609a..d2143d998b 100644 --- a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-details.ts @@ -30,27 +30,11 @@ For information about why you would associate a route table with a DRG attachmen * */ "routeTableId"?: string; - /** - * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. - * Routes from the VCN ingress route table are always imported. - * - */ - "vcnRouteType"?: VcnDrgAttachmentNetworkDetails.VcnRouteType; "type": string; } export namespace VcnDrgAttachmentNetworkDetails { - export enum VcnRouteType { - VcnCidrs = "VCN_CIDRS", - SubnetCidrs = "SUBNET_CIDRS", - /** - * 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: VcnDrgAttachmentNetworkDetails, isParentJsonObj?: boolean diff --git a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-update-details.ts b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-update-details.ts index 6dc14a1587..97d3db153d 100644 --- a/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-update-details.ts +++ b/lib/vnmonitoring/lib/model/vcn-drg-attachment-network-update-details.ts @@ -31,12 +31,6 @@ For information about why you would associate a route table with a DRG attachmen * */ "routeTableId"?: string; - /** - * Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. - * Routes from the VCN ingress route table are always imported. - * - */ - "vcnRouteType"?: string; "type": string; } diff --git a/lib/vnmonitoring/lib/model/vcn-topology.ts b/lib/vnmonitoring/lib/model/vcn-topology.ts index 7f735b0dd2..cac8af3d3c 100644 --- a/lib/vnmonitoring/lib/model/vcn-topology.ts +++ b/lib/vnmonitoring/lib/model/vcn-topology.ts @@ -18,6 +18,9 @@ import common = require("oci-common"); /** * Defines the representation of a virtual network topology for a VCN. + * See [Network Visualizer Documentation](https://docs.oracle.com/iaas/Content/Network/Concepts/network_visualizer.htm) for more information, including + * conventions and pictures of symbols. + * */ export interface VcnTopology extends model.Topology { /** diff --git a/lib/vnmonitoring/lib/model/vcn.ts b/lib/vnmonitoring/lib/model/vcn.ts index 8d22f9fb57..35245aca5d 100644 --- a/lib/vnmonitoring/lib/model/vcn.ts +++ b/lib/vnmonitoring/lib/model/vcn.ts @@ -27,27 +27,12 @@ To use any of the API operations, you must be authorized in an IAM policy. If yo */ export interface Vcn { /** - * The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges. - * - */ - "byoipv6CidrBlocks"?: Array; - /** - * For an IPv6-enabled VCN, this is the list of Private IPv6 CIDR blocks for the VCN's IP address space. - * - */ - "ipv6PrivateCidrBlocks"?: Array; - /** - * Deprecated. The first CIDR IP address from cidrBlocks. + * The CIDR block IP address of the VCN. *

Example: {@code 172.16.0.0/16} * */ "cidrBlock": string; - /** - * The list of IPv4 CIDR blocks the VCN will use. - * - */ - "cidrBlocks": Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VCN. */ @@ -105,11 +90,26 @@ Example: {@code vcn1} */ "id": string; /** - * For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address space. - * The CIDRs are provided by Oracle and the sizes are always /56. + * For an IPv6-enabled VCN, this is the IPv6 prefix for the VCN's private IP address space. + * The VCN size is always /56. Oracle + * provides the IPv6 prefix to use as the *same* CIDR for the {@code ipv6PublicCidrBlock}. + * When creating a subnet, specify the last 8 bits, 00 to FF. + * See [IPv6 Addresses](https://docs.oracle.com/iaas/Content/Network/Concepts/ipv6.htm). + * Example: {@code 2001:0db8:0123::/56} * */ - "ipv6CidrBlocks"?: Array; + "ipv6CidrBlock"?: string; + /** + * For an IPv6-enabled VCN, this is the IPv6 prefix for the VCN's public IP address space. +* The VCN size is always /56. This prefix is always provided by Oracle. If you don't provide a +* custom prefix for the {@code ipv6CidrBlock} when creating the VCN, Oracle assigns that value and also +* uses it for {@code ipv6PublicCidrBlock}. Oracle uses addresses from this block for the {@code publicIpAddress} +* attribute of an {@link Ipv6} that has internet access allowed. +*

+Example: {@code 2001:0db8:0123::/48} +* + */ + "ipv6PublicCidrBlock"?: string; /** * The VCN's current state. */ @@ -140,7 +140,6 @@ export namespace Vcn { Available = "AVAILABLE", Terminating = "TERMINATING", Terminated = "TERMINATED", - 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/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-create-details.ts b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-create-details.ts new file mode 100644 index 0000000000..3ff81ce3b7 --- /dev/null +++ b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-create-details.ts @@ -0,0 +1,119 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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 VirtualCircuitDrgAttachmentNetworkCreateDetails + extends model.DrgAttachmentNetworkCreateDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartment that contains the Virtual Circuit. + */ + "compartmentId": string; + /** + * The BGP ASN to use for the Virtual Circuit's route target + * + */ + "regionalOciAsn"?: string; + /** + * Whether the Fast Connect exists through an edge pop region. +*

+Example: {@code true} +* + */ + "isEdgePop"?: boolean; + /** + * The OCI region name + * + */ + "regionName"?: string; + /** + * Boolean flag that determines wether all traffic over the VCs is encrypted. +*

+Example: {@code true} +* + */ + "transportOnlyMode"?: boolean; + /** + * Determines Throughput capacity of Virtual Circuit. +*

+Example: {@code 400G} +* + */ + "throughput"?: VirtualCircuitDrgAttachmentNetworkCreateDetails.Throughput; + /** + * Determines whether the ingress traffic/routes through this attachment are disintermediated or not. +*

+Example: {@code true} +* + */ + "isWhitelistedForIngressDisintermediationC3"?: boolean; + + "type": string; +} + +export namespace VirtualCircuitDrgAttachmentNetworkCreateDetails { + export enum Throughput { + _100M = "100M", + _200M = "200M", + _500M = "500M", + _1G = "1G", + _2G = "2G", + _3G = "3G", + _4G = "4G", + _5G = "5G", + _10G = "10G", + _20G = "20G", + _30G = "30G", + _40G = "40G", + _50G = "50G", + _100G = "100G", + _200G = "200G", + _400G = "400G", + _500G = "500G" + } + + export function getJsonObj( + obj: VirtualCircuitDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getJsonObj( + obj + ) as VirtualCircuitDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "VIRTUAL_CIRCUIT"; + export function getDeserializedJsonObj( + obj: VirtualCircuitDrgAttachmentNetworkCreateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkCreateDetails.getDeserializedJsonObj( + obj + ) as VirtualCircuitDrgAttachmentNetworkCreateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-details.ts b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-details.ts index 3e142238ad..70e3c4c527 100644 --- a/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-details.ts +++ b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-details.ts @@ -21,6 +21,74 @@ import common = require("oci-common"); */ export interface VirtualCircuitDrgAttachmentNetworkDetails extends model.DrgAttachmentNetworkDetails { + /** + * Whether the Fast Connect is an FFAB VirtualCircuit. +*

+Example: {@code true} +* + */ + "isFFAB"?: boolean; + /** + * This indicates whether FastConnect extends through an edge POP region. +*

+Example: {@code true} +* + */ + "isEdgePop"?: boolean; + /** + * Routes which may be imported from the attachment (subject to import policy) appear in the route reflectors + * tagged with the attachment's import route target. + * + */ + "importRouteTarget"?: string; + /** + * Routes which are exported to the attachment are exported to the route reflectors + * with the route target set to the value of the attachment's export route target. + * + */ + "exportRouteTarget"?: string; + /** + * The MPLS label of the DRG attachment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mplsLabel"?: number; + /** + * The BGP ASN to use for the IPSec connection's route target. + * + */ + "regionalOciAsn"?: string; + /** + * The Oracle Cloud Infrastructure region name. + * + */ + "regionName"?: string; + /** + * Common Export route target to use for the DRG Attachment instead of per-attachment route target. + * This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for high + * throughput mode. + * + */ + "commonExportRT"?: string; + /** + * Common Import route target to use for the DRG attachment instead of per-attachment import route target. + * This is applicable to DRG attachments that are assigned to a DRG route table which is whitelisted for high + * throughput mode. + * + */ + "commonImportRT"?: string; + /** + * This indicates whether the DRG route table associated with the DRG attachment is whitelisted for High Throughput mode. +*

+Example: {@code true} +* + */ + "isIngressDisintermediationEnabled"?: boolean; + /** + * This indicates whether the DRG route table associated with the DRG attachment is whitelisted for route unification. +*

+Example: {@code true} +* + */ + "isRouteUnificationEnabled"?: boolean; /** * Boolean flag that determines wether all traffic over the virtual circuits is encrypted. *

diff --git a/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-update-details.ts b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-update-details.ts new file mode 100644 index 0000000000..4e0e47c2b9 --- /dev/null +++ b/lib/vnmonitoring/lib/model/virtual-circuit-drg-attachment-network-update-details.ts @@ -0,0 +1,91 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Specifies the update details for the virtual circuit attachment. + */ +export interface VirtualCircuitDrgAttachmentNetworkUpdateDetails + extends model.DrgAttachmentNetworkUpdateDetails { + /** + * Whether the Fast Connect is an FFAB VirtualCircuit. +*

+Example: {@code true} +* + */ + "isFFAB"?: boolean; + /** + * The BGP ASN to use for the virtual circuit's route target. + * + */ + "regionalOciAsn"?: string; + /** + * Indicates whether FastConnect extends through an edge POP region. +*

+Example: {@code true} +* + */ + "isEdgePop"?: boolean; + /** + * The OCI region name + * + */ + "regionName"?: string; + /** + * Boolean flag that determines wether all traffic over the VCs is encrypted. +*

+Example: {@code true} +* + */ + "transportOnlyMode"?: boolean; + + "type": string; +} + +export namespace VirtualCircuitDrgAttachmentNetworkUpdateDetails { + export function getJsonObj( + obj: VirtualCircuitDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getJsonObj( + obj + ) as VirtualCircuitDrgAttachmentNetworkUpdateDetails)), + ...{} + }; + + return jsonObj; + } + export const type = "VIRTUAL_CIRCUIT"; + export function getDeserializedJsonObj( + obj: VirtualCircuitDrgAttachmentNetworkUpdateDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrgAttachmentNetworkUpdateDetails.getDeserializedJsonObj( + obj + ) as VirtualCircuitDrgAttachmentNetworkUpdateDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/virtual-circuit.ts b/lib/vnmonitoring/lib/model/virtual-circuit.ts index 6480fb20c1..43dcffdcb9 100644 --- a/lib/vnmonitoring/lib/model/virtual-circuit.ts +++ b/lib/vnmonitoring/lib/model/virtual-circuit.ts @@ -49,19 +49,14 @@ Example: {@code 10 Gbps} */ "bandwidthShapeName"?: string; /** - * Deprecated. Instead use the information in - * {@link FastConnectProviderService}. + * BGP management option. * */ "bgpManagement"?: VirtualCircuit.BgpManagement; /** - * The state of the Ipv4 BGP session associated with the virtual circuit. + * The state of the BGP session associated with the virtual circuit. */ "bgpSessionState"?: VirtualCircuit.BgpSessionState; - /** - * The state of the Ipv6 BGP session associated with the virtual circuit. - */ - "bgpIpv6SessionState"?: VirtualCircuit.BgpIpv6SessionState; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the virtual circuit. */ @@ -73,63 +68,26 @@ Example: {@code 10 Gbps} * */ "crossConnectMappings"?: Array; - /** - * The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. - * Policies available are: {@code ORACLE_SERVICE_NETWORK}, {@code REGIONAL}, {@code MARKET_LEVEL}, and {@code GLOBAL}. - * See [Route Filtering](https://docs.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. - * By default, routing information is shared for all routes in the same market. - * - */ - "routingPolicy"?: Array; - /** - * Set to {@code ENABLED} (the default) to activate the BGP session of the virtual circuit, set to {@code DISABLED} to deactivate the virtual circuit. - * - */ - "bgpAdminState"?: VirtualCircuit.BgpAdminState; - /** - * Set to {@code true} to enable BFD for IPv4 BGP peering, or set to {@code false} to disable BFD. If this is not set, the default is {@code false}. - * - */ - "isBfdEnabled"?: boolean; /** * Set to {@code true} for the virtual circuit to carry only encrypted traffic, or set to {@code false} for the virtual circuit to carry unencrypted traffic. If this is not set, the default is {@code false}. * */ "isTransportMode"?: boolean; - /** - * Deprecated. Instead use {@code customerAsn}. - * If you specify values for both, the request will be rejected. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "customerBgpAsn"?: number; /** * The BGP ASN of the network at the other end of the BGP * session from Oracle. If the session is between the customer's * edge router and Oracle, the value is the customer's ASN. If the BGP * session is between the provider's edge router and Oracle, the value * is the provider's ASN. - * Can be a 2-byte or 4-byte ASN. Uses \"asplain\" format. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "customerAsn"?: number; - /** - * 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 } }; + "customerBgpAsn"?: number; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. * */ "displayName"?: string; - /** - * 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 }; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's {@link Drg} * that this virtual circuit uses. Applicable only to private virtual circuits. @@ -161,11 +119,6 @@ Example: {@code 10 Gbps} * */ "providerServiceId"?: string; - /** - * The service key name offered by the provider (if the customer is connecting via a provider). - * - */ - "providerServiceKeyName"?: string; /** * Deprecated. Instead use {@code providerServiceId}. * @@ -217,10 +170,6 @@ Example: {@code 2016-08-25T21:10:29.600Z} * */ "type"?: VirtualCircuit.Type; - /** - * The layer 3 IP MTU to use on this virtual circuit. - */ - "ipMtu"?: model.VirtualCircuitIpMtu; } export namespace VirtualCircuit { @@ -245,38 +194,6 @@ export namespace VirtualCircuit { UnknownValue = "UNKNOWN_VALUE" } - export enum BgpIpv6SessionState { - Up = "UP", - Down = "DOWN", - /** - * 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 RoutingPolicy { - OracleServiceNetwork = "ORACLE_SERVICE_NETWORK", - Regional = "REGIONAL", - MarketLevel = "MARKET_LEVEL", - Global = "GLOBAL", - /** - * 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 BgpAdminState { - 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 enum LifecycleState { PendingProvider = "PENDING_PROVIDER", Verifying = "VERIFYING", diff --git a/lib/vnmonitoring/lib/model/vlan.ts b/lib/vnmonitoring/lib/model/vlan.ts deleted file mode 100644 index 309f16588e..0000000000 --- a/lib/vnmonitoring/lib/model/vlan.ts +++ /dev/null @@ -1,135 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* A resource to be used only with the Oracle Cloud VMware Solution. -*

-Conceptually, a virtual LAN (VLAN) is a broadcast domain that is created -* by partitioning and isolating a network at the data link layer (a *layer 2 network*). -* VLANs work by using IEEE 802.1Q VLAN tags. Layer 2 traffic is forwarded within the -* VLAN based on MAC learning. -*

-In the Networking service, a VLAN is an object within a VCN. You use VLANs to -* partition the VCN at the data link layer (layer 2). A VLAN is analagous to a subnet, -* which is an object for partitioning the VCN at the IP layer (layer 3). -* -*/ -export interface Vlan { - /** - * The VLAN's availability domain. This attribute will be null if this is a regional VLAN -* rather than an AD-specific VLAN. -*

-Example: {@code Uocm:PHX-AD-1} -* - */ - "availabilityDomain"?: string; - /** - * The range of IPv4 addresses that will be used for layer 3 communication with -* hosts outside the VLAN. -*

-Example: {@code 192.168.1.0/24} -* - */ - "cidrBlock": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VLAN. - */ - "compartmentId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The VLAN's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - */ - "id": string; - /** - * The VLAN's current state. - */ - "lifecycleState": Vlan.LifecycleState; - /** - * A list of the OCIDs of the network security groups (NSGs) to use with this VLAN. - * All VNICs in the VLAN belong to these NSGs. For more - * information about NSGs, see - * {@link NetworkSecurityGroup}. - * - */ - "nsgIds"?: Array; - /** - * The IEEE 802.1Q VLAN tag of this VLAN. -*

-Example: {@code 100} -* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vlanTag"?: number; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that the VLAN uses. - */ - "routeTableId"?: string; - /** - * The date and time the VLAN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2016-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the VLAN is in. - */ - "vcnId": string; -} - -export namespace Vlan { - export enum LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - 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. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: Vlan): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Vlan): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/vnic.ts b/lib/vnmonitoring/lib/model/vnic.ts index d6d78f771c..cf7a4c94ad 100644 --- a/lib/vnmonitoring/lib/model/vnic.ts +++ b/lib/vnmonitoring/lib/model/vnic.ts @@ -30,12 +30,7 @@ Each VNIC has a *primary private IP* that is automatically assigned during launc * [IP Addresses](https://docs.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). *

-* If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs -* that reside in a VLAN instead of a subnet. These VNICs have other differences, which -* are called out in the descriptions of the relevant attributes in the {@code Vnic} object. -* Also see {@link Vlan}. -*

-To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, +* To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, * talk to an administrator. If you're an administrator who needs to write policies to give users access, see * [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). * @@ -102,10 +97,6 @@ Example: {@code bminstance1} /** * The MAC address of the VNIC. *

-If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, -* the MAC address is learned. If the VNIC belongs to a subnet, the -* MAC address is a static, Oracle-provided value. -*

Example: {@code 00:00:00:00:00:01} * */ @@ -113,22 +104,11 @@ Example: {@code 00:00:00:00:00:01} /** * A list of the OCIDs of the network security groups that the VNIC belongs to. *

-If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of -* belonging to a subnet), the value of the {@code nsgIds} attribute is ignored. Instead, the -* VNIC belongs to the NSGs that are associated with the VLAN itself. See {@link Vlan}. -*

For more information about NSGs, see * {@link NetworkSecurityGroup}. * */ "nsgIds"?: Array; - /** - * If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of - * belonging to a subnet), the {@code vlanId} is the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN the VNIC is in. See - * {@link Vlan}. If the VNIC is instead in a subnet, {@code subnetId} has a value. - * - */ - "vlanId"?: string; /** * The private IP address of the primary {@code privateIp} object on the VNIC. * The address is within the CIDR of the VNIC's subnet. @@ -149,18 +129,14 @@ Example: {@code 10.0.3.3} * [Using a Private IP as a Route Target](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip). *

-* If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of -* belonging to a subnet), the {@code skipSourceDestCheck} attribute is {@code true}. -* This is because the source/destination check is always disabled for VNICs in a VLAN. -*

-Example: {@code true} +* Example: {@code true} * */ "skipSourceDestCheck"?: boolean; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in. */ - "subnetId"?: string; + "subnetId": string; /** * The date and time the VNIC was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). *

diff --git a/lib/vnmonitoring/lib/model/vtap-capture-filter-rule-details.ts b/lib/vnmonitoring/lib/model/vtap-capture-filter-rule-details.ts deleted file mode 100644 index a1d0f21775..0000000000 --- a/lib/vnmonitoring/lib/model/vtap-capture-filter-rule-details.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** - * This resource contains the rules governing what traffic a VTAP mirrors. - * - */ -export interface VtapCaptureFilterRuleDetails { - /** - * The traffic direction the VTAP is configured to mirror. - * - */ - "trafficDirection": VtapCaptureFilterRuleDetails.TrafficDirection; - /** - * Include or exclude packets meeting this definition from mirrored traffic. - * - */ - "ruleAction"?: VtapCaptureFilterRuleDetails.RuleAction; - /** - * Traffic from this CIDR block to the VTAP source will be mirrored to the VTAP target. - * - */ - "sourceCidr"?: string; - /** - * Traffic sent to this CIDR block through the VTAP source will be mirrored to the VTAP target. - * - */ - "destinationCidr"?: string; - /** - * The transport protocol used in the filter. If do not choose a protocol, all protocols will be used in the filter. - * Supported options are: - * * 1 = ICMP - * * 6 = TCP - * * 17 = UDP - * - */ - "protocol"?: string; - "icmpOptions"?: model.IcmpOptions; - "tcpOptions"?: model.TcpOptions; - "udpOptions"?: model.UdpOptions; -} - -export namespace VtapCaptureFilterRuleDetails { - export enum TrafficDirection { - Ingress = "INGRESS", - Egress = "EGRESS", - /** - * 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 RuleAction { - Include = "INCLUDE", - Exclude = "EXCLUDE", - /** - * 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: VtapCaptureFilterRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "icmpOptions": obj.icmpOptions ? model.IcmpOptions.getJsonObj(obj.icmpOptions) : undefined, - "tcpOptions": obj.tcpOptions ? model.TcpOptions.getJsonObj(obj.tcpOptions) : undefined, - "udpOptions": obj.udpOptions ? model.UdpOptions.getJsonObj(obj.udpOptions) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VtapCaptureFilterRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "icmpOptions": obj.icmpOptions - ? model.IcmpOptions.getDeserializedJsonObj(obj.icmpOptions) - : undefined, - "tcpOptions": obj.tcpOptions - ? model.TcpOptions.getDeserializedJsonObj(obj.tcpOptions) - : undefined, - "udpOptions": obj.udpOptions - ? model.UdpOptions.getDeserializedJsonObj(obj.udpOptions) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/vtap.ts b/lib/vnmonitoring/lib/model/vtap.ts deleted file mode 100644 index 0fa6196857..0000000000 --- a/lib/vnmonitoring/lib/model/vtap.ts +++ /dev/null @@ -1,218 +0,0 @@ -/** - * Network Monitoring API - * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console -documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. - - * 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"); - -/** -* A virtual test access point (VTAP) provides a way to mirror all traffic from a designated source to a selected target in order to facilitate troubleshooting, security analysis, and data monitoring. -* A VTAP is functionally similar to a test access point (TAP) you might deploy in your on-premises network. -*

-A *{@link CaptureFilter}* contains a set of *{@link #captureFilterRuleDetails(CaptureFilterRuleDetailsRequest) captureFilterRuleDetails}* governing what traffic a VTAP mirrors. -* -*/ -export interface Vtap { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the {@code Vtap} resource. - */ - "compartmentId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN containing the {@code Vtap} resource. - */ - "vcnId": string; - /** - * 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 } }; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. - * Avoid entering confidential information. - * - */ - "displayName"?: string; - /** - * 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 }; - /** - * The VTAP's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - */ - "id": string; - /** - * The VTAP's administrative lifecycle state. - */ - "lifecycleState": Vtap.LifecycleState; - /** - * The VTAP's current running state. - */ - "lifecycleStateDetails"?: Vtap.LifecycleStateDetails; - /** - * The date and time the VTAP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). -*

-Example: {@code 2020-08-25T21:10:29.600Z} -* - */ - "timeCreated"?: Date; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source point where packets are captured. - * - */ - "sourceId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination resource where mirrored packets are sent. - * - */ - "targetId"?: string; - /** - * The IP address of the destination resource where mirrored packets are sent. - * - */ - "targetIp"?: string; - /** - * The capture filter's Oracle ID ([OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)). - * - */ - "captureFilterId": string; - /** - * Defines an encapsulation header type for the VTAP's mirrored traffic. - * - */ - "encapsulationProtocol"?: Vtap.EncapsulationProtocol; - /** - * The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "vxlanNetworkIdentifier"?: number; - /** - * Used to start or stop a {@code Vtap} resource. - *

- * {@code TRUE} directs the VTAP to start mirroring traffic. - * * {@code FALSE} (Default) directs the VTAP to stop mirroring traffic. - * - */ - "isVtapEnabled"?: boolean; - /** - * The source type for the VTAP. - * - */ - "sourceType"?: Vtap.SourceType; - /** - * Used to control the priority of traffic. It is an optional field. If it not passed, the value is DEFAULT - */ - "trafficMode"?: Vtap.TrafficMode; - /** - * The maximum size of the packets to be included in the filter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maxPacketSize"?: number; - /** - * The target type for the VTAP. - * - */ - "targetType"?: Vtap.TargetType; - /** - * The IP Address of the source private endpoint. - * - */ - "sourcePrivateEndpointIp"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet that source private endpoint belongs to. - * - */ - "sourcePrivateEndpointSubnetId"?: string; -} - -export namespace Vtap { - export enum LifecycleState { - Provisioning = "PROVISIONING", - Available = "AVAILABLE", - Updating = "UPDATING", - Terminating = "TERMINATING", - Terminated = "TERMINATED", - /** - * 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 LifecycleStateDetails { - Running = "RUNNING", - Stopped = "STOPPED", - /** - * 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 EncapsulationProtocol { - Vxlan = "VXLAN", - /** - * 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 SourceType { - Vnic = "VNIC", - Subnet = "SUBNET", - LoadBalancer = "LOAD_BALANCER", - DbSystem = "DB_SYSTEM", - ExadataVmCluster = "EXADATA_VM_CLUSTER", - AutonomousDataWarehouse = "AUTONOMOUS_DATA_WAREHOUSE", - /** - * 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 TrafficMode { - Default = "DEFAULT", - Priority = "PRIORITY", - /** - * 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 TargetType { - Vnic = "VNIC", - NetworkLoadBalancer = "NETWORK_LOAD_BALANCER", - IpAddress = "IP_ADDRESS", - /** - * 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: Vtap): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Vtap): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/vnmonitoring/lib/model/zpr-allowed-security-action-details.ts b/lib/vnmonitoring/lib/model/zpr-allowed-security-action-details.ts new file mode 100644 index 0000000000..935d498861 --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-allowed-security-action-details.ts @@ -0,0 +1,66 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines details for the security action taken on zpr allowed traffic. + * + */ +export interface ZprAllowedSecurityActionDetails { + /** + * If true, the allowed security configuration details are incomplete. + */ + "isRestrictedOrPartial": boolean; + "allowedSecurityConfiguration"?: + | model.StatefulEgressSecurityListConfiguration + | model.StatefulZprConfiguration + | model.NsgConfiguration + | model.ZprConfiguration + | model.IngressSecurityListConfiguration + | model.StatefulIngressSecurityListConfiguration + | model.EgressSecurityListConfiguration + | model.StatefulNsgConfiguration; +} + +export namespace ZprAllowedSecurityActionDetails { + export function getJsonObj(obj: ZprAllowedSecurityActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "allowedSecurityConfiguration": obj.allowedSecurityConfiguration + ? model.AllowedSecurityConfiguration.getJsonObj(obj.allowedSecurityConfiguration) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ZprAllowedSecurityActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "allowedSecurityConfiguration": obj.allowedSecurityConfiguration + ? model.AllowedSecurityConfiguration.getDeserializedJsonObj( + obj.allowedSecurityConfiguration + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/zpr-allowed-security-action.ts b/lib/vnmonitoring/lib/model/zpr-allowed-security-action.ts new file mode 100644 index 0000000000..197d072d7a --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-allowed-security-action.ts @@ -0,0 +1,64 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the security action taken on zpr allowed traffic. + * + */ +export interface ZprAllowedSecurityAction extends model.SecurityAction { + "allowedSecurityActionDetails"?: model.ZprAllowedSecurityActionDetails; + + "action": string; +} + +export namespace ZprAllowedSecurityAction { + export function getJsonObj(obj: ZprAllowedSecurityAction, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprAllowedSecurityAction)), + ...{ + "allowedSecurityActionDetails": obj.allowedSecurityActionDetails + ? model.ZprAllowedSecurityActionDetails.getJsonObj(obj.allowedSecurityActionDetails) + : undefined + } + }; + + return jsonObj; + } + export const action = "ZPR_ALLOWED"; + export function getDeserializedJsonObj( + obj: ZprAllowedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj(obj) as ZprAllowedSecurityAction)), + ...{ + "allowedSecurityActionDetails": obj.allowedSecurityActionDetails + ? model.ZprAllowedSecurityActionDetails.getDeserializedJsonObj( + obj.allowedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action-details.ts b/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action-details.ts new file mode 100644 index 0000000000..09023b460f --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action-details.ts @@ -0,0 +1,64 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines details for the security action taken on zpr unsupported traffic. + * + */ +export interface ZprCidrUnsupportedSecurityActionDetails { + /** + * If true, the evaluated zpr policy ID details are incomplete. + */ + "isRestrictedOrPartial": boolean; + /** + * The list of evaluated zpr policies associated with the OCI resource. + * + */ + "evaluatedZprPolicies"?: Array; +} + +export namespace ZprCidrUnsupportedSecurityActionDetails { + export function getJsonObj(obj: ZprCidrUnsupportedSecurityActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ZprCidrUnsupportedSecurityActionDetails): object { + const jsonObj = { + ...obj, + ...{ + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action.ts b/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action.ts new file mode 100644 index 0000000000..56bd3e7958 --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-cidr-unsupported-security-action.ts @@ -0,0 +1,69 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the security action taken when zpr cidr policy is not supported. + * + */ +export interface ZprCidrUnsupportedSecurityAction extends model.SecurityAction { + "zprCidrUnsupportedSecurityActionDetails"?: model.ZprCidrUnsupportedSecurityActionDetails; + + "action": string; +} + +export namespace ZprCidrUnsupportedSecurityAction { + export function getJsonObj( + obj: ZprCidrUnsupportedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprCidrUnsupportedSecurityAction)), + ...{ + "zprCidrUnsupportedSecurityActionDetails": obj.zprCidrUnsupportedSecurityActionDetails + ? model.ZprCidrUnsupportedSecurityActionDetails.getJsonObj( + obj.zprCidrUnsupportedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } + export const action = "ZPR_CIDR_UNSUPPORTED"; + export function getDeserializedJsonObj( + obj: ZprCidrUnsupportedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj(obj) as ZprCidrUnsupportedSecurityAction)), + ...{ + "zprCidrUnsupportedSecurityActionDetails": obj.zprCidrUnsupportedSecurityActionDetails + ? model.ZprCidrUnsupportedSecurityActionDetails.getDeserializedJsonObj( + obj.zprCidrUnsupportedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/cpe-device-shape-summary.ts b/lib/vnmonitoring/lib/model/zpr-configuration.ts similarity index 53% rename from lib/vnmonitoring/lib/model/cpe-device-shape-summary.ts rename to lib/vnmonitoring/lib/model/zpr-configuration.ts index a7f69bec30..67026ad9d2 100644 --- a/lib/vnmonitoring/lib/model/cpe-device-shape-summary.ts +++ b/lib/vnmonitoring/lib/model/zpr-configuration.ts @@ -17,39 +17,37 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A summary of information about a particular CPE device type. Compare with - * {@link CpeDeviceShapeDetail}. + * Defines the subnet ingress security list configuration that allowed the traffic. * */ -export interface CpeDeviceShapeSummary { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CPE device shape. - * This value uniquely identifies the type of CPE device. - * - */ - "id"?: string; - "cpeDeviceInfo"?: model.CpeDeviceInfo; +export interface ZprConfiguration extends model.AllowedSecurityConfiguration { + "zprPolicy": model.ZprPolicy; + + "type": string; } -export namespace CpeDeviceShapeSummary { - export function getJsonObj(obj: CpeDeviceShapeSummary): object { +export namespace ZprConfiguration { + export function getJsonObj(obj: ZprConfiguration, isParentJsonObj?: boolean): object { const jsonObj = { - ...obj, + ...(isParentJsonObj + ? obj + : (model.AllowedSecurityConfiguration.getJsonObj(obj) as ZprConfiguration)), ...{ - "cpeDeviceInfo": obj.cpeDeviceInfo - ? model.CpeDeviceInfo.getJsonObj(obj.cpeDeviceInfo) - : undefined + "zprPolicy": obj.zprPolicy ? model.ZprPolicy.getJsonObj(obj.zprPolicy) : undefined } }; return jsonObj; } - export function getDeserializedJsonObj(obj: CpeDeviceShapeSummary): object { + export const type = "ZPR"; + export function getDeserializedJsonObj(obj: ZprConfiguration, isParentJsonObj?: boolean): object { const jsonObj = { - ...obj, + ...(isParentJsonObj + ? obj + : (model.AllowedSecurityConfiguration.getDeserializedJsonObj(obj) as ZprConfiguration)), ...{ - "cpeDeviceInfo": obj.cpeDeviceInfo - ? model.CpeDeviceInfo.getDeserializedJsonObj(obj.cpeDeviceInfo) + "zprPolicy": obj.zprPolicy + ? model.ZprPolicy.getDeserializedJsonObj(obj.zprPolicy) : undefined } }; diff --git a/lib/vnmonitoring/lib/model/byoip-allocated-range-collection.ts b/lib/vnmonitoring/lib/model/zpr-denied-security-action-details.ts similarity index 55% rename from lib/vnmonitoring/lib/model/byoip-allocated-range-collection.ts rename to lib/vnmonitoring/lib/model/zpr-denied-security-action-details.ts index 41bb24e614..e7654000f2 100644 --- a/lib/vnmonitoring/lib/model/byoip-allocated-range-collection.ts +++ b/lib/vnmonitoring/lib/model/zpr-denied-security-action-details.ts @@ -17,23 +17,29 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Results of a {@code ListByoipAllocatedRanges} operation. + * Defines details for the security action taken on zpr denied traffic. + * */ -export interface ByoipAllocatedRangeCollection { +export interface ZprDeniedSecurityActionDetails { + /** + * If true, the evaluated zpr policy ID details are incomplete. + */ + "isRestrictedOrPartial": boolean; /** - * A list of subranges of a BYOIP CIDR block allocated to an IP pool. + * The list of evaluated zpr policies associated with the OCI resource. + * */ - "items": Array; + "evaluatedZprPolicies"?: Array; } -export namespace ByoipAllocatedRangeCollection { - export function getJsonObj(obj: ByoipAllocatedRangeCollection): object { +export namespace ZprDeniedSecurityActionDetails { + export function getJsonObj(obj: ZprDeniedSecurityActionDetails): object { const jsonObj = { ...obj, ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ByoipAllocatedRangeSummary.getJsonObj(item); + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getJsonObj(item); }) : undefined } @@ -41,13 +47,13 @@ export namespace ByoipAllocatedRangeCollection { return jsonObj; } - export function getDeserializedJsonObj(obj: ByoipAllocatedRangeCollection): object { + export function getDeserializedJsonObj(obj: ZprDeniedSecurityActionDetails): object { const jsonObj = { ...obj, ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ByoipAllocatedRangeSummary.getDeserializedJsonObj(item); + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getDeserializedJsonObj(item); }) : undefined } diff --git a/lib/vnmonitoring/lib/model/zpr-denied-security-action.ts b/lib/vnmonitoring/lib/model/zpr-denied-security-action.ts new file mode 100644 index 0000000000..1dc47d5f25 --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-denied-security-action.ts @@ -0,0 +1,64 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the security action taken on zpr denied traffic. + * + */ +export interface ZprDeniedSecurityAction extends model.SecurityAction { + "zprDeniedSecurityActionDetails"?: model.ZprDeniedSecurityActionDetails; + + "action": string; +} + +export namespace ZprDeniedSecurityAction { + export function getJsonObj(obj: ZprDeniedSecurityAction, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprDeniedSecurityAction)), + ...{ + "zprDeniedSecurityActionDetails": obj.zprDeniedSecurityActionDetails + ? model.ZprDeniedSecurityActionDetails.getJsonObj(obj.zprDeniedSecurityActionDetails) + : undefined + } + }; + + return jsonObj; + } + export const action = "ZPR_DENIED"; + export function getDeserializedJsonObj( + obj: ZprDeniedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj(obj) as ZprDeniedSecurityAction)), + ...{ + "zprDeniedSecurityActionDetails": obj.zprDeniedSecurityActionDetails + ? model.ZprDeniedSecurityActionDetails.getDeserializedJsonObj( + obj.zprDeniedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/macsec-properties.ts b/lib/vnmonitoring/lib/model/zpr-missing-policy-security-action.ts similarity index 55% rename from lib/vnmonitoring/lib/model/macsec-properties.ts rename to lib/vnmonitoring/lib/model/zpr-missing-policy-security-action.ts index cbe8e193c8..7c79b73950 100644 --- a/lib/vnmonitoring/lib/model/macsec-properties.ts +++ b/lib/vnmonitoring/lib/model/zpr-missing-policy-security-action.ts @@ -17,39 +17,37 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Properties used for MACsec (if capable). + * Defines the security action taken when tagged resource has missing zpr policy. + * */ -export interface MacsecProperties { - /** - * Indicates whether or not MACsec is enabled. - */ - "state": model.MacsecState; - "primaryKey"?: model.MacsecKey; - /** - * Type of encryption cipher suite to use for the MACsec connection. - */ - "encryptionCipher"?: model.MacsecEncryptionCipher; +export interface ZprMissingPolicySecurityAction extends model.SecurityAction { + "action": string; } -export namespace MacsecProperties { - export function getJsonObj(obj: MacsecProperties): object { +export namespace ZprMissingPolicySecurityAction { + export function getJsonObj( + obj: ZprMissingPolicySecurityAction, + isParentJsonObj?: boolean + ): object { const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey ? model.MacsecKey.getJsonObj(obj.primaryKey) : undefined - } + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprMissingPolicySecurityAction)), + ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: MacsecProperties): object { + export const action = "ZPR_MISSING_POLICY"; + export function getDeserializedJsonObj( + obj: ZprMissingPolicySecurityAction, + isParentJsonObj?: boolean + ): object { const jsonObj = { - ...obj, - ...{ - "primaryKey": obj.primaryKey - ? model.MacsecKey.getDeserializedJsonObj(obj.primaryKey) - : undefined - } + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj(obj) as ZprMissingPolicySecurityAction)), + ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/lib/model/cross-connect-mapping-details-collection.ts b/lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action-details.ts similarity index 54% rename from lib/vnmonitoring/lib/model/cross-connect-mapping-details-collection.ts rename to lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action-details.ts index 0c96b5d8e9..aafaa13042 100644 --- a/lib/vnmonitoring/lib/model/cross-connect-mapping-details-collection.ts +++ b/lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action-details.ts @@ -17,23 +17,29 @@ import * as model from "../model"; import common = require("oci-common"); /** - * An array of CrossConnectMappingDetails + * Defines details for the security action taken on zpr unsupported traffic. + * */ -export interface CrossConnectMappingDetailsCollection { +export interface ZprNsgUnsupportedSecurityActionDetails { + /** + * If true, the evaluated zpr policy ID details are incomplete. + */ + "isRestrictedOrPartial": boolean; /** - * CrossConnectMappingDetails items + * The list of evaluated zpr policies associated with the OCI resource. + * */ - "items": Array; + "evaluatedZprPolicies"?: Array; } -export namespace CrossConnectMappingDetailsCollection { - export function getJsonObj(obj: CrossConnectMappingDetailsCollection): object { +export namespace ZprNsgUnsupportedSecurityActionDetails { + export function getJsonObj(obj: ZprNsgUnsupportedSecurityActionDetails): object { const jsonObj = { ...obj, ...{ - "items": obj.items - ? obj.items.map(item => { - return model.CrossConnectMappingDetails.getJsonObj(item); + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getJsonObj(item); }) : undefined } @@ -41,13 +47,13 @@ export namespace CrossConnectMappingDetailsCollection { return jsonObj; } - export function getDeserializedJsonObj(obj: CrossConnectMappingDetailsCollection): object { + export function getDeserializedJsonObj(obj: ZprNsgUnsupportedSecurityActionDetails): object { const jsonObj = { ...obj, ...{ - "items": obj.items - ? obj.items.map(item => { - return model.CrossConnectMappingDetails.getDeserializedJsonObj(item); + "evaluatedZprPolicies": obj.evaluatedZprPolicies + ? obj.evaluatedZprPolicies.map(item => { + return model.ZprPolicy.getDeserializedJsonObj(item); }) : undefined } diff --git a/lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action.ts b/lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action.ts new file mode 100644 index 0000000000..18b595058e --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-nsg-unsupported-security-action.ts @@ -0,0 +1,69 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the security action taken when zpr tag based policy is not supported. + * + */ +export interface ZprNsgUnsupportedSecurityAction extends model.SecurityAction { + "zprNsgUnsupportedSecurityActionDetails"?: model.ZprNsgUnsupportedSecurityActionDetails; + + "action": string; +} + +export namespace ZprNsgUnsupportedSecurityAction { + export function getJsonObj( + obj: ZprNsgUnsupportedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprNsgUnsupportedSecurityAction)), + ...{ + "zprNsgUnsupportedSecurityActionDetails": obj.zprNsgUnsupportedSecurityActionDetails + ? model.ZprNsgUnsupportedSecurityActionDetails.getJsonObj( + obj.zprNsgUnsupportedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } + export const action = "ZPR_NSG_UNSUPPORTED"; + export function getDeserializedJsonObj( + obj: ZprNsgUnsupportedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj(obj) as ZprNsgUnsupportedSecurityAction)), + ...{ + "zprNsgUnsupportedSecurityActionDetails": obj.zprNsgUnsupportedSecurityActionDetails + ? model.ZprNsgUnsupportedSecurityActionDetails.getDeserializedJsonObj( + obj.zprNsgUnsupportedSecurityActionDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/drg-attachment-match-all-drg-route-distribution-match-criteria.ts b/lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-missing-route-security-action.ts similarity index 64% rename from lib/vnmonitoring/lib/model/drg-attachment-match-all-drg-route-distribution-match-criteria.ts rename to lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-missing-route-security-action.ts index 61c5d42f3e..409787fa3f 100644 --- a/lib/vnmonitoring/lib/model/drg-attachment-match-all-drg-route-distribution-match-criteria.ts +++ b/lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-missing-route-security-action.ts @@ -17,41 +17,40 @@ import * as model from "../model"; import common = require("oci-common"); /** - * All routes are imported or exported. + * Defines the security action taken when zpr policy is not evaluated, due to missing route * */ -export interface DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria - extends model.DrgRouteDistributionMatchCriteria { - "matchType": string; +export interface ZprPolicyNotEvaluatedMissingRouteSecurityAction extends model.SecurityAction { + "action": string; } -export namespace DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria { +export namespace ZprPolicyNotEvaluatedMissingRouteSecurityAction { export function getJsonObj( - obj: DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria, + obj: ZprPolicyNotEvaluatedMissingRouteSecurityAction, isParentJsonObj?: boolean ): object { const jsonObj = { ...(isParentJsonObj ? obj - : (model.DrgRouteDistributionMatchCriteria.getJsonObj( + : (model.SecurityAction.getJsonObj( obj - ) as DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria)), + ) as ZprPolicyNotEvaluatedMissingRouteSecurityAction)), ...{} }; return jsonObj; } - export const matchType = "MATCH_ALL"; + export const action = "ZPR_POLICY_NOT_EVALUATED_MISSING_ROUTE"; export function getDeserializedJsonObj( - obj: DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria, + obj: ZprPolicyNotEvaluatedMissingRouteSecurityAction, isParentJsonObj?: boolean ): object { const jsonObj = { ...(isParentJsonObj ? obj - : (model.DrgRouteDistributionMatchCriteria.getDeserializedJsonObj( + : (model.SecurityAction.getDeserializedJsonObj( obj - ) as DrgAttachmentMatchAllDrgRouteDistributionMatchCriteria)), + ) as ZprPolicyNotEvaluatedMissingRouteSecurityAction)), ...{} }; diff --git a/lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-sl-nsg-denied-security-action.ts b/lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-sl-nsg-denied-security-action.ts new file mode 100644 index 0000000000..c54b7d2a99 --- /dev/null +++ b/lib/vnmonitoring/lib/model/zpr-policy-not-evaluated-sl-nsg-denied-security-action.ts @@ -0,0 +1,57 @@ +/** + * Network Monitoring API + * Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console +documentation for the [Network Path Analyzer](https://docs.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool. + + * 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"); + +/** + * Defines the security action taken when zpr policy is not evaluated, due to denied security or nsg action. + * + */ +export interface ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction extends model.SecurityAction { + "action": string; +} + +export namespace ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction { + export function getJsonObj( + obj: ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getJsonObj(obj) as ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction)), + ...{} + }; + + return jsonObj; + } + export const action = "ZPR_POLICY_NOT_EVALUATED_SL_NSG_DENIED"; + export function getDeserializedJsonObj( + obj: ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SecurityAction.getDeserializedJsonObj( + obj + ) as ZprPolicyNotEvaluatedSlNsgDeniedSecurityAction)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/vnmonitoring/lib/model/remove-vcn-cidr-details.ts b/lib/vnmonitoring/lib/model/zpr-policy.ts similarity index 74% rename from lib/vnmonitoring/lib/model/remove-vcn-cidr-details.ts rename to lib/vnmonitoring/lib/model/zpr-policy.ts index 4fddae626a..887c9ac92a 100644 --- a/lib/vnmonitoring/lib/model/remove-vcn-cidr-details.ts +++ b/lib/vnmonitoring/lib/model/zpr-policy.ts @@ -17,23 +17,26 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details for removing a CIDR block from a VCN. + * Defines the zpr policy object. */ -export interface RemoveVcnCidrDetails { +export interface ZprPolicy { /** - * The CIDR block to remove. - * + * OCID of the zpr policy */ - "cidrBlock": string; + "id": string; + /** + * List of policy statements allowing/denying the traffic + */ + "policyStatements": Array; } -export namespace RemoveVcnCidrDetails { - export function getJsonObj(obj: RemoveVcnCidrDetails): object { +export namespace ZprPolicy { + export function getJsonObj(obj: ZprPolicy): object { const jsonObj = { ...obj, ...{} }; return jsonObj; } - export function getDeserializedJsonObj(obj: RemoveVcnCidrDetails): object { + export function getDeserializedJsonObj(obj: ZprPolicy): object { const jsonObj = { ...obj, ...{} }; return jsonObj; diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index 961711e468..8d2f89c231 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.120.0", + "version": "2.121.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 8768fbbeca..1eae322a63 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.120.0", + "version": "2.121.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 8d2fd1e103..0b623deb4a 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 970e1087cd..f0fd44792c 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index d39b1c026e..7083adabfd 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index c19efdf868..81b975be46 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index f26c10b447..4d601ce177 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index 79b0ff9a38..099874cc3d 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.120.0", + "version": "2.121.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index b6b4602718..90e4ebd197 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.120.0", + "version": "2.121.0", "author": { "name": "Oracle Cloud Infrastructure", "email": "" @@ -180,7 +180,9 @@ "oci-jmsutils": "file:lib/jmsutils", "oci-multicloud": "file:lib/multicloud", "oci-resourceanalytics": "file:lib/resourceanalytics", - "oci-iot": "file:lib/iot" + "oci-iot": "file:lib/iot", + "oci-dif": "file:lib/dif", + "oci-psa": "file:lib/psa" }, "publishConfig": { "registry": "https://registry.npmjs.org"