From 59448f31a223d87fe82ae80f1a6f3f9beabd793a Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 30 Sep 2025 16:15:25 +0000 Subject: [PATCH] Releasing version 2.118.1 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 12 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aidataplatform/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/package.json | 2 +- lib/aivision/package.json | 2 +- lib/analytics/package.json | 2 +- lib/announcementsservice/package.json | 2 +- lib/apiaccesscontrol/package.json | 2 +- lib/apigateway/package.json | 2 +- lib/apiplatform/package.json | 2 +- lib/apmconfig/package.json | 2 +- lib/apmcontrolplane/package.json | 2 +- lib/apmsynthetics/package.json | 2 +- lib/apmtraces/package.json | 2 +- lib/appmgmtcontrol/package.json | 2 +- lib/artifacts/package.json | 2 +- lib/audit/package.json | 2 +- lib/autoscaling/package.json | 2 +- lib/bastion/package.json | 2 +- lib/bds/package.json | 2 +- lib/blockchain/package.json | 2 +- lib/budget/package.json | 2 +- lib/capacitymanagement/package.json | 2 +- lib/certificates/package.json | 2 +- lib/certificatesmanagement/package.json | 2 +- lib/cims/package.json | 2 +- lib/cloudbridge/package.json | 2 +- lib/cloudguard/package.json | 2 +- lib/cloudmigrations/package.json | 2 +- lib/clusterplacementgroups/package.json | 2 +- lib/common/package.json | 2 +- lib/computecloudatcustomer/package.json | 2 +- lib/computeinstanceagent/package.json | 2 +- lib/containerengine/package.json | 2 +- lib/containerinstances/package.json | 2 +- lib/core/lib/client.ts | 2 +- lib/core/lib/compute-waiter.ts | 19 + ...-bm-gpu-launch-instance-platform-config.ts | 3 +- .../model/amd-milan-bm-gpu-platform-config.ts | 1 + ...ilan-bm-launch-instance-platform-config.ts | 3 +- .../lib/model/amd-milan-bm-platform-config.ts | 1 + ...-bm-gpu-launch-instance-platform-config.ts | 3 +- .../model/amd-rome-bm-gpu-platform-config.ts | 1 + ...rome-bm-launch-instance-platform-config.ts | 3 +- .../lib/model/amd-rome-bm-platform-config.ts | 1 + .../model/compute-image-capability-schema.ts | 15 + lib/core/lib/model/cross-connect-group.ts | 6 + lib/core/lib/model/drg-customer-resource.ts | 57 + lib/core/lib/model/drg-customer.ts | 95 + ...eric-bm-launch-instance-platform-config.ts | 3 +- .../lib/model/generic-bm-platform-config.ts | 1 + lib/core/lib/model/index.ts | 4 + ...-bm-gpu-launch-instance-platform-config.ts | 1 + ...ilan-bm-launch-instance-platform-config.ts | 1 + ...-bm-gpu-launch-instance-platform-config.ts | 1 + ...rome-bm-launch-instance-platform-config.ts | 1 + ...eric-bm-launch-instance-platform-config.ts | 1 + ...e-configuration-launch-instance-details.ts | 5 + lib/core/lib/model/instance.ts | 5 + lib/core/lib/model/launch-instance-details.ts | 5 + ...-numa-nodes-per-socket-platform-options.ts | 1 + lib/core/lib/model/update-instance-details.ts | 5 + lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- ...onomous-database-encryption-key-details.ts | 7 + ...s-database-encryption-key-history-entry.ts | 1 + .../lib/model/autonomous-database-summary.ts | 7 + lib/database/lib/model/autonomous-database.ts | 7 + .../lib/model/autonomous-dw-database.ts | 7 + .../model/create-autonomous-database-base.ts | 1 + .../model/create-cloud-vm-cluster-details.ts | 33 +- .../lib/model/db-system-shape-summary.ts | 2 + .../lib/model/flex-component-summary.ts | 2 + lib/database/lib/model/gcp-key-details.ts | 70 + lib/database/lib/model/index.ts | 2 + .../update-autonomous-database-details.ts | 1 + .../model/update-cloud-vm-cluster-details.ts | 30 +- lib/database/package.json | 2 +- lib/databasemanagement/package.json | 2 +- lib/databasemigration/package.json | 2 +- lib/databasetools/package.json | 2 +- lib/datacatalog/package.json | 2 +- lib/dataflow/package.json | 2 +- lib/dataintegration/package.json | 2 +- lib/datalabelingservice/package.json | 2 +- lib/datalabelingservicedataplane/package.json | 2 +- lib/datasafe/package.json | 2 +- lib/datascience/package.json | 2 +- lib/dblm/package.json | 2 +- lib/dbmulticloud/package.json | 2 +- lib/delegateaccesscontrol/package.json | 2 +- lib/demandsignal/package.json | 2 +- lib/desktops/package.json | 2 +- lib/devops/package.json | 2 +- lib/disasterrecovery/package.json | 2 +- lib/distributeddatabase/package.json | 2 +- lib/dns/package.json | 2 +- lib/email/package.json | 2 +- lib/emaildataplane/package.json | 2 +- lib/emwarehouse/package.json | 2 +- lib/events/package.json | 2 +- lib/filestorage/package.json | 2 +- lib/fleetappsmanagement/package.json | 2 +- .../add-fsu-collection-targets-details.ts | 4 +- .../lib/model/clone-fsu-cycle-details.ts | 13 +- .../model/cloud-vm-cluster-target-summary.ts | 5 + .../lib/model/collection-types.ts | 2 + .../model/create-db-fsu-collection-details.ts | 1 + ...eate-exadb-stack-fsu-collection-details.ts | 80 + .../model/create-fsu-collection-details.ts | 27 +- .../lib/model/create-fsu-cycle-details.ts | 13 +- .../lib/model/create-fsu-discovery-details.ts | 6 +- .../model/create-gi-fsu-collection-details.ts | 1 + .../create-gi-software-component-details.ts | 79 + .../create-guest-os-fsu-collection-details.ts | 79 + ...ate-guest-os-software-component-details.ts | 81 + .../lib/model/create-patch-fsu-cycle.ts | 13 +- .../create-software-component-details.ts | 70 + .../model/custom-gi-goal-version-details.ts | 58 + .../lib/model/cycle-types.ts | 2 +- .../lib/model/discovery-details.ts | 20 + .../lib/model/discovery-types.ts | 2 + .../lib/model/exadata-release-versions.ts | 55 + .../lib/model/exadb-stack-collection.ts | 70 + .../lib/model/exadb-stack-components.ts | 41 + .../model/exadb-stack-discovery-details.ts | 72 + .../exadb-stack-fsu-collection-summary.ts | 77 + .../exadb-stack-fsu-goal-version-details.ts | 77 + .../lib/model/fsu-collection-summary.ts | 26 +- .../lib/model/fsu-collection.ts | 26 +- .../lib/model/fsu-cycle-summary.ts | 17 +- .../lib/model/fsu-cycle.ts | 19 +- .../lib/model/fsu-discovery.ts | 6 +- .../lib/model/fsu-goal-version-details.ts | 10 + .../gi-goal-software-component-details.ts | 94 + .../lib/model/gi-goal-version-details.ts | 70 + .../model/gi-software-component-details.ts | 74 + ...gi-software-component-discovery-details.ts | 80 + .../model/gi-software-component-summary.ts | 61 + .../model/goal-software-component-details.ts | 70 + .../lib/model/guest-os-collection.ts | 71 + .../model/guest-os-compartment-id-filter.ts | 60 + .../lib/model/guest-os-defined-tags-filter.ts | 77 + .../lib/model/guest-os-discovery-details.ts | 73 + .../lib/model/guest-os-discovery-results.ts | 61 + ...guest-os-exadata-release-version-filter.ts | 87 + .../lib/model/guest-os-filters-discovery.ts | 72 + .../model/guest-os-fleet-discovery-details.ts | 91 + .../model/guest-os-fleet-discovery-filter.ts | 127 ++ .../model/guest-os-freeform-tags-filter.ts | 77 + .../model/guest-os-fsu-collection-summary.ts | 60 + ...uest-os-goal-software-component-details.ts | 69 + .../model/guest-os-goal-version-details.ts | 60 + .../lib/model/guest-os-resource-id-filter.ts | 85 + .../model/guest-os-search-query-discovery.ts | 60 + .../guest-os-software-component-details.ts | 78 + ...os-software-component-discovery-details.ts | 81 + .../guest-os-software-component-summary.ts | 65 + .../model/guest-os-source-major-versions.ts | 47 + .../model/guest-os-target-list-discovery.ts | 61 + .../lib/model/guest-os-version-filter.ts | 60 + .../lib/model/image-id-fsu-target-details.ts | 2 +- lib/fleetsoftwareupdate/lib/model/index.ts | 90 + .../lib/model/membership-summary.ts | 50 + .../model/oracle-gi-goal-version-details.ts | 58 + .../oracle-guest-os-goal-version-details.ts | 63 + .../lib/model/patch-fsu-cycle.ts | 11 +- .../remove-fsu-collection-targets-details.ts | 2 +- .../lib/model/software-component-details.ts | 70 + .../software-component-discovery-details.ts | 70 + .../lib/model/software-component-summary.ts | 70 + .../lib/model/target-entry.ts | 2 +- .../target-ids-remove-targets-details.ts | 2 +- .../lib/model/target-progress-summary.ts | 2 +- .../lib/model/target-summary.ts | 17 +- .../lib/model/update-batching-strategies.ts | 2 +- .../model/update-fsu-collection-details.ts | 5 +- .../lib/model/update-fsu-cycle-details.ts | 6 +- .../lib/model/update-patch-fsu-cycle.ts | 14 +- .../lib/model/version-fsu-target-details.ts | 5 +- .../lib/model/vm-cluster-target-summary.ts | 5 + .../request/create-fsu-collection-request.ts | 4 +- lib/fleetsoftwareupdate/package.json | 2 +- .../lib/model/create-function-details.ts | 28 + .../lib/model/failure-destination-details.ts | 92 + lib/functions/lib/model/function-summary.ts | 28 + lib/functions/lib/model/function.ts | 31 + lib/functions/lib/model/index.ts | 20 + .../model/none-failure-destination-details.ts | 58 + .../model/none-success-destination-details.ts | 58 + ...otification-failure-destination-details.ts | 66 + ...otification-success-destination-details.ts | 66 + .../queue-failure-destination-details.ts | 69 + .../queue-success-destination-details.ts | 69 + .../stream-failure-destination-details.ts | 64 + .../stream-success-destination-details.ts | 64 + .../lib/model/success-destination-details.ts | 92 + .../lib/model/update-function-details.ts | 28 + lib/functions/package.json | 2 +- .../create-fusion-environment-details.ts | 4 + .../lib/model/fusion-environment-summary.ts | 4 + .../lib/model/fusion-environment.ts | 4 + lib/fusionapps/lib/model/patch-action.ts | 2 +- .../update-fusion-environment-details.ts | 4 + lib/fusionapps/package.json | 2 +- lib/generativeai/lib/client.ts | 496 +++++ lib/generativeai/lib/generativeai-waiter.ts | 19 + ...ai-private-endpoint-compartment-details.ts | 49 + .../lib/model/create-endpoint-details.ts | 4 + ...-generative-ai-private-endpoint-details.ts | 88 + .../lib/model/endpoint-summary.ts | 4 + lib/generativeai/lib/model/endpoint.ts | 4 + ...nerative-ai-private-endpoint-collection.ts | 65 + .../generative-ai-private-endpoint-summary.ts | 119 + .../model/generative-ai-private-endpoint.ts | 154 ++ lib/generativeai/lib/model/index.ts | 12 + lib/generativeai/lib/model/operation-type.ts | 4 + .../lib/model/update-endpoint-details.ts | 4 + ...-generative-ai-private-endpoint-details.ts | 78 + ...ai-private-endpoint-compartment-request.ts | 56 + ...-generative-ai-private-endpoint-request.ts | 43 + ...-generative-ai-private-endpoint-request.ts | 42 + ...-generative-ai-private-endpoint-request.ts | 34 + lib/generativeai/lib/request/index.ts | 12 + ...generative-ai-private-endpoints-request.ts | 76 + ...-generative-ai-private-endpoint-request.ts | 47 + ...i-private-endpoint-compartment-response.ts | 30 + ...generative-ai-private-endpoint-response.ts | 39 + ...generative-ai-private-endpoint-response.ts | 30 + ...generative-ai-private-endpoint-response.ts | 33 + lib/generativeai/lib/response/index.ts | 12 + ...enerative-ai-private-endpoints-response.ts | 34 + ...generative-ai-private-endpoint-response.ts | 39 + lib/generativeai/package.json | 2 +- lib/generativeaiagent/package.json | 2 +- lib/generativeaiagentruntime/package.json | 2 +- .../lib/model/audio-content.ts | 55 + .../lib/model/audio-url.ts | 77 + .../lib/model/chat-choice.ts | 11 +- .../lib/model/chat-content.ts | 14 + .../lib/model/grounding-chunk.ts | 52 + .../lib/model/grounding-metadata.ts | 88 + .../lib/model/grounding-support-segment.ts | 53 + .../lib/model/grounding-support.ts | 58 + .../lib/model/grounding-web-chunk.ts | 53 + .../lib/model/image-url.ts | 12 +- lib/generativeaiinference/lib/model/index.ts | 20 + .../lib/model/search-entry-point.ts | 45 + .../lib/model/video-content.ts | 55 + .../lib/model/video-url.ts | 77 + lib/generativeaiinference/package.json | 2 +- lib/genericartifactscontent/package.json | 2 +- lib/globallydistributeddatabase/package.json | 2 +- lib/goldengate/package.json | 2 +- lib/governancerulescontrolplane/package.json | 2 +- lib/healthchecks/package.json | 2 +- lib/identity/package.json | 2 +- lib/identitydataplane/package.json | 2 +- lib/identitydomains/package.json | 2 +- lib/integration/package.json | 2 +- lib/jms/package.json | 2 +- lib/jmsjavadownloads/package.json | 2 +- lib/jmsutils/package.json | 2 +- lib/keymanagement/package.json | 2 +- lib/licensemanager/package.json | 2 +- lib/limits/package.json | 2 +- lib/loadbalancer/package.json | 2 +- lib/lockbox/package.json | 2 +- lib/loganalytics/package.json | 2 +- lib/logging/package.json | 2 +- lib/loggingingestion/package.json | 2 +- lib/loggingsearch/package.json | 2 +- lib/lustrefilestorage/package.json | 2 +- lib/managedkafka/package.json | 2 +- lib/managementagent/package.json | 2 +- lib/managementdashboard/package.json | 2 +- lib/marketplace/package.json | 2 +- lib/marketplaceprivateoffer/package.json | 2 +- lib/marketplacepublisher/package.json | 2 +- lib/mediaservices/package.json | 2 +- lib/mngdmac/package.json | 2 +- lib/modeldeployment/package.json | 2 +- lib/monitoring/package.json | 2 +- lib/multicloud/package.json | 2 +- lib/mysql/package.json | 2 +- lib/networkfirewall/package.json | 2 +- lib/networkloadbalancer/package.json | 2 +- lib/nosql/package.json | 2 +- lib/objectstorage/package.json | 2 +- lib/oce/package.json | 2 +- lib/ocicontrolcenter/package.json | 2 +- lib/ocvp/index.ts | 6 + lib/ocvp/lib/client.ts | 1964 +++++++++++++++++ lib/ocvp/lib/datastore-waiter.ts | 46 + lib/ocvp/lib/datastorecluster-waiter.ts | 46 + .../add-block-volume-to-datastore-details.ts | 40 + ...-datastore-to-datastore-cluster-details.ts | 40 + ...ch-datastore-cluster-to-cluster-details.ts | 42 + ...-datastore-cluster-to-esxi-host-details.ts | 42 + lib/ocvp/lib/model/block-volume-attachment.ts | 50 + lib/ocvp/lib/model/block-volume-details.ts | 67 + ...e-datastore-cluster-compartment-details.ts | 42 + .../change-datastore-compartment-details.ts | 42 + lib/ocvp/lib/model/cluster.ts | 5 + lib/ocvp/lib/model/create-cluster-details.ts | 7 +- .../model/create-datastore-cluster-details.ts | 78 + .../lib/model/create-datastore-details.ts | 80 + .../lib/model/create-esxi-host-details.ts | 2 +- lib/ocvp/lib/model/datastore-attachment.ts | 58 + .../lib/model/datastore-cluster-collection.ts | 58 + .../lib/model/datastore-cluster-summary.ts | 123 ++ lib/ocvp/lib/model/datastore-cluster-types.ts | 8 +- lib/ocvp/lib/model/datastore-cluster.ts | 130 ++ lib/ocvp/lib/model/datastore-collection.ts | 58 + lib/ocvp/lib/model/datastore-summary.ts | 144 ++ lib/ocvp/lib/model/datastore.ts | 147 ++ ...atastore-cluster-from-esxi-host-details.ts | 42 + lib/ocvp/lib/model/esxi-host-summary.ts | 5 + lib/ocvp/lib/model/esxi-host.ts | 31 +- lib/ocvp/lib/model/index.ts | 42 + .../model/initial-cluster-configuration.ts | 7 +- lib/ocvp/lib/model/operation-types.ts | 6 + ...atastore-from-datastore-cluster-details.ts | 40 + .../lib/model/supported-host-shape-summary.ts | 6 + lib/ocvp/lib/model/update-cluster-details.ts | 2 +- .../model/update-datastore-cluster-details.ts | 59 + .../lib/model/update-datastore-details.ts | 59 + .../lib/model/update-esxi-host-details.ts | 7 +- .../add-block-volume-to-datastore-request.ts | 54 + ...-datastore-to-datastore-cluster-request.ts | 54 + ...ch-datastore-cluster-to-cluster-request.ts | 54 + ...-datastore-cluster-to-esxi-host-request.ts | 54 + ...e-datastore-cluster-compartment-request.ts | 54 + .../change-datastore-compartment-request.ts | 54 + .../create-datastore-cluster-request.ts | 40 + .../lib/request/create-datastore-request.ts | 40 + .../delete-datastore-cluster-request.ts | 41 + .../lib/request/delete-datastore-request.ts | 41 + ...-datastore-cluster-from-cluster-request.ts | 50 + ...atastore-cluster-from-esxi-host-request.ts | 54 + .../request/get-datastore-cluster-request.ts | 32 + lib/ocvp/lib/request/get-datastore-request.ts | 32 + lib/ocvp/lib/request/index.ts | 38 + .../list-datastore-clusters-request.ts | 88 + .../lib/request/list-datastores-request.ts | 88 + ...atastore-from-datastore-cluster-request.ts | 54 + .../update-datastore-cluster-request.ts | 45 + .../lib/request/update-datastore-request.ts | 45 + .../add-block-volume-to-datastore-response.ts | 29 + ...datastore-to-datastore-cluster-response.ts | 29 + ...h-datastore-cluster-to-cluster-response.ts | 29 + ...datastore-cluster-to-esxi-host-response.ts | 29 + ...-datastore-cluster-compartment-response.ts | 24 + .../change-datastore-compartment-response.ts | 24 + .../create-datastore-cluster-response.ts | 29 + .../lib/response/create-datastore-response.ts | 29 + .../delete-datastore-cluster-response.ts | 29 + .../lib/response/delete-datastore-response.ts | 29 + ...datastore-cluster-from-cluster-response.ts | 29 + ...tastore-cluster-from-esxi-host-response.ts | 29 + .../get-datastore-cluster-response.ts | 33 + .../lib/response/get-datastore-response.ts | 33 + lib/ocvp/lib/response/index.ts | 38 + .../list-datastore-clusters-response.ts | 35 + .../lib/response/list-datastores-response.ts | 35 + ...tastore-from-datastore-cluster-response.ts | 29 + .../update-datastore-cluster-response.ts | 29 + .../lib/response/update-datastore-response.ts | 29 + lib/ocvp/package.json | 2 +- lib/oda/package.json | 2 +- lib/onesubscription/package.json | 2 +- lib/ons/package.json | 2 +- lib/opa/package.json | 2 +- lib/opensearch/package.json | 2 +- lib/operatoraccesscontrol/package.json | 2 +- lib/opsi/package.json | 2 +- lib/optimizer/package.json | 2 +- lib/osmanagementhub/package.json | 2 +- lib/ospgateway/package.json | 2 +- lib/osubbillingschedule/package.json | 2 +- lib/osuborganizationsubscription/package.json | 2 +- lib/osubsubscription/package.json | 2 +- lib/osubusage/package.json | 2 +- lib/psql/package.json | 2 +- lib/queue/package.json | 2 +- lib/recovery/package.json | 2 +- lib/redis/package.json | 2 +- lib/resourceanalytics/package.json | 2 +- lib/resourcemanager/package.json | 2 +- lib/resourcescheduler/package.json | 2 +- lib/resourcesearch/package.json | 2 +- lib/rover/package.json | 2 +- lib/sch/package.json | 2 +- lib/secrets/package.json | 2 +- lib/securityattribute/package.json | 2 +- lib/servicecatalog/package.json | 2 +- lib/servicemanagerproxy/package.json | 2 +- lib/stackmonitoring/package.json | 2 +- lib/streaming/package.json | 2 +- lib/tenantmanagercontrolplane/package.json | 2 +- lib/threatintelligence/package.json | 2 +- lib/usage/package.json | 2 +- lib/usageapi/package.json | 2 +- lib/vault/package.json | 2 +- lib/vbsinst/package.json | 2 +- lib/visualbuilder/package.json | 2 +- lib/vnmonitoring/package.json | 2 +- lib/vulnerabilityscanning/package.json | 2 +- lib/waa/package.json | 2 +- lib/waas/package.json | 2 +- lib/waf/package.json | 2 +- lib/wlms/package.json | 2 +- lib/workrequests/package.json | 2 +- lib/zpr/package.json | 2 +- package.json | 2 +- 418 files changed, 12447 insertions(+), 260 deletions(-) create mode 100644 lib/core/lib/model/drg-customer-resource.ts create mode 100644 lib/core/lib/model/drg-customer.ts create mode 100644 lib/database/lib/model/gcp-key-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/create-exadb-stack-fsu-collection-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/create-gi-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/create-guest-os-fsu-collection-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/create-guest-os-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/create-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/custom-gi-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadata-release-versions.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadb-stack-collection.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadb-stack-components.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadb-stack-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-collection-summary.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/gi-goal-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/gi-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/gi-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/gi-software-component-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/gi-software-component-summary.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/goal-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-collection.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-compartment-id-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-defined-tags-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-discovery-results.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-exadata-release-version-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-filters-discovery.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-freeform-tags-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-fsu-collection-summary.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-goal-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-resource-id-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-search-query-discovery.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-software-component-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-software-component-summary.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-source-major-versions.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-target-list-discovery.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/guest-os-version-filter.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/membership-summary.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/oracle-gi-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/oracle-guest-os-goal-version-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/software-component-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/software-component-discovery-details.ts create mode 100644 lib/fleetsoftwareupdate/lib/model/software-component-summary.ts create mode 100644 lib/functions/lib/model/failure-destination-details.ts create mode 100644 lib/functions/lib/model/none-failure-destination-details.ts create mode 100644 lib/functions/lib/model/none-success-destination-details.ts create mode 100644 lib/functions/lib/model/notification-failure-destination-details.ts create mode 100644 lib/functions/lib/model/notification-success-destination-details.ts create mode 100644 lib/functions/lib/model/queue-failure-destination-details.ts create mode 100644 lib/functions/lib/model/queue-success-destination-details.ts create mode 100644 lib/functions/lib/model/stream-failure-destination-details.ts create mode 100644 lib/functions/lib/model/stream-success-destination-details.ts create mode 100644 lib/functions/lib/model/success-destination-details.ts create mode 100644 lib/generativeai/lib/model/change-generative-ai-private-endpoint-compartment-details.ts create mode 100644 lib/generativeai/lib/model/create-generative-ai-private-endpoint-details.ts create mode 100644 lib/generativeai/lib/model/generative-ai-private-endpoint-collection.ts create mode 100644 lib/generativeai/lib/model/generative-ai-private-endpoint-summary.ts create mode 100644 lib/generativeai/lib/model/generative-ai-private-endpoint.ts create mode 100644 lib/generativeai/lib/model/update-generative-ai-private-endpoint-details.ts create mode 100644 lib/generativeai/lib/request/change-generative-ai-private-endpoint-compartment-request.ts create mode 100644 lib/generativeai/lib/request/create-generative-ai-private-endpoint-request.ts create mode 100644 lib/generativeai/lib/request/delete-generative-ai-private-endpoint-request.ts create mode 100644 lib/generativeai/lib/request/get-generative-ai-private-endpoint-request.ts create mode 100644 lib/generativeai/lib/request/list-generative-ai-private-endpoints-request.ts create mode 100644 lib/generativeai/lib/request/update-generative-ai-private-endpoint-request.ts create mode 100644 lib/generativeai/lib/response/change-generative-ai-private-endpoint-compartment-response.ts create mode 100644 lib/generativeai/lib/response/create-generative-ai-private-endpoint-response.ts create mode 100644 lib/generativeai/lib/response/delete-generative-ai-private-endpoint-response.ts create mode 100644 lib/generativeai/lib/response/get-generative-ai-private-endpoint-response.ts create mode 100644 lib/generativeai/lib/response/list-generative-ai-private-endpoints-response.ts create mode 100644 lib/generativeai/lib/response/update-generative-ai-private-endpoint-response.ts create mode 100644 lib/generativeaiinference/lib/model/audio-content.ts create mode 100644 lib/generativeaiinference/lib/model/audio-url.ts create mode 100644 lib/generativeaiinference/lib/model/grounding-chunk.ts create mode 100644 lib/generativeaiinference/lib/model/grounding-metadata.ts create mode 100644 lib/generativeaiinference/lib/model/grounding-support-segment.ts create mode 100644 lib/generativeaiinference/lib/model/grounding-support.ts create mode 100644 lib/generativeaiinference/lib/model/grounding-web-chunk.ts create mode 100644 lib/generativeaiinference/lib/model/search-entry-point.ts create mode 100644 lib/generativeaiinference/lib/model/video-content.ts create mode 100644 lib/generativeaiinference/lib/model/video-url.ts create mode 100644 lib/ocvp/lib/datastore-waiter.ts create mode 100644 lib/ocvp/lib/datastorecluster-waiter.ts create mode 100644 lib/ocvp/lib/model/add-block-volume-to-datastore-details.ts create mode 100644 lib/ocvp/lib/model/add-datastore-to-datastore-cluster-details.ts create mode 100644 lib/ocvp/lib/model/attach-datastore-cluster-to-cluster-details.ts create mode 100644 lib/ocvp/lib/model/attach-datastore-cluster-to-esxi-host-details.ts create mode 100644 lib/ocvp/lib/model/block-volume-attachment.ts create mode 100644 lib/ocvp/lib/model/block-volume-details.ts create mode 100644 lib/ocvp/lib/model/change-datastore-cluster-compartment-details.ts create mode 100644 lib/ocvp/lib/model/change-datastore-compartment-details.ts create mode 100644 lib/ocvp/lib/model/create-datastore-cluster-details.ts create mode 100644 lib/ocvp/lib/model/create-datastore-details.ts create mode 100644 lib/ocvp/lib/model/datastore-attachment.ts create mode 100644 lib/ocvp/lib/model/datastore-cluster-collection.ts create mode 100644 lib/ocvp/lib/model/datastore-cluster-summary.ts create mode 100644 lib/ocvp/lib/model/datastore-cluster.ts create mode 100644 lib/ocvp/lib/model/datastore-collection.ts create mode 100644 lib/ocvp/lib/model/datastore-summary.ts create mode 100644 lib/ocvp/lib/model/datastore.ts create mode 100644 lib/ocvp/lib/model/detach-datastore-cluster-from-esxi-host-details.ts create mode 100644 lib/ocvp/lib/model/remove-datastore-from-datastore-cluster-details.ts create mode 100644 lib/ocvp/lib/model/update-datastore-cluster-details.ts create mode 100644 lib/ocvp/lib/model/update-datastore-details.ts create mode 100644 lib/ocvp/lib/request/add-block-volume-to-datastore-request.ts create mode 100644 lib/ocvp/lib/request/add-datastore-to-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/attach-datastore-cluster-to-cluster-request.ts create mode 100644 lib/ocvp/lib/request/attach-datastore-cluster-to-esxi-host-request.ts create mode 100644 lib/ocvp/lib/request/change-datastore-cluster-compartment-request.ts create mode 100644 lib/ocvp/lib/request/change-datastore-compartment-request.ts create mode 100644 lib/ocvp/lib/request/create-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/create-datastore-request.ts create mode 100644 lib/ocvp/lib/request/delete-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/delete-datastore-request.ts create mode 100644 lib/ocvp/lib/request/detach-datastore-cluster-from-cluster-request.ts create mode 100644 lib/ocvp/lib/request/detach-datastore-cluster-from-esxi-host-request.ts create mode 100644 lib/ocvp/lib/request/get-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/get-datastore-request.ts create mode 100644 lib/ocvp/lib/request/list-datastore-clusters-request.ts create mode 100644 lib/ocvp/lib/request/list-datastores-request.ts create mode 100644 lib/ocvp/lib/request/remove-datastore-from-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/update-datastore-cluster-request.ts create mode 100644 lib/ocvp/lib/request/update-datastore-request.ts create mode 100644 lib/ocvp/lib/response/add-block-volume-to-datastore-response.ts create mode 100644 lib/ocvp/lib/response/add-datastore-to-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/attach-datastore-cluster-to-cluster-response.ts create mode 100644 lib/ocvp/lib/response/attach-datastore-cluster-to-esxi-host-response.ts create mode 100644 lib/ocvp/lib/response/change-datastore-cluster-compartment-response.ts create mode 100644 lib/ocvp/lib/response/change-datastore-compartment-response.ts create mode 100644 lib/ocvp/lib/response/create-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/create-datastore-response.ts create mode 100644 lib/ocvp/lib/response/delete-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/delete-datastore-response.ts create mode 100644 lib/ocvp/lib/response/detach-datastore-cluster-from-cluster-response.ts create mode 100644 lib/ocvp/lib/response/detach-datastore-cluster-from-esxi-host-response.ts create mode 100644 lib/ocvp/lib/response/get-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/get-datastore-response.ts create mode 100644 lib/ocvp/lib/response/list-datastore-clusters-response.ts create mode 100644 lib/ocvp/lib/response/list-datastores-response.ts create mode 100644 lib/ocvp/lib/response/remove-datastore-from-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/update-datastore-cluster-response.ts create mode 100644 lib/ocvp/lib/response/update-datastore-response.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index fade204a11..f9ef3ff665 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.118.1 - 2025-09-30 +### Added +- Support for private endpoints for dedicated AI clusters in the Generative AI service +- Support for Customer Managed Encryption Keys for Google Cloud Platform (CMEK for GCP) for autonomous databases in the Database service +- Support for datastore management for standard shapes in the Oracle Cloud VMware Provisioning service +- Support for audio and video inputs for Gemini models in the Generative AI Inference service +- Support for applying exadata VM OS updates and exadata stack updates to collections of ExaDB-Dedicated and ExaDB-C@C VM clusters in the Fleet Update service +- Support for enabling IPv6 dual stack endpoints in the application environments in the Fusion Applications service +- Support for long-running functions (up to 60 minutes) in detached mode in the Functions service +- Support for response destinations (Streaming, Queueing, and Notifications service) on functions create and update operations in the Functions service +- Support for enabling AI enterprise on the instance when creating and updating instances in the Compute service + ## 2.118.0 - 2025-09-23 ### Added - Support for calling Oracle Cloud Infrastructure services in the me-ibri-1 region diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 9ed552319e..754f700352 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.118.0", + "version": "2.118.1", "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 46639358a4..4b70010acf 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 95fad7b518..451dd36e80 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.118.0", + "version": "2.118.1", "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 a04be9d6f2..9d00e79faa 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index 84e28eb0ac..8f61058294 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index ba18f217a8..7244e84a4a 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index a0d32c5768..6da53b1b44 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index c6d888615e..1ed8d41591 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 13d16c726c..7f0375d76a 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 7aaad64eb8..aabf2f7fdc 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 88ee208b44..3dbf9bbcec 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apiplatform/package.json b/lib/apiplatform/package.json index 7b6362aada..7050884c23 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Api Platform Service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 87236fd987..99efc0853f 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 52c357481b..4e400f31c6 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.118.0", + "version": "2.118.1", "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 120204cbc9..ec8d29ba31 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index e6176da8a9..e7eb3b1aac 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index 15e6c4d8d5..43bd3cf042 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index e337add175..a670244cb7 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 6a50f20cac..27187fd3fb 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 676741baf8..2dd34e6307 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index e173a2330d..456a91aee9 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index e001bb08e0..75d7926596 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 4885f5d667..966ebe144a 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index a0a86fb677..a496972393 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 2a78fc0811..9f3c3d191b 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index 0ca08b3cd7..e373531a03 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index af0201e4ff..aacba22bf4 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index 2b1196605d..9dd325fa82 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 00fadee553..0eee39153b 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 89608270aa..27604619d6 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index 4c88117f09..d0a394179a 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 155082656d..af44574787 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/package.json b/lib/common/package.json index 164966620d..2e0539b4c1 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index b3d2700360..3a32f7e75c 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.118.0", + "version": "2.118.1", "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 d99e21d103..a6be24c19d 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.118.0", + "version": "2.118.1", "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 bf4221b2d5..b666eff4f8 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 1dc48789aa..1025352b69 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.118.0", + "version": "2.118.1", "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 96702839e3..cb8b5d58e1 100644 --- a/lib/core/lib/client.ts +++ b/lib/core/lib/client.ts @@ -16450,7 +16450,7 @@ To delete instances from a compute cluster, use the {@link #terminateInstance(Te } /** - * Customer can update displayName and tags for compute GPU memory fabric record + * Customer can update displayName, tags and for compute GPU memory fabric record * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateComputeGpuMemoryFabricRequest diff --git a/lib/core/lib/compute-waiter.ts b/lib/core/lib/compute-waiter.ts index ee9c30eaab..a2c6a75030 100644 --- a/lib/core/lib/compute-waiter.ts +++ b/lib/core/lib/compute-waiter.ts @@ -728,6 +728,25 @@ export class ComputeWaiter { ); } + /** + * Waits forComputeImageCapabilitySchema 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 GetComputeImageCapabilitySchemaResponse | null (null in case of 404 response) + */ + public async forComputeImageCapabilitySchema( + request: serviceRequests.GetComputeImageCapabilitySchemaRequest, + ...targetStates: models.ComputeImageCapabilitySchema.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getComputeImageCapabilitySchema(request), + response => targetStates.includes(response.computeImageCapabilitySchema.lifecycleState!), + targetStates.includes(models.ComputeImageCapabilitySchema.LifecycleState.Deleted) + ); + } + /** * Waits forConsoleHistory till it reaches any of the provided states * diff --git a/lib/core/lib/model/amd-milan-bm-gpu-launch-instance-platform-config.ts b/lib/core/lib/model/amd-milan-bm-gpu-launch-instance-platform-config.ts index ce59c45a0f..a83d1880a9 100644 --- a/lib/core/lib/model/amd-milan-bm-gpu-launch-instance-platform-config.ts +++ b/lib/core/lib/model/amd-milan-bm-gpu-launch-instance-platform-config.ts @@ -75,7 +75,8 @@ export namespace AmdMilanBmGpuLaunchInstancePlatformConfig { Nps0 = "NPS0", Nps1 = "NPS1", Nps2 = "NPS2", - Nps4 = "NPS4" + Nps4 = "NPS4", + Nps6 = "NPS6" } export function getJsonObj( diff --git a/lib/core/lib/model/amd-milan-bm-gpu-platform-config.ts b/lib/core/lib/model/amd-milan-bm-gpu-platform-config.ts index b7e2f632d9..e7ee355f62 100644 --- a/lib/core/lib/model/amd-milan-bm-gpu-platform-config.ts +++ b/lib/core/lib/model/amd-milan-bm-gpu-platform-config.ts @@ -75,6 +75,7 @@ export namespace AmdMilanBmGpuPlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/amd-milan-bm-launch-instance-platform-config.ts b/lib/core/lib/model/amd-milan-bm-launch-instance-platform-config.ts index 81d4f044ce..b3e4c25d32 100644 --- a/lib/core/lib/model/amd-milan-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/amd-milan-bm-launch-instance-platform-config.ts @@ -85,7 +85,8 @@ export namespace AmdMilanBmLaunchInstancePlatformConfig { Nps0 = "NPS0", Nps1 = "NPS1", Nps2 = "NPS2", - Nps4 = "NPS4" + Nps4 = "NPS4", + Nps6 = "NPS6" } export function getJsonObj( diff --git a/lib/core/lib/model/amd-milan-bm-platform-config.ts b/lib/core/lib/model/amd-milan-bm-platform-config.ts index 70395b84f9..a65afcd0a7 100644 --- a/lib/core/lib/model/amd-milan-bm-platform-config.ts +++ b/lib/core/lib/model/amd-milan-bm-platform-config.ts @@ -86,6 +86,7 @@ export namespace AmdMilanBmPlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/amd-rome-bm-gpu-launch-instance-platform-config.ts b/lib/core/lib/model/amd-rome-bm-gpu-launch-instance-platform-config.ts index e13e2abb2e..3ffe0c5e8f 100644 --- a/lib/core/lib/model/amd-rome-bm-gpu-launch-instance-platform-config.ts +++ b/lib/core/lib/model/amd-rome-bm-gpu-launch-instance-platform-config.ts @@ -75,7 +75,8 @@ export namespace AmdRomeBmGpuLaunchInstancePlatformConfig { Nps0 = "NPS0", Nps1 = "NPS1", Nps2 = "NPS2", - Nps4 = "NPS4" + Nps4 = "NPS4", + Nps6 = "NPS6" } export function getJsonObj( diff --git a/lib/core/lib/model/amd-rome-bm-gpu-platform-config.ts b/lib/core/lib/model/amd-rome-bm-gpu-platform-config.ts index 6b883ca099..c2c7f30bd3 100644 --- a/lib/core/lib/model/amd-rome-bm-gpu-platform-config.ts +++ b/lib/core/lib/model/amd-rome-bm-gpu-platform-config.ts @@ -75,6 +75,7 @@ export namespace AmdRomeBmGpuPlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/amd-rome-bm-launch-instance-platform-config.ts b/lib/core/lib/model/amd-rome-bm-launch-instance-platform-config.ts index ff35283470..9321729281 100644 --- a/lib/core/lib/model/amd-rome-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/amd-rome-bm-launch-instance-platform-config.ts @@ -85,7 +85,8 @@ export namespace AmdRomeBmLaunchInstancePlatformConfig { Nps0 = "NPS0", Nps1 = "NPS1", Nps2 = "NPS2", - Nps4 = "NPS4" + Nps4 = "NPS4", + Nps6 = "NPS6" } export function getJsonObj( diff --git a/lib/core/lib/model/amd-rome-bm-platform-config.ts b/lib/core/lib/model/amd-rome-bm-platform-config.ts index 5b9de6c51f..7b494814c6 100644 --- a/lib/core/lib/model/amd-rome-bm-platform-config.ts +++ b/lib/core/lib/model/amd-rome-bm-platform-config.ts @@ -85,6 +85,7 @@ export namespace AmdRomeBmPlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/compute-image-capability-schema.ts b/lib/core/lib/model/compute-image-capability-schema.ts index 70e7a965ce..09dd8fb066 100644 --- a/lib/core/lib/model/compute-image-capability-schema.ts +++ b/lib/core/lib/model/compute-image-capability-schema.ts @@ -51,6 +51,10 @@ export interface ComputeImageCapabilitySchema { * */ "imageId": string; + /** + * The ComputeImageCapabilitySchema current lifecycle state. + */ + "lifecycleState"?: ComputeImageCapabilitySchema.LifecycleState; /** * 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). @@ -88,6 +92,17 @@ Example: {@code 2016-08-25T21:10:29.600Z} } export namespace ComputeImageCapabilitySchema { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + 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: ComputeImageCapabilitySchema): object { const jsonObj = { ...obj, diff --git a/lib/core/lib/model/cross-connect-group.ts b/lib/core/lib/model/cross-connect-group.ts index a47913fe81..70c622e7de 100644 --- a/lib/core/lib/model/cross-connect-group.ts +++ b/lib/core/lib/model/cross-connect-group.ts @@ -68,6 +68,12 @@ Example: {@code {\"Department\": \"Finance\"}} * The cross-connect group's Oracle ID (OCID). */ "id"?: string; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; /** * The cross-connect group's current state. */ diff --git a/lib/core/lib/model/drg-customer-resource.ts b/lib/core/lib/model/drg-customer-resource.ts new file mode 100644 index 0000000000..dc7f0c540b --- /dev/null +++ b/lib/core/lib/model/drg-customer-resource.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 IPSEC / FC / RPC info returned in DrgCustomerResponse + */ +export interface DrgCustomerResource { + /** + * OCID of the IPSEC / FC / RPC + */ + "id"?: string; + /** + * The friendly name of the node. + */ + "displayName"?: string; + /** + * the compartment id of the DRG + */ + "compartmentId"?: string; + /** + * the lifeCycleState of the IPSEC / FC / RPC + */ + "state"?: string; +} + +export namespace DrgCustomerResource { + export function getJsonObj(obj: DrgCustomerResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DrgCustomerResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/drg-customer.ts b/lib/core/lib/model/drg-customer.ts new file mode 100644 index 0000000000..4fea23b6a0 --- /dev/null +++ b/lib/core/lib/model/drg-customer.ts @@ -0,0 +1,95 @@ +/** + * 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 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/core/lib/model/generic-bm-launch-instance-platform-config.ts b/lib/core/lib/model/generic-bm-launch-instance-platform-config.ts index 6daa514051..59d23542df 100644 --- a/lib/core/lib/model/generic-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/generic-bm-launch-instance-platform-config.ts @@ -84,7 +84,8 @@ export namespace GenericBmLaunchInstancePlatformConfig { Nps0 = "NPS0", Nps1 = "NPS1", Nps2 = "NPS2", - Nps4 = "NPS4" + Nps4 = "NPS4", + Nps6 = "NPS6" } export function getJsonObj( diff --git a/lib/core/lib/model/generic-bm-platform-config.ts b/lib/core/lib/model/generic-bm-platform-config.ts index 84437db170..479257e9ca 100644 --- a/lib/core/lib/model/generic-bm-platform-config.ts +++ b/lib/core/lib/model/generic-bm-platform-config.ts @@ -85,6 +85,7 @@ export namespace GenericBmPlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/index.ts b/lib/core/lib/model/index.ts index cec002053f..311c4bf624 100644 --- a/lib/core/lib/model/index.ts +++ b/lib/core/lib/model/index.ts @@ -536,6 +536,10 @@ 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 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 DrgRedundancyStatus from "./drg-redundancy-status"; diff --git a/lib/core/lib/model/instance-configuration-amd-milan-bm-gpu-launch-instance-platform-config.ts b/lib/core/lib/model/instance-configuration-amd-milan-bm-gpu-launch-instance-platform-config.ts index 864b4178d1..c689b4c980 100644 --- a/lib/core/lib/model/instance-configuration-amd-milan-bm-gpu-launch-instance-platform-config.ts +++ b/lib/core/lib/model/instance-configuration-amd-milan-bm-gpu-launch-instance-platform-config.ts @@ -76,6 +76,7 @@ export namespace InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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-configuration-amd-milan-bm-launch-instance-platform-config.ts b/lib/core/lib/model/instance-configuration-amd-milan-bm-launch-instance-platform-config.ts index d8954bc906..8335dd8615 100644 --- a/lib/core/lib/model/instance-configuration-amd-milan-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/instance-configuration-amd-milan-bm-launch-instance-platform-config.ts @@ -87,6 +87,7 @@ export namespace InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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-configuration-amd-rome-bm-gpu-launch-instance-platform-config.ts b/lib/core/lib/model/instance-configuration-amd-rome-bm-gpu-launch-instance-platform-config.ts index 1a1fd383a5..673ec24e66 100644 --- a/lib/core/lib/model/instance-configuration-amd-rome-bm-gpu-launch-instance-platform-config.ts +++ b/lib/core/lib/model/instance-configuration-amd-rome-bm-gpu-launch-instance-platform-config.ts @@ -76,6 +76,7 @@ export namespace InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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-configuration-amd-rome-bm-launch-instance-platform-config.ts b/lib/core/lib/model/instance-configuration-amd-rome-bm-launch-instance-platform-config.ts index 7b2693c3ac..f8800eed99 100644 --- a/lib/core/lib/model/instance-configuration-amd-rome-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/instance-configuration-amd-rome-bm-launch-instance-platform-config.ts @@ -87,6 +87,7 @@ export namespace InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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-configuration-generic-bm-launch-instance-platform-config.ts b/lib/core/lib/model/instance-configuration-generic-bm-launch-instance-platform-config.ts index e4071ff1a7..26ef9553c1 100644 --- a/lib/core/lib/model/instance-configuration-generic-bm-launch-instance-platform-config.ts +++ b/lib/core/lib/model/instance-configuration-generic-bm-launch-instance-platform-config.ts @@ -86,6 +86,7 @@ export namespace InstanceConfigurationGenericBmLaunchInstancePlatformConfig { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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-configuration-launch-instance-details.ts b/lib/core/lib/model/instance-configuration-launch-instance-details.ts index ab910262eb..31ba445b0c 100644 --- a/lib/core/lib/model/instance-configuration-launch-instance-details.ts +++ b/lib/core/lib/model/instance-configuration-launch-instance-details.ts @@ -36,6 +36,11 @@ Example: {@code Uocm:PHX-AD-1} * */ "availabilityDomain"?: string; + /** + * Whether to enable AI enterprise on the instance. + * + */ + "isAIEnterpriseEnabled"?: boolean; /** * The OCID of the compute capacity reservation this instance is launched under. */ diff --git a/lib/core/lib/model/instance.ts b/lib/core/lib/model/instance.ts index 5be82f575c..a13b32aff5 100644 --- a/lib/core/lib/model/instance.ts +++ b/lib/core/lib/model/instance.ts @@ -68,6 +68,11 @@ Example: {@code Uocm:PHX-AD-1} "placementConstraintDetails"?: | model.HostGroupPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails; + /** + * Whether AI enterprise is enabled on the instance. + * + */ + "isAIEnterpriseEnabled"?: boolean; /** * The OCID of the cluster placement group of the instance. */ diff --git a/lib/core/lib/model/launch-instance-details.ts b/lib/core/lib/model/launch-instance-details.ts index 2857a3209f..2f29f3db9d 100644 --- a/lib/core/lib/model/launch-instance-details.ts +++ b/lib/core/lib/model/launch-instance-details.ts @@ -264,6 +264,11 @@ You can enumerate all available shapes by calling {@link #listShapes(ListShapesR "placementConstraintDetails"?: | model.HostGroupPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails; + /** + * Whether to enable AI enterprise on the instance. + * + */ + "isAIEnterpriseEnabled"?: boolean; /** * The OCID of the Instance Configuration containing instance launch details. Any other fields supplied in this instance launch request will override the details stored in the Instance Configuration for this instance launch. */ diff --git a/lib/core/lib/model/shape-numa-nodes-per-socket-platform-options.ts b/lib/core/lib/model/shape-numa-nodes-per-socket-platform-options.ts index f287e0d728..261f6d7cf7 100644 --- a/lib/core/lib/model/shape-numa-nodes-per-socket-platform-options.ts +++ b/lib/core/lib/model/shape-numa-nodes-per-socket-platform-options.ts @@ -44,6 +44,7 @@ export namespace ShapeNumaNodesPerSocketPlatformOptions { Nps1 = "NPS1", Nps2 = "NPS2", Nps4 = "NPS4", + Nps6 = "NPS6", /** * 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/update-instance-details.ts b/lib/core/lib/model/update-instance-details.ts index d74f049b90..9df894013a 100644 --- a/lib/core/lib/model/update-instance-details.ts +++ b/lib/core/lib/model/update-instance-details.ts @@ -22,6 +22,11 @@ import * as model from "../model"; import common = require("oci-common"); export interface UpdateInstanceDetails { + /** + * Whether to enable AI enterprise on the instance. + * + */ + "isAIEnterpriseEnabled"?: boolean; /** * The OCID of the compute capacity reservation this instance is launched under. * You can remove the instance from a reservation by specifying an empty string as input for this field. diff --git a/lib/core/package.json b/lib/core/package.json index c831f9316d..6232399279 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 871a8f5670..823ab0210d 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/model/autonomous-database-encryption-key-details.ts b/lib/database/lib/model/autonomous-database-encryption-key-details.ts index bb8d3684c5..55e38472e3 100644 --- a/lib/database/lib/model/autonomous-database-encryption-key-details.ts +++ b/lib/database/lib/model/autonomous-database-encryption-key-details.ts @@ -36,6 +36,8 @@ export namespace AutonomousDatabaseEncryptionKeyDetails { return model.AwsKeyDetails.getJsonObj((jsonObj), true); case "OCI": return model.OciKeyDetails.getJsonObj((jsonObj), true); + case "GCP": + return model.GcpKeyDetails.getJsonObj((jsonObj), true); case "ORACLE_MANAGED": return model.OracleManagedKeyDetails.getJsonObj( (jsonObj), @@ -72,6 +74,11 @@ export namespace AutonomousDatabaseEncryptionKeyDetails { (jsonObj), true ); + case "GCP": + return model.GcpKeyDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "ORACLE_MANAGED": return model.OracleManagedKeyDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/database/lib/model/autonomous-database-encryption-key-history-entry.ts b/lib/database/lib/model/autonomous-database-encryption-key-history-entry.ts index de16b9d1b8..3b0907933d 100644 --- a/lib/database/lib/model/autonomous-database-encryption-key-history-entry.ts +++ b/lib/database/lib/model/autonomous-database-encryption-key-history-entry.ts @@ -24,6 +24,7 @@ export interface AutonomousDatabaseEncryptionKeyHistoryEntry { | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * The date and time the encryption key was activated. diff --git a/lib/database/lib/model/autonomous-database-summary.ts b/lib/database/lib/model/autonomous-database-summary.ts index 37fb6a4947..7208b8d3c8 100644 --- a/lib/database/lib/model/autonomous-database-summary.ts +++ b/lib/database/lib/model/autonomous-database-summary.ts @@ -59,6 +59,7 @@ export interface AutonomousDatabaseSummary { | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances. @@ -698,6 +699,12 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd * The Autonomous Database clone type. */ "cloneType"?: AutonomousDatabaseSummary.CloneType; + /** + * Additional attributes for this resource. Each attribute is a simple key-value pair with no predefined name, type, or namespace. + * Example: {@code { \"gcpAccountName\": \"gcpName\" }} + * + */ + "additionalAttributes"?: { [key: string]: string }; } export namespace AutonomousDatabaseSummary { diff --git a/lib/database/lib/model/autonomous-database.ts b/lib/database/lib/model/autonomous-database.ts index 076c73c1b0..40d2858706 100644 --- a/lib/database/lib/model/autonomous-database.ts +++ b/lib/database/lib/model/autonomous-database.ts @@ -57,6 +57,7 @@ export interface AutonomousDatabase { | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances. @@ -696,6 +697,12 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd * The Autonomous Database clone type. */ "cloneType"?: AutonomousDatabase.CloneType; + /** + * Additional attributes for this resource. Each attribute is a simple key-value pair with no predefined name, type, or namespace. + * Example: {@code { \"gcpAccountName\": \"gcpName\" }} + * + */ + "additionalAttributes"?: { [key: string]: string }; } export namespace AutonomousDatabase { diff --git a/lib/database/lib/model/autonomous-dw-database.ts b/lib/database/lib/model/autonomous-dw-database.ts index 364b9ecc2b..c6953f35b0 100644 --- a/lib/database/lib/model/autonomous-dw-database.ts +++ b/lib/database/lib/model/autonomous-dw-database.ts @@ -57,6 +57,7 @@ export interface AutonomousDwDatabase { | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances. @@ -696,6 +697,12 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd * The Autonomous Database clone type. */ "cloneType"?: AutonomousDwDatabase.CloneType; + /** + * Additional attributes for this resource. Each attribute is a simple key-value pair with no predefined name, type, or namespace. + * Example: {@code { \"gcpAccountName\": \"gcpName\" }} + * + */ + "additionalAttributes"?: { [key: string]: string }; } export namespace AutonomousDwDatabase { diff --git a/lib/database/lib/model/create-autonomous-database-base.ts b/lib/database/lib/model/create-autonomous-database-base.ts index 6a34a54447..55a664c4c9 100644 --- a/lib/database/lib/model/create-autonomous-database-base.ts +++ b/lib/database/lib/model/create-autonomous-database-base.ts @@ -139,6 +139,7 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * **Important** The {@code adminPassword} or {@code secretId} must be specified for all Autonomous Databases except for refreshable clones. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (\") or the username \"admin\", regardless of casing. diff --git a/lib/database/lib/model/create-cloud-vm-cluster-details.ts b/lib/database/lib/model/create-cloud-vm-cluster-details.ts index ab3ec5682b..fdb20c1c3d 100644 --- a/lib/database/lib/model/create-cloud-vm-cluster-details.ts +++ b/lib/database/lib/model/create-cloud-vm-cluster-details.ts @@ -39,17 +39,28 @@ export interface CreateCloudVmClusterDetails { */ "backupSubnetId": string; /** - * The number of ECPUs (X11M and higher) or number of OCPUs (X10M and earlier) to enable for the VM cluster. - * - * - Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. - * - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. - * - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. - * - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. - * - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. - * - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. - * - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ + * For fixed shapes, this is the total number of OCPUs to enable across the VM cluster. +*

+ - Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. +* - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. +* - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. +* - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400. +*

+The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary +*

+ +* For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. +*

+ - Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. +* - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server. +*

+For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. +*

+ - Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server. +*

+The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ "cpuCoreCount": number; /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/database/lib/model/db-system-shape-summary.ts b/lib/database/lib/model/db-system-shape-summary.ts index aeae2e31e5..9b649fd2e3 100644 --- a/lib/database/lib/model/db-system-shape-summary.ts +++ b/lib/database/lib/model/db-system-shape-summary.ts @@ -18,6 +18,8 @@ import common = require("oci-common"); /** * The shape of the DB system. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. *

+For Exadata fixed and flexible shapes, detailed specifications can be found in https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/exa-service-desc.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B +*

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). diff --git a/lib/database/lib/model/flex-component-summary.ts b/lib/database/lib/model/flex-component-summary.ts index 98c28255ab..97552827ff 100644 --- a/lib/database/lib/model/flex-component-summary.ts +++ b/lib/database/lib/model/flex-component-summary.ts @@ -18,6 +18,8 @@ import common = require("oci-common"); /** * The Flex Components for a DB system. The Flex Component determines resources to allocate to the DB system - CPU cores, memory and storage for Flex shapes. *

+For Exadata flexible shapes, detailed specifications can be found in https://docs.oracle.com/en/engineered-systems/exadata-cloud-service/ecscm/exa-service-desc.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B +*

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). diff --git a/lib/database/lib/model/gcp-key-details.ts b/lib/database/lib/model/gcp-key-details.ts new file mode 100644 index 0000000000..3e1b2b2811 --- /dev/null +++ b/lib/database/lib/model/gcp-key-details.ts @@ -0,0 +1,70 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for GCP encryption key. + */ +export interface GcpKeyDetails extends model.AutonomousDatabaseEncryptionKeyDetails { + /** + * GCP key name + */ + "keyName": string; + /** + * GCP kms REST API endpoint + */ + "kmsRestEndpoint"?: string; + /** + * GCP project name + */ + "project": string; + /** + * GCP key ring location + */ + "location": string; + /** + * GCP key ring + */ + "keyRing": string; + + "provider": string; +} + +export namespace GcpKeyDetails { + export function getJsonObj(obj: GcpKeyDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AutonomousDatabaseEncryptionKeyDetails.getJsonObj(obj) as GcpKeyDetails)), + ...{} + }; + + return jsonObj; + } + export const provider = "GCP"; + export function getDeserializedJsonObj(obj: GcpKeyDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AutonomousDatabaseEncryptionKeyDetails.getDeserializedJsonObj( + obj + ) as GcpKeyDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index 75ed529b0e..eff10ce449 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -999,6 +999,8 @@ import * as ExternalMacsConnector from "./external-macs-connector"; export import ExternalMacsConnector = ExternalMacsConnector.ExternalMacsConnector; import * as ExternalMacsConnectorSummary from "./external-macs-connector-summary"; export import ExternalMacsConnectorSummary = ExternalMacsConnectorSummary.ExternalMacsConnectorSummary; +import * as GcpKeyDetails from "./gcp-key-details"; +export import GcpKeyDetails = GcpKeyDetails.GcpKeyDetails; import * as GoogleCloudProviderEncryptionKeyDetails from "./google-cloud-provider-encryption-key-details"; export import GoogleCloudProviderEncryptionKeyDetails = GoogleCloudProviderEncryptionKeyDetails.GoogleCloudProviderEncryptionKeyDetails; import * as KeyStoreTypeFromOracleKeyVaultDetails from "./key-store-type-from-oracle-key-vault-details"; diff --git a/lib/database/lib/model/update-autonomous-database-details.ts b/lib/database/lib/model/update-autonomous-database-details.ts index 0735c02961..9f4a27c7ef 100644 --- a/lib/database/lib/model/update-autonomous-database-details.ts +++ b/lib/database/lib/model/update-autonomous-database-details.ts @@ -429,6 +429,7 @@ This cannot be updated in parallel with any of the following: licenseModel, dbEd | model.AzureKeyDetails | model.AwsKeyDetails | model.OciKeyDetails + | model.GcpKeyDetails | model.OracleManagedKeyDetails; /** * If true, this will disconnect the Autonomous Database from its peer and the Autonomous Database can work permanently as a standalone database. diff --git a/lib/database/lib/model/update-cloud-vm-cluster-details.ts b/lib/database/lib/model/update-cloud-vm-cluster-details.ts index e85aa1d47f..2f547cc934 100644 --- a/lib/database/lib/model/update-cloud-vm-cluster-details.ts +++ b/lib/database/lib/model/update-cloud-vm-cluster-details.ts @@ -26,8 +26,34 @@ export interface UpdateCloudVmClusterDetails { */ "displayName"?: string; /** - * The number of CPU cores to enable for the cloud VM cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ + * For fixed shapes, this is the total number of OCPUs to enable across the VM cluster. +*

+ - Exadata.Base.48 - Specify a multiple of 2, from 0 to 48. +* - Exadata.Quarter1.84 - Specify a multiple of 2, from 22 to 84. +* - Exadata.Half1.168 - Specify a multiple of 4, from 44 to 168. +* - Exadata.Full1.336 - Specify a multiple of 8, from 88 to 336. +* - Exadata.Quarter2.92 - Specify a multiple of 2, from 0 to 92. +* - Exadata.Half2.184 - Specify a multiple of 4, from 0 to 184. +* - Exadata.Full2.368 - Specify a multiple of 8, from 0 to 368. +* - Exadata.Quarter3.100 - Specify a multiple of 2, from 0 to 100. +* - Exadata.Half3.200 - Specify a multiple of 4, from 0 to 200. +* - Exadata.Full3.400 - Specify a multiple of 8, from 0 to 400. +*

+The API specification for fixed shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbSystemShapeSummary +*

+ +* For flexible shapes X8M and X9M, this is the total number of OCPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. +*

+ - Exadata.X8M - Specify a multiple of 2, from 2 to 50 per X8M database server. +* - Exadata.X9M - Specify a multiple of 2, from 2 to 126 per X9M database server. +*

+For flexible shapes X11M and higher, this is the total number of ECPUs to enable across the VM cluster. The number available for the VM cluster will be based on the number of database servers selected for provisioning the VM cluster on the Exadata Infrastructure. +*

+ - Exadata.X11M - Specify a multiple of 8, from 8 to 760 per X11M database server. +*

+The API specification for flexible shape values is https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/FlexComponentSummary +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ "cpuCoreCount"?: number; /** * The number of OCPU cores to enable for a cloud VM cluster. Only 1 decimal place is allowed for the fractional part. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/database/package.json b/lib/database/package.json index 6536b3a1f2..d657762c31 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 771a650f2a..5298b19861 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Database Management Service", "repository": { "type": "git", diff --git a/lib/databasemigration/package.json b/lib/databasemigration/package.json index 57df29cd46..326e65ef8f 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Database Migration Service", "repository": { "type": "git", diff --git a/lib/databasetools/package.json b/lib/databasetools/package.json index 3db00491b9..81a92efcdb 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 74a1e2a88e..29dbe8c2b7 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Data catalogue Service", "repository": { "type": "git", diff --git a/lib/dataflow/package.json b/lib/dataflow/package.json index e6350510a9..3aaa2fc08e 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index fa3e641dbd..2b79bfe31a 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Data Integration Service", "repository": { "type": "git", diff --git a/lib/datalabelingservice/package.json b/lib/datalabelingservice/package.json index f2fbe6ae40..b463f06af2 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.118.0", + "version": "2.118.1", "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 e46a929c49..8bb0b65262 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.118.0", + "version": "2.118.1", "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 8ad5f06e03..a2b7dc0ef6 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index dc0d3bf95f..4a5655a1fd 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index 47dcd39429..70607c2425 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index 89b9524202..05ced1505f 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 03f9bdfd55..2edd46ecbe 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.118.0", + "version": "2.118.1", "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 8ac3dd462b..40817d6e37 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index 5a65d73fa9..18c28a2143 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 8b83037c6b..3f6ae2c10e 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 9c34f8099f..ede1be5141 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index c4765cfb17..29bb387353 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Distributed Database Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index c329168c03..1210cc1e04 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 0f4452e566..54b932a910 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index f3f60d1d5f..fbf6bc6ad4 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.118.0", + "version": "2.118.1", "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 3277e4ddba..9c629f820b 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Em Warehouse Service", "repository": { "type": "git", diff --git a/lib/events/package.json b/lib/events/package.json index b745cee6bb..7ad4a8d5b3 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 9a56e1cfc6..2d8e442213 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index b713a52a26..5f02b8d4f5 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/lib/model/add-fsu-collection-targets-details.ts b/lib/fleetsoftwareupdate/lib/model/add-fsu-collection-targets-details.ts index 18decb73cc..2f0aace33d 100644 --- a/lib/fleetsoftwareupdate/lib/model/add-fsu-collection-targets-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/add-fsu-collection-targets-details.ts @@ -17,7 +17,9 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Add Targets to a Exadata Fleet Update Collection. + * Add Targets to an Exadata Fleet Update Collection. + * Targets belonging to another Exadata Fleet Update Collection of the same type will be rejected. + * If automated maintenance is enabled for the Exadata Fleet Update Collection, then ensure that the scheduling policy and window can accommodate the targets being added. * */ export interface AddFsuCollectionTargetsDetails { diff --git a/lib/fleetsoftwareupdate/lib/model/clone-fsu-cycle-details.ts b/lib/fleetsoftwareupdate/lib/model/clone-fsu-cycle-details.ts index c3c2a13458..068dbaafcc 100644 --- a/lib/fleetsoftwareupdate/lib/model/clone-fsu-cycle-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/clone-fsu-cycle-details.ts @@ -22,22 +22,25 @@ import common = require("oci-common"); */ export interface CloneFsuCycleDetails { /** - * Exadata Fleet Update Cycle display name. + * The user-friendly name for the Exadata Fleet Update Cycle. * */ "displayName"?: string; /** - * Compartment Identifier. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId"?: string; /** - * OCID identifier for the Collection ID the Exadata Fleet Update Cycle will be assigned to. - * If not specified, it will be assigned to the same Collection as the source Exadata Fleet Update Cycle. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created. + * If not specified, the cloned Exadata Fleet Update Cycle will be assigned to the same Exadata Fleet Update Collection as the source Exadata Fleet Update Cycle. * */ "fsuCollectionId"?: string; - "goalVersionDetails": model.VersionFsuTargetDetails | model.ImageIdFsuTargetDetails; + "goalVersionDetails": + | model.ExadbStackFsuGoalVersionDetails + | model.VersionFsuTargetDetails + | model.ImageIdFsuTargetDetails; "batchingStrategy"?: | model.CreateSequentialBatchingStrategyDetails | model.CreateFiftyFiftyBatchingStrategyDetails diff --git a/lib/fleetsoftwareupdate/lib/model/cloud-vm-cluster-target-summary.ts b/lib/fleetsoftwareupdate/lib/model/cloud-vm-cluster-target-summary.ts index e3bc62156b..cc63fdc1c5 100644 --- a/lib/fleetsoftwareupdate/lib/model/cloud-vm-cluster-target-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/cloud-vm-cluster-target-summary.ts @@ -33,6 +33,11 @@ export interface CloudVmClusterTargetSummary extends model.TargetDetails { * */ "softwareImageId"?: string; + /** + * Exadata Image (Guest OS) version. + * + */ + "systemVersion"?: string; "entityType": string; } diff --git a/lib/fleetsoftwareupdate/lib/model/collection-types.ts b/lib/fleetsoftwareupdate/lib/model/collection-types.ts index 3ba16e7084..0226c94a15 100644 --- a/lib/fleetsoftwareupdate/lib/model/collection-types.ts +++ b/lib/fleetsoftwareupdate/lib/model/collection-types.ts @@ -22,6 +22,8 @@ import common = require("oci-common"); export enum CollectionTypes { Db = "DB", Gi = "GI", + GuestOs = "GUEST_OS", + ExadbStack = "EXADB_STACK", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/fleetsoftwareupdate/lib/model/create-db-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/create-db-fsu-collection-details.ts index ef3af11b1c..3b53e01d57 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-db-fsu-collection-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-db-fsu-collection-details.ts @@ -18,6 +18,7 @@ import common = require("oci-common"); /** * Details to create a 'DB' type Exadata Fleet Update Collection. + * Targets belonging to another 'DB' type Exadata Fleet Update Collection will be rejected. * */ export interface CreateDbFsuCollectionDetails extends model.CreateFsuCollectionDetails { diff --git a/lib/fleetsoftwareupdate/lib/model/create-exadb-stack-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/create-exadb-stack-fsu-collection-details.ts new file mode 100644 index 0000000000..35bebe292b --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/create-exadb-stack-fsu-collection-details.ts @@ -0,0 +1,80 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'EXADB_STACK' type Exadata Fleet Update Collection. + * Currently, components allowed in an Exadata software stack are 'GUEST_OS' and 'GI'. + * At least two distinct component types are required for an Exadata software stack. + * Targets belonging to another 'EXADB_STACK' type Exadata Fleet Update Collection will be rejected. + * + */ +export interface CreateExadbStackFsuCollectionDetails extends model.CreateFsuCollectionDetails { + /** + * Details of components in an Exadata software stack. + * + */ + "components": Array; + + "type": string; +} + +export namespace CreateExadbStackFsuCollectionDetails { + export function getJsonObj( + obj: CreateExadbStackFsuCollectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateFsuCollectionDetails.getJsonObj( + obj + ) as CreateExadbStackFsuCollectionDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.CreateSoftwareComponentDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "EXADB_STACK"; + export function getDeserializedJsonObj( + obj: CreateExadbStackFsuCollectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateFsuCollectionDetails.getDeserializedJsonObj( + obj + ) as CreateExadbStackFsuCollectionDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.CreateSoftwareComponentDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/create-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/create-fsu-collection-details.ts index 0849e094b9..464d25cdcd 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-fsu-collection-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-fsu-collection-details.ts @@ -17,12 +17,13 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information about new Exadata Fleet Update Collection. + * Details to create a new Exadata Fleet Update Collection. + * Targets belonging to another Exadata Fleet Update Collection of the same type will be rejected. * */ export interface CreateFsuCollectionDetails { /** - * Exadata Fleet Update Collection Identifier. + * The user-friendly name for the Exadata Fleet Update Collection. * */ "displayName"?: string; @@ -32,7 +33,7 @@ export interface CreateFsuCollectionDetails { */ "serviceType": model.CollectionServiceTypes; /** - * Compartment Identifier + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. */ "compartmentId": string; /** @@ -67,6 +68,16 @@ export namespace CreateFsuCollectionDetails { (jsonObj), true ); + case "GUEST_OS": + return model.CreateGuestOsFsuCollectionDetails.getJsonObj( + (jsonObj), + true + ); + case "EXADB_STACK": + return model.CreateExadbStackFsuCollectionDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } @@ -88,6 +99,16 @@ export namespace CreateFsuCollectionDetails { (jsonObj), true ); + case "GUEST_OS": + return model.CreateGuestOsFsuCollectionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "EXADB_STACK": + return model.CreateExadbStackFsuCollectionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } diff --git a/lib/fleetsoftwareupdate/lib/model/create-fsu-cycle-details.ts b/lib/fleetsoftwareupdate/lib/model/create-fsu-cycle-details.ts index 6f0db27249..35821980d7 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-fsu-cycle-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-fsu-cycle-details.ts @@ -17,26 +17,29 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Exadata Fleet Update Cycle resource creation details. + * Details to create an Exadata Fleet Update Cycle. * */ export interface CreateFsuCycleDetails { /** - * Exadata Fleet Update Cycle display name. + * The user-friendly name for the Exadata Fleet Update Cycle. * */ "displayName"?: string; /** - * Compartment Identifier. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId": string; /** - * OCID identifier for the Collection ID the Exadata Fleet Update Cycle will be assigned to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection which will be updated by the Exadata Fleet Update Cycle being created. * */ "fsuCollectionId": string; - "goalVersionDetails": model.VersionFsuTargetDetails | model.ImageIdFsuTargetDetails; + "goalVersionDetails": + | model.ExadbStackFsuGoalVersionDetails + | model.VersionFsuTargetDetails + | model.ImageIdFsuTargetDetails; "batchingStrategy"?: | model.CreateSequentialBatchingStrategyDetails | model.CreateFiftyFiftyBatchingStrategyDetails diff --git a/lib/fleetsoftwareupdate/lib/model/create-fsu-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/create-fsu-discovery-details.ts index 5407526543..bc1a04f261 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-fsu-discovery-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-fsu-discovery-details.ts @@ -30,7 +30,11 @@ export interface CreateFsuDiscoveryDetails { * Compartment Identifier. */ "compartmentId": string; - "details": model.GiDiscoveryDetails | model.DbDiscoveryDetails; + "details": + | model.GiDiscoveryDetails + | model.DbDiscoveryDetails + | model.ExadbStackDiscoveryDetails + | model.GuestOsDiscoveryDetails; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetsoftwareupdate/lib/model/create-gi-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/create-gi-fsu-collection-details.ts index 3740b2fdca..fe998cefb1 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-gi-fsu-collection-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-gi-fsu-collection-details.ts @@ -18,6 +18,7 @@ import common = require("oci-common"); /** * Details to create a 'GI' type Exadata Fleet Update Collection. + * Targets belonging to another 'GI' type Exadata Fleet Update Collection will be rejected. * */ export interface CreateGiFsuCollectionDetails extends model.CreateFsuCollectionDetails { diff --git a/lib/fleetsoftwareupdate/lib/model/create-gi-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/create-gi-software-component-details.ts new file mode 100644 index 0000000000..560f4408c1 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/create-gi-software-component-details.ts @@ -0,0 +1,79 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GI' component in an Exadata software stack. + * + */ +export interface CreateGiSoftwareComponentDetails extends model.CreateSoftwareComponentDetails { + /** + * Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. + * Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. + * + */ + "sourceMajorVersion": model.GiSourceMajorVersions; + "fleetDiscovery"?: + | model.GiFiltersDiscovery + | model.GiSearchQueryDiscovery + | model.GiDiscoveryResults + | model.GiTargetListDiscovery; + + "componentType": string; +} + +export namespace CreateGiSoftwareComponentDetails { + export function getJsonObj( + obj: CreateGiSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateSoftwareComponentDetails.getJsonObj( + obj + ) as CreateGiSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GiFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GI"; + export function getDeserializedJsonObj( + obj: CreateGiSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateSoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as CreateGiSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GiFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/create-guest-os-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/create-guest-os-fsu-collection-details.ts new file mode 100644 index 0000000000..896d705ab2 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/create-guest-os-fsu-collection-details.ts @@ -0,0 +1,79 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GUEST_OS' type Exadata Fleet Update Collection. + * Targets belonging to another 'GUEST_OS' type Exadata Fleet Update Collection will be rejected. + * + */ +export interface CreateGuestOsFsuCollectionDetails extends model.CreateFsuCollectionDetails { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in the Exadata Fleet Update Collection. + * Only Exadata VM Clusters whose 'systemVersion' is related to the major version will be added to the Exadata Fleet Update Collection. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "fleetDiscovery"?: + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "type": string; +} + +export namespace CreateGuestOsFsuCollectionDetails { + export function getJsonObj( + obj: CreateGuestOsFsuCollectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateFsuCollectionDetails.getJsonObj(obj) as CreateGuestOsFsuCollectionDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const type = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: CreateGuestOsFsuCollectionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateFsuCollectionDetails.getDeserializedJsonObj( + obj + ) as CreateGuestOsFsuCollectionDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/create-guest-os-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/create-guest-os-software-component-details.ts new file mode 100644 index 0000000000..7776242b8e --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/create-guest-os-software-component-details.ts @@ -0,0 +1,81 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GUEST_OS' component in an Exadata software stack. + * + */ +export interface CreateGuestOsSoftwareComponentDetails + extends model.CreateSoftwareComponentDetails { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in an Exadata Fleet Update Collection. + * Major Versions of Exadata Software are demarcated by the underlying Oracle Linux OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "fleetDiscovery"?: + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "componentType": string; +} + +export namespace CreateGuestOsSoftwareComponentDetails { + export function getJsonObj( + obj: CreateGuestOsSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateSoftwareComponentDetails.getJsonObj( + obj + ) as CreateGuestOsSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: CreateGuestOsSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateSoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as CreateGuestOsSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/create-patch-fsu-cycle.ts b/lib/fleetsoftwareupdate/lib/model/create-patch-fsu-cycle.ts index 4703b6ff9e..d81001e94f 100644 --- a/lib/fleetsoftwareupdate/lib/model/create-patch-fsu-cycle.ts +++ b/lib/fleetsoftwareupdate/lib/model/create-patch-fsu-cycle.ts @@ -17,28 +17,29 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Patch Exadata Fleet Update Cycle resource creation details. + * Details to create an Exadata Fleet Update Cycle for a single maintenance update for an Exadata Fleet Update Collection. * */ export interface CreatePatchFsuCycle extends model.CreateFsuCycleDetails { /** - * Ignore all patches between the source and target homes during patching. + * Ignore patch conflicts or missing patches between the source and goal homes. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnorePatches"?: boolean; /** - * List of patch IDs to ignore. + * List of identifiers of patches to ignore. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnoreMissingPatches"?: Array; /** - * Service drain timeout specified in seconds. + * Timeout for session draining for database services specified in seconds. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxDrainTimeoutInSeconds"?: number; /** - * Ensure that services of administrator-managed Oracle RAC or Oracle RAC One databases are running on the same - * instances before and after the move operation. + * Ensure that database services are online on the same VMs before and after the maintenance update. * */ "isKeepPlacement"?: boolean; diff --git a/lib/fleetsoftwareupdate/lib/model/create-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/create-software-component-details.ts new file mode 100644 index 0000000000..8016f85b57 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/create-software-component-details.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 component in an Exadata software stack. + * + */ +export interface CreateSoftwareComponentDetails { + "componentType": string; +} + +export namespace CreateSoftwareComponentDetails { + export function getJsonObj(obj: CreateSoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GI": + return model.CreateGiSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.CreateGuestOsSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateSoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GI": + return model.CreateGiSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.CreateGuestOsSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/custom-gi-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/custom-gi-goal-version-details.ts new file mode 100644 index 0000000000..860334ce71 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/custom-gi-goal-version-details.ts @@ -0,0 +1,58 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 a custom 'GI' software image. + * + */ +export interface CustomGiGoalVersionDetails extends model.GiGoalVersionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom 'GI' software image. + * + */ + "goalSoftwareImageId": string; + + "goalType": string; +} + +export namespace CustomGiGoalVersionDetails { + export function getJsonObj(obj: CustomGiGoalVersionDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GiGoalVersionDetails.getJsonObj(obj) as CustomGiGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } + export const goalType = "GI_CUSTOM_IMAGE"; + export function getDeserializedJsonObj( + obj: CustomGiGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GiGoalVersionDetails.getDeserializedJsonObj(obj) as CustomGiGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/cycle-types.ts b/lib/fleetsoftwareupdate/lib/model/cycle-types.ts index 356964d871..46dfcf0ee2 100644 --- a/lib/fleetsoftwareupdate/lib/model/cycle-types.ts +++ b/lib/fleetsoftwareupdate/lib/model/cycle-types.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Possible Exadata Fleet Update Cycle types to specify. + * Possible Exadata Fleet Update Cycle types. * **/ export enum CycleTypes { diff --git a/lib/fleetsoftwareupdate/lib/model/discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/discovery-details.ts index 0a3458f9a5..9f3449ddc5 100644 --- a/lib/fleetsoftwareupdate/lib/model/discovery-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/discovery-details.ts @@ -46,6 +46,16 @@ export namespace DiscoveryDetails { (jsonObj), true ); + case "EXADB_STACK": + return model.ExadbStackDiscoveryDetails.getJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.GuestOsDiscoveryDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } @@ -67,6 +77,16 @@ export namespace DiscoveryDetails { (jsonObj), true ); + case "EXADB_STACK": + return model.ExadbStackDiscoveryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.GuestOsDiscoveryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } diff --git a/lib/fleetsoftwareupdate/lib/model/discovery-types.ts b/lib/fleetsoftwareupdate/lib/model/discovery-types.ts index b61db4e1de..d5a708cee7 100644 --- a/lib/fleetsoftwareupdate/lib/model/discovery-types.ts +++ b/lib/fleetsoftwareupdate/lib/model/discovery-types.ts @@ -22,6 +22,8 @@ import common = require("oci-common"); export enum DiscoveryTypes { Db = "DB", Gi = "GI", + GuestOs = "GUEST_OS", + ExadbStack = "EXADB_STACK", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/fleetsoftwareupdate/lib/model/exadata-release-versions.ts b/lib/fleetsoftwareupdate/lib/model/exadata-release-versions.ts new file mode 100644 index 0000000000..2f55f57354 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadata-release-versions.ts @@ -0,0 +1,55 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Exadata Releases. + * Note that an Exadata Release depends on underlying major Oracle Linux OS version. + * For example, Exadata Release 21.2 depends on Oracle Linux 7. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + **/ +export enum ExadataReleaseVersions { + ExaOl5111 = "EXA_OL_5_11_1", + ExaOl5112 = "EXA_OL_5_11_2", + ExaOl5121 = "EXA_OL_5_12_1", + ExaOl6122 = "EXA_OL_6_12_2", + ExaOl6181 = "EXA_OL_6_18_1", + ExaOl7191 = "EXA_OL_7_19_1", + ExaOl7192 = "EXA_OL_7_19_2", + ExaOl7193 = "EXA_OL_7_19_3", + ExaOl7201 = "EXA_OL_7_20_1", + ExaOl7212 = "EXA_OL_7_21_2", + ExaOl7221 = "EXA_OL_7_22_1", + ExaOl8231 = "EXA_OL_8_23_1", + ExaOl8241 = "EXA_OL_8_24_1", + + /** + * 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 ExadataReleaseVersions { + export function getJsonObj(obj: ExadataReleaseVersions): ExadataReleaseVersions { + return obj; + } + export function getDeserializedJsonObj(obj: ExadataReleaseVersions): ExadataReleaseVersions { + return obj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/exadb-stack-collection.ts b/lib/fleetsoftwareupdate/lib/model/exadb-stack-collection.ts new file mode 100644 index 0000000000..0dfffe549f --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadb-stack-collection.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'EXADB_STACK' type Exadata Fleet Update Collection. + * Currently, components allowed in an Exadata software stack are 'GUEST_OS' and 'GI'. + * At least two distinct component types are required for an Exadata software stack. + * + */ +export interface ExadbStackCollection extends model.FsuCollection { + /** + * Details of components in an Exadata software stack. + * + */ + "components": Array; + + "type": string; +} + +export namespace ExadbStackCollection { + export function getJsonObj(obj: ExadbStackCollection, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FsuCollection.getJsonObj(obj) as ExadbStackCollection)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "EXADB_STACK"; + export function getDeserializedJsonObj( + obj: ExadbStackCollection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollection.getDeserializedJsonObj(obj) as ExadbStackCollection)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/exadb-stack-components.ts b/lib/fleetsoftwareupdate/lib/model/exadb-stack-components.ts new file mode 100644 index 0000000000..8e7978c53c --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadb-stack-components.ts @@ -0,0 +1,41 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 components in an Exadata software stack. + * + **/ +export enum ExadbStackComponents { + Gi = "GI", + GuestOs = "GUEST_OS", + + /** + * 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 ExadbStackComponents { + export function getJsonObj(obj: ExadbStackComponents): ExadbStackComponents { + return obj; + } + export function getDeserializedJsonObj(obj: ExadbStackComponents): ExadbStackComponents { + return obj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/exadb-stack-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/exadb-stack-discovery-details.ts new file mode 100644 index 0000000000..920b0c4b6f --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadb-stack-discovery-details.ts @@ -0,0 +1,72 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'EXADB_STACK' type Exadata Fleet Update Discovery. + * Currently, components allowed in an Exadata software stack are 'GUEST_OS' and 'GI'. + * At least two distinct component types are required for an Exadata software stack. + * + */ +export interface ExadbStackDiscoveryDetails extends model.DiscoveryDetails { + /** + * Discovery filter details of components in an Exadata software stack. + * + */ + "components": Array; + + "type": string; +} + +export namespace ExadbStackDiscoveryDetails { + export function getJsonObj(obj: ExadbStackDiscoveryDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DiscoveryDetails.getJsonObj(obj) as ExadbStackDiscoveryDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentDiscoveryDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "EXADB_STACK"; + export function getDeserializedJsonObj( + obj: ExadbStackDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DiscoveryDetails.getDeserializedJsonObj(obj) as ExadbStackDiscoveryDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentDiscoveryDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-collection-summary.ts b/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-collection-summary.ts new file mode 100644 index 0000000000..f881e0e58d --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-collection-summary.ts @@ -0,0 +1,77 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of 'EXADB_STACK' type Exadata Fleet Update Collection. + * Currently, components allowed in an Exadata software stack are 'GUEST_OS' and 'GI'. + * At least two distinct component types are required for an Exadata software stack. + * + */ +export interface ExadbStackFsuCollectionSummary extends model.FsuCollectionSummary { + /** + * Summary of components in an Exadata software stack. + * + */ + "components": Array; + + "type": string; +} + +export namespace ExadbStackFsuCollectionSummary { + export function getJsonObj( + obj: ExadbStackFsuCollectionSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollectionSummary.getJsonObj(obj) as ExadbStackFsuCollectionSummary)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "EXADB_STACK"; + export function getDeserializedJsonObj( + obj: ExadbStackFsuCollectionSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollectionSummary.getDeserializedJsonObj( + obj + ) as ExadbStackFsuCollectionSummary)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.SoftwareComponentSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-goal-version-details.ts new file mode 100644 index 0000000000..5d574b3470 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/exadb-stack-fsu-goal-version-details.ts @@ -0,0 +1,77 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal version for an 'EXADB_STACK' type Exadata Fleet Update Collection. + * Currently, components allowed in an Exadata software stack are 'GUEST_OS' and 'GI'. + * At least two distinct component types are required for an Exadata software stack. + * + */ +export interface ExadbStackFsuGoalVersionDetails extends model.FsuGoalVersionDetails { + /** + * Details of goal versions for components in an Exadata software stack. + * + */ + "components": Array; + + "type": string; +} + +export namespace ExadbStackFsuGoalVersionDetails { + export function getJsonObj( + obj: ExadbStackFsuGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuGoalVersionDetails.getJsonObj(obj) as ExadbStackFsuGoalVersionDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.GoalSoftwareComponentDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "EXADB_STACK"; + export function getDeserializedJsonObj( + obj: ExadbStackFsuGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuGoalVersionDetails.getDeserializedJsonObj( + obj + ) as ExadbStackFsuGoalVersionDetails)), + ...{ + "components": obj.components + ? obj.components.map(item => { + return model.GoalSoftwareComponentDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-collection-summary.ts b/lib/fleetsoftwareupdate/lib/model/fsu-collection-summary.ts index ab8149c1e5..1bf80aa8a2 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-collection-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-collection-summary.ts @@ -22,12 +22,12 @@ import common = require("oci-common"); */ export interface FsuCollectionSummary { /** - * OCID identifier for the Exadata Fleet Update Collection. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection. * */ "id": string; /** - * Exadata Fleet Update Collection resource display name. + * The user-friendly name for the Exadata Fleet Update Collection. * */ "displayName": string; @@ -37,7 +37,7 @@ export interface FsuCollectionSummary { */ "serviceType": model.CollectionServiceTypes; /** - * Compartment Identifier + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId": string; @@ -113,11 +113,21 @@ export namespace FsuCollectionSummary { (jsonObj), true ); + case "EXADB_STACK": + return model.ExadbStackFsuCollectionSummary.getJsonObj( + (jsonObj), + true + ); case "DB": return model.DbFsuCollectionSummary.getJsonObj( (jsonObj), true ); + case "GUEST_OS": + return model.GuestOsFsuCollectionSummary.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } @@ -141,11 +151,21 @@ export namespace FsuCollectionSummary { (jsonObj), true ); + case "EXADB_STACK": + return model.ExadbStackFsuCollectionSummary.getDeserializedJsonObj( + (jsonObj), + true + ); case "DB": return model.DbFsuCollectionSummary.getDeserializedJsonObj( (jsonObj), true ); + case "GUEST_OS": + return model.GuestOsFsuCollectionSummary.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-collection.ts b/lib/fleetsoftwareupdate/lib/model/fsu-collection.ts index c982eed0bd..a291cb0ed2 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-collection.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-collection.ts @@ -22,12 +22,12 @@ import common = require("oci-common"); */ export interface FsuCollection { /** - * OCID identifier for the Exadata Fleet Update Collection. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection. * */ "id": string; /** - * Exadata Fleet Update Collection resource display name. + * The user-friendly name for the Exadata Fleet Update Collection. * */ "displayName": string; @@ -37,7 +37,7 @@ export interface FsuCollection { */ "serviceType": model.CollectionServiceTypes; /** - * Compartment Identifier + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId": string; @@ -107,6 +107,16 @@ export namespace FsuCollection { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "GUEST_OS": + return model.GuestOsCollection.getJsonObj( + (jsonObj), + true + ); + case "EXADB_STACK": + return model.ExadbStackCollection.getJsonObj( + (jsonObj), + true + ); case "GI": return model.GiCollection.getJsonObj((jsonObj), true); case "DB": @@ -129,6 +139,16 @@ export namespace FsuCollection { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "GUEST_OS": + return model.GuestOsCollection.getDeserializedJsonObj( + (jsonObj), + true + ); + case "EXADB_STACK": + return model.ExadbStackCollection.getDeserializedJsonObj( + (jsonObj), + true + ); case "GI": return model.GiCollection.getDeserializedJsonObj( (jsonObj), diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-cycle-summary.ts b/lib/fleetsoftwareupdate/lib/model/fsu-cycle-summary.ts index 2569a9bed8..910f1e3191 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-cycle-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-cycle-summary.ts @@ -22,17 +22,17 @@ import common = require("oci-common"); */ export interface FsuCycleSummary { /** - * OCID identifier for the Exadata Fleet Update Cycle. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Cycle. * */ "id": string; /** - * Exadata Fleet Update Cycle display name. + * The user-friendly name for the Exadata Fleet Update Cycle. * */ "displayName"?: string; /** - * Compartment Identifier. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId": string; @@ -42,17 +42,17 @@ export interface FsuCycleSummary { */ "type": model.CycleTypes; /** - * OCID identifier for the Collection ID the Exadata Fleet Update Cycle is assigned to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle. * */ "fsuCollectionId": string; /** - * Type of Collection this Exadata Fleet Update Cycle belongs to. + * Type of Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle. * */ "collectionType": model.CollectionTypes; /** - * OCID identifier for the Action that is currently in execution, if applicable. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Action that is currently in progress, if applicable. * */ "executingFsuActionId"?: string; @@ -79,7 +79,10 @@ export interface FsuCycleSummary { * */ "lastCompletedAction"?: model.DetailedActionTypes; - "goalVersionDetails": model.VersionFsuTargetDetails | model.ImageIdFsuTargetDetails; + "goalVersionDetails": + | model.ExadbStackFsuGoalVersionDetails + | model.VersionFsuTargetDetails + | model.ImageIdFsuTargetDetails; "diagnosticsCollection"?: model.DiagnosticsCollectionDetails; /** * The date and time the Exadata Fleet Update Cycle was created, as described in diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-cycle.ts b/lib/fleetsoftwareupdate/lib/model/fsu-cycle.ts index 639e0b73c7..7efd5b8b66 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-cycle.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-cycle.ts @@ -22,37 +22,37 @@ import common = require("oci-common"); */ export interface FsuCycle { /** - * OCID identifier for the Exadata Fleet Update Cycle. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Cycle. * */ "id": string; /** - * Exadata Fleet Update Cycle display name. + * The user-friendly name for the Exadata Fleet Update Cycle. * */ "displayName"?: string; /** - * Compartment Identifier. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compartment. * */ "compartmentId": string; /** - * OCID identifier for the Collection ID the Exadata Fleet Update Cycle is assigned to. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle. * */ "fsuCollectionId": string; /** - * Type of Collection this Exadata Fleet Update Cycle belongs to. + * Type of the Exadata Fleet Update Collection being updated by this Exadata Fleet Update Cycle. * */ "collectionType"?: model.CollectionTypes; /** - * OCID identifier for the Action that is currently in execution, if applicable. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Action that is currently in progress, if applicable. * */ "executingFsuActionId"?: string; /** - * In this array all the possible actions will be listed. The first element is the suggested Action. + * All possible Exadata Fleet Update Actions will be listed. The first element is the suggested Exadata Fleet Update Action. * */ "nextActionToExecute"?: Array; @@ -74,7 +74,10 @@ export interface FsuCycle { * */ "lastCompletedAction"?: model.DetailedActionTypes; - "goalVersionDetails"?: model.VersionFsuTargetDetails | model.ImageIdFsuTargetDetails; + "goalVersionDetails"?: + | model.ExadbStackFsuGoalVersionDetails + | model.VersionFsuTargetDetails + | model.ImageIdFsuTargetDetails; "batchingStrategy"?: | model.NonRollingBatchingStrategyDetails | model.ServiceAvailabilityFactorBatchingStrategyDetails diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-discovery.ts b/lib/fleetsoftwareupdate/lib/model/fsu-discovery.ts index 43a5c44fc1..d25f4677ec 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-discovery.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-discovery.ts @@ -36,7 +36,11 @@ export interface FsuDiscovery { * */ "compartmentId": string; - "details": model.GiDiscoveryDetails | model.DbDiscoveryDetails; + "details": + | model.GiDiscoveryDetails + | model.DbDiscoveryDetails + | model.ExadbStackDiscoveryDetails + | model.GuestOsDiscoveryDetails; /** * The date and time the Exadata Fleet Update Discovery was created, as described in * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. diff --git a/lib/fleetsoftwareupdate/lib/model/fsu-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/fsu-goal-version-details.ts index 48f922ce66..b4935da4e0 100644 --- a/lib/fleetsoftwareupdate/lib/model/fsu-goal-version-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/fsu-goal-version-details.ts @@ -58,6 +58,11 @@ export namespace FsuGoalVersionDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "EXADB_STACK": + return model.ExadbStackFsuGoalVersionDetails.getJsonObj( + (jsonObj), + true + ); case "VERSION": return model.VersionFsuTargetDetails.getJsonObj( (jsonObj), @@ -79,6 +84,11 @@ export namespace FsuGoalVersionDetails { if (obj && "type" in obj && obj.type) { switch (obj.type) { + case "EXADB_STACK": + return model.ExadbStackFsuGoalVersionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "VERSION": return model.VersionFsuTargetDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/fleetsoftwareupdate/lib/model/gi-goal-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/gi-goal-software-component-details.ts new file mode 100644 index 0000000000..a0ce519ad0 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/gi-goal-software-component-details.ts @@ -0,0 +1,94 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal version for 'GI' component in an 'EXADB_STACK' type Exadata Fleet Update Collection. + * + */ +export interface GiGoalSoftwareComponentDetails extends model.GoalSoftwareComponentDetails { + "goalVersionDetails": model.OracleGiGoalVersionDetails | model.CustomGiGoalVersionDetails; + /** + * Goal home policy to use when Staging the Goal Version during patching. + * CREATE_NEW: Create a new DBHome (for Database Collections) for the specified image or version. + * USE_EXISTING: All database targets in the same VMCluster or CloudVmCluster will be moved to a shared database home. + * If an existing home for the selected image or version is not found in the VM Cluster for a target database, then a new home will be created. + * If more than one existing home for the selected image is found, then the home with the least number of databases will be used. + * If multiple homes have the least number of databases, then a home will be selected at random. + * + */ + "homePolicy"?: GiGoalSoftwareComponentDetails.HomePolicy; + /** + * Prefix name used for new DB home resources created as part of the Stage Action. + * Format: _ + * If not specified, a default OCI DB home resource will be generated for the new DB home resources created. + * + */ + "newHomePrefix"?: string; + + "componentType": string; +} + +export namespace GiGoalSoftwareComponentDetails { + export enum HomePolicy { + CreateNew = "CREATE_NEW", + UseExisting = "USE_EXISTING", + /** + * 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: GiGoalSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GoalSoftwareComponentDetails.getJsonObj(obj) as GiGoalSoftwareComponentDetails)), + ...{ + "goalVersionDetails": obj.goalVersionDetails + ? model.GiGoalVersionDetails.getJsonObj(obj.goalVersionDetails) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GI"; + export function getDeserializedJsonObj( + obj: GiGoalSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GoalSoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as GiGoalSoftwareComponentDetails)), + ...{ + "goalVersionDetails": obj.goalVersionDetails + ? model.GiGoalVersionDetails.getDeserializedJsonObj(obj.goalVersionDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/gi-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/gi-goal-version-details.ts new file mode 100644 index 0000000000..40442605be --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/gi-goal-version-details.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal 'GI' software version. + * + */ +export interface GiGoalVersionDetails { + "goalType": string; +} + +export namespace GiGoalVersionDetails { + export function getJsonObj(obj: GiGoalVersionDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "goalType" in obj && obj.goalType) { + switch (obj.goalType) { + case "GI_ORACLE_IMAGE": + return model.OracleGiGoalVersionDetails.getJsonObj( + (jsonObj), + true + ); + case "GI_CUSTOM_IMAGE": + return model.CustomGiGoalVersionDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.goalType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: GiGoalVersionDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "goalType" in obj && obj.goalType) { + switch (obj.goalType) { + case "GI_ORACLE_IMAGE": + return model.OracleGiGoalVersionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GI_CUSTOM_IMAGE": + return model.CustomGiGoalVersionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.goalType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/gi-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/gi-software-component-details.ts new file mode 100644 index 0000000000..e48b4a088a --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/gi-software-component-details.ts @@ -0,0 +1,74 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GI' component in an Exadata software stack. + * + */ +export interface GiSoftwareComponentDetails extends model.SoftwareComponentDetails { + /** + * Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. + * Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. + * + */ + "sourceMajorVersion": model.GiSourceMajorVersions; + "fleetDiscovery": + | model.GiFiltersDiscovery + | model.GiSearchQueryDiscovery + | model.GiDiscoveryResults + | model.GiTargetListDiscovery; + + "componentType": string; +} + +export namespace GiSoftwareComponentDetails { + export function getJsonObj(obj: GiSoftwareComponentDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDetails.getJsonObj(obj) as GiSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GiFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GI"; + export function getDeserializedJsonObj( + obj: GiSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as GiSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GiFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/gi-software-component-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/gi-software-component-discovery-details.ts new file mode 100644 index 0000000000..79c8f01675 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/gi-software-component-discovery-details.ts @@ -0,0 +1,80 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discovery filter details of 'GI' component in an Exadata software stack. + * + */ +export interface GiSoftwareComponentDiscoveryDetails + extends model.SoftwareComponentDiscoveryDetails { + /** + * Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Discovery results. + * Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Discovery results. + * + */ + "sourceMajorVersion": model.GiSourceMajorVersions; + "criteria": + | model.GiFiltersDiscovery + | model.GiSearchQueryDiscovery + | model.GiDiscoveryResults + | model.GiTargetListDiscovery; + + "componentType": string; +} + +export namespace GiSoftwareComponentDiscoveryDetails { + export function getJsonObj( + obj: GiSoftwareComponentDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDiscoveryDetails.getJsonObj( + obj + ) as GiSoftwareComponentDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GiFleetDiscoveryDetails.getJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GI"; + export function getDeserializedJsonObj( + obj: GiSoftwareComponentDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GiSoftwareComponentDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GiFleetDiscoveryDetails.getDeserializedJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/gi-software-component-summary.ts b/lib/fleetsoftwareupdate/lib/model/gi-software-component-summary.ts new file mode 100644 index 0000000000..2c516577c8 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/gi-software-component-summary.ts @@ -0,0 +1,61 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of 'GI' component in an Exadata software stack. + * + */ +export interface GiSoftwareComponentSummary extends model.SoftwareComponentSummary { + /** + * Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. + * Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection. + * + */ + "sourceMajorVersion": model.GiSourceMajorVersions; + + "componentType": string; +} + +export namespace GiSoftwareComponentSummary { + export function getJsonObj(obj: GiSoftwareComponentSummary, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentSummary.getJsonObj(obj) as GiSoftwareComponentSummary)), + ...{} + }; + + return jsonObj; + } + export const componentType = "GI"; + export function getDeserializedJsonObj( + obj: GiSoftwareComponentSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentSummary.getDeserializedJsonObj( + obj + ) as GiSoftwareComponentSummary)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/goal-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/goal-software-component-details.ts new file mode 100644 index 0000000000..f29cab1919 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/goal-software-component-details.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal version for a component in an 'EXADB_STACK' type Exadata Fleet Update Collection. + * + */ +export interface GoalSoftwareComponentDetails { + "componentType": string; +} + +export namespace GoalSoftwareComponentDetails { + export function getJsonObj(obj: GoalSoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsGoalSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiGoalSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: GoalSoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsGoalSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiGoalSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-collection.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-collection.ts new file mode 100644 index 0000000000..3bc63086dd --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-collection.ts @@ -0,0 +1,71 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 a 'GUEST_OS' type Exadata Fleet Update Collection. + * + */ +export interface GuestOsCollection extends model.FsuCollection { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in the Exadata Fleet Update Collection. + * Only Exadata VM Clusters whose 'systemVersion' is related to the major version will be added to the Exadata Fleet Update Collection. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "fleetDiscovery": + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "type": string; +} + +export namespace GuestOsCollection { + export function getJsonObj(obj: GuestOsCollection, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FsuCollection.getJsonObj(obj) as GuestOsCollection)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const type = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsCollection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollection.getDeserializedJsonObj(obj) as GuestOsCollection)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-compartment-id-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-compartment-id-filter.ts new file mode 100644 index 0000000000..a50d294b80 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-compartment-id-filter.ts @@ -0,0 +1,60 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * List of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of compartments to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ +export interface GuestOsCompartmentIdFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * List of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Compartments to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ + "identifiers": Array; + + "type": string; +} + +export namespace GuestOsCompartmentIdFilter { + export function getJsonObj(obj: GuestOsCompartmentIdFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj(obj) as GuestOsCompartmentIdFilter)), + ...{} + }; + + return jsonObj; + } + export const type = "COMPARTMENT_ID"; + export function getDeserializedJsonObj( + obj: GuestOsCompartmentIdFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj( + obj + ) as GuestOsCompartmentIdFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-defined-tags-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-defined-tags-filter.ts new file mode 100644 index 0000000000..6413c4b4f9 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-defined-tags-filter.ts @@ -0,0 +1,77 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * [Defined tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ +export interface GuestOsDefinedTagsFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * [Defined tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ + "tags": Array; + /** + * Type of join for each element in this filter. + * + */ + "operator"?: model.FleetDiscoveryOperators; + + "type": string; +} + +export namespace GuestOsDefinedTagsFilter { + export function getJsonObj(obj: GuestOsDefinedTagsFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj(obj) as GuestOsDefinedTagsFilter)), + ...{ + "tags": obj.tags + ? obj.tags.map(item => { + return model.DefinedTagFilterEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "DEFINED_TAG"; + export function getDeserializedJsonObj( + obj: GuestOsDefinedTagsFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj( + obj + ) as GuestOsDefinedTagsFilter)), + ...{ + "tags": obj.tags + ? obj.tags.map(item => { + return model.DefinedTagFilterEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-details.ts new file mode 100644 index 0000000000..a00e0d50b3 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-details.ts @@ -0,0 +1,73 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GUEST_OS' type Exadata Fleet Update Discovery. + * + */ +export interface GuestOsDiscoveryDetails extends model.DiscoveryDetails { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in the results for an Exadata Fleet Update Discovery. + * Major Versions of Exadata Software are demarcated by the underlying Oracle Linux OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "criteria": + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "type": string; +} + +export namespace GuestOsDiscoveryDetails { + export function getJsonObj(obj: GuestOsDiscoveryDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DiscoveryDetails.getJsonObj(obj) as GuestOsDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } + export const type = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DiscoveryDetails.getDeserializedJsonObj(obj) as GuestOsDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-results.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-results.ts new file mode 100644 index 0000000000..dfa9746100 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-discovery-results.ts @@ -0,0 +1,61 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discover Exadata VM Cluster targets for a 'GUEST_OS' collection by cloning the results of a 'Succeeded' Exadata Fleet Update Discovery resource. + * The type of the source Exadata Fleet Update Discovery resource can be 'GI' or 'GUEST_OS'. + * + */ +export interface GuestOsDiscoveryResults extends model.GuestOsFleetDiscoveryDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Discovery. + * + */ + "fsuDiscoveryId": string; + + "strategy": string; +} + +export namespace GuestOsDiscoveryResults { + export function getJsonObj(obj: GuestOsDiscoveryResults, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getJsonObj(obj) as GuestOsDiscoveryResults)), + ...{} + }; + + return jsonObj; + } + export const strategy = "DISCOVERY_RESULTS"; + export function getDeserializedJsonObj( + obj: GuestOsDiscoveryResults, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GuestOsDiscoveryResults)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-exadata-release-version-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-exadata-release-version-filter.ts new file mode 100644 index 0000000000..4b2b4878a0 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-exadata-release-version-filter.ts @@ -0,0 +1,87 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Exadata Release versions to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * Only release versions related to the specified sourceMajorVersion are allowed. + * + */ +export interface GuestOsExadataReleaseVersionFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * List of Exadata Release versions to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ + "exadataReleases": Array; + + "type": string; +} + +export namespace GuestOsExadataReleaseVersionFilter { + export enum ExadataReleases { + ExaOl5111 = "EXA_OL_5_11_1", + ExaOl5112 = "EXA_OL_5_11_2", + ExaOl5121 = "EXA_OL_5_12_1", + ExaOl6122 = "EXA_OL_6_12_2", + ExaOl6181 = "EXA_OL_6_18_1", + ExaOl7191 = "EXA_OL_7_19_1", + ExaOl7192 = "EXA_OL_7_19_2", + ExaOl7193 = "EXA_OL_7_19_3", + ExaOl7201 = "EXA_OL_7_20_1", + ExaOl7212 = "EXA_OL_7_21_2", + ExaOl7221 = "EXA_OL_7_22_1", + ExaOl8231 = "EXA_OL_8_23_1", + ExaOl8241 = "EXA_OL_8_24_1", + /** + * 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: GuestOsExadataReleaseVersionFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj( + obj + ) as GuestOsExadataReleaseVersionFilter)), + ...{} + }; + + return jsonObj; + } + export const type = "EXADATA_RELEASE_VERSION"; + export function getDeserializedJsonObj( + obj: GuestOsExadataReleaseVersionFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj( + obj + ) as GuestOsExadataReleaseVersionFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-filters-discovery.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-filters-discovery.ts new file mode 100644 index 0000000000..390fec579b --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-filters-discovery.ts @@ -0,0 +1,72 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discover Exadata VM Cluster targets for a 'GUEST_OS' collection by querying [OCI Search Service](https://docs.oracle.com/iaas/Content/Search/Concepts/queryoverview.htm) using specified filters. + * + */ +export interface GuestOsFiltersDiscovery extends model.GuestOsFleetDiscoveryDetails { + /** + * Filters to use for search. + * + */ + "filters": Array; + + "strategy": string; +} + +export namespace GuestOsFiltersDiscovery { + export function getJsonObj(obj: GuestOsFiltersDiscovery, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getJsonObj(obj) as GuestOsFiltersDiscovery)), + ...{ + "filters": obj.filters + ? obj.filters.map(item => { + return model.GuestOsFleetDiscoveryFilter.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const strategy = "FILTERS"; + export function getDeserializedJsonObj( + obj: GuestOsFiltersDiscovery, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GuestOsFiltersDiscovery)), + ...{ + "filters": obj.filters + ? obj.filters.map(item => { + return model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-details.ts new file mode 100644 index 0000000000..ac1ef64a56 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-details.ts @@ -0,0 +1,91 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet discovery strategies for a 'GUEST_OS' collection of Exadata VM Clusters. + * If specified for an UpdateCollection request, discovery for Exadata VM Clusters will be rerun. + * + */ +export interface GuestOsFleetDiscoveryDetails { + "strategy": string; +} + +export namespace GuestOsFleetDiscoveryDetails { + export function getJsonObj(obj: GuestOsFleetDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "strategy" in obj && obj.strategy) { + switch (obj.strategy) { + case "TARGET_LIST": + return model.GuestOsTargetListDiscovery.getJsonObj( + (jsonObj), + true + ); + case "SEARCH_QUERY": + return model.GuestOsSearchQueryDiscovery.getJsonObj( + (jsonObj), + true + ); + case "DISCOVERY_RESULTS": + return model.GuestOsDiscoveryResults.getJsonObj( + (jsonObj), + true + ); + case "FILTERS": + return model.GuestOsFiltersDiscovery.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.strategy}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: GuestOsFleetDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "strategy" in obj && obj.strategy) { + switch (obj.strategy) { + case "TARGET_LIST": + return model.GuestOsTargetListDiscovery.getDeserializedJsonObj( + (jsonObj), + true + ); + case "SEARCH_QUERY": + return model.GuestOsSearchQueryDiscovery.getDeserializedJsonObj( + (jsonObj), + true + ); + case "DISCOVERY_RESULTS": + return model.GuestOsDiscoveryResults.getDeserializedJsonObj( + (jsonObj), + true + ); + case "FILTERS": + return model.GuestOsFiltersDiscovery.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.strategy}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-filter.ts new file mode 100644 index 0000000000..f7d7463cfd --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-fleet-discovery-filter.ts @@ -0,0 +1,127 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discover Exadata VM Cluster targets for a 'GUEST_OS' collection by querying [OCI Search Service](https://docs.oracle.com/iaas/Content/Search/Concepts/queryoverview.htm) using specified filters. + * + */ +export interface GuestOsFleetDiscoveryFilter { + /** + * INCLUDE or EXCLUDE the filter results when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * Supported only for RESOURCE_ID filter. + * + */ + "mode"?: GuestOsFleetDiscoveryFilter.Mode; + + "type": string; +} + +export namespace GuestOsFleetDiscoveryFilter { + export enum Mode { + 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: GuestOsFleetDiscoveryFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "VERSION": + return model.GuestOsVersionFilter.getJsonObj( + (jsonObj), + true + ); + case "EXADATA_RELEASE_VERSION": + return model.GuestOsExadataReleaseVersionFilter.getJsonObj( + (jsonObj), + true + ); + case "FREEFORM_TAG": + return model.GuestOsFreeformTagsFilter.getJsonObj( + (jsonObj), + true + ); + case "DEFINED_TAG": + return model.GuestOsDefinedTagsFilter.getJsonObj( + (jsonObj), + true + ); + case "COMPARTMENT_ID": + return model.GuestOsCompartmentIdFilter.getJsonObj( + (jsonObj), + true + ); + case "RESOURCE_ID": + return model.GuestOsResourceIdFilter.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: GuestOsFleetDiscoveryFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "VERSION": + return model.GuestOsVersionFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "EXADATA_RELEASE_VERSION": + return model.GuestOsExadataReleaseVersionFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "FREEFORM_TAG": + return model.GuestOsFreeformTagsFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "DEFINED_TAG": + return model.GuestOsDefinedTagsFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "COMPARTMENT_ID": + return model.GuestOsCompartmentIdFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "RESOURCE_ID": + return model.GuestOsResourceIdFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-freeform-tags-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-freeform-tags-filter.ts new file mode 100644 index 0000000000..27324b0e6a --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-freeform-tags-filter.ts @@ -0,0 +1,77 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * [Free-form tags](https://docs.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm) to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ +export interface GuestOsFreeformTagsFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * [Free-form tags](https://docs.oracle.com/iaas/Content/Tagging/Concepts/understandingfreeformtags.htm) to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ + "tags": Array; + /** + * Type of join for each element in this filter. + * + */ + "operator"?: model.FleetDiscoveryOperators; + + "type": string; +} + +export namespace GuestOsFreeformTagsFilter { + export function getJsonObj(obj: GuestOsFreeformTagsFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj(obj) as GuestOsFreeformTagsFilter)), + ...{ + "tags": obj.tags + ? obj.tags.map(item => { + return model.FreeformTagFilterEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const type = "FREEFORM_TAG"; + export function getDeserializedJsonObj( + obj: GuestOsFreeformTagsFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj( + obj + ) as GuestOsFreeformTagsFilter)), + ...{ + "tags": obj.tags + ? obj.tags.map(item => { + return model.FreeformTagFilterEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-fsu-collection-summary.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-fsu-collection-summary.ts new file mode 100644 index 0000000000..ce13abe4ce --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-fsu-collection-summary.ts @@ -0,0 +1,60 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of 'GUEST_OS' type Exadata Fleet Update Collection. + * + */ +export interface GuestOsFsuCollectionSummary extends model.FsuCollectionSummary { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in the Exadata Fleet Update Collection. + * Only Exadata VM Clusters whose 'systemVersion' is related to the major version will be added to the Exadata Fleet Update Collection. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + + "type": string; +} + +export namespace GuestOsFsuCollectionSummary { + export function getJsonObj(obj: GuestOsFsuCollectionSummary, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollectionSummary.getJsonObj(obj) as GuestOsFsuCollectionSummary)), + ...{} + }; + + return jsonObj; + } + export const type = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsFsuCollectionSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FsuCollectionSummary.getDeserializedJsonObj(obj) as GuestOsFsuCollectionSummary)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-goal-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-goal-software-component-details.ts new file mode 100644 index 0000000000..127c575ec5 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-goal-software-component-details.ts @@ -0,0 +1,69 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal version for 'GUEST_OS' component in an 'EXADB_STACK' type Exadata Fleet Update Collection. + * + */ +export interface GuestOsGoalSoftwareComponentDetails extends model.GoalSoftwareComponentDetails { + "goalVersionDetails": model.OracleGuestOsGoalVersionDetails; + + "componentType": string; +} + +export namespace GuestOsGoalSoftwareComponentDetails { + export function getJsonObj( + obj: GuestOsGoalSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GoalSoftwareComponentDetails.getJsonObj( + obj + ) as GuestOsGoalSoftwareComponentDetails)), + ...{ + "goalVersionDetails": obj.goalVersionDetails + ? model.GuestOsGoalVersionDetails.getJsonObj(obj.goalVersionDetails) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsGoalSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GoalSoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as GuestOsGoalSoftwareComponentDetails)), + ...{ + "goalVersionDetails": obj.goalVersionDetails + ? model.GuestOsGoalVersionDetails.getDeserializedJsonObj(obj.goalVersionDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-goal-version-details.ts new file mode 100644 index 0000000000..5ce119b878 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-goal-version-details.ts @@ -0,0 +1,60 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 goal 'GUEST_OS' software version. + * + */ +export interface GuestOsGoalVersionDetails { + "goalType": string; +} + +export namespace GuestOsGoalVersionDetails { + export function getJsonObj(obj: GuestOsGoalVersionDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "goalType" in obj && obj.goalType) { + switch (obj.goalType) { + case "GUEST_OS_ORACLE_IMAGE": + return model.OracleGuestOsGoalVersionDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.goalType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: GuestOsGoalVersionDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "goalType" in obj && obj.goalType) { + switch (obj.goalType) { + case "GUEST_OS_ORACLE_IMAGE": + return model.OracleGuestOsGoalVersionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.goalType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-resource-id-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-resource-id-filter.ts new file mode 100644 index 0000000000..6a42111d64 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-resource-id-filter.ts @@ -0,0 +1,85 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated resources to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ +export interface GuestOsResourceIdFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * Type of associated resource. + * + */ + "entityType": GuestOsResourceIdFilter.EntityType; + /** + * The [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of associated resources to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * Specified resources must match the specified 'entityType'. + * FsuCollection of type 'GI' or 'GUEST_OS' can be specified. + * + */ + "identifiers": Array; + /** + * Type of join for each element in this filter. + * + */ + "operator"?: model.FleetDiscoveryOperators; + + "type": string; +} + +export namespace GuestOsResourceIdFilter { + export enum EntityType { + Exadatainfrastructure = "EXADATAINFRASTRUCTURE", + Cloudexadatainfrastructure = "CLOUDEXADATAINFRASTRUCTURE", + Vmcluster = "VMCLUSTER", + Cloudvmcluster = "CLOUDVMCLUSTER", + Fsucollection = "FSUCOLLECTION", + /** + * 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: GuestOsResourceIdFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj(obj) as GuestOsResourceIdFilter)), + ...{} + }; + + return jsonObj; + } + export const type = "RESOURCE_ID"; + export function getDeserializedJsonObj( + obj: GuestOsResourceIdFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj( + obj + ) as GuestOsResourceIdFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-search-query-discovery.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-search-query-discovery.ts new file mode 100644 index 0000000000..2b90fa9cdb --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-search-query-discovery.ts @@ -0,0 +1,60 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discover Exadata VM Cluster targets for a 'GUEST_OS' collection by querying [OCI Search Service](https://docs.oracle.com/iaas/Content/Search/Concepts/queryoverview.htm) using specified query string. + * + */ +export interface GuestOsSearchQueryDiscovery extends model.GuestOsFleetDiscoveryDetails { + /** + * [OCI Search Service](https://docs.oracle.com/iaas/Content/Search/Concepts/queryoverview.htm) query string. + * + */ + "query": string; + + "strategy": string; +} + +export namespace GuestOsSearchQueryDiscovery { + export function getJsonObj(obj: GuestOsSearchQueryDiscovery, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getJsonObj(obj) as GuestOsSearchQueryDiscovery)), + ...{} + }; + + return jsonObj; + } + export const strategy = "SEARCH_QUERY"; + export function getDeserializedJsonObj( + obj: GuestOsSearchQueryDiscovery, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GuestOsSearchQueryDiscovery)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-details.ts new file mode 100644 index 0000000000..d361e96fcc --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-details.ts @@ -0,0 +1,78 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 'GUEST_OS' component in an Exadata software stack. + * + */ +export interface GuestOsSoftwareComponentDetails extends model.SoftwareComponentDetails { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in an Exadata Fleet Update Collection. + * Major Versions of Exadata Software are demarcated by the underlying Oracle Linux OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "fleetDiscovery": + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "componentType": string; +} + +export namespace GuestOsSoftwareComponentDetails { + export function getJsonObj( + obj: GuestOsSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDetails.getJsonObj(obj) as GuestOsSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsSoftwareComponentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDetails.getDeserializedJsonObj( + obj + ) as GuestOsSoftwareComponentDetails)), + ...{ + "fleetDiscovery": obj.fleetDiscovery + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.fleetDiscovery) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-discovery-details.ts new file mode 100644 index 0000000000..4ae3c852da --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-discovery-details.ts @@ -0,0 +1,81 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discovery filter details of 'GUEST_OS' component in an Exadata software stack. + * + */ +export interface GuestOsSoftwareComponentDiscoveryDetails + extends model.SoftwareComponentDiscoveryDetails { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in the results for an Exadata Fleet Update Discovery. + * Major Versions of Exadata Software are demarcated by the underlying Oracle Linux OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + "criteria": + | model.GuestOsTargetListDiscovery + | model.GuestOsSearchQueryDiscovery + | model.GuestOsDiscoveryResults + | model.GuestOsFiltersDiscovery; + + "componentType": string; +} + +export namespace GuestOsSoftwareComponentDiscoveryDetails { + export function getJsonObj( + obj: GuestOsSoftwareComponentDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDiscoveryDetails.getJsonObj( + obj + ) as GuestOsSoftwareComponentDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GuestOsFleetDiscoveryDetails.getJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } + export const componentType = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsSoftwareComponentDiscoveryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GuestOsSoftwareComponentDiscoveryDetails)), + ...{ + "criteria": obj.criteria + ? model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj(obj.criteria) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-summary.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-summary.ts new file mode 100644 index 0000000000..9c04799dd6 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-software-component-summary.ts @@ -0,0 +1,65 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of 'GUEST_OS' component in Exadata software stack. + * + */ +export interface GuestOsSoftwareComponentSummary extends model.SoftwareComponentSummary { + /** + * Major version of Exadata Image (Guest OS) release for Exadata VM Cluster targets to be included in an Exadata Fleet Update Collection. + * Major Versions of Exadata Software are demarcated by the underlying Oracle Linux OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + */ + "sourceMajorVersion": model.GuestOsSourceMajorVersions; + + "componentType": string; +} + +export namespace GuestOsSoftwareComponentSummary { + export function getJsonObj( + obj: GuestOsSoftwareComponentSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentSummary.getJsonObj(obj) as GuestOsSoftwareComponentSummary)), + ...{} + }; + + return jsonObj; + } + export const componentType = "GUEST_OS"; + export function getDeserializedJsonObj( + obj: GuestOsSoftwareComponentSummary, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SoftwareComponentSummary.getDeserializedJsonObj( + obj + ) as GuestOsSoftwareComponentSummary)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-source-major-versions.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-source-major-versions.ts new file mode 100644 index 0000000000..577b211fd3 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-source-major-versions.ts @@ -0,0 +1,47 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 source major versions for a GUEST_OS Exadata Fleet Update Collection. + * Major Versions of Exadata Software are demarcated by the underlying OS version. + * For more details, refer to [Oracle document 2075007.1](https://support.oracle.com/knowledge/Oracle%20Database%20Products/2075007_1.html) + * + **/ +export enum GuestOsSourceMajorVersions { + ExaOl5 = "EXA_OL_5", + ExaOl6 = "EXA_OL_6", + ExaOl7 = "EXA_OL_7", + ExaOl8 = "EXA_OL_8", + + /** + * 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 GuestOsSourceMajorVersions { + export function getJsonObj(obj: GuestOsSourceMajorVersions): GuestOsSourceMajorVersions { + return obj; + } + export function getDeserializedJsonObj( + obj: GuestOsSourceMajorVersions + ): GuestOsSourceMajorVersions { + return obj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-target-list-discovery.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-target-list-discovery.ts new file mode 100644 index 0000000000..e527b9f16d --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-target-list-discovery.ts @@ -0,0 +1,61 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discover specified list of Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ +export interface GuestOsTargetListDiscovery extends model.GuestOsFleetDiscoveryDetails { + /** + * The [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Exadata VM Cluster targets. + * Only Exadata VM Cluster targets associated with the specified 'serviceType' are allowed. + * + */ + "targets": Array; + + "strategy": string; +} + +export namespace GuestOsTargetListDiscovery { + export function getJsonObj(obj: GuestOsTargetListDiscovery, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getJsonObj(obj) as GuestOsTargetListDiscovery)), + ...{} + }; + + return jsonObj; + } + export const strategy = "TARGET_LIST"; + export function getDeserializedJsonObj( + obj: GuestOsTargetListDiscovery, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryDetails.getDeserializedJsonObj( + obj + ) as GuestOsTargetListDiscovery)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/guest-os-version-filter.ts b/lib/fleetsoftwareupdate/lib/model/guest-os-version-filter.ts new file mode 100644 index 0000000000..de12b71edb --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/guest-os-version-filter.ts @@ -0,0 +1,60 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Exadata Image (Guest OS) versions to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * Only versions related to the specified sourceMajorVersion are allowed. + * For example, version \"22.1.26.0.0.240801\" can be specified for sourceMajorVersion \"EXA_OL_7\" (Oracle Linux 7). + * + */ +export interface GuestOsVersionFilter extends model.GuestOsFleetDiscoveryFilter { + /** + * List of Exadata Image (Guest OS) version strings to include when discovering Exadata VM Cluster targets for a 'GUEST_OS' collection. + * + */ + "versions": Array; + + "type": string; +} + +export namespace GuestOsVersionFilter { + export function getJsonObj(obj: GuestOsVersionFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getJsonObj(obj) as GuestOsVersionFilter)), + ...{} + }; + + return jsonObj; + } + export const type = "VERSION"; + export function getDeserializedJsonObj( + obj: GuestOsVersionFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsFleetDiscoveryFilter.getDeserializedJsonObj(obj) as GuestOsVersionFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/image-id-fsu-target-details.ts b/lib/fleetsoftwareupdate/lib/model/image-id-fsu-target-details.ts index ce2726683e..927c560248 100644 --- a/lib/fleetsoftwareupdate/lib/model/image-id-fsu-target-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/image-id-fsu-target-details.ts @@ -25,7 +25,7 @@ import common = require("oci-common"); */ export interface ImageIdFsuTargetDetails extends model.FsuGoalVersionDetails { /** - * Target database software image OCID. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the goal database software image. * */ "softwareImageId": string; diff --git a/lib/fleetsoftwareupdate/lib/model/index.ts b/lib/fleetsoftwareupdate/lib/model/index.ts index 1e17d0d70c..7930fd6bb3 100644 --- a/lib/fleetsoftwareupdate/lib/model/index.ts +++ b/lib/fleetsoftwareupdate/lib/model/index.ts @@ -55,6 +55,8 @@ import * as CreateFsuDiscoveryDetails from "./create-fsu-discovery-details"; export import CreateFsuDiscoveryDetails = CreateFsuDiscoveryDetails.CreateFsuDiscoveryDetails; import * as CreateScheduleDetails from "./create-schedule-details"; export import CreateScheduleDetails = CreateScheduleDetails.CreateScheduleDetails; +import * as CreateSoftwareComponentDetails from "./create-software-component-details"; +export import CreateSoftwareComponentDetails = CreateSoftwareComponentDetails.CreateSoftwareComponentDetails; import * as CycleLifecycleStates from "./cycle-lifecycle-states"; export import CycleLifecycleStates = CycleLifecycleStates.CycleLifecycleStates; import * as CycleTypes from "./cycle-types"; @@ -85,6 +87,10 @@ import * as DiscoveryServiceTypes from "./discovery-service-types"; export import DiscoveryServiceTypes = DiscoveryServiceTypes.DiscoveryServiceTypes; import * as DiscoveryTypes from "./discovery-types"; export import DiscoveryTypes = DiscoveryTypes.DiscoveryTypes; +import * as ExadataReleaseVersions from "./exadata-release-versions"; +export import ExadataReleaseVersions = ExadataReleaseVersions.ExadataReleaseVersions; +import * as ExadbStackComponents from "./exadb-stack-components"; +export import ExadbStackComponents = ExadbStackComponents.ExadbStackComponents; import * as FleetDiscoveryOperators from "./fleet-discovery-operators"; export import FleetDiscoveryOperators = FleetDiscoveryOperators.FleetDiscoveryOperators; import * as FleetDiscoveryStrategies from "./fleet-discovery-strategies"; @@ -135,8 +141,20 @@ import * as GiFleetDiscoveryDetails from "./gi-fleet-discovery-details"; export import GiFleetDiscoveryDetails = GiFleetDiscoveryDetails.GiFleetDiscoveryDetails; import * as GiFleetDiscoveryFilter from "./gi-fleet-discovery-filter"; export import GiFleetDiscoveryFilter = GiFleetDiscoveryFilter.GiFleetDiscoveryFilter; +import * as GiGoalVersionDetails from "./gi-goal-version-details"; +export import GiGoalVersionDetails = GiGoalVersionDetails.GiGoalVersionDetails; import * as GiSourceMajorVersions from "./gi-source-major-versions"; export import GiSourceMajorVersions = GiSourceMajorVersions.GiSourceMajorVersions; +import * as GoalSoftwareComponentDetails from "./goal-software-component-details"; +export import GoalSoftwareComponentDetails = GoalSoftwareComponentDetails.GoalSoftwareComponentDetails; +import * as GuestOsFleetDiscoveryDetails from "./guest-os-fleet-discovery-details"; +export import GuestOsFleetDiscoveryDetails = GuestOsFleetDiscoveryDetails.GuestOsFleetDiscoveryDetails; +import * as GuestOsFleetDiscoveryFilter from "./guest-os-fleet-discovery-filter"; +export import GuestOsFleetDiscoveryFilter = GuestOsFleetDiscoveryFilter.GuestOsFleetDiscoveryFilter; +import * as GuestOsGoalVersionDetails from "./guest-os-goal-version-details"; +export import GuestOsGoalVersionDetails = GuestOsGoalVersionDetails.GuestOsGoalVersionDetails; +import * as GuestOsSourceMajorVersions from "./guest-os-source-major-versions"; +export import GuestOsSourceMajorVersions = GuestOsSourceMajorVersions.GuestOsSourceMajorVersions; import * as JobLifecycleStates from "./job-lifecycle-states"; export import JobLifecycleStates = JobLifecycleStates.JobLifecycleStates; import * as JobProgress from "./job-progress"; @@ -145,6 +163,8 @@ import * as JobProgressDetails from "./job-progress-details"; export import JobProgressDetails = JobProgressDetails.JobProgressDetails; import * as JobTypes from "./job-types"; export import JobTypes = JobTypes.JobTypes; +import * as MembershipSummary from "./membership-summary"; +export import MembershipSummary = MembershipSummary.MembershipSummary; import * as NextActionToExecuteDetails from "./next-action-to-execute-details"; export import NextActionToExecuteDetails = NextActionToExecuteDetails.NextActionToExecuteDetails; import * as OperationStatus from "./operation-status"; @@ -159,6 +179,12 @@ import * as RollbackDetails from "./rollback-details"; export import RollbackDetails = RollbackDetails.RollbackDetails; import * as ScheduleDetails from "./schedule-details"; export import ScheduleDetails = ScheduleDetails.ScheduleDetails; +import * as SoftwareComponentDetails from "./software-component-details"; +export import SoftwareComponentDetails = SoftwareComponentDetails.SoftwareComponentDetails; +import * as SoftwareComponentDiscoveryDetails from "./software-component-discovery-details"; +export import SoftwareComponentDiscoveryDetails = SoftwareComponentDiscoveryDetails.SoftwareComponentDiscoveryDetails; +import * as SoftwareComponentSummary from "./software-component-summary"; +export import SoftwareComponentSummary = SoftwareComponentSummary.SoftwareComponentSummary; import * as SortOrder from "./sort-order"; export import SortOrder = SortOrder.SortOrder; import * as TargetDetails from "./target-details"; @@ -232,10 +258,18 @@ import * as CreateCleanupActionDetails from "./create-cleanup-action-details"; export import CreateCleanupActionDetails = CreateCleanupActionDetails.CreateCleanupActionDetails; import * as CreateDbFsuCollectionDetails from "./create-db-fsu-collection-details"; export import CreateDbFsuCollectionDetails = CreateDbFsuCollectionDetails.CreateDbFsuCollectionDetails; +import * as CreateExadbStackFsuCollectionDetails from "./create-exadb-stack-fsu-collection-details"; +export import CreateExadbStackFsuCollectionDetails = CreateExadbStackFsuCollectionDetails.CreateExadbStackFsuCollectionDetails; import * as CreateFiftyFiftyBatchingStrategyDetails from "./create-fifty-fifty-batching-strategy-details"; export import CreateFiftyFiftyBatchingStrategyDetails = CreateFiftyFiftyBatchingStrategyDetails.CreateFiftyFiftyBatchingStrategyDetails; import * as CreateGiFsuCollectionDetails from "./create-gi-fsu-collection-details"; export import CreateGiFsuCollectionDetails = CreateGiFsuCollectionDetails.CreateGiFsuCollectionDetails; +import * as CreateGiSoftwareComponentDetails from "./create-gi-software-component-details"; +export import CreateGiSoftwareComponentDetails = CreateGiSoftwareComponentDetails.CreateGiSoftwareComponentDetails; +import * as CreateGuestOsFsuCollectionDetails from "./create-guest-os-fsu-collection-details"; +export import CreateGuestOsFsuCollectionDetails = CreateGuestOsFsuCollectionDetails.CreateGuestOsFsuCollectionDetails; +import * as CreateGuestOsSoftwareComponentDetails from "./create-guest-os-software-component-details"; +export import CreateGuestOsSoftwareComponentDetails = CreateGuestOsSoftwareComponentDetails.CreateGuestOsSoftwareComponentDetails; import * as CreateNonRollingBatchingStrategyDetails from "./create-non-rolling-batching-strategy-details"; export import CreateNonRollingBatchingStrategyDetails = CreateNonRollingBatchingStrategyDetails.CreateNonRollingBatchingStrategyDetails; import * as CreatePatchFsuCycle from "./create-patch-fsu-cycle"; @@ -256,6 +290,8 @@ import * as CreateStartTimeScheduleDetails from "./create-start-time-schedule-de export import CreateStartTimeScheduleDetails = CreateStartTimeScheduleDetails.CreateStartTimeScheduleDetails; import * as CreateUpgradeFsuCycle from "./create-upgrade-fsu-cycle"; export import CreateUpgradeFsuCycle = CreateUpgradeFsuCycle.CreateUpgradeFsuCycle; +import * as CustomGiGoalVersionDetails from "./custom-gi-goal-version-details"; +export import CustomGiGoalVersionDetails = CustomGiGoalVersionDetails.CustomGiGoalVersionDetails; import * as DatabaseTargetSummary from "./database-target-summary"; export import DatabaseTargetSummary = DatabaseTargetSummary.DatabaseTargetSummary; import * as DbCollection from "./db-collection"; @@ -288,6 +324,14 @@ import * as DbUniqueNameFilter from "./db-unique-name-filter"; export import DbUniqueNameFilter = DbUniqueNameFilter.DbUniqueNameFilter; import * as DbVersionFilter from "./db-version-filter"; export import DbVersionFilter = DbVersionFilter.DbVersionFilter; +import * as ExadbStackCollection from "./exadb-stack-collection"; +export import ExadbStackCollection = ExadbStackCollection.ExadbStackCollection; +import * as ExadbStackDiscoveryDetails from "./exadb-stack-discovery-details"; +export import ExadbStackDiscoveryDetails = ExadbStackDiscoveryDetails.ExadbStackDiscoveryDetails; +import * as ExadbStackFsuCollectionSummary from "./exadb-stack-fsu-collection-summary"; +export import ExadbStackFsuCollectionSummary = ExadbStackFsuCollectionSummary.ExadbStackFsuCollectionSummary; +import * as ExadbStackFsuGoalVersionDetails from "./exadb-stack-fsu-goal-version-details"; +export import ExadbStackFsuGoalVersionDetails = ExadbStackFsuGoalVersionDetails.ExadbStackFsuGoalVersionDetails; import * as FailedJobsRollbackDetails from "./failed-jobs-rollback-details"; export import FailedJobsRollbackDetails = FailedJobsRollbackDetails.FailedJobsRollbackDetails; import * as FiftyFiftyBatchingStrategyDetails from "./fifty-fifty-batching-strategy-details"; @@ -308,14 +352,56 @@ import * as GiFreeformTagsFilter from "./gi-freeform-tags-filter"; export import GiFreeformTagsFilter = GiFreeformTagsFilter.GiFreeformTagsFilter; import * as GiFsuCollectionSummary from "./gi-fsu-collection-summary"; export import GiFsuCollectionSummary = GiFsuCollectionSummary.GiFsuCollectionSummary; +import * as GiGoalSoftwareComponentDetails from "./gi-goal-software-component-details"; +export import GiGoalSoftwareComponentDetails = GiGoalSoftwareComponentDetails.GiGoalSoftwareComponentDetails; import * as GiResourceIdFilter from "./gi-resource-id-filter"; export import GiResourceIdFilter = GiResourceIdFilter.GiResourceIdFilter; import * as GiSearchQueryDiscovery from "./gi-search-query-discovery"; export import GiSearchQueryDiscovery = GiSearchQueryDiscovery.GiSearchQueryDiscovery; +import * as GiSoftwareComponentDetails from "./gi-software-component-details"; +export import GiSoftwareComponentDetails = GiSoftwareComponentDetails.GiSoftwareComponentDetails; +import * as GiSoftwareComponentDiscoveryDetails from "./gi-software-component-discovery-details"; +export import GiSoftwareComponentDiscoveryDetails = GiSoftwareComponentDiscoveryDetails.GiSoftwareComponentDiscoveryDetails; +import * as GiSoftwareComponentSummary from "./gi-software-component-summary"; +export import GiSoftwareComponentSummary = GiSoftwareComponentSummary.GiSoftwareComponentSummary; import * as GiTargetListDiscovery from "./gi-target-list-discovery"; export import GiTargetListDiscovery = GiTargetListDiscovery.GiTargetListDiscovery; import * as GiVersionFilter from "./gi-version-filter"; export import GiVersionFilter = GiVersionFilter.GiVersionFilter; +import * as GuestOsCollection from "./guest-os-collection"; +export import GuestOsCollection = GuestOsCollection.GuestOsCollection; +import * as GuestOsCompartmentIdFilter from "./guest-os-compartment-id-filter"; +export import GuestOsCompartmentIdFilter = GuestOsCompartmentIdFilter.GuestOsCompartmentIdFilter; +import * as GuestOsDefinedTagsFilter from "./guest-os-defined-tags-filter"; +export import GuestOsDefinedTagsFilter = GuestOsDefinedTagsFilter.GuestOsDefinedTagsFilter; +import * as GuestOsDiscoveryDetails from "./guest-os-discovery-details"; +export import GuestOsDiscoveryDetails = GuestOsDiscoveryDetails.GuestOsDiscoveryDetails; +import * as GuestOsDiscoveryResults from "./guest-os-discovery-results"; +export import GuestOsDiscoveryResults = GuestOsDiscoveryResults.GuestOsDiscoveryResults; +import * as GuestOsExadataReleaseVersionFilter from "./guest-os-exadata-release-version-filter"; +export import GuestOsExadataReleaseVersionFilter = GuestOsExadataReleaseVersionFilter.GuestOsExadataReleaseVersionFilter; +import * as GuestOsFiltersDiscovery from "./guest-os-filters-discovery"; +export import GuestOsFiltersDiscovery = GuestOsFiltersDiscovery.GuestOsFiltersDiscovery; +import * as GuestOsFreeformTagsFilter from "./guest-os-freeform-tags-filter"; +export import GuestOsFreeformTagsFilter = GuestOsFreeformTagsFilter.GuestOsFreeformTagsFilter; +import * as GuestOsFsuCollectionSummary from "./guest-os-fsu-collection-summary"; +export import GuestOsFsuCollectionSummary = GuestOsFsuCollectionSummary.GuestOsFsuCollectionSummary; +import * as GuestOsGoalSoftwareComponentDetails from "./guest-os-goal-software-component-details"; +export import GuestOsGoalSoftwareComponentDetails = GuestOsGoalSoftwareComponentDetails.GuestOsGoalSoftwareComponentDetails; +import * as GuestOsResourceIdFilter from "./guest-os-resource-id-filter"; +export import GuestOsResourceIdFilter = GuestOsResourceIdFilter.GuestOsResourceIdFilter; +import * as GuestOsSearchQueryDiscovery from "./guest-os-search-query-discovery"; +export import GuestOsSearchQueryDiscovery = GuestOsSearchQueryDiscovery.GuestOsSearchQueryDiscovery; +import * as GuestOsSoftwareComponentDetails from "./guest-os-software-component-details"; +export import GuestOsSoftwareComponentDetails = GuestOsSoftwareComponentDetails.GuestOsSoftwareComponentDetails; +import * as GuestOsSoftwareComponentDiscoveryDetails from "./guest-os-software-component-discovery-details"; +export import GuestOsSoftwareComponentDiscoveryDetails = GuestOsSoftwareComponentDiscoveryDetails.GuestOsSoftwareComponentDiscoveryDetails; +import * as GuestOsSoftwareComponentSummary from "./guest-os-software-component-summary"; +export import GuestOsSoftwareComponentSummary = GuestOsSoftwareComponentSummary.GuestOsSoftwareComponentSummary; +import * as GuestOsTargetListDiscovery from "./guest-os-target-list-discovery"; +export import GuestOsTargetListDiscovery = GuestOsTargetListDiscovery.GuestOsTargetListDiscovery; +import * as GuestOsVersionFilter from "./guest-os-version-filter"; +export import GuestOsVersionFilter = GuestOsVersionFilter.GuestOsVersionFilter; import * as ImageIdFsuTargetDetails from "./image-id-fsu-target-details"; export import ImageIdFsuTargetDetails = ImageIdFsuTargetDetails.ImageIdFsuTargetDetails; import * as ListOfTargetsRollbackDetails from "./list-of-targets-rollback-details"; @@ -326,6 +412,10 @@ import * as NoneBatchingStrategyDetails from "./none-batching-strategy-details"; export import NoneBatchingStrategyDetails = NoneBatchingStrategyDetails.NoneBatchingStrategyDetails; import * as NoneScheduleDetails from "./none-schedule-details"; export import NoneScheduleDetails = NoneScheduleDetails.NoneScheduleDetails; +import * as OracleGiGoalVersionDetails from "./oracle-gi-goal-version-details"; +export import OracleGiGoalVersionDetails = OracleGiGoalVersionDetails.OracleGiGoalVersionDetails; +import * as OracleGuestOsGoalVersionDetails from "./oracle-guest-os-goal-version-details"; +export import OracleGuestOsGoalVersionDetails = OracleGuestOsGoalVersionDetails.OracleGuestOsGoalVersionDetails; import * as PatchFsuCycle from "./patch-fsu-cycle"; export import PatchFsuCycle = PatchFsuCycle.PatchFsuCycle; import * as PrecheckAction from "./precheck-action"; diff --git a/lib/fleetsoftwareupdate/lib/model/membership-summary.ts b/lib/fleetsoftwareupdate/lib/model/membership-summary.ts new file mode 100644 index 0000000000..5356146a91 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/membership-summary.ts @@ -0,0 +1,50 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of an Exadata Fleet Update Collection containing a target. + * + */ +export interface MembershipSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Fleet Update Collection. + */ + "fsuCollectionId": string; + /** + * Type of Exadata Fleet Update Collection. + * + */ + "fsuCollectionType": model.CollectionTypes; + /** + * The user-friendly name for the Exadata Fleet Update Collection. + */ + "fsuCollectionName": string; +} + +export namespace MembershipSummary { + export function getJsonObj(obj: MembershipSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MembershipSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/oracle-gi-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/oracle-gi-goal-version-details.ts new file mode 100644 index 0000000000..d9c8d504da --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/oracle-gi-goal-version-details.ts @@ -0,0 +1,58 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 a goal Oracle released 'GI' software image. + * + */ +export interface OracleGiGoalVersionDetails extends model.GiGoalVersionDetails { + /** + * Goal version string matching an Oracle released 'GI' software image. + * + */ + "goalVersion": string; + + "goalType": string; +} + +export namespace OracleGiGoalVersionDetails { + export function getJsonObj(obj: OracleGiGoalVersionDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GiGoalVersionDetails.getJsonObj(obj) as OracleGiGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } + export const goalType = "GI_ORACLE_IMAGE"; + export function getDeserializedJsonObj( + obj: OracleGiGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GiGoalVersionDetails.getDeserializedJsonObj(obj) as OracleGiGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/oracle-guest-os-goal-version-details.ts b/lib/fleetsoftwareupdate/lib/model/oracle-guest-os-goal-version-details.ts new file mode 100644 index 0000000000..c929fa78c9 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/oracle-guest-os-goal-version-details.ts @@ -0,0 +1,63 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 a goal Oracle released 'GI' software image. + * + */ +export interface OracleGuestOsGoalVersionDetails extends model.GuestOsGoalVersionDetails { + /** + * Goal version string matching an Oracle released 'GUEST_OS' software image. + * + */ + "goalVersion": string; + + "goalType": string; +} + +export namespace OracleGuestOsGoalVersionDetails { + export function getJsonObj( + obj: OracleGuestOsGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsGoalVersionDetails.getJsonObj(obj) as OracleGuestOsGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } + export const goalType = "GUEST_OS_ORACLE_IMAGE"; + export function getDeserializedJsonObj( + obj: OracleGuestOsGoalVersionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.GuestOsGoalVersionDetails.getDeserializedJsonObj( + obj + ) as OracleGuestOsGoalVersionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/patch-fsu-cycle.ts b/lib/fleetsoftwareupdate/lib/model/patch-fsu-cycle.ts index 67c5553fe2..7d4fa3df2e 100644 --- a/lib/fleetsoftwareupdate/lib/model/patch-fsu-cycle.ts +++ b/lib/fleetsoftwareupdate/lib/model/patch-fsu-cycle.ts @@ -22,23 +22,24 @@ import common = require("oci-common"); */ export interface PatchFsuCycle extends model.FsuCycle { /** - * Ignore all patches between the source and target homes during patching. + * Ignore patch conflicts or missing patches between the source and goal homes. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnorePatches"?: boolean; /** - * List of bug numbers to ignore. + * List of identifiers of patches to ignore. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnoreMissingPatches"?: Array; /** - * Service drain timeout specified in seconds. + * Timeout for session draining for database services specified in seconds. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxDrainTimeoutInSeconds"?: number; /** - * Ensure that services of administrator-managed Oracle RAC or Oracle RAC One databases are running on the same - * instances before and after the move operation. + * Ensure that database services are online on the same VMs before and after the maintenance update. * */ "isKeepPlacement"?: boolean; diff --git a/lib/fleetsoftwareupdate/lib/model/remove-fsu-collection-targets-details.ts b/lib/fleetsoftwareupdate/lib/model/remove-fsu-collection-targets-details.ts index 8b76ce3c8c..79ca8d81da 100644 --- a/lib/fleetsoftwareupdate/lib/model/remove-fsu-collection-targets-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/remove-fsu-collection-targets-details.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Remove targets from a Exadata Fleet Update Collection. + * Remove targets from an Exadata Fleet Update Collection. * */ export interface RemoveFsuCollectionTargetsDetails { diff --git a/lib/fleetsoftwareupdate/lib/model/software-component-details.ts b/lib/fleetsoftwareupdate/lib/model/software-component-details.ts new file mode 100644 index 0000000000..cf1fa6243e --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/software-component-details.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 a component in an Exadata software stack. + * + */ +export interface SoftwareComponentDetails { + "componentType": string; +} + +export namespace SoftwareComponentDetails { + export function getJsonObj(obj: SoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GI": + return model.GiSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.GuestOsSoftwareComponentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: SoftwareComponentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GI": + return model.GiSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GUEST_OS": + return model.GuestOsSoftwareComponentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/software-component-discovery-details.ts b/lib/fleetsoftwareupdate/lib/model/software-component-discovery-details.ts new file mode 100644 index 0000000000..d7a9d66853 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/software-component-discovery-details.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Discovery filter details of a component in an Exadata software stack. + * + */ +export interface SoftwareComponentDiscoveryDetails { + "componentType": string; +} + +export namespace SoftwareComponentDiscoveryDetails { + export function getJsonObj(obj: SoftwareComponentDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsSoftwareComponentDiscoveryDetails.getJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiSoftwareComponentDiscoveryDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: SoftwareComponentDiscoveryDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsSoftwareComponentDiscoveryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiSoftwareComponentDiscoveryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/software-component-summary.ts b/lib/fleetsoftwareupdate/lib/model/software-component-summary.ts new file mode 100644 index 0000000000..0ab4600376 --- /dev/null +++ b/lib/fleetsoftwareupdate/lib/model/software-component-summary.ts @@ -0,0 +1,70 @@ +/** + * Exadata Fleet Update service API + * Use the Exadata Fleet Update service to patch large collections of components directly, +as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle. + + * OpenAPI spec version: 20220528 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of a component in an Exadata software stack. + * + */ +export interface SoftwareComponentSummary { + "componentType": string; +} + +export namespace SoftwareComponentSummary { + export function getJsonObj(obj: SoftwareComponentSummary): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsSoftwareComponentSummary.getJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiSoftwareComponentSummary.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: SoftwareComponentSummary): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "componentType" in obj && obj.componentType) { + switch (obj.componentType) { + case "GUEST_OS": + return model.GuestOsSoftwareComponentSummary.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GI": + return model.GiSoftwareComponentSummary.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.componentType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetsoftwareupdate/lib/model/target-entry.ts b/lib/fleetsoftwareupdate/lib/model/target-entry.ts index c4c3e89ec9..8e3ee44fd1 100644 --- a/lib/fleetsoftwareupdate/lib/model/target-entry.ts +++ b/lib/fleetsoftwareupdate/lib/model/target-entry.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details to specify a target to add or remove from a Exadata Fleet Update Collection. + * Details to specify a target to add or remove from an Exadata Fleet Update Collection. * */ export interface TargetEntry { diff --git a/lib/fleetsoftwareupdate/lib/model/target-ids-remove-targets-details.ts b/lib/fleetsoftwareupdate/lib/model/target-ids-remove-targets-details.ts index 308560d5e4..53afe40afa 100644 --- a/lib/fleetsoftwareupdate/lib/model/target-ids-remove-targets-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/target-ids-remove-targets-details.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Remove a list of targets from a Exadata Fleet Update Collection. + * Remove a list of targets from an Exadata Fleet Update Collection. * */ export interface TargetIdsRemoveTargetsDetails extends model.RemoveFsuCollectionTargetsDetails { diff --git a/lib/fleetsoftwareupdate/lib/model/target-progress-summary.ts b/lib/fleetsoftwareupdate/lib/model/target-progress-summary.ts index 0e45462add..72c5b9f54a 100644 --- a/lib/fleetsoftwareupdate/lib/model/target-progress-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/target-progress-summary.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Progress details of the executing job for a Database target. + * Progress details of the executing job for a target. * */ export interface TargetProgressSummary { diff --git a/lib/fleetsoftwareupdate/lib/model/target-summary.ts b/lib/fleetsoftwareupdate/lib/model/target-summary.ts index 081b60c1b9..201da35699 100644 --- a/lib/fleetsoftwareupdate/lib/model/target-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/target-summary.ts @@ -46,6 +46,11 @@ export interface TargetSummary { */ "activeFsuCycleId"?: string; "progress"?: model.TargetProgressSummary; + /** + * List of Exadata Fleet Update Collections containing this target. + * + */ + "memberships"?: Array; } export namespace TargetSummary { @@ -66,7 +71,12 @@ export namespace TargetSummary { ...{ "target": obj.target ? model.TargetDetails.getJsonObj(obj.target) : undefined, - "progress": obj.progress ? model.TargetProgressSummary.getJsonObj(obj.progress) : undefined + "progress": obj.progress ? model.TargetProgressSummary.getJsonObj(obj.progress) : undefined, + "memberships": obj.memberships + ? obj.memberships.map(item => { + return model.MembershipSummary.getJsonObj(item); + }) + : undefined } }; @@ -80,6 +90,11 @@ export namespace TargetSummary { "progress": obj.progress ? model.TargetProgressSummary.getDeserializedJsonObj(obj.progress) + : undefined, + "memberships": obj.memberships + ? obj.memberships.map(item => { + return model.MembershipSummary.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/fleetsoftwareupdate/lib/model/update-batching-strategies.ts b/lib/fleetsoftwareupdate/lib/model/update-batching-strategies.ts index dac532ce88..3f8beb2573 100644 --- a/lib/fleetsoftwareupdate/lib/model/update-batching-strategies.ts +++ b/lib/fleetsoftwareupdate/lib/model/update-batching-strategies.ts @@ -17,7 +17,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Possible Batching Strategy types to specify during an update Exadata Fleet Update Cycle operation. + * Possible strategies for rolling or non-rolling update. * **/ export enum UpdateBatchingStrategies { diff --git a/lib/fleetsoftwareupdate/lib/model/update-fsu-collection-details.ts b/lib/fleetsoftwareupdate/lib/model/update-fsu-collection-details.ts index 13666353e9..853eedc994 100644 --- a/lib/fleetsoftwareupdate/lib/model/update-fsu-collection-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/update-fsu-collection-details.ts @@ -17,12 +17,13 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information to Update Exadata Fleet Update Collection. + * Updates specified fields for the specified Exadata Fleet Update Collection. + * Fields that are not specified in the request will not be updated. * */ export interface UpdateFsuCollectionDetails { /** - * Exadata Fleet Update Collection display name. + * The user-friendly name for the Exadata Fleet Update Collection. * */ "displayName"?: string; diff --git a/lib/fleetsoftwareupdate/lib/model/update-fsu-cycle-details.ts b/lib/fleetsoftwareupdate/lib/model/update-fsu-cycle-details.ts index a0d3a86469..78623e2717 100644 --- a/lib/fleetsoftwareupdate/lib/model/update-fsu-cycle-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/update-fsu-cycle-details.ts @@ -18,6 +18,7 @@ import common = require("oci-common"); /** * Update Exadata Fleet Update Cycle resource details. + * If automated maintenance is enabled for the associated Exadata Fleet Update Collection, updating Exadata Fleet Update Cycle will not affect the Exadata Fleet Update Collection. * */ export interface UpdateFsuCycleDetails { @@ -26,7 +27,10 @@ export interface UpdateFsuCycleDetails { * */ "displayName"?: string; - "goalVersionDetails"?: model.VersionFsuTargetDetails | model.ImageIdFsuTargetDetails; + "goalVersionDetails"?: + | model.ExadbStackFsuGoalVersionDetails + | model.VersionFsuTargetDetails + | model.ImageIdFsuTargetDetails; "batchingStrategy"?: | model.UpdateSequentialBatchingStrategyDetails | model.UpdateNonRollingBatchingStrategyDetails diff --git a/lib/fleetsoftwareupdate/lib/model/update-patch-fsu-cycle.ts b/lib/fleetsoftwareupdate/lib/model/update-patch-fsu-cycle.ts index a01a3385ec..e548331184 100644 --- a/lib/fleetsoftwareupdate/lib/model/update-patch-fsu-cycle.ts +++ b/lib/fleetsoftwareupdate/lib/model/update-patch-fsu-cycle.ts @@ -18,28 +18,30 @@ import common = require("oci-common"); /** * Update Patch Exadata Fleet Update Cycle resource details. + * If automated maintenance is enabled for the associated Exadata Fleet Update Collection, updating Exadata Fleet Update Cycle will not affect the Exadata Fleet Update Collection. * */ export interface UpdatePatchFsuCycle extends model.UpdateFsuCycleDetails { /** - * Ignore all patches between the source and target homes during patching. + * Ignore patch conflicts or missing patches between the source and goal homes. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnorePatches"?: boolean; /** - * List of patch IDs to ignore. - * An empty array removes the previously stored patch IDs in the Maintenance Cycle properties. + * List of identifiers of patches to ignore. + * Specify an empty array to unset the field. + * This attribute will be ignored for Exadata Image (Guest OS) maintenance update. * */ "isIgnoreMissingPatches"?: Array; /** - * Service drain timeout specified in seconds. + * Timeout for session draining for database services specified in seconds. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxDrainTimeoutInSeconds"?: number; /** - * Ensure that services of administrator-managed Oracle RAC or Oracle RAC One databases are running on the same - * instances before and after the move operation. + * Ensure that database services are online on the same VMs before and after the maintenance update. * */ "isKeepPlacement"?: boolean; diff --git a/lib/fleetsoftwareupdate/lib/model/version-fsu-target-details.ts b/lib/fleetsoftwareupdate/lib/model/version-fsu-target-details.ts index 3738748d2e..9e0371fa76 100644 --- a/lib/fleetsoftwareupdate/lib/model/version-fsu-target-details.ts +++ b/lib/fleetsoftwareupdate/lib/model/version-fsu-target-details.ts @@ -17,12 +17,13 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Exadata Fleet Update Cycle Target version string details. + * Exadata Fleet Update Cycle goal version string details. * */ export interface VersionFsuTargetDetails extends model.FsuGoalVersionDetails { /** - * Target DB or GI version string for the Exadata Fleet Update Cycle. + * Goal version string for the Exadata Fleet Update Cycle. + * Applicable to Database, Grid Infrastructure, or Exadata Image software updates. * */ "version": string; diff --git a/lib/fleetsoftwareupdate/lib/model/vm-cluster-target-summary.ts b/lib/fleetsoftwareupdate/lib/model/vm-cluster-target-summary.ts index 1f5547fc99..fedc042936 100644 --- a/lib/fleetsoftwareupdate/lib/model/vm-cluster-target-summary.ts +++ b/lib/fleetsoftwareupdate/lib/model/vm-cluster-target-summary.ts @@ -33,6 +33,11 @@ export interface VmClusterTargetSummary extends model.TargetDetails { * */ "softwareImageId"?: string; + /** + * Exadata Image (Guest OS) version. + * + */ + "systemVersion"?: string; "entityType": string; } diff --git a/lib/fleetsoftwareupdate/lib/request/create-fsu-collection-request.ts b/lib/fleetsoftwareupdate/lib/request/create-fsu-collection-request.ts index dc096d5085..ed28770f97 100644 --- a/lib/fleetsoftwareupdate/lib/request/create-fsu-collection-request.ts +++ b/lib/fleetsoftwareupdate/lib/request/create-fsu-collection-request.ts @@ -24,7 +24,9 @@ export interface CreateFsuCollectionRequest extends common.BaseRequest { */ "createFsuCollectionDetails": | model.CreateDbFsuCollectionDetails - | model.CreateGiFsuCollectionDetails; + | model.CreateGiFsuCollectionDetails + | model.CreateGuestOsFsuCollectionDetails + | model.CreateExadbStackFsuCollectionDetails; /** * 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 diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index b5f739d38b..960b12bbf3 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/lib/model/create-function-details.ts b/lib/functions/lib/model/create-function-details.ts index 0c0cb038a6..8e436a8907 100644 --- a/lib/functions/lib/model/create-function-details.ts +++ b/lib/functions/lib/model/create-function-details.ts @@ -65,6 +65,20 @@ The maximum size for all configuration keys and values is limited to 4KB. This i "provisionedConcurrencyConfig"?: | model.NoneProvisionedConcurrencyConfig | model.ConstantProvisionedConcurrencyConfig; + /** + * Timeout for detached function invocations. Value in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "detachedModeTimeoutInSeconds"?: number; + "failureDestination"?: + | model.StreamFailureDestinationDetails + | model.QueueFailureDestinationDetails + | model.NotificationFailureDestinationDetails + | model.NoneFailureDestinationDetails; + "successDestination"?: + | model.StreamSuccessDestinationDetails + | model.NotificationSuccessDestinationDetails + | model.QueueSuccessDestinationDetails + | model.NoneSuccessDestinationDetails; "traceConfig"?: model.FunctionTraceConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. @@ -95,6 +109,13 @@ export namespace CreateFunctionDetails { "provisionedConcurrencyConfig": obj.provisionedConcurrencyConfig ? model.FunctionProvisionedConcurrencyConfig.getJsonObj(obj.provisionedConcurrencyConfig) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getJsonObj(obj.traceConfig) : undefined @@ -116,6 +137,13 @@ export namespace CreateFunctionDetails { obj.provisionedConcurrencyConfig ) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getDeserializedJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getDeserializedJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getDeserializedJsonObj(obj.traceConfig) : undefined diff --git a/lib/functions/lib/model/failure-destination-details.ts b/lib/functions/lib/model/failure-destination-details.ts new file mode 100644 index 0000000000..f39a4de141 --- /dev/null +++ b/lib/functions/lib/model/failure-destination-details.ts @@ -0,0 +1,92 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* An object that represents the destination to which Oracle Functions will send an invocation record with the details of the error of the failed detached function invocation. +* A notification is an example of a failure destination. +*

+Example: {@code {\"kind\": \"NOTIFICATION\", \"topicId\": \"topic_OCID\"}} +* +*/ +export interface FailureDestinationDetails { + "kind": string; +} + +export namespace FailureDestinationDetails { + export function getJsonObj(obj: FailureDestinationDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STREAM": + return model.StreamFailureDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "QUEUE": + return model.QueueFailureDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "NOTIFICATION": + return model.NotificationFailureDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "NONE": + return model.NoneFailureDestinationDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: FailureDestinationDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STREAM": + return model.StreamFailureDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "QUEUE": + return model.QueueFailureDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "NOTIFICATION": + return model.NotificationFailureDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "NONE": + return model.NoneFailureDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } +} diff --git a/lib/functions/lib/model/function-summary.ts b/lib/functions/lib/model/function-summary.ts index 68e4263f3a..ebbdcb3613 100644 --- a/lib/functions/lib/model/function-summary.ts +++ b/lib/functions/lib/model/function-summary.ts @@ -75,6 +75,20 @@ export interface FunctionSummary { "provisionedConcurrencyConfig"?: | model.NoneProvisionedConcurrencyConfig | model.ConstantProvisionedConcurrencyConfig; + /** + * Timeout for detached function invocations. Value in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "detachedModeTimeoutInSeconds"?: number; + "failureDestination"?: + | model.StreamFailureDestinationDetails + | model.QueueFailureDestinationDetails + | model.NotificationFailureDestinationDetails + | model.NoneFailureDestinationDetails; + "successDestination"?: + | model.StreamSuccessDestinationDetails + | model.NotificationSuccessDestinationDetails + | model.QueueSuccessDestinationDetails + | model.NoneSuccessDestinationDetails; "traceConfig"?: model.FunctionTraceConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. @@ -137,6 +151,13 @@ export namespace FunctionSummary { "provisionedConcurrencyConfig": obj.provisionedConcurrencyConfig ? model.FunctionProvisionedConcurrencyConfig.getJsonObj(obj.provisionedConcurrencyConfig) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getJsonObj(obj.traceConfig) : undefined @@ -158,6 +179,13 @@ export namespace FunctionSummary { obj.provisionedConcurrencyConfig ) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getDeserializedJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getDeserializedJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getDeserializedJsonObj(obj.traceConfig) : undefined diff --git a/lib/functions/lib/model/function.ts b/lib/functions/lib/model/function.ts index 25ab2e9ec0..5be176ec00 100644 --- a/lib/functions/lib/model/function.ts +++ b/lib/functions/lib/model/function.ts @@ -85,6 +85,23 @@ The maximum size for all configuration keys and values is limited to 4KB. This i "provisionedConcurrencyConfig"?: | model.NoneProvisionedConcurrencyConfig | model.ConstantProvisionedConcurrencyConfig; + /** + * Timeout for detached function invocations. Value in seconds. +*

+Example: {@code {\"detachedModeTimeoutInSeconds\": 900}} +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "detachedModeTimeoutInSeconds"?: number; + "failureDestination"?: + | model.StreamFailureDestinationDetails + | model.QueueFailureDestinationDetails + | model.NotificationFailureDestinationDetails + | model.NoneFailureDestinationDetails; + "successDestination"?: + | model.StreamSuccessDestinationDetails + | model.NotificationSuccessDestinationDetails + | model.QueueSuccessDestinationDetails + | model.NoneSuccessDestinationDetails; "traceConfig"?: model.FunctionTraceConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. @@ -162,6 +179,13 @@ export namespace Function { "provisionedConcurrencyConfig": obj.provisionedConcurrencyConfig ? model.FunctionProvisionedConcurrencyConfig.getJsonObj(obj.provisionedConcurrencyConfig) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getJsonObj(obj.traceConfig) : undefined @@ -183,6 +207,13 @@ export namespace Function { obj.provisionedConcurrencyConfig ) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getDeserializedJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getDeserializedJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getDeserializedJsonObj(obj.traceConfig) : undefined diff --git a/lib/functions/lib/model/index.ts b/lib/functions/lib/model/index.ts index a13dadd255..51b036c9fb 100644 --- a/lib/functions/lib/model/index.ts +++ b/lib/functions/lib/model/index.ts @@ -26,6 +26,8 @@ import * as CreateApplicationDetails from "./create-application-details"; export import CreateApplicationDetails = CreateApplicationDetails.CreateApplicationDetails; import * as CreateFunctionDetails from "./create-function-details"; export import CreateFunctionDetails = CreateFunctionDetails.CreateFunctionDetails; +import * as FailureDestinationDetails from "./failure-destination-details"; +export import FailureDestinationDetails = FailureDestinationDetails.FailureDestinationDetails; import * as Function from "./function"; export import Function = Function.Function; import * as FunctionProvisionedConcurrencyConfig from "./function-provisioned-concurrency-config"; @@ -58,6 +60,8 @@ import * as PublisherDetails from "./publisher-details"; export import PublisherDetails = PublisherDetails.PublisherDetails; import * as RequirementDetails from "./requirement-details"; export import RequirementDetails = RequirementDetails.RequirementDetails; +import * as SuccessDestinationDetails from "./success-destination-details"; +export import SuccessDestinationDetails = SuccessDestinationDetails.SuccessDestinationDetails; import * as Trigger from "./trigger"; export import Trigger = Trigger.Trigger; import * as TriggerSummary from "./trigger-summary"; @@ -71,7 +75,23 @@ export import UpdateFunctionDetails = UpdateFunctionDetails.UpdateFunctionDetail import * as ConstantProvisionedConcurrencyConfig from "./constant-provisioned-concurrency-config"; export import ConstantProvisionedConcurrencyConfig = ConstantProvisionedConcurrencyConfig.ConstantProvisionedConcurrencyConfig; +import * as NoneFailureDestinationDetails from "./none-failure-destination-details"; +export import NoneFailureDestinationDetails = NoneFailureDestinationDetails.NoneFailureDestinationDetails; import * as NoneProvisionedConcurrencyConfig from "./none-provisioned-concurrency-config"; export import NoneProvisionedConcurrencyConfig = NoneProvisionedConcurrencyConfig.NoneProvisionedConcurrencyConfig; +import * as NoneSuccessDestinationDetails from "./none-success-destination-details"; +export import NoneSuccessDestinationDetails = NoneSuccessDestinationDetails.NoneSuccessDestinationDetails; +import * as NotificationFailureDestinationDetails from "./notification-failure-destination-details"; +export import NotificationFailureDestinationDetails = NotificationFailureDestinationDetails.NotificationFailureDestinationDetails; +import * as NotificationSuccessDestinationDetails from "./notification-success-destination-details"; +export import NotificationSuccessDestinationDetails = NotificationSuccessDestinationDetails.NotificationSuccessDestinationDetails; import * as PreBuiltFunctionSourceDetails from "./pre-built-function-source-details"; export import PreBuiltFunctionSourceDetails = PreBuiltFunctionSourceDetails.PreBuiltFunctionSourceDetails; +import * as QueueFailureDestinationDetails from "./queue-failure-destination-details"; +export import QueueFailureDestinationDetails = QueueFailureDestinationDetails.QueueFailureDestinationDetails; +import * as QueueSuccessDestinationDetails from "./queue-success-destination-details"; +export import QueueSuccessDestinationDetails = QueueSuccessDestinationDetails.QueueSuccessDestinationDetails; +import * as StreamFailureDestinationDetails from "./stream-failure-destination-details"; +export import StreamFailureDestinationDetails = StreamFailureDestinationDetails.StreamFailureDestinationDetails; +import * as StreamSuccessDestinationDetails from "./stream-success-destination-details"; +export import StreamSuccessDestinationDetails = StreamSuccessDestinationDetails.StreamSuccessDestinationDetails; diff --git a/lib/functions/lib/model/none-failure-destination-details.ts b/lib/functions/lib/model/none-failure-destination-details.ts new file mode 100644 index 0000000000..f342f5ff03 --- /dev/null +++ b/lib/functions/lib/model/none-failure-destination-details.ts @@ -0,0 +1,58 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Specifies no failure destination +*

+Example: {@code {\"kind\": \"NONE\"}} +* +*/ +export interface NoneFailureDestinationDetails extends model.FailureDestinationDetails { + "kind": string; +} + +export namespace NoneFailureDestinationDetails { + export function getJsonObj( + obj: NoneFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getJsonObj(obj) as NoneFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "NONE"; + export function getDeserializedJsonObj( + obj: NoneFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getDeserializedJsonObj( + obj + ) as NoneFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/none-success-destination-details.ts b/lib/functions/lib/model/none-success-destination-details.ts new file mode 100644 index 0000000000..b063762df5 --- /dev/null +++ b/lib/functions/lib/model/none-success-destination-details.ts @@ -0,0 +1,58 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Specifies no success destination +*

+Example: {@code {\"kind\": \"NONE\"}} +* +*/ +export interface NoneSuccessDestinationDetails extends model.SuccessDestinationDetails { + "kind": string; +} + +export namespace NoneSuccessDestinationDetails { + export function getJsonObj( + obj: NoneSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getJsonObj(obj) as NoneSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "NONE"; + export function getDeserializedJsonObj( + obj: NoneSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getDeserializedJsonObj( + obj + ) as NoneSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/notification-failure-destination-details.ts b/lib/functions/lib/model/notification-failure-destination-details.ts new file mode 100644 index 0000000000..e9faef8654 --- /dev/null +++ b/lib/functions/lib/model/notification-failure-destination-details.ts @@ -0,0 +1,66 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination topic in the Notifications service to which to send the response of the failed detached function invocation. +*

+Example: {@code {\"kind\": \"NOTIFICATION\", \"topicId\": \"topic_OCID\"}} +* +*/ +export interface NotificationFailureDestinationDetails extends model.FailureDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. + * + */ + "topicId": string; + + "kind": string; +} + +export namespace NotificationFailureDestinationDetails { + export function getJsonObj( + obj: NotificationFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getJsonObj( + obj + ) as NotificationFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "NOTIFICATION"; + export function getDeserializedJsonObj( + obj: NotificationFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getDeserializedJsonObj( + obj + ) as NotificationFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/notification-success-destination-details.ts b/lib/functions/lib/model/notification-success-destination-details.ts new file mode 100644 index 0000000000..f15c884b93 --- /dev/null +++ b/lib/functions/lib/model/notification-success-destination-details.ts @@ -0,0 +1,66 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination topic in the Notifications service to which to send the response of the successful detached function invocation. +*

+Example: {@code {\"kind\": \"NOTIFICATION\", \"topicId\": \"topic_OCID\"}} +* +*/ +export interface NotificationSuccessDestinationDetails extends model.SuccessDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. + * + */ + "topicId": string; + + "kind": string; +} + +export namespace NotificationSuccessDestinationDetails { + export function getJsonObj( + obj: NotificationSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getJsonObj( + obj + ) as NotificationSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "NOTIFICATION"; + export function getDeserializedJsonObj( + obj: NotificationSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getDeserializedJsonObj( + obj + ) as NotificationSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/queue-failure-destination-details.ts b/lib/functions/lib/model/queue-failure-destination-details.ts new file mode 100644 index 0000000000..6d0b469686 --- /dev/null +++ b/lib/functions/lib/model/queue-failure-destination-details.ts @@ -0,0 +1,69 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination queue or channel in the Queue service to which to send the response of the failed detached function invocation. +*

+Example: {@code {\"kind\": \"QUEUE\", \"queueId\": \"queue_OCID\", \"channelId\": \"channel_Id\"}} +* +*/ +export interface QueueFailureDestinationDetails extends model.FailureDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the queue. + * + */ + "queueId": string; + /** + * The ID of the channel in the queue. + * + */ + "channelId"?: string; + + "kind": string; +} + +export namespace QueueFailureDestinationDetails { + export function getJsonObj( + obj: QueueFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getJsonObj(obj) as QueueFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "QUEUE"; + export function getDeserializedJsonObj( + obj: QueueFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getDeserializedJsonObj( + obj + ) as QueueFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/queue-success-destination-details.ts b/lib/functions/lib/model/queue-success-destination-details.ts new file mode 100644 index 0000000000..baecd5e9b6 --- /dev/null +++ b/lib/functions/lib/model/queue-success-destination-details.ts @@ -0,0 +1,69 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination queue or channel in the Queue service to which to send the response of the successful detached function invocation. +*

+Example: {@code {\"kind\": \"QUEUE\", \"queueId\": \"queue_OCID\", \"channelId\": \"channel_Id\"}} +* +*/ +export interface QueueSuccessDestinationDetails extends model.SuccessDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the queue. + * + */ + "queueId": string; + /** + * The ID of the channel in the queue. + * + */ + "channelId"?: string; + + "kind": string; +} + +export namespace QueueSuccessDestinationDetails { + export function getJsonObj( + obj: QueueSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getJsonObj(obj) as QueueSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "QUEUE"; + export function getDeserializedJsonObj( + obj: QueueSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getDeserializedJsonObj( + obj + ) as QueueSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/stream-failure-destination-details.ts b/lib/functions/lib/model/stream-failure-destination-details.ts new file mode 100644 index 0000000000..2d065292e4 --- /dev/null +++ b/lib/functions/lib/model/stream-failure-destination-details.ts @@ -0,0 +1,64 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination stream in the Streaming service to which to send the response of the failed detached function invocation. +*

+Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}} +* +*/ +export interface StreamFailureDestinationDetails extends model.FailureDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. + * + */ + "streamId": string; + + "kind": string; +} + +export namespace StreamFailureDestinationDetails { + export function getJsonObj( + obj: StreamFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getJsonObj(obj) as StreamFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "STREAM"; + export function getDeserializedJsonObj( + obj: StreamFailureDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FailureDestinationDetails.getDeserializedJsonObj( + obj + ) as StreamFailureDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/stream-success-destination-details.ts b/lib/functions/lib/model/stream-success-destination-details.ts new file mode 100644 index 0000000000..b2f4d27d83 --- /dev/null +++ b/lib/functions/lib/model/stream-success-destination-details.ts @@ -0,0 +1,64 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The destination stream in the Streaming service to which to send the response of the successful detached function invocation. +*

+Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}} +* +*/ +export interface StreamSuccessDestinationDetails extends model.SuccessDestinationDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. + * + */ + "streamId": string; + + "kind": string; +} + +export namespace StreamSuccessDestinationDetails { + export function getJsonObj( + obj: StreamSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getJsonObj(obj) as StreamSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "STREAM"; + export function getDeserializedJsonObj( + obj: StreamSuccessDestinationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.SuccessDestinationDetails.getDeserializedJsonObj( + obj + ) as StreamSuccessDestinationDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/functions/lib/model/success-destination-details.ts b/lib/functions/lib/model/success-destination-details.ts new file mode 100644 index 0000000000..ddd6b7635a --- /dev/null +++ b/lib/functions/lib/model/success-destination-details.ts @@ -0,0 +1,92 @@ +/** + * Functions Service API + * API for the Functions service. + + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* An object that represents the destination to which Oracle Functions will send an invocation record with the details of the successful detached function invocation. +* A stream is an example of a success destination. +*

+Example: {@code {\"kind\": \"STREAM\", \"streamId\": \"stream_OCID\"}} +* +*/ +export interface SuccessDestinationDetails { + "kind": string; +} + +export namespace SuccessDestinationDetails { + export function getJsonObj(obj: SuccessDestinationDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STREAM": + return model.StreamSuccessDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "NOTIFICATION": + return model.NotificationSuccessDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "QUEUE": + return model.QueueSuccessDestinationDetails.getJsonObj( + (jsonObj), + true + ); + case "NONE": + return model.NoneSuccessDestinationDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: SuccessDestinationDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STREAM": + return model.StreamSuccessDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "NOTIFICATION": + return model.NotificationSuccessDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "QUEUE": + return model.QueueSuccessDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "NONE": + return model.NoneSuccessDestinationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } +} diff --git a/lib/functions/lib/model/update-function-details.ts b/lib/functions/lib/model/update-function-details.ts index 2d59e17695..cfcad6e841 100644 --- a/lib/functions/lib/model/update-function-details.ts +++ b/lib/functions/lib/model/update-function-details.ts @@ -55,6 +55,20 @@ The maximum size for all configuration keys and values is limited to 4KB. This i "provisionedConcurrencyConfig"?: | model.NoneProvisionedConcurrencyConfig | model.ConstantProvisionedConcurrencyConfig; + /** + * Timeout for detached function invocations. Value in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "detachedModeTimeoutInSeconds"?: number; + "failureDestination"?: + | model.StreamFailureDestinationDetails + | model.QueueFailureDestinationDetails + | model.NotificationFailureDestinationDetails + | model.NoneFailureDestinationDetails; + "successDestination"?: + | model.StreamSuccessDestinationDetails + | model.NotificationSuccessDestinationDetails + | model.QueueSuccessDestinationDetails + | model.NoneSuccessDestinationDetails; "traceConfig"?: model.FunctionTraceConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. @@ -80,6 +94,13 @@ export namespace UpdateFunctionDetails { "provisionedConcurrencyConfig": obj.provisionedConcurrencyConfig ? model.FunctionProvisionedConcurrencyConfig.getJsonObj(obj.provisionedConcurrencyConfig) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getJsonObj(obj.traceConfig) : undefined @@ -97,6 +118,13 @@ export namespace UpdateFunctionDetails { obj.provisionedConcurrencyConfig ) : undefined, + + "failureDestination": obj.failureDestination + ? model.FailureDestinationDetails.getDeserializedJsonObj(obj.failureDestination) + : undefined, + "successDestination": obj.successDestination + ? model.SuccessDestinationDetails.getDeserializedJsonObj(obj.successDestination) + : undefined, "traceConfig": obj.traceConfig ? model.FunctionTraceConfig.getDeserializedJsonObj(obj.traceConfig) : undefined diff --git a/lib/functions/package.json b/lib/functions/package.json index aa2ceed065..344afc6274 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/lib/model/create-fusion-environment-details.ts b/lib/fusionapps/lib/model/create-fusion-environment-details.ts index 38f2d68af0..4e2caad0a0 100644 --- a/lib/fusionapps/lib/model/create-fusion-environment-details.ts +++ b/lib/fusionapps/lib/model/create-fusion-environment-details.ts @@ -47,6 +47,10 @@ export interface CreateFusionEnvironmentDetails { * Language packs. */ "additionalLanguagePacks"?: Array; + /** + * Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. Default value will be false if not set + */ + "isIPv6DualStackEnabled"?: boolean; /** * Rules. */ diff --git a/lib/fusionapps/lib/model/fusion-environment-summary.ts b/lib/fusionapps/lib/model/fusion-environment-summary.ts index e1b211320e..280be28047 100644 --- a/lib/fusionapps/lib/model/fusion-environment-summary.ts +++ b/lib/fusionapps/lib/model/fusion-environment-summary.ts @@ -67,6 +67,10 @@ export interface FusionEnvironmentSummary { * Language packs */ "additionalLanguagePacks"?: Array; + /** + * Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. + */ + "isIPv6DualStackEnabled"?: boolean; /** * The lockbox Id of this fusion environment. If there's no lockbox id, this field will be null */ diff --git a/lib/fusionapps/lib/model/fusion-environment.ts b/lib/fusionapps/lib/model/fusion-environment.ts index 75a0c583b9..227ce66302 100644 --- a/lib/fusionapps/lib/model/fusion-environment.ts +++ b/lib/fusionapps/lib/model/fusion-environment.ts @@ -83,6 +83,10 @@ export interface FusionEnvironment { * Language packs */ "additionalLanguagePacks"?: Array; + /** + * Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. + */ + "isIPv6DualStackEnabled"?: boolean; /** * The lockbox Id of this fusion environment. If there's no lockbox id, this field will be null */ diff --git a/lib/fusionapps/lib/model/patch-action.ts b/lib/fusionapps/lib/model/patch-action.ts index 79d07d18cb..97dd343c40 100644 --- a/lib/fusionapps/lib/model/patch-action.ts +++ b/lib/fusionapps/lib/model/patch-action.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface PatchAction extends model.Action { /** - * A string that describeds whether the change is applied hot or cold + * A string that describes whether the change is applied hot or cold */ "mode"?: PatchAction.Mode; /** diff --git a/lib/fusionapps/lib/model/update-fusion-environment-details.ts b/lib/fusionapps/lib/model/update-fusion-environment-details.ts index ca9330f50b..be22321919 100644 --- a/lib/fusionapps/lib/model/update-fusion-environment-details.ts +++ b/lib/fusionapps/lib/model/update-fusion-environment-details.ts @@ -31,6 +31,10 @@ export interface UpdateFusionEnvironmentDetails { * Language packs */ "additionalLanguagePacks"?: Array; + /** + * Enable IPv4/IPv6 dual stack support for the environment. Setting to true will assign an IPv6 address to the environment in addition to an IPv4 address. + */ + "isIPv6DualStackEnabled"?: boolean; /** * Network access control rules to limit internet traffic that can access the environment. For more information, see {@link #allowRule(AllowRuleRequest) allowRule}. */ diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 95971202c9..2502eb3c5f 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/lib/client.ts b/lib/generativeai/lib/client.ts index c3c91a601e..a0b26d78fc 100644 --- a/lib/generativeai/lib/client.ts +++ b/lib/generativeai/lib/client.ts @@ -394,6 +394,90 @@ export class GenerativeAiClient { } } + /** + * Moves a Generative AI private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeGenerativeAiPrivateEndpointCompartmentRequest + * @return ChangeGenerativeAiPrivateEndpointCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ChangeGenerativeAiPrivateEndpointCompartment.ts.html |here} to see how to use ChangeGenerativeAiPrivateEndpointCompartment API. + */ + public async changeGenerativeAiPrivateEndpointCompartment( + changeGenerativeAiPrivateEndpointCompartmentRequest: requests.ChangeGenerativeAiPrivateEndpointCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation GenerativeAiClient#changeGenerativeAiPrivateEndpointCompartment." + ); + const operationName = "changeGenerativeAiPrivateEndpointCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{generativeAiPrivateEndpointId}": + changeGenerativeAiPrivateEndpointCompartmentRequest.generativeAiPrivateEndpointId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": changeGenerativeAiPrivateEndpointCompartmentRequest.opcRequestId, + "if-match": changeGenerativeAiPrivateEndpointCompartmentRequest.ifMatch, + "opc-retry-token": changeGenerativeAiPrivateEndpointCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeGenerativeAiPrivateEndpointCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: + "/generativeAiPrivateEndpoints/{generativeAiPrivateEndpointId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeGenerativeAiPrivateEndpointCompartmentRequest.changeGenerativeAiPrivateEndpointCompartmentDetails, + "ChangeGenerativeAiPrivateEndpointCompartmentDetails", + model.ChangeGenerativeAiPrivateEndpointCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves a custom model into a different compartment. 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. @@ -650,6 +734,92 @@ The header contains an opc-work-request-id, which is the id for the WorkRequest } } + /** + * Creates a Generative AI private endpoint. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateGenerativeAiPrivateEndpointRequest + * @return CreateGenerativeAiPrivateEndpointResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/CreateGenerativeAiPrivateEndpoint.ts.html |here} to see how to use CreateGenerativeAiPrivateEndpoint API. + */ + public async createGenerativeAiPrivateEndpoint( + createGenerativeAiPrivateEndpointRequest: requests.CreateGenerativeAiPrivateEndpointRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#createGenerativeAiPrivateEndpoint."); + const operationName = "createGenerativeAiPrivateEndpoint"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createGenerativeAiPrivateEndpointRequest.opcRetryToken, + "opc-request-id": createGenerativeAiPrivateEndpointRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createGenerativeAiPrivateEndpointRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/generativeAiPrivateEndpoints", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createGenerativeAiPrivateEndpointRequest.createGenerativeAiPrivateEndpointDetails, + "CreateGenerativeAiPrivateEndpointDetails", + model.CreateGenerativeAiPrivateEndpointDetails.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: "generativeAiPrivateEndpoint", + bodyModel: model.GenerativeAiPrivateEndpoint, + type: "model.GenerativeAiPrivateEndpoint", + 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("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Creates a custom model by fine-tuning a base model with your own dataset. You can create a new custom models or create a new version of existing custom model.. *

@@ -890,6 +1060,81 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Deletes a Generative AI private endpoint using `privateEndpointId`. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteGenerativeAiPrivateEndpointRequest + * @return DeleteGenerativeAiPrivateEndpointResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/DeleteGenerativeAiPrivateEndpoint.ts.html |here} to see how to use DeleteGenerativeAiPrivateEndpoint API. + */ + public async deleteGenerativeAiPrivateEndpoint( + deleteGenerativeAiPrivateEndpointRequest: requests.DeleteGenerativeAiPrivateEndpointRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#deleteGenerativeAiPrivateEndpoint."); + const operationName = "deleteGenerativeAiPrivateEndpoint"; + const apiReferenceLink = ""; + const pathParams = { + "{generativeAiPrivateEndpointId}": + deleteGenerativeAiPrivateEndpointRequest.generativeAiPrivateEndpointId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": deleteGenerativeAiPrivateEndpointRequest.opcRequestId, + "if-match": deleteGenerativeAiPrivateEndpointRequest.ifMatch + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteGenerativeAiPrivateEndpointRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/generativeAiPrivateEndpoints/{generativeAiPrivateEndpointId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Deletes a custom model. A model shouldn't be deleted if there's one or more active endpoints associated with that model. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1113,6 +1358,84 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Retrieves an Generative AI private endpoint using a `privateEndpointId`. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetGenerativeAiPrivateEndpointRequest + * @return GetGenerativeAiPrivateEndpointResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/GetGenerativeAiPrivateEndpoint.ts.html |here} to see how to use GetGenerativeAiPrivateEndpoint API. + */ + public async getGenerativeAiPrivateEndpoint( + getGenerativeAiPrivateEndpointRequest: requests.GetGenerativeAiPrivateEndpointRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#getGenerativeAiPrivateEndpoint."); + const operationName = "getGenerativeAiPrivateEndpoint"; + const apiReferenceLink = ""; + const pathParams = { + "{generativeAiPrivateEndpointId}": + getGenerativeAiPrivateEndpointRequest.generativeAiPrivateEndpointId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getGenerativeAiPrivateEndpointRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getGenerativeAiPrivateEndpointRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/generativeAiPrivateEndpoints/{generativeAiPrivateEndpointId}", + 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: "generativeAiPrivateEndpoint", + bodyModel: model.GenerativeAiPrivateEndpoint, + type: "model.GenerativeAiPrivateEndpoint", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets information about a custom model. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1434,6 +1757,90 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Lists all Generative AI private endpoints in the specified compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListGenerativeAiPrivateEndpointsRequest + * @return ListGenerativeAiPrivateEndpointsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ListGenerativeAiPrivateEndpoints.ts.html |here} to see how to use ListGenerativeAiPrivateEndpoints API. + */ + public async listGenerativeAiPrivateEndpoints( + listGenerativeAiPrivateEndpointsRequest: requests.ListGenerativeAiPrivateEndpointsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#listGenerativeAiPrivateEndpoints."); + const operationName = "listGenerativeAiPrivateEndpoints"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "id": listGenerativeAiPrivateEndpointsRequest.id, + "compartmentId": listGenerativeAiPrivateEndpointsRequest.compartmentId, + "lifecycleState": listGenerativeAiPrivateEndpointsRequest.lifecycleState, + "sortBy": listGenerativeAiPrivateEndpointsRequest.sortBy, + "displayName": listGenerativeAiPrivateEndpointsRequest.displayName, + "limit": listGenerativeAiPrivateEndpointsRequest.limit, + "page": listGenerativeAiPrivateEndpointsRequest.page, + "sortOrder": listGenerativeAiPrivateEndpointsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listGenerativeAiPrivateEndpointsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listGenerativeAiPrivateEndpointsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/generativeAiPrivateEndpoints", + 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: "generativeAiPrivateEndpointCollection", + bodyModel: model.GenerativeAiPrivateEndpointCollection, + type: "model.GenerativeAiPrivateEndpointCollection", + 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 models in a specific compartment. Includes pretrained base models and fine-tuned custom models. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1934,6 +2341,95 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Updates a Generative AI private endpoint using a `privateEndpointId`. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateGenerativeAiPrivateEndpointRequest + * @return UpdateGenerativeAiPrivateEndpointResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/UpdateGenerativeAiPrivateEndpoint.ts.html |here} to see how to use UpdateGenerativeAiPrivateEndpoint API. + */ + public async updateGenerativeAiPrivateEndpoint( + updateGenerativeAiPrivateEndpointRequest: requests.UpdateGenerativeAiPrivateEndpointRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#updateGenerativeAiPrivateEndpoint."); + const operationName = "updateGenerativeAiPrivateEndpoint"; + const apiReferenceLink = ""; + const pathParams = { + "{generativeAiPrivateEndpointId}": + updateGenerativeAiPrivateEndpointRequest.generativeAiPrivateEndpointId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": updateGenerativeAiPrivateEndpointRequest.opcRequestId, + "if-match": updateGenerativeAiPrivateEndpointRequest.ifMatch + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateGenerativeAiPrivateEndpointRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/generativeAiPrivateEndpoints/{generativeAiPrivateEndpointId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateGenerativeAiPrivateEndpointRequest.updateGenerativeAiPrivateEndpointDetails, + "UpdateGenerativeAiPrivateEndpointDetails", + model.UpdateGenerativeAiPrivateEndpointDetails.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: "generativeAiPrivateEndpoint", + bodyModel: model.GenerativeAiPrivateEndpoint, + type: "model.GenerativeAiPrivateEndpoint", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Updates the properties of a custom model such as name, description, version, freeform tags, and defined tags. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. diff --git a/lib/generativeai/lib/generativeai-waiter.ts b/lib/generativeai/lib/generativeai-waiter.ts index 75558e7ca8..94b87b9813 100644 --- a/lib/generativeai/lib/generativeai-waiter.ts +++ b/lib/generativeai/lib/generativeai-waiter.ts @@ -68,6 +68,25 @@ export class GenerativeAiWaiter { ); } + /** + * Waits forGenerativeAiPrivateEndpoint 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 GetGenerativeAiPrivateEndpointResponse | null (null in case of 404 response) + */ + public async forGenerativeAiPrivateEndpoint( + request: serviceRequests.GetGenerativeAiPrivateEndpointRequest, + ...targetStates: models.GenerativeAiPrivateEndpoint.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getGenerativeAiPrivateEndpoint(request), + response => targetStates.includes(response.generativeAiPrivateEndpoint.lifecycleState!), + targetStates.includes(models.GenerativeAiPrivateEndpoint.LifecycleState.Deleted) + ); + } + /** * Waits forModel till it reaches any of the provided states * diff --git a/lib/generativeai/lib/model/change-generative-ai-private-endpoint-compartment-details.ts b/lib/generativeai/lib/model/change-generative-ai-private-endpoint-compartment-details.ts new file mode 100644 index 0000000000..a9c7147558 --- /dev/null +++ b/lib/generativeai/lib/model/change-generative-ai-private-endpoint-compartment-details.ts @@ -0,0 +1,49 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The details required to change a private endpoint compartment. + * + */ +export interface ChangeGenerativeAiPrivateEndpointCompartmentDetails { + /** + * The OCID of the target compartment where the private endpoint is moved. + * + */ + "compartmentId": string; +} + +export namespace ChangeGenerativeAiPrivateEndpointCompartmentDetails { + export function getJsonObj(obj: ChangeGenerativeAiPrivateEndpointCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeGenerativeAiPrivateEndpointCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/create-endpoint-details.ts b/lib/generativeai/lib/model/create-endpoint-details.ts index d939df9d72..55b9ea6516 100644 --- a/lib/generativeai/lib/model/create-endpoint-details.ts +++ b/lib/generativeai/lib/model/create-endpoint-details.ts @@ -45,6 +45,10 @@ export interface CreateEndpointDetails { * The OCID of the dedicated AI cluster on which a model will be deployed to. */ "dedicatedAiClusterId": string; + /** + * The OCID of the Generative AI private endpoint to which this endpoint is attached to. + */ + "generativeAiPrivateEndpointId"?: string; "contentModerationConfig"?: model.ContentModerationConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/lib/generativeai/lib/model/create-generative-ai-private-endpoint-details.ts b/lib/generativeai/lib/model/create-generative-ai-private-endpoint-details.ts new file mode 100644 index 0000000000..5a32184b9d --- /dev/null +++ b/lib/generativeai/lib/model/create-generative-ai-private-endpoint-details.ts @@ -0,0 +1,88 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The details required to create a Generative AI private endpoint. + * + */ +export interface CreateGenerativeAiPrivateEndpointDetails { + /** + * The OCID of the compartment where the private endpoint is created. + * + */ + "compartmentId": string; + /** + * The OCID of the customer's subnet where the private endpoint VNIC will reside. + * + */ + "subnetId": string; + /** + * A description of this private endpoint. + * + */ + "description"?: string; + /** + * A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * dnsPrefix of the private endpoint FQDN. + * + */ + "dnsPrefix": string; + /** + * A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to. + * + */ + "nsgIds"?: 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 CreateGenerativeAiPrivateEndpointDetails { + export function getJsonObj(obj: CreateGenerativeAiPrivateEndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateGenerativeAiPrivateEndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/endpoint-summary.ts b/lib/generativeai/lib/model/endpoint-summary.ts index c7428900a4..a7d3e5a3bf 100644 --- a/lib/generativeai/lib/model/endpoint-summary.ts +++ b/lib/generativeai/lib/model/endpoint-summary.ts @@ -49,6 +49,10 @@ export interface EndpointSummary { * The OCID of the dedicated AI cluster on which a model will be deployed to. */ "dedicatedAiClusterId": string; + /** + * The OCID of the Generative AI private endpoint to which this endpoint is attached to. + */ + "generativeAiPrivateEndpointId"?: string; /** * The date and time that the endpoint was created in the format of an RFC3339 datetime string. */ diff --git a/lib/generativeai/lib/model/endpoint.ts b/lib/generativeai/lib/model/endpoint.ts index 9bd6e821e0..322d4db8c0 100644 --- a/lib/generativeai/lib/model/endpoint.ts +++ b/lib/generativeai/lib/model/endpoint.ts @@ -53,6 +53,10 @@ export interface Endpoint { * The OCID of the dedicated AI cluster on which the model will be deployed to. */ "dedicatedAiClusterId": string; + /** + * The OCID of the Generative AI private endpoint to which this endpoint is attached to. + */ + "generativeAiPrivateEndpointId"?: string; /** * The date and time that the endpoint was created in the format of an RFC3339 datetime string. */ diff --git a/lib/generativeai/lib/model/generative-ai-private-endpoint-collection.ts b/lib/generativeai/lib/model/generative-ai-private-endpoint-collection.ts new file mode 100644 index 0000000000..bbb7c5883b --- /dev/null +++ b/lib/generativeai/lib/model/generative-ai-private-endpoint-collection.ts @@ -0,0 +1,65 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Collection of GenerativeAiPrivateEndpointSummary + * + */ +export interface GenerativeAiPrivateEndpointCollection { + /** + * The results of a GenerativeAiPrivateEndpoint list. + * + */ + "items": Array; +} + +export namespace GenerativeAiPrivateEndpointCollection { + export function getJsonObj(obj: GenerativeAiPrivateEndpointCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.GenerativeAiPrivateEndpointSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenerativeAiPrivateEndpointCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.GenerativeAiPrivateEndpointSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/generative-ai-private-endpoint-summary.ts b/lib/generativeai/lib/model/generative-ai-private-endpoint-summary.ts new file mode 100644 index 0000000000..48252c53aa --- /dev/null +++ b/lib/generativeai/lib/model/generative-ai-private-endpoint-summary.ts @@ -0,0 +1,119 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * List of Generative AI private endpoints. + * + */ +export interface GenerativeAiPrivateEndpointSummary { + /** + * The OCID of a private endpoint. + * + */ + "id": string; + /** + * A user-friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * A description of this private endpoint. + * + */ + "description"?: string; + /** + * The OCID of the compartment that contains the private endpoint. + * + */ + "compartmentId": string; + /** + * The OCID of a subnet. + * + */ + "subnetId": string; + /** + * The current state of the Generative AI Private Endpoint. + */ + "lifecycleState": string; + /** + * Details of the state of a private endpoint. + * + */ + "lifecycleDetails"?: string; + /** + * Fully qualified domain name the customer will use for access + * + */ + "fqdn": string; + /** + * The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service. + * + */ + "privateEndpointIp"?: string; + /** + * The date and time that the Generative AI private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: {@code 2018-04-03T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time that the Generative AI private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: {@code 2018-04-03T21:10:29.600Z} + * + */ + "timeUpdated": Date; + /** + * 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 } }; +} + +export namespace GenerativeAiPrivateEndpointSummary { + export function getJsonObj(obj: GenerativeAiPrivateEndpointSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenerativeAiPrivateEndpointSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/generative-ai-private-endpoint.ts b/lib/generativeai/lib/model/generative-ai-private-endpoint.ts new file mode 100644 index 0000000000..410fa40ba5 --- /dev/null +++ b/lib/generativeai/lib/model/generative-ai-private-endpoint.ts @@ -0,0 +1,154 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Generative AI private endpoint. + * + */ +export interface GenerativeAiPrivateEndpoint { + /** + * The OCID of a private endpoint. + * + */ + "id": string; + /** + * A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * A description of this private endpoint. + * + */ + "description"?: string; + /** + * The OCID of the compartment that contains the private endpoint. + * + */ + "compartmentId": string; + /** + * The OCID of the subnet that the private endpoint belongs to. + * + */ + "subnetId": string; + /** + * The current state of the Generative AI Private Endpoint. + * + */ + "lifecycleState": GenerativeAiPrivateEndpoint.LifecycleState; + /** + * The detailed messages about the lifecycle state + * + */ + "lifecycleDetails"?: string; + /** + * A list of the OCIDs of the network security groups that the private endpoint's VNIC belongs to. + * + */ + "nsgIds"?: Array; + /** + * Fully qualified domain name the customer will use for access (for eg: xyz.oraclecloud.com) + * + */ + "fqdn": string; + /** + * The private IP address (in the customer's VCN) that represents the access point for the associated endpoint service. + * + */ + "privateEndpointIp"?: string; + /** + * The date and time that the Generative AI private endpoint was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: {@code 2018-04-03T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time that the Generative AI private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: {@code 2018-04-03T21:10:29.600Z} + * + */ + "timeUpdated": Date; + "previousState"?: model.GenerativeAiPrivateEndpoint; + /** + * 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 GenerativeAiPrivateEndpoint { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: GenerativeAiPrivateEndpoint): object { + const jsonObj = { + ...obj, + ...{ + "previousState": obj.previousState + ? model.GenerativeAiPrivateEndpoint.getJsonObj(obj.previousState) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenerativeAiPrivateEndpoint): object { + const jsonObj = { + ...obj, + ...{ + "previousState": obj.previousState + ? model.GenerativeAiPrivateEndpoint.getDeserializedJsonObj(obj.previousState) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/index.ts b/lib/generativeai/lib/model/index.ts index 8fcdc50476..e099be0834 100644 --- a/lib/generativeai/lib/model/index.ts +++ b/lib/generativeai/lib/model/index.ts @@ -24,6 +24,8 @@ import * as ChangeDedicatedAiClusterCompartmentDetails from "./change-dedicated- export import ChangeDedicatedAiClusterCompartmentDetails = ChangeDedicatedAiClusterCompartmentDetails.ChangeDedicatedAiClusterCompartmentDetails; import * as ChangeEndpointCompartmentDetails from "./change-endpoint-compartment-details"; export import ChangeEndpointCompartmentDetails = ChangeEndpointCompartmentDetails.ChangeEndpointCompartmentDetails; +import * as ChangeGenerativeAiPrivateEndpointCompartmentDetails from "./change-generative-ai-private-endpoint-compartment-details"; +export import ChangeGenerativeAiPrivateEndpointCompartmentDetails = ChangeGenerativeAiPrivateEndpointCompartmentDetails.ChangeGenerativeAiPrivateEndpointCompartmentDetails; import * as ChangeModelCompartmentDetails from "./change-model-compartment-details"; export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails; import * as ContentModerationConfig from "./content-moderation-config"; @@ -32,6 +34,8 @@ import * as CreateDedicatedAiClusterDetails from "./create-dedicated-ai-cluster- export import CreateDedicatedAiClusterDetails = CreateDedicatedAiClusterDetails.CreateDedicatedAiClusterDetails; import * as CreateEndpointDetails from "./create-endpoint-details"; export import CreateEndpointDetails = CreateEndpointDetails.CreateEndpointDetails; +import * as CreateGenerativeAiPrivateEndpointDetails from "./create-generative-ai-private-endpoint-details"; +export import CreateGenerativeAiPrivateEndpointDetails = CreateGenerativeAiPrivateEndpointDetails.CreateGenerativeAiPrivateEndpointDetails; import * as CreateModelDetails from "./create-model-details"; export import CreateModelDetails = CreateModelDetails.CreateModelDetails; import * as Dataset from "./dataset"; @@ -52,6 +56,12 @@ import * as EndpointSummary from "./endpoint-summary"; export import EndpointSummary = EndpointSummary.EndpointSummary; import * as FineTuneDetails from "./fine-tune-details"; export import FineTuneDetails = FineTuneDetails.FineTuneDetails; +import * as GenerativeAiPrivateEndpoint from "./generative-ai-private-endpoint"; +export import GenerativeAiPrivateEndpoint = GenerativeAiPrivateEndpoint.GenerativeAiPrivateEndpoint; +import * as GenerativeAiPrivateEndpointCollection from "./generative-ai-private-endpoint-collection"; +export import GenerativeAiPrivateEndpointCollection = GenerativeAiPrivateEndpointCollection.GenerativeAiPrivateEndpointCollection; +import * as GenerativeAiPrivateEndpointSummary from "./generative-ai-private-endpoint-summary"; +export import GenerativeAiPrivateEndpointSummary = GenerativeAiPrivateEndpointSummary.GenerativeAiPrivateEndpointSummary; import * as Model from "./model"; export import Model = Model.Model; import * as ModelCapability from "./model-capability"; @@ -74,6 +84,8 @@ import * as UpdateDedicatedAiClusterDetails from "./update-dedicated-ai-cluster- export import UpdateDedicatedAiClusterDetails = UpdateDedicatedAiClusterDetails.UpdateDedicatedAiClusterDetails; import * as UpdateEndpointDetails from "./update-endpoint-details"; export import UpdateEndpointDetails = UpdateEndpointDetails.UpdateEndpointDetails; +import * as UpdateGenerativeAiPrivateEndpointDetails from "./update-generative-ai-private-endpoint-details"; +export import UpdateGenerativeAiPrivateEndpointDetails = UpdateGenerativeAiPrivateEndpointDetails.UpdateGenerativeAiPrivateEndpointDetails; import * as UpdateModelDetails from "./update-model-details"; export import UpdateModelDetails = UpdateModelDetails.UpdateModelDetails; import * as WorkRequest from "./work-request"; diff --git a/lib/generativeai/lib/model/operation-type.ts b/lib/generativeai/lib/model/operation-type.ts index f6bdb9bb7d..20ac71f75f 100644 --- a/lib/generativeai/lib/model/operation-type.ts +++ b/lib/generativeai/lib/model/operation-type.ts @@ -36,6 +36,10 @@ export enum OperationType { DeleteEndpoint = "DELETE_ENDPOINT", UpdateEndpoint = "UPDATE_ENDPOINT", MoveEndpoint = "MOVE_ENDPOINT", + CreatePrivateEndpoint = "CREATE_PRIVATE_ENDPOINT", + DeletePrivateEndpoint = "DELETE_PRIVATE_ENDPOINT", + UpdatePrivateEndpoint = "UPDATE_PRIVATE_ENDPOINT", + MovePrivateEndpoint = "MOVE_PRIVATE_ENDPOINT", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/generativeai/lib/model/update-endpoint-details.ts b/lib/generativeai/lib/model/update-endpoint-details.ts index 21827d18fe..ef2fcefe2c 100644 --- a/lib/generativeai/lib/model/update-endpoint-details.ts +++ b/lib/generativeai/lib/model/update-endpoint-details.ts @@ -33,6 +33,10 @@ export interface UpdateEndpointDetails { * An optional description of the endpoint. */ "description"?: string; + /** + * The OCID of the Generative AI private endpoint to which this endpoint will be attached. + */ + "generativeAiPrivateEndpointId"?: string; "contentModerationConfig"?: model.ContentModerationConfig; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/lib/generativeai/lib/model/update-generative-ai-private-endpoint-details.ts b/lib/generativeai/lib/model/update-generative-ai-private-endpoint-details.ts new file mode 100644 index 0000000000..25cd25b2d5 --- /dev/null +++ b/lib/generativeai/lib/model/update-generative-ai-private-endpoint-details.ts @@ -0,0 +1,78 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The details required to update a Generative AI private endpoint. + * + */ +export interface UpdateGenerativeAiPrivateEndpointDetails { + /** + * A user friendly description. Avoid entering confidential information. + * + */ + "description"?: string; + /** + * A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + "displayName"?: string; + /** + * dnsPrefix of the private endpoint FQDN. + * + */ + "dnsPrefix"?: string; + /** + * A list of the OCIDs of the network security groups (NSGs) to add the private endpoint's VNIC to. + * + */ + "nsgIds"?: 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 UpdateGenerativeAiPrivateEndpointDetails { + export function getJsonObj(obj: UpdateGenerativeAiPrivateEndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateGenerativeAiPrivateEndpointDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/request/change-generative-ai-private-endpoint-compartment-request.ts b/lib/generativeai/lib/request/change-generative-ai-private-endpoint-compartment-request.ts new file mode 100644 index 0000000000..d5568a1304 --- /dev/null +++ b/lib/generativeai/lib/request/change-generative-ai-private-endpoint-compartment-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/ChangeGenerativeAiPrivateEndpointCompartment.ts.html |here} to see how to use ChangeGenerativeAiPrivateEndpointCompartmentRequest. + */ +export interface ChangeGenerativeAiPrivateEndpointCompartmentRequest extends common.BaseRequest { + /** + * The unique id for a Generative AI private endpoint. + * + */ + "generativeAiPrivateEndpointId": string; + /** + * Details for changing a Generative AI private endpoint's compartment. + * + */ + "changeGenerativeAiPrivateEndpointCompartmentDetails": model.ChangeGenerativeAiPrivateEndpointCompartmentDetails; + /** + * 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 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 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/generativeai/lib/request/create-generative-ai-private-endpoint-request.ts b/lib/generativeai/lib/request/create-generative-ai-private-endpoint-request.ts new file mode 100644 index 0000000000..931115f70c --- /dev/null +++ b/lib/generativeai/lib/request/create-generative-ai-private-endpoint-request.ts @@ -0,0 +1,43 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/CreateGenerativeAiPrivateEndpoint.ts.html |here} to see how to use CreateGenerativeAiPrivateEndpointRequest. + */ +export interface CreateGenerativeAiPrivateEndpointRequest extends common.BaseRequest { + /** + * The parameters required to create a private endpoint. + * + */ + "createGenerativeAiPrivateEndpointDetails": model.CreateGenerativeAiPrivateEndpointDetails; + /** + * 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/generativeai/lib/request/delete-generative-ai-private-endpoint-request.ts b/lib/generativeai/lib/request/delete-generative-ai-private-endpoint-request.ts new file mode 100644 index 0000000000..5d5359952a --- /dev/null +++ b/lib/generativeai/lib/request/delete-generative-ai-private-endpoint-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/DeleteGenerativeAiPrivateEndpoint.ts.html |here} to see how to use DeleteGenerativeAiPrivateEndpointRequest. + */ +export interface DeleteGenerativeAiPrivateEndpointRequest extends common.BaseRequest { + /** + * The unique id for a Generative AI private endpoint. + * + */ + "generativeAiPrivateEndpointId": 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 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/generativeai/lib/request/get-generative-ai-private-endpoint-request.ts b/lib/generativeai/lib/request/get-generative-ai-private-endpoint-request.ts new file mode 100644 index 0000000000..ce5b8c6bf3 --- /dev/null +++ b/lib/generativeai/lib/request/get-generative-ai-private-endpoint-request.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/GetGenerativeAiPrivateEndpoint.ts.html |here} to see how to use GetGenerativeAiPrivateEndpointRequest. + */ +export interface GetGenerativeAiPrivateEndpointRequest extends common.BaseRequest { + /** + * The unique id for a Generative AI private endpoint. + * + */ + "generativeAiPrivateEndpointId": 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/generativeai/lib/request/index.ts b/lib/generativeai/lib/request/index.ts index a17ecfef55..4f973d8833 100644 --- a/lib/generativeai/lib/request/index.ts +++ b/lib/generativeai/lib/request/index.ts @@ -22,24 +22,32 @@ import * as ChangeDedicatedAiClusterCompartmentRequest from "./change-dedicated- export import ChangeDedicatedAiClusterCompartmentRequest = ChangeDedicatedAiClusterCompartmentRequest.ChangeDedicatedAiClusterCompartmentRequest; import * as ChangeEndpointCompartmentRequest from "./change-endpoint-compartment-request"; export import ChangeEndpointCompartmentRequest = ChangeEndpointCompartmentRequest.ChangeEndpointCompartmentRequest; +import * as ChangeGenerativeAiPrivateEndpointCompartmentRequest from "./change-generative-ai-private-endpoint-compartment-request"; +export import ChangeGenerativeAiPrivateEndpointCompartmentRequest = ChangeGenerativeAiPrivateEndpointCompartmentRequest.ChangeGenerativeAiPrivateEndpointCompartmentRequest; import * as ChangeModelCompartmentRequest from "./change-model-compartment-request"; export import ChangeModelCompartmentRequest = ChangeModelCompartmentRequest.ChangeModelCompartmentRequest; import * as CreateDedicatedAiClusterRequest from "./create-dedicated-ai-cluster-request"; export import CreateDedicatedAiClusterRequest = CreateDedicatedAiClusterRequest.CreateDedicatedAiClusterRequest; import * as CreateEndpointRequest from "./create-endpoint-request"; export import CreateEndpointRequest = CreateEndpointRequest.CreateEndpointRequest; +import * as CreateGenerativeAiPrivateEndpointRequest from "./create-generative-ai-private-endpoint-request"; +export import CreateGenerativeAiPrivateEndpointRequest = CreateGenerativeAiPrivateEndpointRequest.CreateGenerativeAiPrivateEndpointRequest; import * as CreateModelRequest from "./create-model-request"; export import CreateModelRequest = CreateModelRequest.CreateModelRequest; import * as DeleteDedicatedAiClusterRequest from "./delete-dedicated-ai-cluster-request"; export import DeleteDedicatedAiClusterRequest = DeleteDedicatedAiClusterRequest.DeleteDedicatedAiClusterRequest; import * as DeleteEndpointRequest from "./delete-endpoint-request"; export import DeleteEndpointRequest = DeleteEndpointRequest.DeleteEndpointRequest; +import * as DeleteGenerativeAiPrivateEndpointRequest from "./delete-generative-ai-private-endpoint-request"; +export import DeleteGenerativeAiPrivateEndpointRequest = DeleteGenerativeAiPrivateEndpointRequest.DeleteGenerativeAiPrivateEndpointRequest; import * as DeleteModelRequest from "./delete-model-request"; export import DeleteModelRequest = DeleteModelRequest.DeleteModelRequest; import * as GetDedicatedAiClusterRequest from "./get-dedicated-ai-cluster-request"; export import GetDedicatedAiClusterRequest = GetDedicatedAiClusterRequest.GetDedicatedAiClusterRequest; import * as GetEndpointRequest from "./get-endpoint-request"; export import GetEndpointRequest = GetEndpointRequest.GetEndpointRequest; +import * as GetGenerativeAiPrivateEndpointRequest from "./get-generative-ai-private-endpoint-request"; +export import GetGenerativeAiPrivateEndpointRequest = GetGenerativeAiPrivateEndpointRequest.GetGenerativeAiPrivateEndpointRequest; import * as GetModelRequest from "./get-model-request"; export import GetModelRequest = GetModelRequest.GetModelRequest; import * as GetWorkRequestRequest from "./get-work-request-request"; @@ -48,6 +56,8 @@ import * as ListDedicatedAiClustersRequest from "./list-dedicated-ai-clusters-re export import ListDedicatedAiClustersRequest = ListDedicatedAiClustersRequest.ListDedicatedAiClustersRequest; import * as ListEndpointsRequest from "./list-endpoints-request"; export import ListEndpointsRequest = ListEndpointsRequest.ListEndpointsRequest; +import * as ListGenerativeAiPrivateEndpointsRequest from "./list-generative-ai-private-endpoints-request"; +export import ListGenerativeAiPrivateEndpointsRequest = ListGenerativeAiPrivateEndpointsRequest.ListGenerativeAiPrivateEndpointsRequest; import * as ListModelsRequest from "./list-models-request"; export import ListModelsRequest = ListModelsRequest.ListModelsRequest; import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; @@ -60,5 +70,7 @@ import * as UpdateDedicatedAiClusterRequest from "./update-dedicated-ai-cluster- export import UpdateDedicatedAiClusterRequest = UpdateDedicatedAiClusterRequest.UpdateDedicatedAiClusterRequest; import * as UpdateEndpointRequest from "./update-endpoint-request"; export import UpdateEndpointRequest = UpdateEndpointRequest.UpdateEndpointRequest; +import * as UpdateGenerativeAiPrivateEndpointRequest from "./update-generative-ai-private-endpoint-request"; +export import UpdateGenerativeAiPrivateEndpointRequest = UpdateGenerativeAiPrivateEndpointRequest.UpdateGenerativeAiPrivateEndpointRequest; import * as UpdateModelRequest from "./update-model-request"; export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest; diff --git a/lib/generativeai/lib/request/list-generative-ai-private-endpoints-request.ts b/lib/generativeai/lib/request/list-generative-ai-private-endpoints-request.ts new file mode 100644 index 0000000000..6ce9264121 --- /dev/null +++ b/lib/generativeai/lib/request/list-generative-ai-private-endpoints-request.ts @@ -0,0 +1,76 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/ListGenerativeAiPrivateEndpoints.ts.html |here} to see how to use ListGenerativeAiPrivateEndpointsRequest. + */ +export interface ListGenerativeAiPrivateEndpointsRequest 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 private endpoint. + * + */ + "id"?: string; + /** + * The lifecycle state of Generative AI private endpoints. + * + */ + "lifecycleState"?: string; + /** + * The field used to sort the results. Multiple fields aren't supported. + * + */ + "sortBy"?: ListGenerativeAiPrivateEndpointsRequest.SortBy; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: 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 'ASC' or '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 ListGenerativeAiPrivateEndpointsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/generativeai/lib/request/update-generative-ai-private-endpoint-request.ts b/lib/generativeai/lib/request/update-generative-ai-private-endpoint-request.ts new file mode 100644 index 0000000000..b2a45a7807 --- /dev/null +++ b/lib/generativeai/lib/request/update-generative-ai-private-endpoint-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/generativeai/UpdateGenerativeAiPrivateEndpoint.ts.html |here} to see how to use UpdateGenerativeAiPrivateEndpointRequest. + */ +export interface UpdateGenerativeAiPrivateEndpointRequest extends common.BaseRequest { + /** + * The unique id for a Generative AI private endpoint. + * + */ + "generativeAiPrivateEndpointId": string; + /** + * Details for updating a Generative AI private endpoint. + * + */ + "updateGenerativeAiPrivateEndpointDetails": model.UpdateGenerativeAiPrivateEndpointDetails; + /** + * 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 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/generativeai/lib/response/change-generative-ai-private-endpoint-compartment-response.ts b/lib/generativeai/lib/response/change-generative-ai-private-endpoint-compartment-response.ts new file mode 100644 index 0000000000..a371f6bacd --- /dev/null +++ b/lib/generativeai/lib/response/change-generative-ai-private-endpoint-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeGenerativeAiPrivateEndpointCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/generativeai/lib/response/create-generative-ai-private-endpoint-response.ts b/lib/generativeai/lib/response/create-generative-ai-private-endpoint-response.ts new file mode 100644 index 0000000000..b26af79053 --- /dev/null +++ b/lib/generativeai/lib/response/create-generative-ai-private-endpoint-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateGenerativeAiPrivateEndpointResponse { + /** + * 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 [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; + /** + * The returned model.GenerativeAiPrivateEndpoint instance. + */ + "generativeAiPrivateEndpoint": model.GenerativeAiPrivateEndpoint; +} diff --git a/lib/generativeai/lib/response/delete-generative-ai-private-endpoint-response.ts b/lib/generativeai/lib/response/delete-generative-ai-private-endpoint-response.ts new file mode 100644 index 0000000000..5b4ba3e2de --- /dev/null +++ b/lib/generativeai/lib/response/delete-generative-ai-private-endpoint-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteGenerativeAiPrivateEndpointResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; +} diff --git a/lib/generativeai/lib/response/get-generative-ai-private-endpoint-response.ts b/lib/generativeai/lib/response/get-generative-ai-private-endpoint-response.ts new file mode 100644 index 0000000000..349b478a58 --- /dev/null +++ b/lib/generativeai/lib/response/get-generative-ai-private-endpoint-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetGenerativeAiPrivateEndpointResponse { + /** + * 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.GenerativeAiPrivateEndpoint instance. + */ + "generativeAiPrivateEndpoint": model.GenerativeAiPrivateEndpoint; +} diff --git a/lib/generativeai/lib/response/index.ts b/lib/generativeai/lib/response/index.ts index 51327b7922..27502de5f2 100644 --- a/lib/generativeai/lib/response/index.ts +++ b/lib/generativeai/lib/response/index.ts @@ -22,24 +22,32 @@ import * as ChangeDedicatedAiClusterCompartmentResponse from "./change-dedicated export import ChangeDedicatedAiClusterCompartmentResponse = ChangeDedicatedAiClusterCompartmentResponse.ChangeDedicatedAiClusterCompartmentResponse; import * as ChangeEndpointCompartmentResponse from "./change-endpoint-compartment-response"; export import ChangeEndpointCompartmentResponse = ChangeEndpointCompartmentResponse.ChangeEndpointCompartmentResponse; +import * as ChangeGenerativeAiPrivateEndpointCompartmentResponse from "./change-generative-ai-private-endpoint-compartment-response"; +export import ChangeGenerativeAiPrivateEndpointCompartmentResponse = ChangeGenerativeAiPrivateEndpointCompartmentResponse.ChangeGenerativeAiPrivateEndpointCompartmentResponse; import * as ChangeModelCompartmentResponse from "./change-model-compartment-response"; export import ChangeModelCompartmentResponse = ChangeModelCompartmentResponse.ChangeModelCompartmentResponse; import * as CreateDedicatedAiClusterResponse from "./create-dedicated-ai-cluster-response"; export import CreateDedicatedAiClusterResponse = CreateDedicatedAiClusterResponse.CreateDedicatedAiClusterResponse; import * as CreateEndpointResponse from "./create-endpoint-response"; export import CreateEndpointResponse = CreateEndpointResponse.CreateEndpointResponse; +import * as CreateGenerativeAiPrivateEndpointResponse from "./create-generative-ai-private-endpoint-response"; +export import CreateGenerativeAiPrivateEndpointResponse = CreateGenerativeAiPrivateEndpointResponse.CreateGenerativeAiPrivateEndpointResponse; import * as CreateModelResponse from "./create-model-response"; export import CreateModelResponse = CreateModelResponse.CreateModelResponse; import * as DeleteDedicatedAiClusterResponse from "./delete-dedicated-ai-cluster-response"; export import DeleteDedicatedAiClusterResponse = DeleteDedicatedAiClusterResponse.DeleteDedicatedAiClusterResponse; import * as DeleteEndpointResponse from "./delete-endpoint-response"; export import DeleteEndpointResponse = DeleteEndpointResponse.DeleteEndpointResponse; +import * as DeleteGenerativeAiPrivateEndpointResponse from "./delete-generative-ai-private-endpoint-response"; +export import DeleteGenerativeAiPrivateEndpointResponse = DeleteGenerativeAiPrivateEndpointResponse.DeleteGenerativeAiPrivateEndpointResponse; import * as DeleteModelResponse from "./delete-model-response"; export import DeleteModelResponse = DeleteModelResponse.DeleteModelResponse; import * as GetDedicatedAiClusterResponse from "./get-dedicated-ai-cluster-response"; export import GetDedicatedAiClusterResponse = GetDedicatedAiClusterResponse.GetDedicatedAiClusterResponse; import * as GetEndpointResponse from "./get-endpoint-response"; export import GetEndpointResponse = GetEndpointResponse.GetEndpointResponse; +import * as GetGenerativeAiPrivateEndpointResponse from "./get-generative-ai-private-endpoint-response"; +export import GetGenerativeAiPrivateEndpointResponse = GetGenerativeAiPrivateEndpointResponse.GetGenerativeAiPrivateEndpointResponse; import * as GetModelResponse from "./get-model-response"; export import GetModelResponse = GetModelResponse.GetModelResponse; import * as GetWorkRequestResponse from "./get-work-request-response"; @@ -48,6 +56,8 @@ import * as ListDedicatedAiClustersResponse from "./list-dedicated-ai-clusters-r export import ListDedicatedAiClustersResponse = ListDedicatedAiClustersResponse.ListDedicatedAiClustersResponse; import * as ListEndpointsResponse from "./list-endpoints-response"; export import ListEndpointsResponse = ListEndpointsResponse.ListEndpointsResponse; +import * as ListGenerativeAiPrivateEndpointsResponse from "./list-generative-ai-private-endpoints-response"; +export import ListGenerativeAiPrivateEndpointsResponse = ListGenerativeAiPrivateEndpointsResponse.ListGenerativeAiPrivateEndpointsResponse; import * as ListModelsResponse from "./list-models-response"; export import ListModelsResponse = ListModelsResponse.ListModelsResponse; import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; @@ -60,5 +70,7 @@ import * as UpdateDedicatedAiClusterResponse from "./update-dedicated-ai-cluster export import UpdateDedicatedAiClusterResponse = UpdateDedicatedAiClusterResponse.UpdateDedicatedAiClusterResponse; import * as UpdateEndpointResponse from "./update-endpoint-response"; export import UpdateEndpointResponse = UpdateEndpointResponse.UpdateEndpointResponse; +import * as UpdateGenerativeAiPrivateEndpointResponse from "./update-generative-ai-private-endpoint-response"; +export import UpdateGenerativeAiPrivateEndpointResponse = UpdateGenerativeAiPrivateEndpointResponse.UpdateGenerativeAiPrivateEndpointResponse; import * as UpdateModelResponse from "./update-model-response"; export import UpdateModelResponse = UpdateModelResponse.UpdateModelResponse; diff --git a/lib/generativeai/lib/response/list-generative-ai-private-endpoints-response.ts b/lib/generativeai/lib/response/list-generative-ai-private-endpoints-response.ts new file mode 100644 index 0000000000..c3938f0468 --- /dev/null +++ b/lib/generativeai/lib/response/list-generative-ai-private-endpoints-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListGenerativeAiPrivateEndpointsResponse { + /** + * 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.GenerativeAiPrivateEndpointCollection instance. + */ + "generativeAiPrivateEndpointCollection": model.GenerativeAiPrivateEndpointCollection; +} diff --git a/lib/generativeai/lib/response/update-generative-ai-private-endpoint-response.ts b/lib/generativeai/lib/response/update-generative-ai-private-endpoint-response.ts new file mode 100644 index 0000000000..c3e920cc1e --- /dev/null +++ b/lib/generativeai/lib/response/update-generative-ai-private-endpoint-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateGenerativeAiPrivateEndpointResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.GenerativeAiPrivateEndpoint instance. + */ + "generativeAiPrivateEndpoint": model.GenerativeAiPrivateEndpoint; +} diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index 50958321b5..6345dfb720 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index 00cc8dec52..ea466cb905 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.118.0", + "version": "2.118.1", "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 a6320f3f6a..a5f43fd16c 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.118.0", + "version": "2.118.1", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/lib/model/audio-content.ts b/lib/generativeaiinference/lib/model/audio-content.ts new file mode 100644 index 0000000000..65c6644028 --- /dev/null +++ b/lib/generativeaiinference/lib/model/audio-content.ts @@ -0,0 +1,55 @@ +/** + * Generative AI Service Inference API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to {@link #eNGenerative-ai-inferenceLatestChatResultChat(ENGenerative-ai-inferenceLatestChatResultChatRequest) eNGenerative-ai-inferenceLatestChatResultChat}, {@link #eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText(ENGenerative-ai-inferenceLatestGenerateTextResultGenerateTextRequest) eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText}, {@link #eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText(ENGenerative-ai-inferenceLatestSummarizeTextResultSummarizeTextRequest) eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText}, and {@link #eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText(ENGenerative-ai-inferenceLatestEmbedTextResultEmbedTextRequest) eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText}. + +To use a Generative AI custom model for inference, you must first create an endpoint for that model. Use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest} to {@link #eNGenerative-aiLatestModel(ENGenerative-aiLatestModelRequest) eNGenerative-aiLatestModel} by fine-tuning an out-of-the-box model, or a previous version of a custom model, using your own data. Fine-tune the custom model on a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster}. Then, create a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster} with an {@link Endpoint} to host your custom model. For resource management in the Generative AI service, use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest}. + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Represents a single instance of chat audio content. + */ +export interface AudioContent extends model.ChatContent { + "audioUrl"?: model.AudioUrl; + + "type": string; +} + +export namespace AudioContent { + export function getJsonObj(obj: AudioContent, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ChatContent.getJsonObj(obj) as AudioContent)), + ...{ + "audioUrl": obj.audioUrl ? model.AudioUrl.getJsonObj(obj.audioUrl) : undefined + } + }; + + return jsonObj; + } + export const type = "AUDIO"; + export function getDeserializedJsonObj(obj: AudioContent, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ChatContent.getDeserializedJsonObj(obj) as AudioContent)), + ...{ + "audioUrl": obj.audioUrl ? model.AudioUrl.getDeserializedJsonObj(obj.audioUrl) : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeaiinference/lib/model/audio-url.ts b/lib/generativeaiinference/lib/model/audio-url.ts new file mode 100644 index 0000000000..c0b77dfe31 --- /dev/null +++ b/lib/generativeaiinference/lib/model/audio-url.ts @@ -0,0 +1,77 @@ +/** + * Generative AI Service Inference API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service inference API to access your custom model endpoints, or to try the out-of-the-box models to {@link #eNGenerative-ai-inferenceLatestChatResultChat(ENGenerative-ai-inferenceLatestChatResultChatRequest) eNGenerative-ai-inferenceLatestChatResultChat}, {@link #eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText(ENGenerative-ai-inferenceLatestGenerateTextResultGenerateTextRequest) eNGenerative-ai-inferenceLatestGenerateTextResultGenerateText}, {@link #eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText(ENGenerative-ai-inferenceLatestSummarizeTextResultSummarizeTextRequest) eNGenerative-ai-inferenceLatestSummarizeTextResultSummarizeText}, and {@link #eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText(ENGenerative-ai-inferenceLatestEmbedTextResultEmbedTextRequest) eNGenerative-ai-inferenceLatestEmbedTextResultEmbedText}. + +To use a Generative AI custom model for inference, you must first create an endpoint for that model. Use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest} to {@link #eNGenerative-aiLatestModel(ENGenerative-aiLatestModelRequest) eNGenerative-aiLatestModel} by fine-tuning an out-of-the-box model, or a previous version of a custom model, using your own data. Fine-tune the custom model on a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster}. Then, create a {@link #eNGenerative-aiLatestDedicatedAiCluster(ENGenerative-aiLatestDedicatedAiClusterRequest) eNGenerative-aiLatestDedicatedAiCluster} with an {@link Endpoint} to host your custom model. For resource management in the Generative AI service, use the {@link #eNGenerative-aiLatest(ENGenerative-aiLatestRequest) eNGenerative-aiLatest}. + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Provide a base64 encoded audio or an audio uri if it's supported. + */ +export interface AudioUrl { + /** + * The base64 encoded audio data or an audio uri if it's supported. +*

+Example for an mp3 audio: +* {@code { +* \"type\": \"AUDIO\", +* \"audioUrl\": { +* \"url\": \"data:audio/mp3;base64,\" +* } +* }} +*

+Example with an audio uri: +* {@code { +* \"type\": \"AUDIO\", +* \"audioUrl\": { +* \"url\": \"data:audio/mp3;uri,