From 9d77f5352abd8b29d35be82fc21b1844f1876435 Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 26 Aug 2025 14:13:23 +0000 Subject: [PATCH] Releasing version 2.116.1 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 9 + index.ts | 1 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/lib/model/realtime-parameters.ts | 128 +- .../tts-oracle-tts2-natural-model-details.ts | 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 +- .../compute-gpu-memory-fabric-summary.ts | 8 + .../lib/model/compute-gpu-memory-fabric.ts | 4 + lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- lib/database/lib/client.ts | 17 +- .../autonomous-container-database-summary.ts | 3 +- .../model/autonomous-container-database.ts | 3 +- .../lib/model/autonomous-database-summary.ts | 2 +- lib/database/lib/model/autonomous-database.ts | 2 +- .../lib/model/autonomous-dw-database.ts | 2 +- .../autonomous-vm-cluster-resource-usage.ts | 3 +- .../model/autonomous-vm-cluster-summary.ts | 2 +- .../lib/model/autonomous-vm-cluster.ts | 2 +- ...ackup-destination-configuration-summary.ts | 13 +- .../backup-destination-details-summary.ts | 13 +- .../lib/model/backup-destination-details.ts | 13 +- ...ud-autonomous-vm-cluster-resource-usage.ts | 3 +- .../cloud-autonomous-vm-cluster-summary.ts | 2 +- .../lib/model/cloud-autonomous-vm-cluster.ts | 2 +- .../lib/model/compute-performance-summary.ts | 26 +- ...e-autonomous-container-database-details.ts | 2 +- ...-container-database-from-backup-details.ts | 4 +- ...-association-with-new-db-system-details.ts | 13 + .../lib/model/create-database-details.ts | 7 + .../create-database-from-backup-details.ts | 9 + .../model/create-exadb-vm-cluster-details.ts | 10 + .../lib/model/create-standby-details.ts | 9 + .../model/database-storage-size-details.ts | 46 + .../database-storage-size-response-details.ts | 51 + lib/database/lib/model/database-summary.ts | 7 + lib/database/lib/model/database.ts | 7 + lib/database/lib/model/db-node-summary.ts | 18 + lib/database/lib/model/db-node.ts | 18 + .../lib/model/db-system-shape-summary.ts | 6 + .../db-system-storage-performance-summary.ts | 5 + lib/database/lib/model/db-system-summary.ts | 20 +- lib/database/lib/model/db-system.ts | 20 +- .../lib/model/exadb-vm-cluster-summary.ts | 15 + lib/database/lib/model/exadb-vm-cluster.ts | 15 + .../exascale-db-storage-vault-summary.ts | 15 + .../lib/model/exascale-db-storage-vault.ts | 15 + lib/database/lib/model/index.ts | 4 + .../lib/model/launch-db-system-base.ts | 19 +- .../lib/model/update-database-details.ts | 9 + .../lib/model/update-db-system-details.ts | 13 + ...mous-container-database-backups-request.ts | 2 +- .../request/list-db-system-shapes-request.ts | 4 + ...-db-system-storage-performances-request.ts | 4 + .../lib/request/list-db-versions-request.ts | 4 + ...list-exascale-db-storage-vaults-request.ts | 16 + .../lib/request/list-gi-versions-request.ts | 4 + 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 +- ...eate-dr-protection-group-member-details.ts | 116 +- ...ection-group-member-file-system-details.ts | 7 + ...n-group-member-my-sql-db-system-details.ts | 105 + ...ction-group-member-volume-group-details.ts | 7 + ...ate-my-sql-db-system-admin-user-details.ts | 52 + ...-sql-db-system-replication-user-details.ts | 52 + ...reate-oke-cluster-backup-config-details.ts | 15 +- .../lib/model/dr-plan-step-type.ts | 16 + .../dr-protection-group-member-file-system.ts | 7 + ...rotection-group-member-my-sql-db-system.ts | 99 + .../model/dr-protection-group-member-type.ts | 2 + ...dr-protection-group-member-volume-group.ts | 7 + .../lib/model/dr-protection-group-member.ts | 110 +- lib/disasterrecovery/lib/model/index.ts | 18 + .../my-sql-db-system-admin-user-details.ts | 52 + ...-sql-db-system-replication-user-details.ts | 52 + .../lib/model/oke-cluster-backup-config.ts | 15 +- ...date-dr-protection-group-member-details.ts | 70 +- ...ection-group-member-file-system-details.ts | 7 + ...n-group-member-my-sql-db-system-details.ts | 105 + ...ction-group-member-volume-group-details.ts | 7 + ...ate-my-sql-db-system-admin-user-details.ts | 52 + ...-sql-db-system-replication-user-details.ts | 52 + ...pdate-oke-cluster-backup-config-details.ts | 19 +- 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 +- lib/fleetsoftwareupdate/package.json | 2 +- lib/functions/package.json | 2 +- lib/fusionapps/package.json | 2 +- lib/generativeai/package.json | 2 +- lib/generativeaiagent/package.json | 2 +- lib/generativeaiagentruntime/package.json | 2 +- lib/generativeaiinference/package.json | 2 +- lib/genericartifactscontent/package.json | 2 +- lib/globallydistributeddatabase/package.json | 2 +- lib/goldengate/lib/client.ts | 1 + .../lib/model/create-deployment-details.ts | 12 + .../lib/model/deployment-peer-summary.ts | 6 + .../lib/model/deployment-summary.ts | 12 + lib/goldengate/lib/model/deployment.ts | 12 + .../lib/model/update-deployment-details.ts | 12 + .../lib/request/list-deployments-request.ts | 5 + 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/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/README.md | 22 + lib/managedkafka/index.ts | 24 + lib/managedkafka/lib/client.ts | 1981 +++++++++++++++++ lib/managedkafka/lib/kafkacluster-waiter.ts | 79 + lib/managedkafka/lib/model/action-type.ts | 42 + lib/managedkafka/lib/model/bootstrap-url.ts | 42 + lib/managedkafka/lib/model/broker-shape.ts | 46 + ...hange-kafka-cluster-compartment-details.ts | 39 + ...afka-cluster-config-compartment-details.ts | 39 + .../create-kafka-cluster-config-details.ts | 74 + .../lib/model/create-kafka-cluster-details.ts | 115 + .../lib/model/enable-superuser-details.ts | 43 + lib/managedkafka/lib/model/index.ts | 77 + .../lib/model/kafka-cluster-collection.ts | 56 + .../model/kafka-cluster-config-collection.ts | 56 + .../lib/model/kafka-cluster-config-summary.ts | 93 + ...kafka-cluster-config-version-collection.ts | 56 + .../kafka-cluster-config-version-summary.ts | 48 + .../lib/model/kafka-cluster-config-version.ts | 53 + .../lib/model/kafka-cluster-config.ts | 125 ++ .../lib/model/kafka-cluster-summary.ts | 145 ++ lib/managedkafka/lib/model/kafka-cluster.ts | 208 ++ .../lib/model/operation-status.ts | 44 + lib/managedkafka/lib/model/operation-type.ts | 42 + lib/managedkafka/lib/model/sort-order.ts | 40 + lib/managedkafka/lib/model/subnet-set.ts | 38 + .../update-kafka-cluster-config-details.ts | 69 + .../lib/model/update-kafka-cluster-details.ts | 99 + .../model/work-request-error-collection.ts | 56 + .../lib/model/work-request-error.ts | 50 + .../work-request-log-entry-collection.ts | 56 + .../lib/model/work-request-log-entry.ts | 44 + .../work-request-resource-metadata-key.ts | 39 + .../lib/model/work-request-resource.ts | 58 + .../model/work-request-summary-collection.ts | 56 + .../lib/model/work-request-summary.ts | 103 + lib/managedkafka/lib/model/work-request.ts | 106 + .../request/cancel-work-request-request.ts | 41 + ...hange-kafka-cluster-compartment-request.ts | 45 + ...afka-cluster-config-compartment-request.ts | 45 + .../create-kafka-cluster-config-request.ts | 42 + .../request/create-kafka-cluster-request.ts | 42 + .../delete-kafka-cluster-config-request.ts | 41 + ...te-kafka-cluster-config-version-request.ts | 45 + .../request/delete-kafka-cluster-request.ts | 41 + .../lib/request/disable-superuser-request.ts | 50 + .../lib/request/enable-superuser-request.ts | 54 + .../get-kafka-cluster-config-request.ts | 33 + ...et-kafka-cluster-config-version-request.ts | 37 + .../lib/request/get-kafka-cluster-request.ts | 33 + .../lib/request/get-work-request-request.ts | 33 + lib/managedkafka/lib/request/index.ts | 57 + ...t-kafka-cluster-config-versions-request.ts | 63 + .../list-kafka-cluster-configs-request.ts | 78 + .../request/list-kafka-clusters-request.ts | 78 + .../list-work-request-errors-request.ts | 62 + .../request/list-work-request-logs-request.ts | 62 + .../lib/request/list-work-requests-request.ts | 74 + .../update-kafka-cluster-config-request.ts | 45 + .../request/update-kafka-cluster-request.ts | 45 + .../response/cancel-work-request-response.ts | 24 + ...ange-kafka-cluster-compartment-response.ts | 30 + ...fka-cluster-config-compartment-response.ts | 24 + .../create-kafka-cluster-config-response.ts | 41 + .../response/create-kafka-cluster-response.ts | 47 + .../delete-kafka-cluster-config-response.ts | 24 + ...e-kafka-cluster-config-version-response.ts | 24 + .../response/delete-kafka-cluster-response.ts | 30 + .../response/disable-superuser-response.ts | 30 + .../lib/response/enable-superuser-response.ts | 30 + .../get-kafka-cluster-config-response.ts | 33 + ...t-kafka-cluster-config-version-response.ts | 33 + .../response/get-kafka-cluster-response.ts | 33 + .../lib/response/get-work-request-response.ts | 37 + lib/managedkafka/lib/response/index.ts | 57 + ...-kafka-cluster-config-versions-response.ts | 34 + .../list-kafka-cluster-configs-response.ts | 34 + .../response/list-kafka-clusters-response.ts | 34 + .../list-work-request-errors-response.ts | 34 + .../list-work-request-logs-response.ts | 34 + .../response/list-work-requests-response.ts | 34 + .../update-kafka-cluster-config-response.ts | 33 + .../response/update-kafka-cluster-response.ts | 39 + lib/managedkafka/package.json | 28 + lib/managedkafka/tsconfig.json | 12 + 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/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/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 | 5 +- 324 files changed, 8040 insertions(+), 350 deletions(-) create mode 100644 lib/database/lib/model/database-storage-size-details.ts create mode 100644 lib/database/lib/model/database-storage-size-response-details.ts create mode 100644 lib/disasterrecovery/lib/model/create-dr-protection-group-member-my-sql-db-system-details.ts create mode 100644 lib/disasterrecovery/lib/model/create-my-sql-db-system-admin-user-details.ts create mode 100644 lib/disasterrecovery/lib/model/create-my-sql-db-system-replication-user-details.ts create mode 100644 lib/disasterrecovery/lib/model/dr-protection-group-member-my-sql-db-system.ts create mode 100644 lib/disasterrecovery/lib/model/my-sql-db-system-admin-user-details.ts create mode 100644 lib/disasterrecovery/lib/model/my-sql-db-system-replication-user-details.ts create mode 100644 lib/disasterrecovery/lib/model/update-dr-protection-group-member-my-sql-db-system-details.ts create mode 100644 lib/disasterrecovery/lib/model/update-my-sql-db-system-admin-user-details.ts create mode 100644 lib/disasterrecovery/lib/model/update-my-sql-db-system-replication-user-details.ts create mode 100644 lib/managedkafka/README.md create mode 100644 lib/managedkafka/index.ts create mode 100644 lib/managedkafka/lib/client.ts create mode 100644 lib/managedkafka/lib/kafkacluster-waiter.ts create mode 100644 lib/managedkafka/lib/model/action-type.ts create mode 100644 lib/managedkafka/lib/model/bootstrap-url.ts create mode 100644 lib/managedkafka/lib/model/broker-shape.ts create mode 100644 lib/managedkafka/lib/model/change-kafka-cluster-compartment-details.ts create mode 100644 lib/managedkafka/lib/model/change-kafka-cluster-config-compartment-details.ts create mode 100644 lib/managedkafka/lib/model/create-kafka-cluster-config-details.ts create mode 100644 lib/managedkafka/lib/model/create-kafka-cluster-details.ts create mode 100644 lib/managedkafka/lib/model/enable-superuser-details.ts create mode 100644 lib/managedkafka/lib/model/index.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-collection.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config-collection.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config-summary.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config-version-collection.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config-version-summary.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config-version.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-config.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster-summary.ts create mode 100644 lib/managedkafka/lib/model/kafka-cluster.ts create mode 100644 lib/managedkafka/lib/model/operation-status.ts create mode 100644 lib/managedkafka/lib/model/operation-type.ts create mode 100644 lib/managedkafka/lib/model/sort-order.ts create mode 100644 lib/managedkafka/lib/model/subnet-set.ts create mode 100644 lib/managedkafka/lib/model/update-kafka-cluster-config-details.ts create mode 100644 lib/managedkafka/lib/model/update-kafka-cluster-details.ts create mode 100644 lib/managedkafka/lib/model/work-request-error-collection.ts create mode 100644 lib/managedkafka/lib/model/work-request-error.ts create mode 100644 lib/managedkafka/lib/model/work-request-log-entry-collection.ts create mode 100644 lib/managedkafka/lib/model/work-request-log-entry.ts create mode 100644 lib/managedkafka/lib/model/work-request-resource-metadata-key.ts create mode 100644 lib/managedkafka/lib/model/work-request-resource.ts create mode 100644 lib/managedkafka/lib/model/work-request-summary-collection.ts create mode 100644 lib/managedkafka/lib/model/work-request-summary.ts create mode 100644 lib/managedkafka/lib/model/work-request.ts create mode 100644 lib/managedkafka/lib/request/cancel-work-request-request.ts create mode 100644 lib/managedkafka/lib/request/change-kafka-cluster-compartment-request.ts create mode 100644 lib/managedkafka/lib/request/change-kafka-cluster-config-compartment-request.ts create mode 100644 lib/managedkafka/lib/request/create-kafka-cluster-config-request.ts create mode 100644 lib/managedkafka/lib/request/create-kafka-cluster-request.ts create mode 100644 lib/managedkafka/lib/request/delete-kafka-cluster-config-request.ts create mode 100644 lib/managedkafka/lib/request/delete-kafka-cluster-config-version-request.ts create mode 100644 lib/managedkafka/lib/request/delete-kafka-cluster-request.ts create mode 100644 lib/managedkafka/lib/request/disable-superuser-request.ts create mode 100644 lib/managedkafka/lib/request/enable-superuser-request.ts create mode 100644 lib/managedkafka/lib/request/get-kafka-cluster-config-request.ts create mode 100644 lib/managedkafka/lib/request/get-kafka-cluster-config-version-request.ts create mode 100644 lib/managedkafka/lib/request/get-kafka-cluster-request.ts create mode 100644 lib/managedkafka/lib/request/get-work-request-request.ts create mode 100644 lib/managedkafka/lib/request/index.ts create mode 100644 lib/managedkafka/lib/request/list-kafka-cluster-config-versions-request.ts create mode 100644 lib/managedkafka/lib/request/list-kafka-cluster-configs-request.ts create mode 100644 lib/managedkafka/lib/request/list-kafka-clusters-request.ts create mode 100644 lib/managedkafka/lib/request/list-work-request-errors-request.ts create mode 100644 lib/managedkafka/lib/request/list-work-request-logs-request.ts create mode 100644 lib/managedkafka/lib/request/list-work-requests-request.ts create mode 100644 lib/managedkafka/lib/request/update-kafka-cluster-config-request.ts create mode 100644 lib/managedkafka/lib/request/update-kafka-cluster-request.ts create mode 100644 lib/managedkafka/lib/response/cancel-work-request-response.ts create mode 100644 lib/managedkafka/lib/response/change-kafka-cluster-compartment-response.ts create mode 100644 lib/managedkafka/lib/response/change-kafka-cluster-config-compartment-response.ts create mode 100644 lib/managedkafka/lib/response/create-kafka-cluster-config-response.ts create mode 100644 lib/managedkafka/lib/response/create-kafka-cluster-response.ts create mode 100644 lib/managedkafka/lib/response/delete-kafka-cluster-config-response.ts create mode 100644 lib/managedkafka/lib/response/delete-kafka-cluster-config-version-response.ts create mode 100644 lib/managedkafka/lib/response/delete-kafka-cluster-response.ts create mode 100644 lib/managedkafka/lib/response/disable-superuser-response.ts create mode 100644 lib/managedkafka/lib/response/enable-superuser-response.ts create mode 100644 lib/managedkafka/lib/response/get-kafka-cluster-config-response.ts create mode 100644 lib/managedkafka/lib/response/get-kafka-cluster-config-version-response.ts create mode 100644 lib/managedkafka/lib/response/get-kafka-cluster-response.ts create mode 100644 lib/managedkafka/lib/response/get-work-request-response.ts create mode 100644 lib/managedkafka/lib/response/index.ts create mode 100644 lib/managedkafka/lib/response/list-kafka-cluster-config-versions-response.ts create mode 100644 lib/managedkafka/lib/response/list-kafka-cluster-configs-response.ts create mode 100644 lib/managedkafka/lib/response/list-kafka-clusters-response.ts create mode 100644 lib/managedkafka/lib/response/list-work-request-errors-response.ts create mode 100644 lib/managedkafka/lib/response/list-work-request-logs-response.ts create mode 100644 lib/managedkafka/lib/response/list-work-requests-response.ts create mode 100644 lib/managedkafka/lib/response/update-kafka-cluster-config-response.ts create mode 100644 lib/managedkafka/lib/response/update-kafka-cluster-response.ts create mode 100644 lib/managedkafka/package.json create mode 100644 lib/managedkafka/tsconfig.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 65fc29c042..f0f1def503 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.116.1 - 2025-08-26 +### Added +- Support for Oracle 19C databases on exascale infrastructure in the Database Service +- Support for VM.Standard.x86 shape for base databases in the Database Service +- Support for disaster recovery for MySQL database systems in the Disaster Recovery Service +- Support for additional languages using whisper model in the AI Speech Service +- Support for additional host count properties in the GPU memory fabric resource in the Compute Service +- Support for additional parameters on deployment create and update operations in the GoldenGate Service + ## 2.116.0 - 2025-08-19 ### Added - Support for calling Oracle Cloud Infrastructure services in the eu-budapest-1 region diff --git a/index.ts b/index.ts index 1c6cc82db0..fce9daa4db 100755 --- a/index.ts +++ b/index.ts @@ -233,3 +233,4 @@ export import wlms = require("oci-wlms"); export import dbmulticloud = require("oci-dbmulticloud"); export import apiplatform = require("oci-apiplatform"); export import multicloud = require("oci-multicloud"); +export import managedkafka = require("oci-managedkafka"); diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index d8b9dc3ed3..229da136eb 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.116.0", + "version": "2.116.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 ee2ca4a210..f12178d236 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 219ecf6f3d..2da8b0fe9a 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.116.0", + "version": "2.116.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 384f59ccee..1c81e54848 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/lib/model/realtime-parameters.ts b/lib/aispeech/lib/model/realtime-parameters.ts index 0fc5b7bd61..cfedfe9f98 100644 --- a/lib/aispeech/lib/model/realtime-parameters.ts +++ b/lib/aispeech/lib/model/realtime-parameters.ts @@ -32,24 +32,39 @@ export interface RealtimeParameters { */ "isAckEnabled"?: boolean; /** - * Silence threshold for Realtime Speech partial results in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Silence threshold for Realtime Speech partial results in milliseconds. + * Currently supported only for Oracle model. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "partialSilenceThresholdInMs"?: number; /** - * Silence threshold for Realtime Speech final results in milliseconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Silence threshold for Realtime Speech final results in milliseconds. + * Currently supported only for Oracle model. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "finalSilenceThresholdInMs"?: number; /** * When enabled sets the amount of confidence required for latest tokens before returning them as part of a new partial result + * Currently supported only for Oracle model. + * */ "stabilizePartialResults"?: RealtimeParameters.StabilizePartialResults; + /** + * Select a model to use for generating transcriptions. Currently supported models are: + * - ORACLE + * - WHISPER + * + */ + "modelType"?: string; /** * Model Domain. */ "modelDomain"?: RealtimeParameters.ModelDomain; /** - * Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646]. - * - en-US: English - United States + * + * Oracle model supported language codes are locale specific. + * Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646] + * - en-US: English - United States (default) * - es-ES: Spanish - Spain * - pt-BR: Portuguese - Brazil * - en-GB: English - Great Britain @@ -59,17 +74,121 @@ export interface RealtimeParameters { * - fr-FR: French - France * - de-DE: German - Germany * - it-IT: Italian - Italy + * Whisper model supported language codes are locale agnostic + * - auto: Auto-detect language + * - af: Afrikaans + * - am: Amharic + * - ar: Arabic + * - as: Assamese + * - az: Azerbaijani + * - ba: Bashkir + * - be: Belarusian + * - bg: Bulgarian + * - bn: Bengali + * - bo: Tibetan + * - br: Breton + * - bs: Bosnian + * - ca: Catalan + * - cs: Czech + * - cy: Welsh + * - da: Danish + * - de: German + * - el: Greek + * - en: English (default) + * - es: Spanish + * - et: Estonian + * - eu: Basque + * - fa: Persian + * - fi: Finnish + * - fo: Faroese + * - fr: French + * - gl: Galician + * - gu: Gujarati + * - ha: Hausa + * - haw: Hawaiian + * - he: Hebrew + * - hi: Hindi + * - hr: Croatian + * - ht: Haitian Creole + * - hu: Hungarian + * - hy: Armenian + * - id: Indonesian + * - is: Icelandic + * - it: Italian + * - ja: Japanese + * - jv: Javanese + * - ka: Georgian + * - kk: Kazakh + * - km: Khmer + * - kn: Kannada + * - ko: Korean + * - la: Latin + * - lb: Luxembourgish + * - ln: Lingala + * - lo: Lao + * - lt: Lithuanian + * - lv: Latvian + * - mg: Malagasy + * - mi: Maori + * - mk: Macedonian + * - ml: Malayalam + * - mn: Mongolian + * - mr: Marathi + * - ms: Malay + * - mt: Maltese + * - my: Burmese + * - ne: Nepali + * - nl: Dutch + * - nn: Norwegian Nynorsk + * - no: Norwegian + * - oc: Occitan + * - pa: Punjabi + * - pl: Polish + * - ps: Pashto + * - pt: Portuguese + * - ro: Romanian + * - ru: Russian + * - sa: Sanskrit + * - sd: Sindhi + * - si: Sinhala + * - sk: Slovak + * - sl: Slovenian + * - sn: Shona + * - so: Somali + * - sq: Albanian + * - sr: Serbian + * - su: Sundanese + * - sv: Swedish + * - sw: Swahili + * - ta: Tamil + * - te: Telugu + * - tg: Tajik + * - th: Thai + * - tk: Turkmen + * - tl: Tagalog + * - tr: Turkish + * - tt: Tatar + * - uk: Ukrainian + * - ur: Urdu + * - uz: Uzbek + * - vi: Vietnamese + * - yi: Yiddish + * - yo: Yoruba + * - zh: Chinese * */ "languageCode"?: string; /** * If set to true, the service will not fail connection attempt if it encounters any issues that prevent the loading of all specified user customizations. Any invalid customizations will simply be ignored and connection will continue being established with the default base model and any remaining valid customizations. * If set to false, if the service is unable to load any of the specified customizations, an error detailing why will be returned and the session will end. + * Currently supported only for Oracle model. * */ "shouldIgnoreInvalidCustomizations"?: boolean; /** * Array of customization objects. + * Currently supported only for Oracle model. + * */ "customizations"?: Array; /** @@ -77,6 +196,7 @@ export interface RealtimeParameters { * - NONE: No punctuation in the transcription response * - SPOKEN: Punctuations in response only when verbally spoken * - AUTO: Automatic punctuation in the response, spoken punctuations are disabled + * Spoken punctuation is currently supported only for the Oracle model in the Medical domain. * */ "punctuation"?: RealtimeParameters.Punctuation; diff --git a/lib/aispeech/lib/model/tts-oracle-tts2-natural-model-details.ts b/lib/aispeech/lib/model/tts-oracle-tts2-natural-model-details.ts index 6345acf2dd..e077bb6ca4 100644 --- a/lib/aispeech/lib/model/tts-oracle-tts2-natural-model-details.ts +++ b/lib/aispeech/lib/model/tts-oracle-tts2-natural-model-details.ts @@ -34,7 +34,7 @@ export interface TtsOracleTts2NaturalModelDetails extends model.TtsOracleModelDe * - fr-FR: French - France * - it-IT: Italian - Italy * - ja-JP: Japanese - Japan - * - zh-CN: Mandarin - China + * - cmn-CN: Mandarin - China * */ "languageCode"?: string; diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index 8f4b241ec4..fcd5c2478b 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.116.0", + "version": "2.116.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 6cdd7d633e..df7db810cc 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.116.0", + "version": "2.116.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 86ead7bd7c..c709540db4 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 90cbb1ebc3..bb15f84748 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index b463eb4860..a64ea5d3dd 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 8e4fe7c1ad..315e8c0a1e 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.116.0", + "version": "2.116.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 4005e76299..627d2b1213 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.116.0", + "version": "2.116.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 1e4a5d0321..04e6fb5dd7 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.116.0", + "version": "2.116.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 a6a84daadd..709cdf5ff7 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.116.0", + "version": "2.116.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 e72342ed4b..32168b8122 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.116.0", + "version": "2.116.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 6468ffce55..befa5c4fd8 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.116.0", + "version": "2.116.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 0f36ae59f0..5db0f2434e 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.116.0", + "version": "2.116.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 c125b04be4..e7a18ef218 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 7662e6d0d2..973aeb5c5f 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index b1b754159d..64d7f9a257 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 3ca345d5ce..8e887de658 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 1c936081ad..6649b52f46 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 29b1616c7c..a93f5565fe 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index c2a38d6949..89b3999d2a 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 6bef1c1c60..94b2a12983 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.116.0", + "version": "2.116.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 a122565ef9..ab7a70cd97 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 7348cc8a10..d06433b1d6 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.116.0", + "version": "2.116.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 019587e6c9..cc76c777c0 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 2e8eadb2b6..d8ae53b5aa 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.116.0", + "version": "2.116.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 6ed289fe10..2454802cf2 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.116.0", + "version": "2.116.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 c4fd67f480..abc57e46e0 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.116.0", + "version": "2.116.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 3eab7371be..af8cde1aab 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.116.0", + "version": "2.116.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 a31a0c9830..66ef4a1f84 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index 268c0a0633..a64d5e5b7a 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.116.0", + "version": "2.116.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 9f52391c46..e29b01c2f0 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.116.0", + "version": "2.116.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 988f384d6c..a47fbd1c24 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index fe068cfa83..2eef8fc31b 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts index 79948f987b..4deb31b42f 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts @@ -66,6 +66,14 @@ export interface ComputeGpuMemoryFabricSummary { * The total number of bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "totalHostCount": number; + /** + * The total number of available bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "availableHostCount"?: number; + /** + * The total number of healthy bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "healthyHostCount"?: number; /** * The date and time that the compute GPU memory fabric record was created, in the format defined by [RFC3339] * (https://tools.ietf.org/html/rfc3339). diff --git a/lib/core/lib/model/compute-gpu-memory-fabric.ts b/lib/core/lib/model/compute-gpu-memory-fabric.ts index f9740be1d1..0d0d6ecc6d 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric.ts @@ -71,6 +71,10 @@ export interface ComputeGpuMemoryFabric { * The total number of healthy bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "healthyHostCount": number; + /** + * The total number of available bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "availableHostCount"?: number; /** * The total number of bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/core/package.json b/lib/core/package.json index ed8d7ada09..532c08bedc 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 431fbc87c3..9d8b7cacb4 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index e4ac9b8d01..11e5eb1fd2 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -25286,7 +25286,8 @@ Use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructur "availabilityDomain": listDbSystemShapesRequest.availabilityDomain, "compartmentId": listDbSystemShapesRequest.compartmentId, "limit": listDbSystemShapesRequest.limit, - "page": listDbSystemShapesRequest.page + "page": listDbSystemShapesRequest.page, + "shapeAttribute": listDbSystemShapesRequest.shapeAttribute }; let headerParams = { @@ -25417,7 +25418,8 @@ Use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructur const queryParams = { "storageManagement": listDbSystemStoragePerformancesRequest.storageManagement, "shapeType": listDbSystemStoragePerformancesRequest.shapeType, - "databaseEdition": listDbSystemStoragePerformancesRequest.databaseEdition + "databaseEdition": listDbSystemStoragePerformancesRequest.databaseEdition, + "compartmentId": listDbSystemStoragePerformancesRequest.compartmentId }; let headerParams = { @@ -25907,6 +25909,7 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, "dbSystemShape": listDbVersionsRequest.dbSystemShape, "dbSystemId": listDbVersionsRequest.dbSystemId, "storageManagement": listDbVersionsRequest.storageManagement, + "shapeAttribute": listDbVersionsRequest.shapeAttribute, "isUpgradeSupported": listDbVersionsRequest.isUpgradeSupported, "isDatabaseSoftwareImageSupported": listDbVersionsRequest.isDatabaseSoftwareImageSupported }; @@ -26588,6 +26591,13 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, "sortOrder": listExascaleDbStorageVaultsRequest.sortOrder, "lifecycleState": listExascaleDbStorageVaultsRequest.lifecycleState, "clusterPlacementGroupId": listExascaleDbStorageVaultsRequest.clusterPlacementGroupId, + "attachedShapeAttributesNotEqualTo": + listExascaleDbStorageVaultsRequest.attachedShapeAttributesNotEqualTo, + "attachedShapeAttributes": listExascaleDbStorageVaultsRequest.attachedShapeAttributes, + "vmClusterCountLessThanOrEqualTo": + listExascaleDbStorageVaultsRequest.vmClusterCountLessThanOrEqualTo, + "vmClusterCountGreaterThanOrEqualTo": + listExascaleDbStorageVaultsRequest.vmClusterCountGreaterThanOrEqualTo, "displayName": listExascaleDbStorageVaultsRequest.displayName, "exadataInfrastructureId": listExascaleDbStorageVaultsRequest.exadataInfrastructureId }; @@ -27763,7 +27773,8 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, "sortOrder": listGiVersionsRequest.sortOrder, "shape": listGiVersionsRequest.shape, "availabilityDomain": listGiVersionsRequest.availabilityDomain, - "resourceId": listGiVersionsRequest.resourceId + "resourceId": listGiVersionsRequest.resourceId, + "shapeAttribute": listGiVersionsRequest.shapeAttribute }; let headerParams = { diff --git a/lib/database/lib/model/autonomous-container-database-summary.ts b/lib/database/lib/model/autonomous-container-database-summary.ts index e5ffff5c1e..211418ff48 100644 --- a/lib/database/lib/model/autonomous-container-database-summary.ts +++ b/lib/database/lib/model/autonomous-container-database-summary.ts @@ -193,7 +193,8 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; /** diff --git a/lib/database/lib/model/autonomous-container-database.ts b/lib/database/lib/model/autonomous-container-database.ts index e7ab0e2a30..f17f6cec00 100644 --- a/lib/database/lib/model/autonomous-container-database.ts +++ b/lib/database/lib/model/autonomous-container-database.ts @@ -189,7 +189,8 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; /** diff --git a/lib/database/lib/model/autonomous-database-summary.ts b/lib/database/lib/model/autonomous-database-summary.ts index 101fd2d024..f062664c24 100644 --- a/lib/database/lib/model/autonomous-database-summary.ts +++ b/lib/database/lib/model/autonomous-database-summary.ts @@ -184,7 +184,7 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU. + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/autonomous-database.ts b/lib/database/lib/model/autonomous-database.ts index d0aa7a1652..7ff45cd187 100644 --- a/lib/database/lib/model/autonomous-database.ts +++ b/lib/database/lib/model/autonomous-database.ts @@ -182,7 +182,7 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU. + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/autonomous-dw-database.ts b/lib/database/lib/model/autonomous-dw-database.ts index 0f7d193808..6d85f5e3e3 100644 --- a/lib/database/lib/model/autonomous-dw-database.ts +++ b/lib/database/lib/model/autonomous-dw-database.ts @@ -182,7 +182,7 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU. + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts b/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts index 3420f997ed..c8f97eb2fa 100644 --- a/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts +++ b/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts @@ -61,7 +61,8 @@ export interface AutonomousVmClusterResourceUsage { */ "exadataStorageInTBs"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The amount of memory (in GBs) to be enabled per each CPU core. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; /** diff --git a/lib/database/lib/model/autonomous-vm-cluster-summary.ts b/lib/database/lib/model/autonomous-vm-cluster-summary.ts index 438be809e5..92fa941ac0 100644 --- a/lib/database/lib/model/autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/autonomous-vm-cluster-summary.ts @@ -83,7 +83,7 @@ export interface AutonomousVmClusterSummary { */ "totalContainerDatabases"?: number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs) to be enabled per each CPU core. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/autonomous-vm-cluster.ts b/lib/database/lib/model/autonomous-vm-cluster.ts index 900f8963ac..c8e406bdf6 100644 --- a/lib/database/lib/model/autonomous-vm-cluster.ts +++ b/lib/database/lib/model/autonomous-vm-cluster.ts @@ -83,7 +83,7 @@ export interface AutonomousVmCluster { */ "totalContainerDatabases"?: number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs) to be enabled per each CPU core. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/backup-destination-configuration-summary.ts b/lib/database/lib/model/backup-destination-configuration-summary.ts index 4f0d89c77e..bb59a95ffc 100644 --- a/lib/database/lib/model/backup-destination-configuration-summary.ts +++ b/lib/database/lib/model/backup-destination-configuration-summary.ts @@ -60,16 +60,15 @@ export interface BackupDestinationConfigurationSummary { */ "dbrsPolicyId"?: string; /** - * Indicates whether the backup destination is cross-region or local region. + * Indicates whether the backup destination is cross-region or local. */ "isRemote"?: boolean; /** - * The name of the remote region where the remote automatic incremental backups will be stored. -*

-For information about valid region names, see -* [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). -* - */ + * The name of the remote region where the remote automatic incremental backups will be stored. + * For information about valid region names, see + * [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). + * + */ "remoteRegion"?: string; } diff --git a/lib/database/lib/model/backup-destination-details-summary.ts b/lib/database/lib/model/backup-destination-details-summary.ts index 0b72173832..4b0970168b 100644 --- a/lib/database/lib/model/backup-destination-details-summary.ts +++ b/lib/database/lib/model/backup-destination-details-summary.ts @@ -56,16 +56,15 @@ export interface BackupDestinationDetailsSummary { */ "dbrsPolicyId"?: string; /** - * Indicates whether the backup destination is cross-region or local region. + * Indicates whether the backup destination is cross-region or local. */ "isRemote"?: boolean; /** - * The name of the remote region where the remote automatic incremental backups will be stored. -*

-For information about valid region names, see -* [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). -* - */ + * The name of the remote region where the remote automatic incremental backups will be stored. + * For information about valid region names, see + * [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). + * + */ "remoteRegion"?: string; } diff --git a/lib/database/lib/model/backup-destination-details.ts b/lib/database/lib/model/backup-destination-details.ts index 8ed6e256ff..36919475bb 100644 --- a/lib/database/lib/model/backup-destination-details.ts +++ b/lib/database/lib/model/backup-destination-details.ts @@ -44,16 +44,15 @@ export interface BackupDestinationDetails { */ "dbrsPolicyId"?: string; /** - * Indicates whether the backup destination is cross-region or local region. + * Indicates whether the backup destination is cross-region or local. */ "isRemote"?: boolean; /** - * The name of the remote region where the remote automatic incremental backups will be stored. -*

-For information about valid region names, see -* [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). -* - */ + * The name of the remote region where the remote automatic incremental backups will be stored. + * For information about valid region names, see + * [Regions and Availability Domains](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm). + * + */ "remoteRegion"?: string; } diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts index 88e5353173..dec2266c0e 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts @@ -53,7 +53,8 @@ export interface CloudAutonomousVmClusterResourceUsage { */ "usedAutonomousDataStorageSizeInTBs"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * The amount of memory (in GBs) to be enabled per each CPU core. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; /** diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts index 656fe98fdc..c40a9b1b8c 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts @@ -224,7 +224,7 @@ Example: {@code {\"Department\": \"Finance\"}} */ "dbNodeStorageSizeInGBs"?: number; /** - * The amount of memory (in GBs) enabled per OCPU or ECPU. + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts index 013bea3055..056482a0f7 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts @@ -224,7 +224,7 @@ Example: {@code {\"Department\": \"Finance\"}} */ "dbNodeStorageSizeInGBs"?: number; /** - * The amount of memory (in GBs) enabled per OCPU or ECPU. + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; diff --git a/lib/database/lib/model/compute-performance-summary.ts b/lib/database/lib/model/compute-performance-summary.ts index 2b233d8af4..e7c882056f 100644 --- a/lib/database/lib/model/compute-performance-summary.ts +++ b/lib/database/lib/model/compute-performance-summary.ts @@ -23,7 +23,7 @@ export interface ComputePerformanceSummary { /** * The number of CPU cores available. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "cpuCoreCount": number; + "cpuCoreCount"?: number; /** * The amount of memory allocated for the VMDB System. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ @@ -31,18 +31,36 @@ export interface ComputePerformanceSummary { /** * The network bandwidth of the VMDB system in gbps. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "networkBandwidthInGbps": number; + "networkBandwidthInGbps"?: number; /** * IOPS for the VMDB System. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "networkIops": number; + "networkIops"?: number; /** * Network throughput for the VMDB System. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "networkThroughputInMbps": number; + "networkThroughputInMbps"?: number; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: ComputePerformanceSummary.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace ComputePerformanceSummary { + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU", + /** + * 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: ComputePerformanceSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/create-autonomous-container-database-details.ts b/lib/database/lib/model/create-autonomous-container-database-details.ts index b122a8b726..a9144a753d 100644 --- a/lib/database/lib/model/create-autonomous-container-database-details.ts +++ b/lib/database/lib/model/create-autonomous-container-database-details.ts @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details to create an Oracle Autonomous Container Database. + * Details to create an Autonomous Container Database (ACD). * */ export interface CreateAutonomousContainerDatabaseDetails diff --git a/lib/database/lib/model/create-autonomous-container-database-from-backup-details.ts b/lib/database/lib/model/create-autonomous-container-database-from-backup-details.ts index a09761581c..bc286950e8 100644 --- a/lib/database/lib/model/create-autonomous-container-database-from-backup-details.ts +++ b/lib/database/lib/model/create-autonomous-container-database-from-backup-details.ts @@ -16,13 +16,13 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details to create an Oracle Autonomous Container Database by cloning from a backup of an existing Autonomous Container Database. + * Details to create an Autonomous Container Database (ACD) by cloning a backup of an existing ACD. * */ export interface CreateAutonomousContainerDatabaseFromBackupDetails extends model.CreateAutonomousContainerDatabaseBase { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Container Database Backup that you will clone to create a new Autonomous Container Database. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source ACD backup that you will clone to create a new ACD. */ "autonomousContainerDatabaseBackupId": string; diff --git a/lib/database/lib/model/create-data-guard-association-with-new-db-system-details.ts b/lib/database/lib/model/create-data-guard-association-with-new-db-system-details.ts index 87f4857c3b..454f5d2150 100644 --- a/lib/database/lib/model/create-data-guard-association-with-new-db-system-details.ts +++ b/lib/database/lib/model/create-data-guard-association-with-new-db-system-details.ts @@ -48,6 +48,14 @@ To get a list of all shapes, use the {@link #listDbSystemShapes(ListDbSystemShap * */ "storageVolumePerformanceMode"?: CreateDataGuardAssociationWithNewDbSystemDetails.StorageVolumePerformanceMode; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: CreateDataGuardAssociationWithNewDbSystemDetails.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; /** * The number of nodes to launch for the DB system of the standby in the Data Guard association. For a 2-node RAC virtual machine DB system, specify either 1 or 2. If you do not supply this parameter, the default is the node count of the primary DB system. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. @@ -175,6 +183,11 @@ export namespace CreateDataGuardAssociationWithNewDbSystemDetails { HighPerformance = "HIGH_PERFORMANCE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU" + } + export enum LicenseModel { LicenseIncluded = "LICENSE_INCLUDED", BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" diff --git a/lib/database/lib/model/create-database-details.ts b/lib/database/lib/model/create-database-details.ts index ba03a4ec9d..3f6266c067 100644 --- a/lib/database/lib/model/create-database-details.ts +++ b/lib/database/lib/model/create-database-details.ts @@ -107,6 +107,7 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.AzureEncryptionKeyDetails; + "storageSizeDetails"?: model.DatabaseStorageSizeDetails; } export namespace CreateDatabaseDetails { @@ -125,6 +126,9 @@ export namespace CreateDatabaseDetails { "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails ? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -143,6 +147,9 @@ export namespace CreateDatabaseDetails { ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj( obj.encryptionKeyLocationDetails ) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/create-database-from-backup-details.ts b/lib/database/lib/model/create-database-from-backup-details.ts index a844dd849e..377a10a080 100644 --- a/lib/database/lib/model/create-database-from-backup-details.ts +++ b/lib/database/lib/model/create-database-from-backup-details.ts @@ -48,6 +48,7 @@ export interface CreateDatabaseFromBackupDetails { * The list of pluggable databases that needs to be restored into new database. */ "pluggableDatabases"?: Array; + "storageSizeDetails"?: model.DatabaseStorageSizeDetails; /** * 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). @@ -71,6 +72,10 @@ export namespace CreateDatabaseFromBackupDetails { ...{ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails ? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -85,6 +90,10 @@ export namespace CreateDatabaseFromBackupDetails { ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj( obj.sourceEncryptionKeyLocationDetails ) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/create-exadb-vm-cluster-details.ts b/lib/database/lib/model/create-exadb-vm-cluster-details.ts index 95f098a88f..90c7c224dd 100644 --- a/lib/database/lib/model/create-exadb-vm-cluster-details.ts +++ b/lib/database/lib/model/create-exadb-vm-cluster-details.ts @@ -170,6 +170,11 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ "subscriptionId"?: string; + /** + * The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later + * + */ + "shapeAttribute"?: CreateExadbVmClusterDetails.ShapeAttribute; } export namespace CreateExadbVmClusterDetails { @@ -178,6 +183,11 @@ export namespace CreateExadbVmClusterDetails { BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" } + export enum ShapeAttribute { + SmartStorage = "SMART_STORAGE", + BlockStorage = "BLOCK_STORAGE" + } + export function getJsonObj(obj: CreateExadbVmClusterDetails): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/create-standby-details.ts b/lib/database/lib/model/create-standby-details.ts index 448bea985e..eaf0b83f14 100644 --- a/lib/database/lib/model/create-standby-details.ts +++ b/lib/database/lib/model/create-standby-details.ts @@ -73,6 +73,7 @@ For more information, see * */ "transportType": CreateStandbyDetails.TransportType; + "storageSizeDetails"?: model.DatabaseStorageSizeDetails; /** * 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). @@ -108,6 +109,10 @@ export namespace CreateStandbyDetails { ...{ "sourceEncryptionKeyLocationDetails": obj.sourceEncryptionKeyLocationDetails ? model.EncryptionKeyLocationDetails.getJsonObj(obj.sourceEncryptionKeyLocationDetails) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -122,6 +127,10 @@ export namespace CreateStandbyDetails { ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj( obj.sourceEncryptionKeyLocationDetails ) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/database-storage-size-details.ts b/lib/database/lib/model/database-storage-size-details.ts new file mode 100644 index 0000000000..cda0676aa4 --- /dev/null +++ b/lib/database/lib/model/database-storage-size-details.ts @@ -0,0 +1,46 @@ +/** + * 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"); + +/** + * The database storage size details. This database option is supported for the Exadata VM cluster on Exascale Infrastructure. + * + */ +export interface DatabaseStorageSizeDetails { + /** + * The DATA storage size, in gigabytes, that is applicable for the database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dataStorageSizeInGBs": number; + /** + * The RECO storage size, in gigabytes, that is applicable for the database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "recoStorageSizeInGBs": number; +} + +export namespace DatabaseStorageSizeDetails { + export function getJsonObj(obj: DatabaseStorageSizeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DatabaseStorageSizeDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/database-storage-size-response-details.ts b/lib/database/lib/model/database-storage-size-response-details.ts new file mode 100644 index 0000000000..981447d9ac --- /dev/null +++ b/lib/database/lib/model/database-storage-size-response-details.ts @@ -0,0 +1,51 @@ +/** + * 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"); + +/** + * The database storage size details. This database option is supported for the Exadata VM cluster on Exascale Infrastructure. + * + */ +export interface DatabaseStorageSizeResponseDetails { + /** + * The DATA storage size, in gigabytes, that is applicable for the database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dataStorageSizeInGBs": number; + /** + * The RECO storage size, in gigabytes, that is applicable for the database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "recoStorageSizeInGBs": number; + /** + * The REDO Log storage size, in gigabytes, that is applicable for the database. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "redoLogStorageSizeInGBs": number; +} + +export namespace DatabaseStorageSizeResponseDetails { + export function getJsonObj(obj: DatabaseStorageSizeResponseDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DatabaseStorageSizeResponseDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/database-summary.ts b/lib/database/lib/model/database-summary.ts index f0c921b55b..c3470ef730 100644 --- a/lib/database/lib/model/database-summary.ts +++ b/lib/database/lib/model/database-summary.ts @@ -165,6 +165,7 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.AzureEncryptionKeyDetails; + "storageSizeDetails"?: model.DatabaseStorageSizeResponseDetails; } export namespace DatabaseSummary { @@ -207,6 +208,9 @@ export namespace DatabaseSummary { : undefined, "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails ? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeResponseDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -236,6 +240,9 @@ export namespace DatabaseSummary { ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj( obj.encryptionKeyLocationDetails ) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeResponseDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/database.ts b/lib/database/lib/model/database.ts index 9abb93c0ee..29bc8f41f4 100644 --- a/lib/database/lib/model/database.ts +++ b/lib/database/lib/model/database.ts @@ -157,6 +157,7 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.AzureEncryptionKeyDetails; + "storageSizeDetails"?: model.DatabaseStorageSizeResponseDetails; } export namespace Database { @@ -199,6 +200,9 @@ export namespace Database { : undefined, "encryptionKeyLocationDetails": obj.encryptionKeyLocationDetails ? model.EncryptionKeyLocationDetails.getJsonObj(obj.encryptionKeyLocationDetails) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeResponseDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -228,6 +232,9 @@ export namespace Database { ? model.EncryptionKeyLocationDetails.getDeserializedJsonObj( obj.encryptionKeyLocationDetails ) + : undefined, + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeResponseDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/db-node-summary.ts b/lib/database/lib/model/db-node-summary.ts index e676ce8581..fae3d7cb46 100644 --- a/lib/database/lib/model/db-node-summary.ts +++ b/lib/database/lib/model/db-node-summary.ts @@ -169,6 +169,14 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exacc Db server associated with the database node. */ "dbServerId"?: string; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: DbNodeSummary.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace DbNodeSummary { @@ -199,6 +207,16 @@ export namespace DbNodeSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU", + /** + * 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: DbNodeSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/db-node.ts b/lib/database/lib/model/db-node.ts index 430355ce1b..cd4ccd67d5 100644 --- a/lib/database/lib/model/db-node.ts +++ b/lib/database/lib/model/db-node.ts @@ -161,6 +161,14 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exacc Db server associated with the database node. */ "dbServerId"?: string; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: DbNode.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace DbNode { @@ -191,6 +199,16 @@ export namespace DbNode { UnknownValue = "UNKNOWN_VALUE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU", + /** + * 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: DbNode): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/db-system-shape-summary.ts b/lib/database/lib/model/db-system-shape-summary.ts index 8e22eed6b8..aeae2e31e5 100644 --- a/lib/database/lib/model/db-system-shape-summary.ts +++ b/lib/database/lib/model/db-system-shape-summary.ts @@ -124,6 +124,11 @@ export interface DbSystemShapeSummary { * The maximum number of CPU cores per database node that can be enabled for this shape. Only applicable to the flex Exadata shape, ExaCC Elastic shapes and VM Flex shapes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "availableCoreCountPerNode"?: number; + /** + * The shapeAttributes of the DB system shape. + * + */ + "shapeAttributes"?: Array; } export namespace DbSystemShapeSummary { @@ -132,6 +137,7 @@ export namespace DbSystemShapeSummary { Intel = "INTEL", IntelFlexX9 = "INTEL_FLEX_X9", AmpereFlexA1 = "AMPERE_FLEX_A1", + StandardX86 = "STANDARD_X86", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/db-system-storage-performance-summary.ts b/lib/database/lib/model/db-system-storage-performance-summary.ts index af3fb4d0de..d946ed693f 100644 --- a/lib/database/lib/model/db-system-storage-performance-summary.ts +++ b/lib/database/lib/model/db-system-storage-performance-summary.ts @@ -20,6 +20,10 @@ import common = require("oci-common"); * */ export interface DbSystemStoragePerformanceSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId"?: string; /** * ShapeType of the DbSystems INTEL , AMD, INTEL_FLEX_X9 or AMPERE_FLEX_A1 */ @@ -40,6 +44,7 @@ export namespace DbSystemStoragePerformanceSummary { Intel = "INTEL", IntelFlexX9 = "INTEL_FLEX_X9", AmpereFlexA1 = "AMPERE_FLEX_A1", + StandardX86 = "STANDARD_X86", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/db-system-summary.ts b/lib/database/lib/model/db-system-summary.ts index bc3e790d44..fe001a3e69 100644 --- a/lib/database/lib/model/db-system-summary.ts +++ b/lib/database/lib/model/db-system-summary.ts @@ -145,7 +145,7 @@ These subnets are used by the Oracle Clusterware private interconnect on the dat /** * The number of CPU cores enabled on the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "cpuCoreCount": number; + "cpuCoreCount"?: number; /** * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. * @@ -311,6 +311,14 @@ Example: {@code {\"Department\": \"Finance\"}} */ "pointInTimeDataDiskCloneTimestamp"?: Date; "dataCollectionOptions"?: model.DataCollectionOptions; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: DbSystemSummary.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace DbSystemSummary { @@ -375,6 +383,16 @@ export namespace DbSystemSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU", + /** + * 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: DbSystemSummary): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/db-system.ts b/lib/database/lib/model/db-system.ts index 1f4fe705be..627dab000d 100644 --- a/lib/database/lib/model/db-system.ts +++ b/lib/database/lib/model/db-system.ts @@ -121,7 +121,7 @@ These subnets are used by the Oracle Clusterware private interconnect on the dat /** * The number of CPU cores enabled on the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "cpuCoreCount": number; + "cpuCoreCount"?: number; /** * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. * @@ -287,6 +287,14 @@ Example: {@code {\"Department\": \"Finance\"}} */ "pointInTimeDataDiskCloneTimestamp"?: Date; "dataCollectionOptions"?: model.DataCollectionOptions; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: DbSystem.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace DbSystem { @@ -351,6 +359,16 @@ export namespace DbSystem { UnknownValue = "UNKNOWN_VALUE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU", + /** + * 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: DbSystem): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/exadb-vm-cluster-summary.ts b/lib/database/lib/model/exadb-vm-cluster-summary.ts index 10a105ed58..0d22322cca 100644 --- a/lib/database/lib/model/exadb-vm-cluster-summary.ts +++ b/lib/database/lib/model/exadb-vm-cluster-summary.ts @@ -250,6 +250,11 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ "subscriptionId"?: string; + /** + * The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later + * + */ + "shapeAttribute"?: ExadbVmClusterSummary.ShapeAttribute; } export namespace ExadbVmClusterSummary { @@ -288,6 +293,16 @@ export namespace ExadbVmClusterSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum ShapeAttribute { + SmartStorage = "SMART_STORAGE", + BlockStorage = "BLOCK_STORAGE", + /** + * 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: ExadbVmClusterSummary): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/exadb-vm-cluster.ts b/lib/database/lib/model/exadb-vm-cluster.ts index 818e4c6827..5d44e3d6fd 100644 --- a/lib/database/lib/model/exadb-vm-cluster.ts +++ b/lib/database/lib/model/exadb-vm-cluster.ts @@ -251,6 +251,11 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ "subscriptionId"?: string; + /** + * The type of Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE which supports Oracle Database 23ai and later + * + */ + "shapeAttribute"?: ExadbVmCluster.ShapeAttribute; } export namespace ExadbVmCluster { @@ -289,6 +294,16 @@ export namespace ExadbVmCluster { UnknownValue = "UNKNOWN_VALUE" } + export enum ShapeAttribute { + SmartStorage = "SMART_STORAGE", + BlockStorage = "BLOCK_STORAGE", + /** + * 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: ExadbVmCluster): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/exascale-db-storage-vault-summary.ts b/lib/database/lib/model/exascale-db-storage-vault-summary.ts index afa706a73d..b8eef8c6bd 100644 --- a/lib/database/lib/model/exascale-db-storage-vault-summary.ts +++ b/lib/database/lib/model/exascale-db-storage-vault-summary.ts @@ -100,9 +100,24 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ "subscriptionId"?: string; + /** + * The shapeAttribute of the Exadata VM cluster(s) associated with the Exadata Database Storage Vault. + * + */ + "attachedShapeAttributes"?: Array; } export namespace ExascaleDbStorageVaultSummary { + export enum AttachedShapeAttributes { + SmartStorage = "SMART_STORAGE", + BlockStorage = "BLOCK_STORAGE", + /** + * 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: ExascaleDbStorageVaultSummary): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/exascale-db-storage-vault.ts b/lib/database/lib/model/exascale-db-storage-vault.ts index 0e95966d68..53f6efecfe 100644 --- a/lib/database/lib/model/exascale-db-storage-vault.ts +++ b/lib/database/lib/model/exascale-db-storage-vault.ts @@ -106,6 +106,11 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. */ "subscriptionId"?: string; + /** + * The shapeAttribute of the Exadata VM cluster(s) associated with the Exadata Database Storage Vault. + * + */ + "attachedShapeAttributes"?: Array; } export namespace ExascaleDbStorageVault { @@ -123,6 +128,16 @@ export namespace ExascaleDbStorageVault { UnknownValue = "UNKNOWN_VALUE" } + export enum AttachedShapeAttributes { + SmartStorage = "SMART_STORAGE", + BlockStorage = "BLOCK_STORAGE", + /** + * 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: ExascaleDbStorageVault): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index 19602ae050..ff65014182 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -394,6 +394,10 @@ import * as DatabaseSoftwareImage from "./database-software-image"; export import DatabaseSoftwareImage = DatabaseSoftwareImage.DatabaseSoftwareImage; import * as DatabaseSoftwareImageSummary from "./database-software-image-summary"; export import DatabaseSoftwareImageSummary = DatabaseSoftwareImageSummary.DatabaseSoftwareImageSummary; +import * as DatabaseStorageSizeDetails from "./database-storage-size-details"; +export import DatabaseStorageSizeDetails = DatabaseStorageSizeDetails.DatabaseStorageSizeDetails; +import * as DatabaseStorageSizeResponseDetails from "./database-storage-size-response-details"; +export import DatabaseStorageSizeResponseDetails = DatabaseStorageSizeResponseDetails.DatabaseStorageSizeResponseDetails; import * as DatabaseSummary from "./database-summary"; export import DatabaseSummary = DatabaseSummary.DatabaseSummary; import * as DatabaseTool from "./database-tool"; diff --git a/lib/database/lib/model/launch-db-system-base.ts b/lib/database/lib/model/launch-db-system-base.ts index bbc9b768af..43dd9c9603 100644 --- a/lib/database/lib/model/launch-db-system-base.ts +++ b/lib/database/lib/model/launch-db-system-base.ts @@ -151,7 +151,7 @@ This parameter is not used for INTEL virtual machine DB systems because virtual * For information about the number of cores for a virtual machine DB system shape, see [Virtual Machine DB Systems](https://docs.oracle.com/iaas/Content/Database/Concepts/overview.htm#virtualmachine) * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ - "cpuCoreCount": number; + "cpuCoreCount"?: number; /** * The cluster name for Exadata and 2-node RAC virtual machine DB systems. The cluster name must begin with an alphabetic character, and may contain hyphens (-). Underscores (_) are not permitted. The cluster name can be no longer than 11 characters and is not case sensitive. * @@ -165,7 +165,7 @@ This parameter is not used for INTEL virtual machine DB systems because virtual */ "dataStoragePercentage"?: number; /** - * Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. + * Size (in GB) of the initial data volume that will be created and attached to a virtual machine DB system. You can scale up storage after provisioning, as needed. Note that the total storage size attached will be more than the amount you specify to allow for REDO/RECO space and software volume. By default this will be set to 256. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "initialDataStorageSizeInGB"?: number; @@ -179,7 +179,7 @@ This parameter is not used for INTEL virtual machine DB systems because virtual */ "kmsKeyVersionId"?: string; /** - * The number of nodes to launch for a 2-node RAC virtual machine DB system. Specify either 1 or 2. + * The number of nodes to launch for a virtual machine DB system. Specify either 1 or 2. By default this will be set to 1. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "nodeCount"?: number; @@ -217,6 +217,14 @@ Example: {@code {\"Department\": \"Finance\"}} */ "privateIpV6"?: string; "dataCollectionOptions"?: model.DataCollectionOptions; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: LaunchDbSystemBase.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; "source": string; } @@ -227,6 +235,11 @@ export namespace LaunchDbSystemBase { HighPerformance = "HIGH_PERFORMANCE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU" + } + export function getJsonObj(obj: LaunchDbSystemBase): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/model/update-database-details.ts b/lib/database/lib/model/update-database-details.ts index 7e18626f66..7764af097c 100644 --- a/lib/database/lib/model/update-database-details.ts +++ b/lib/database/lib/model/update-database-details.ts @@ -39,6 +39,7 @@ export interface UpdateDatabaseDetails { * The new password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \\#, or -. */ "newTdeWalletPassword"?: string; + "storageSizeDetails"?: model.DatabaseStorageSizeDetails; /** * 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). @@ -62,6 +63,10 @@ export namespace UpdateDatabaseDetails { ...{ "dbBackupConfig": obj.dbBackupConfig ? model.DbBackupConfig.getJsonObj(obj.dbBackupConfig) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getJsonObj(obj.storageSizeDetails) : undefined } }; @@ -74,6 +79,10 @@ export namespace UpdateDatabaseDetails { ...{ "dbBackupConfig": obj.dbBackupConfig ? model.DbBackupConfig.getDeserializedJsonObj(obj.dbBackupConfig) + : undefined, + + "storageSizeDetails": obj.storageSizeDetails + ? model.DatabaseStorageSizeDetails.getDeserializedJsonObj(obj.storageSizeDetails) : undefined } }; diff --git a/lib/database/lib/model/update-db-system-details.ts b/lib/database/lib/model/update-db-system-details.ts index e336ac9248..fef7db9b18 100644 --- a/lib/database/lib/model/update-db-system-details.ts +++ b/lib/database/lib/model/update-db-system-details.ts @@ -89,6 +89,14 @@ To get a list of shapes, use the {@link #listDbSystemShapes(ListDbSystemShapesRe "licenseModel"?: UpdateDbSystemDetails.LicenseModel; "maintenanceWindowDetails"?: model.MaintenanceWindow; "dataCollectionOptions"?: model.DataCollectionOptions; + /** + * The compute model for Base Database Service. This is required if using the {@code computeCount} parameter. If using {@code cpuCoreCount} then it is an error to specify {@code computeModel} to a non-null value. The ECPU compute model is the recommended model, and the OCPU compute model is legacy. + */ + "computeModel"?: UpdateDbSystemDetails.ComputeModel; + /** + * The number of compute servers for the DB system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "computeCount"?: number; } export namespace UpdateDbSystemDetails { @@ -97,6 +105,11 @@ export namespace UpdateDbSystemDetails { BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" } + export enum ComputeModel { + Ecpu = "ECPU", + Ocpu = "OCPU" + } + export function getJsonObj(obj: UpdateDbSystemDetails): object { const jsonObj = { ...obj, diff --git a/lib/database/lib/request/list-autonomous-container-database-backups-request.ts b/lib/database/lib/request/list-autonomous-container-database-backups-request.ts index 9cfb22b530..faff46f728 100644 --- a/lib/database/lib/request/list-autonomous-container-database-backups-request.ts +++ b/lib/database/lib/request/list-autonomous-container-database-backups-request.ts @@ -39,7 +39,7 @@ export interface ListAutonomousContainerDatabaseBackupsRequest extends common.Ba */ "lifecycleState"?: string; /** - * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. + * The field to sort by. You can provide one sort order ({@code sortOrder}). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive. *

**Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted. * diff --git a/lib/database/lib/request/list-db-system-shapes-request.ts b/lib/database/lib/request/list-db-system-shapes-request.ts index c9c498bf49..77fbf6cc4d 100644 --- a/lib/database/lib/request/list-db-system-shapes-request.ts +++ b/lib/database/lib/request/list-db-system-shapes-request.ts @@ -34,4 +34,8 @@ export interface ListDbSystemShapesRequest extends common.BaseRequest { * The pagination token to continue listing from. */ "page"?: string; + /** + * If provided and applicable, return DB System shape parameters based on the shapeAttribute provided + */ + "shapeAttribute"?: string; } diff --git a/lib/database/lib/request/list-db-system-storage-performances-request.ts b/lib/database/lib/request/list-db-system-storage-performances-request.ts index ef1b058e1a..a7f1eda84b 100644 --- a/lib/database/lib/request/list-db-system-storage-performances-request.ts +++ b/lib/database/lib/request/list-db-system-storage-performances-request.ts @@ -38,6 +38,10 @@ export interface ListDbSystemStoragePerformancesRequest extends common.BaseReque * */ "opcRequestId"?: string; + /** + * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId"?: string; } export namespace ListDbSystemStoragePerformancesRequest { diff --git a/lib/database/lib/request/list-db-versions-request.ts b/lib/database/lib/request/list-db-versions-request.ts index 5335754391..e9e0137d2e 100644 --- a/lib/database/lib/request/list-db-versions-request.ts +++ b/lib/database/lib/request/list-db-versions-request.ts @@ -45,6 +45,10 @@ export interface ListDbVersionsRequest extends common.BaseRequest { * */ "storageManagement"?: string; + /** + * If provided and applicable, return DB System shape parameters based on the shapeAttribute provided + */ + "shapeAttribute"?: string; /** * If provided, filters the results to the set of database versions which are supported for Upgrade. */ diff --git a/lib/database/lib/request/list-exascale-db-storage-vaults-request.ts b/lib/database/lib/request/list-exascale-db-storage-vaults-request.ts index cfcce7cf16..48163bc37f 100644 --- a/lib/database/lib/request/list-exascale-db-storage-vaults-request.ts +++ b/lib/database/lib/request/list-exascale-db-storage-vaults-request.ts @@ -47,6 +47,22 @@ export interface ListExascaleDbStorageVaultsRequest extends common.BaseRequest { * A filter to return only resources that match the given cluster placement group ID exactly. */ "clusterPlacementGroupId"?: string; + /** + * A filter to return only Exadata Database Storage Vaults which do not match the given attachedShapeAttributes + */ + "attachedShapeAttributesNotEqualTo"?: string; + /** + * A filter to return only Exadata Database Storage Vaults which match the given attachedShapeAttributes or has null attachedShapeAttributes + */ + "attachedShapeAttributes"?: string; + /** + * A filter to return only Exadata Database Storage Vaults with associated Exadata VM Clusters less than or equal to the given count + */ + "vmClusterCountLessThanOrEqualTo"?: number; + /** + * A filter to return only Exadata Database Storage Vaults with associated Exadata VM Clusters greater than or equal to the given count + */ + "vmClusterCountGreaterThanOrEqualTo"?: number; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ diff --git a/lib/database/lib/request/list-gi-versions-request.ts b/lib/database/lib/request/list-gi-versions-request.ts index fec58c0a01..600d9cdee8 100644 --- a/lib/database/lib/request/list-gi-versions-request.ts +++ b/lib/database/lib/request/list-gi-versions-request.ts @@ -46,6 +46,10 @@ export interface ListGiVersionsRequest extends common.BaseRequest { * If provided, filters the results for the specified resource Id. */ "resourceId"?: string; + /** + * If provided and applicable, return DB System shape parameters based on the shapeAttribute provided + */ + "shapeAttribute"?: string; } export namespace ListGiVersionsRequest { diff --git a/lib/database/package.json b/lib/database/package.json index 2bd0c77dc4..ac0f003fd6 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index e81fcadc2c..dad4c3b7ac 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.116.0", + "version": "2.116.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 17ae57ea0f..49f0b5fcd8 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.116.0", + "version": "2.116.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 e109a215f0..f859f95ad7 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.116.0", + "version": "2.116.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 1ee341d6b8..30ce7b957d 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.116.0", + "version": "2.116.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 3439d667b7..d7dc97f5b0 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 37a34b9b9f..8ea00b38bc 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.116.0", + "version": "2.116.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 33b9db8644..7c99f6d893 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.116.0", + "version": "2.116.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 00846a3adb..a70f805bf6 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.116.0", + "version": "2.116.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 b18959ebae..e255a2deac 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 29dace5bd2..925e5cd463 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.116.0", + "version": "2.116.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 a4181ef561..0017c51be2 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index ae4fbfb072..f1d57e55b1 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 039da09280..9b6c24d09a 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.116.0", + "version": "2.116.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 fae5495bc3..5a5c790a02 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.116.0", + "version": "2.116.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 07e5849159..030dc4616b 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index dd7b23f703..f7d0b5b245 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-details.ts b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-details.ts index 8f7e705332..4af9514bff 100644 --- a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-details.ts +++ b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-details.ts @@ -39,28 +39,6 @@ export namespace CreateDrProtectionGroupMemberDetails { if (obj && "memberType" in obj && obj.memberType) { switch (obj.memberType) { - case "COMPUTE_INSTANCE_MOVABLE": - return model.CreateDrProtectionGroupMemberComputeInstanceMovableDetails.getJsonObj( - (jsonObj), - true - ); - case "AUTONOMOUS_CONTAINER_DATABASE": - return model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.getJsonObj( - ( - (jsonObj) - ), - true - ); - case "COMPUTE_INSTANCE_NON_MOVABLE": - return model.CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getJsonObj( - (jsonObj), - true - ); - case "COMPUTE_INSTANCE": - return model.CreateDrProtectionGroupMemberComputeInstanceDetails.getJsonObj( - (jsonObj), - true - ); case "DATABASE": return model.CreateDrProtectionGroupMemberDatabaseDetails.getJsonObj( (jsonObj), @@ -76,14 +54,9 @@ export namespace CreateDrProtectionGroupMemberDetails { (jsonObj), true ); - case "VOLUME_GROUP": - return model.CreateDrProtectionGroupMemberVolumeGroupDetails.getJsonObj( - (jsonObj), - true - ); - case "OKE_CLUSTER": - return model.CreateDrProtectionGroupMemberOkeClusterDetails.getJsonObj( - (jsonObj), + case "MYSQL_DB_SYSTEM": + return model.CreateDrProtectionGroupMemberMySqlDbSystemDetails.getJsonObj( + (jsonObj), true ); case "FILE_SYSTEM": @@ -101,39 +74,49 @@ export namespace CreateDrProtectionGroupMemberDetails { (jsonObj), true ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateDrProtectionGroupMemberDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "memberType" in obj && obj.memberType) { - switch (obj.memberType) { case "COMPUTE_INSTANCE_MOVABLE": - return model.CreateDrProtectionGroupMemberComputeInstanceMovableDetails.getDeserializedJsonObj( + return model.CreateDrProtectionGroupMemberComputeInstanceMovableDetails.getJsonObj( (jsonObj), true ); case "AUTONOMOUS_CONTAINER_DATABASE": - return model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.getDeserializedJsonObj( + return model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.getJsonObj( ( (jsonObj) ), true ); case "COMPUTE_INSTANCE_NON_MOVABLE": - return model.CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getDeserializedJsonObj( + return model.CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getJsonObj( (jsonObj), true ); case "COMPUTE_INSTANCE": - return model.CreateDrProtectionGroupMemberComputeInstanceDetails.getDeserializedJsonObj( + return model.CreateDrProtectionGroupMemberComputeInstanceDetails.getJsonObj( (jsonObj), true ); + case "VOLUME_GROUP": + return model.CreateDrProtectionGroupMemberVolumeGroupDetails.getJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.CreateDrProtectionGroupMemberOkeClusterDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateDrProtectionGroupMemberDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "memberType" in obj && obj.memberType) { + switch (obj.memberType) { case "DATABASE": return model.CreateDrProtectionGroupMemberDatabaseDetails.getDeserializedJsonObj( (jsonObj), @@ -149,14 +132,9 @@ export namespace CreateDrProtectionGroupMemberDetails { (jsonObj), true ); - case "VOLUME_GROUP": - return model.CreateDrProtectionGroupMemberVolumeGroupDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "OKE_CLUSTER": - return model.CreateDrProtectionGroupMemberOkeClusterDetails.getDeserializedJsonObj( - (jsonObj), + case "MYSQL_DB_SYSTEM": + return model.CreateDrProtectionGroupMemberMySqlDbSystemDetails.getDeserializedJsonObj( + (jsonObj), true ); case "FILE_SYSTEM": @@ -174,6 +152,38 @@ export namespace CreateDrProtectionGroupMemberDetails { (jsonObj), true ); + case "COMPUTE_INSTANCE_MOVABLE": + return model.CreateDrProtectionGroupMemberComputeInstanceMovableDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "AUTONOMOUS_CONTAINER_DATABASE": + return model.CreateDrProtectionGroupMemberAutonomousContainerDatabaseDetails.getDeserializedJsonObj( + ( + (jsonObj) + ), + true + ); + case "COMPUTE_INSTANCE_NON_MOVABLE": + return model.CreateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "COMPUTE_INSTANCE": + return model.CreateDrProtectionGroupMemberComputeInstanceDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "VOLUME_GROUP": + return model.CreateDrProtectionGroupMemberVolumeGroupDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.CreateDrProtectionGroupMemberOkeClusterDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); } diff --git a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-file-system-details.ts b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-file-system-details.ts index f6c0ca9acf..da21c1952f 100644 --- a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-file-system-details.ts +++ b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-file-system-details.ts @@ -43,6 +43,13 @@ Example: {@code ocid1.filesystemsnapshotpolicy.oc1..uniqueID} * */ "destinationSnapshotPolicyId"?: string; + /** + * The OCID of a compartment in the destination region in which the file system should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-my-sql-db-system-details.ts b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-my-sql-db-system-details.ts new file mode 100644 index 0000000000..36750a30f3 --- /dev/null +++ b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-my-sql-db-system-details.ts @@ -0,0 +1,105 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Create properties for a HeatWave MySQL DB System member. + */ +export interface CreateDrProtectionGroupMemberMySqlDbSystemDetails + extends model.CreateDrProtectionGroupMemberDetails { + /** + * The OCID of the peer HeatWave MySQL DB System from the peer region. +*

+Example: {@code ocid1.mysqldbsystem.oc1..uniqueID} +* + */ + "peerDbSystemId"?: string; + /** + * The maximum time (in seconds) to wait for the Global Transaction Identifier (GTID) synchronization process to complete before timing out. +*

+Example: {@code 600} +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "gtidReconciliationTimeout"?: number; + /** + * A flag indicating whether to continue with DR operation if the Global Transaction Identifier (GTID) reconciliation operation times out. +*

+Example: {@code false} +* + */ + "isContinueOnGtidReconciliationTimeout"?: boolean; + "dbSystemAdminUserDetails"?: model.CreateMySqlDbSystemAdminUserDetails; + "dbSystemReplicationUserDetails"?: model.CreateMySqlDbSystemReplicationUserDetails; + + "memberType": string; +} + +export namespace CreateDrProtectionGroupMemberMySqlDbSystemDetails { + export function getJsonObj( + obj: CreateDrProtectionGroupMemberMySqlDbSystemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateDrProtectionGroupMemberDetails.getJsonObj( + obj + ) as CreateDrProtectionGroupMemberMySqlDbSystemDetails)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.CreateMySqlDbSystemAdminUserDetails.getJsonObj(obj.dbSystemAdminUserDetails) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.CreateMySqlDbSystemReplicationUserDetails.getJsonObj( + obj.dbSystemReplicationUserDetails + ) + : undefined + } + }; + + return jsonObj; + } + export const memberType = "MYSQL_DB_SYSTEM"; + export function getDeserializedJsonObj( + obj: CreateDrProtectionGroupMemberMySqlDbSystemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CreateDrProtectionGroupMemberDetails.getDeserializedJsonObj( + obj + ) as CreateDrProtectionGroupMemberMySqlDbSystemDetails)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.CreateMySqlDbSystemAdminUserDetails.getDeserializedJsonObj( + obj.dbSystemAdminUserDetails + ) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.CreateMySqlDbSystemReplicationUserDetails.getDeserializedJsonObj( + obj.dbSystemReplicationUserDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-volume-group-details.ts b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-volume-group-details.ts index 10cf3f3bab..52b495c3e5 100644 --- a/lib/disasterrecovery/lib/model/create-dr-protection-group-member-volume-group-details.ts +++ b/lib/disasterrecovery/lib/model/create-dr-protection-group-member-volume-group-details.ts @@ -48,6 +48,13 @@ An entry for each volume in volume group should be added in this list. The encry model.CreateSourceVolumeToDestinationEncryptionKeyMappingDetails >; "commonDestinationKey"?: model.CreateVaultAndEncryptionKeyDetails; + /** + * The OCID of a compartment in the destination region in which the volume group should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/create-my-sql-db-system-admin-user-details.ts b/lib/disasterrecovery/lib/model/create-my-sql-db-system-admin-user-details.ts new file mode 100644 index 0000000000..2976829f56 --- /dev/null +++ b/lib/disasterrecovery/lib/model/create-my-sql-db-system-admin-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System administrator user, containing the username and the OCID of the Vault secret that stores the password. + */ +export interface CreateMySqlDbSystemAdminUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace CreateMySqlDbSystemAdminUserDetails { + export function getJsonObj(obj: CreateMySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateMySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/create-my-sql-db-system-replication-user-details.ts b/lib/disasterrecovery/lib/model/create-my-sql-db-system-replication-user-details.ts new file mode 100644 index 0000000000..7aa1df6d7a --- /dev/null +++ b/lib/disasterrecovery/lib/model/create-my-sql-db-system-replication-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System replication user, containing the username and the OCID of the Vault secret that stores the password. + */ +export interface CreateMySqlDbSystemReplicationUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace CreateMySqlDbSystemReplicationUserDetails { + export function getJsonObj(obj: CreateMySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateMySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/create-oke-cluster-backup-config-details.ts b/lib/disasterrecovery/lib/model/create-oke-cluster-backup-config-details.ts index cb6b1575f0..04c3f18c2b 100644 --- a/lib/disasterrecovery/lib/model/create-oke-cluster-backup-config-details.ts +++ b/lib/disasterrecovery/lib/model/create-oke-cluster-backup-config-details.ts @@ -23,14 +23,25 @@ import common = require("oci-common"); */ export interface CreateOkeClusterBackupConfigDetails { /** - * A list of namespaces that need to be backed up. -* The default value is null. If a list of namespaces is not provided, all namespaces will be backed up. + * A list of namespaces to be included in the backup. +* The default value is null. If a list of namespaces to include is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. * This property applies to the OKE cluster member in primary region. *

Example: [\"default\", \"pv-nginx\"] * */ "namespaces"?: Array; + /** + * A list of namespaces to be excluded from the backup. +* The default value is null. If a list of namespaces to exclude is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. +* This property applies to OKE cluster members in the primary region. +*

+Example: [\"namespace_string_3\", \"namespace_string_4\"] +* + */ + "excludeNamespaces"?: Array; /** * The schedule for backing up namespaces to the destination region. If a backup schedule is not specified, only a single backup will be created. * This format of the string specifying the backup schedule must conform with RFC-5545 (see examples below). diff --git a/lib/disasterrecovery/lib/model/dr-plan-step-type.ts b/lib/disasterrecovery/lib/model/dr-plan-step-type.ts index 9604396c7f..53a4d8994b 100644 --- a/lib/disasterrecovery/lib/model/dr-plan-step-type.ts +++ b/lib/disasterrecovery/lib/model/dr-plan-step-type.ts @@ -134,6 +134,14 @@ import common = require("oci-common"); * - OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY - A DR plan step to set up an object storage bucket reverse replication in the standby region during a switchover. * - OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY - A DR plan step to delete an object storage bucket replication in the standby region during a failover. * - OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY - A DR plan step to set up an object storage bucket reverse replication in the standby region during a failover. + * - MYSQL_DB_SYSTEM_SWITCHOVER_PRECHECK - A precheck step for validating HeatWave MySQL DB System switchover. + * - MYSQL_DB_SYSTEM_SWITCHOVER - A DR plan step to perform a HeatWave MySQL DB System switchover. + * - MYSQL_DB_SYSTEM_FAILOVER_PRECHECK - A precheck step for validating HeatWave MySQL DB System failover. + * - MYSQL_DB_SYSTEM_FAILOVER - A DR plan step to perform a HeatWave MySQL DB System failover. + * - MYSQL_DB_SYSTEM_START_DRILL_PRECHECK - A precheck step for validating HeatWave MySQL DB System start drill. + * - MYSQL_DB_SYSTEM_START_DRILL - A DR plan step to perform a HeatWave MySQL DB System start drill. + * - MYSQL_DB_SYSTEM_STOP_DRILL_PRECHECK - A precheck step for validating HeatWave MySQL DB System stop drill. + * - MYSQL_DB_SYSTEM_STOP_DRILL - A DR plan step to perform a HeatWave MySQL DB System stop drill. * **/ export enum DrPlanStepType { @@ -251,6 +259,14 @@ export enum DrPlanStepType { ObjectStorageBucketSwitchoverSetupReverseReplicationStandby = "OBJECT_STORAGE_BUCKET_SWITCHOVER_SETUP_REVERSE_REPLICATION_STANDBY", ObjectStorageBucketFailoverDeleteReplicationStandby = "OBJECT_STORAGE_BUCKET_FAILOVER_DELETE_REPLICATION_STANDBY", ObjectStorageBucketFailoverSetupReverseReplicationStandby = "OBJECT_STORAGE_BUCKET_FAILOVER_SETUP_REVERSE_REPLICATION_STANDBY", + MysqlDbSystemSwitchoverPrecheck = "MYSQL_DB_SYSTEM_SWITCHOVER_PRECHECK", + MysqlDbSystemSwitchover = "MYSQL_DB_SYSTEM_SWITCHOVER", + MysqlDbSystemFailoverPrecheck = "MYSQL_DB_SYSTEM_FAILOVER_PRECHECK", + MysqlDbSystemFailover = "MYSQL_DB_SYSTEM_FAILOVER", + MysqlDbSystemStartDrillPrecheck = "MYSQL_DB_SYSTEM_START_DRILL_PRECHECK", + MysqlDbSystemStartDrill = "MYSQL_DB_SYSTEM_START_DRILL", + MysqlDbSystemStopDrillPrecheck = "MYSQL_DB_SYSTEM_STOP_DRILL_PRECHECK", + MysqlDbSystemStopDrill = "MYSQL_DB_SYSTEM_STOP_DRILL", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/disasterrecovery/lib/model/dr-protection-group-member-file-system.ts b/lib/disasterrecovery/lib/model/dr-protection-group-member-file-system.ts index 896c890fd7..a4a720d21b 100644 --- a/lib/disasterrecovery/lib/model/dr-protection-group-member-file-system.ts +++ b/lib/disasterrecovery/lib/model/dr-protection-group-member-file-system.ts @@ -43,6 +43,13 @@ Example: {@code ocid1.filesystemsnapshotpolicy.oc1..uniqueID} * */ "destinationSnapshotPolicyId"?: string; + /** + * The OCID of a compartment in the destination region in which the file system should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/dr-protection-group-member-my-sql-db-system.ts b/lib/disasterrecovery/lib/model/dr-protection-group-member-my-sql-db-system.ts new file mode 100644 index 0000000000..c0f0a929f3 --- /dev/null +++ b/lib/disasterrecovery/lib/model/dr-protection-group-member-my-sql-db-system.ts @@ -0,0 +1,99 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The properties for a HeatWave MySQL DB System member of a DR protection group. + * + */ +export interface DrProtectionGroupMemberMySqlDbSystem extends model.DrProtectionGroupMember { + /** + * The OCID of the peer HeatWave MySQL DB System from the peer region. +*

+Example: {@code ocid1.mysqldbsystem.oc1..uniqueID} +* + */ + "peerDbSystemId"?: string; + /** + * The maximum time (in seconds) to wait for the Global Transaction Identifier (GTID) synchronization process to complete before timing out. +*

+Example: {@code 600} +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "gtidReconciliationTimeout"?: number; + /** + * A flag indicating whether to continue with DR operation if the Global Transaction Identifier (GTID) reconciliation operation times out. +*

+Example: {@code false} +* + */ + "isContinueOnGtidReconciliationTimeout"?: boolean; + "dbSystemAdminUserDetails"?: model.MySqlDbSystemAdminUserDetails; + "dbSystemReplicationUserDetails"?: model.MySqlDbSystemReplicationUserDetails; + + "memberType": string; +} + +export namespace DrProtectionGroupMemberMySqlDbSystem { + export function getJsonObj( + obj: DrProtectionGroupMemberMySqlDbSystem, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrProtectionGroupMember.getJsonObj(obj) as DrProtectionGroupMemberMySqlDbSystem)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.MySqlDbSystemAdminUserDetails.getJsonObj(obj.dbSystemAdminUserDetails) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.MySqlDbSystemReplicationUserDetails.getJsonObj(obj.dbSystemReplicationUserDetails) + : undefined + } + }; + + return jsonObj; + } + export const memberType = "MYSQL_DB_SYSTEM"; + export function getDeserializedJsonObj( + obj: DrProtectionGroupMemberMySqlDbSystem, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DrProtectionGroupMember.getDeserializedJsonObj( + obj + ) as DrProtectionGroupMemberMySqlDbSystem)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.MySqlDbSystemAdminUserDetails.getDeserializedJsonObj(obj.dbSystemAdminUserDetails) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.MySqlDbSystemReplicationUserDetails.getDeserializedJsonObj( + obj.dbSystemReplicationUserDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/dr-protection-group-member-type.ts b/lib/disasterrecovery/lib/model/dr-protection-group-member-type.ts index e955e4a6f6..1bbb783d99 100644 --- a/lib/disasterrecovery/lib/model/dr-protection-group-member-type.ts +++ b/lib/disasterrecovery/lib/model/dr-protection-group-member-type.ts @@ -31,6 +31,7 @@ import common = require("oci-common"); * - LOAD_BALANCER - A load balancer. * - NETWORK_LOAD_BALANCER - A network load balancer. * - FILE_SYSTEM - A file system. + * - MYSQL_DB_SYSTEM - A HeatWave MySQL DB system. * **/ export enum DrProtectionGroupMemberType { @@ -46,6 +47,7 @@ export enum DrProtectionGroupMemberType { FileSystem = "FILE_SYSTEM", OkeCluster = "OKE_CLUSTER", ObjectStorageBucket = "OBJECT_STORAGE_BUCKET", + MysqlDbSystem = "MYSQL_DB_SYSTEM", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/disasterrecovery/lib/model/dr-protection-group-member-volume-group.ts b/lib/disasterrecovery/lib/model/dr-protection-group-member-volume-group.ts index aac8ce2110..aa0b685b69 100644 --- a/lib/disasterrecovery/lib/model/dr-protection-group-member-volume-group.ts +++ b/lib/disasterrecovery/lib/model/dr-protection-group-member-volume-group.ts @@ -47,6 +47,13 @@ An entry for each volume in volume group should be added in this list. The encry model.SourceVolumeToDestinationEncryptionKeyMapping >; "commonDestinationKey"?: model.VaultAndEncryptionKey; + /** + * The OCID of a compartment in the destination region in which the volume group should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/dr-protection-group-member.ts b/lib/disasterrecovery/lib/model/dr-protection-group-member.ts index 521bb505ea..a15acc043e 100644 --- a/lib/disasterrecovery/lib/model/dr-protection-group-member.ts +++ b/lib/disasterrecovery/lib/model/dr-protection-group-member.ts @@ -44,6 +44,36 @@ export namespace DrProtectionGroupMember { (jsonObj), true ); + case "FILE_SYSTEM": + return model.DrProtectionGroupMemberFileSystem.getJsonObj( + (jsonObj), + true + ); + case "MYSQL_DB_SYSTEM": + return model.DrProtectionGroupMemberMySqlDbSystem.getJsonObj( + (jsonObj), + true + ); + case "AUTONOMOUS_DATABASE": + return model.DrProtectionGroupMemberAutonomousDatabase.getJsonObj( + (jsonObj), + true + ); + case "COMPUTE_INSTANCE": + return model.DrProtectionGroupMemberComputeInstance.getJsonObj( + (jsonObj), + true + ); + case "AUTONOMOUS_CONTAINER_DATABASE": + return model.DrProtectionGroupMemberAutonomousContainerDatabase.getJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.DrProtectionGroupMemberOkeCluster.getJsonObj( + (jsonObj), + true + ); case "NETWORK_LOAD_BALANCER": return model.DrProtectionGroupMemberNetworkLoadBalancer.getJsonObj( (jsonObj), @@ -54,51 +84,26 @@ export namespace DrProtectionGroupMember { (jsonObj), true ); - case "FILE_SYSTEM": - return model.DrProtectionGroupMemberFileSystem.getJsonObj( - (jsonObj), - true - ); case "COMPUTE_INSTANCE_MOVABLE": return model.DrProtectionGroupMemberComputeInstanceMovable.getJsonObj( (jsonObj), true ); - case "AUTONOMOUS_DATABASE": - return model.DrProtectionGroupMemberAutonomousDatabase.getJsonObj( - (jsonObj), - true - ); case "LOAD_BALANCER": return model.DrProtectionGroupMemberLoadBalancer.getJsonObj( (jsonObj), true ); - case "COMPUTE_INSTANCE": - return model.DrProtectionGroupMemberComputeInstance.getJsonObj( - (jsonObj), - true - ); case "COMPUTE_INSTANCE_NON_MOVABLE": return model.DrProtectionGroupMemberComputeInstanceNonMovable.getJsonObj( (jsonObj), true ); - case "AUTONOMOUS_CONTAINER_DATABASE": - return model.DrProtectionGroupMemberAutonomousContainerDatabase.getJsonObj( - (jsonObj), - true - ); case "DATABASE": return model.DrProtectionGroupMemberDatabase.getJsonObj( (jsonObj), true ); - case "OKE_CLUSTER": - return model.DrProtectionGroupMemberOkeCluster.getJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); } @@ -115,6 +120,36 @@ export namespace DrProtectionGroupMember { (jsonObj), true ); + case "FILE_SYSTEM": + return model.DrProtectionGroupMemberFileSystem.getDeserializedJsonObj( + (jsonObj), + true + ); + case "MYSQL_DB_SYSTEM": + return model.DrProtectionGroupMemberMySqlDbSystem.getDeserializedJsonObj( + (jsonObj), + true + ); + case "AUTONOMOUS_DATABASE": + return model.DrProtectionGroupMemberAutonomousDatabase.getDeserializedJsonObj( + (jsonObj), + true + ); + case "COMPUTE_INSTANCE": + return model.DrProtectionGroupMemberComputeInstance.getDeserializedJsonObj( + (jsonObj), + true + ); + case "AUTONOMOUS_CONTAINER_DATABASE": + return model.DrProtectionGroupMemberAutonomousContainerDatabase.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.DrProtectionGroupMemberOkeCluster.getDeserializedJsonObj( + (jsonObj), + true + ); case "NETWORK_LOAD_BALANCER": return model.DrProtectionGroupMemberNetworkLoadBalancer.getDeserializedJsonObj( (jsonObj), @@ -125,51 +160,26 @@ export namespace DrProtectionGroupMember { (jsonObj), true ); - case "FILE_SYSTEM": - return model.DrProtectionGroupMemberFileSystem.getDeserializedJsonObj( - (jsonObj), - true - ); case "COMPUTE_INSTANCE_MOVABLE": return model.DrProtectionGroupMemberComputeInstanceMovable.getDeserializedJsonObj( (jsonObj), true ); - case "AUTONOMOUS_DATABASE": - return model.DrProtectionGroupMemberAutonomousDatabase.getDeserializedJsonObj( - (jsonObj), - true - ); case "LOAD_BALANCER": return model.DrProtectionGroupMemberLoadBalancer.getDeserializedJsonObj( (jsonObj), true ); - case "COMPUTE_INSTANCE": - return model.DrProtectionGroupMemberComputeInstance.getDeserializedJsonObj( - (jsonObj), - true - ); case "COMPUTE_INSTANCE_NON_MOVABLE": return model.DrProtectionGroupMemberComputeInstanceNonMovable.getDeserializedJsonObj( (jsonObj), true ); - case "AUTONOMOUS_CONTAINER_DATABASE": - return model.DrProtectionGroupMemberAutonomousContainerDatabase.getDeserializedJsonObj( - (jsonObj), - true - ); case "DATABASE": return model.DrProtectionGroupMemberDatabase.getDeserializedJsonObj( (jsonObj), true ); - case "OKE_CLUSTER": - return model.DrProtectionGroupMemberOkeCluster.getDeserializedJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); } diff --git a/lib/disasterrecovery/lib/model/index.ts b/lib/disasterrecovery/lib/model/index.ts index 1d904874f9..96d1852698 100644 --- a/lib/disasterrecovery/lib/model/index.ts +++ b/lib/disasterrecovery/lib/model/index.ts @@ -77,6 +77,10 @@ import * as CreateFileSystemMountDetails from "./create-file-system-mount-detail export import CreateFileSystemMountDetails = CreateFileSystemMountDetails.CreateFileSystemMountDetails; import * as CreateFileSystemUnmountDetails from "./create-file-system-unmount-details"; export import CreateFileSystemUnmountDetails = CreateFileSystemUnmountDetails.CreateFileSystemUnmountDetails; +import * as CreateMySqlDbSystemAdminUserDetails from "./create-my-sql-db-system-admin-user-details"; +export import CreateMySqlDbSystemAdminUserDetails = CreateMySqlDbSystemAdminUserDetails.CreateMySqlDbSystemAdminUserDetails; +import * as CreateMySqlDbSystemReplicationUserDetails from "./create-my-sql-db-system-replication-user-details"; +export import CreateMySqlDbSystemReplicationUserDetails = CreateMySqlDbSystemReplicationUserDetails.CreateMySqlDbSystemReplicationUserDetails; import * as CreateObjectStorageLogLocationDetails from "./create-object-storage-log-location-details"; export import CreateObjectStorageLogLocationDetails = CreateObjectStorageLogLocationDetails.CreateObjectStorageLogLocationDetails; import * as CreateOkeBackupLocationDetails from "./create-oke-backup-location-details"; @@ -181,6 +185,10 @@ import * as LoadBalancerBackendSetMapping from "./load-balancer-backend-set-mapp export import LoadBalancerBackendSetMapping = LoadBalancerBackendSetMapping.LoadBalancerBackendSetMapping; import * as LoadBalancerBackendSetMappingDetails from "./load-balancer-backend-set-mapping-details"; export import LoadBalancerBackendSetMappingDetails = LoadBalancerBackendSetMappingDetails.LoadBalancerBackendSetMappingDetails; +import * as MySqlDbSystemAdminUserDetails from "./my-sql-db-system-admin-user-details"; +export import MySqlDbSystemAdminUserDetails = MySqlDbSystemAdminUserDetails.MySqlDbSystemAdminUserDetails; +import * as MySqlDbSystemReplicationUserDetails from "./my-sql-db-system-replication-user-details"; +export import MySqlDbSystemReplicationUserDetails = MySqlDbSystemReplicationUserDetails.MySqlDbSystemReplicationUserDetails; import * as NetworkLoadBalancerBackendSetMapping from "./network-load-balancer-backend-set-mapping"; export import NetworkLoadBalancerBackendSetMapping = NetworkLoadBalancerBackendSetMapping.NetworkLoadBalancerBackendSetMapping; import * as NetworkLoadBalancerBackendSetMappingDetails from "./network-load-balancer-backend-set-mapping-details"; @@ -253,6 +261,10 @@ import * as UpdateFileSystemMountDetails from "./update-file-system-mount-detail export import UpdateFileSystemMountDetails = UpdateFileSystemMountDetails.UpdateFileSystemMountDetails; import * as UpdateFileSystemUnmountDetails from "./update-file-system-unmount-details"; export import UpdateFileSystemUnmountDetails = UpdateFileSystemUnmountDetails.UpdateFileSystemUnmountDetails; +import * as UpdateMySqlDbSystemAdminUserDetails from "./update-my-sql-db-system-admin-user-details"; +export import UpdateMySqlDbSystemAdminUserDetails = UpdateMySqlDbSystemAdminUserDetails.UpdateMySqlDbSystemAdminUserDetails; +import * as UpdateMySqlDbSystemReplicationUserDetails from "./update-my-sql-db-system-replication-user-details"; +export import UpdateMySqlDbSystemReplicationUserDetails = UpdateMySqlDbSystemReplicationUserDetails.UpdateMySqlDbSystemReplicationUserDetails; import * as UpdateObjectStorageLogLocationDetails from "./update-object-storage-log-location-details"; export import UpdateObjectStorageLogLocationDetails = UpdateObjectStorageLogLocationDetails.UpdateObjectStorageLogLocationDetails; import * as UpdateObjectStorageScriptLocationDetails from "./update-object-storage-script-location-details"; @@ -314,6 +326,8 @@ import * as CreateDrProtectionGroupMemberFileSystemDetails from "./create-dr-pro export import CreateDrProtectionGroupMemberFileSystemDetails = CreateDrProtectionGroupMemberFileSystemDetails.CreateDrProtectionGroupMemberFileSystemDetails; import * as CreateDrProtectionGroupMemberLoadBalancerDetails from "./create-dr-protection-group-member-load-balancer-details"; export import CreateDrProtectionGroupMemberLoadBalancerDetails = CreateDrProtectionGroupMemberLoadBalancerDetails.CreateDrProtectionGroupMemberLoadBalancerDetails; +import * as CreateDrProtectionGroupMemberMySqlDbSystemDetails from "./create-dr-protection-group-member-my-sql-db-system-details"; +export import CreateDrProtectionGroupMemberMySqlDbSystemDetails = CreateDrProtectionGroupMemberMySqlDbSystemDetails.CreateDrProtectionGroupMemberMySqlDbSystemDetails; import * as CreateDrProtectionGroupMemberNetworkLoadBalancerDetails from "./create-dr-protection-group-member-network-load-balancer-details"; export import CreateDrProtectionGroupMemberNetworkLoadBalancerDetails = CreateDrProtectionGroupMemberNetworkLoadBalancerDetails.CreateDrProtectionGroupMemberNetworkLoadBalancerDetails; import * as CreateDrProtectionGroupMemberObjectStorageBucketDetails from "./create-dr-protection-group-member-object-storage-bucket-details"; @@ -340,6 +354,8 @@ import * as DrProtectionGroupMemberFileSystem from "./dr-protection-group-member export import DrProtectionGroupMemberFileSystem = DrProtectionGroupMemberFileSystem.DrProtectionGroupMemberFileSystem; import * as DrProtectionGroupMemberLoadBalancer from "./dr-protection-group-member-load-balancer"; export import DrProtectionGroupMemberLoadBalancer = DrProtectionGroupMemberLoadBalancer.DrProtectionGroupMemberLoadBalancer; +import * as DrProtectionGroupMemberMySqlDbSystem from "./dr-protection-group-member-my-sql-db-system"; +export import DrProtectionGroupMemberMySqlDbSystem = DrProtectionGroupMemberMySqlDbSystem.DrProtectionGroupMemberMySqlDbSystem; import * as DrProtectionGroupMemberNetworkLoadBalancer from "./dr-protection-group-member-network-load-balancer"; export import DrProtectionGroupMemberNetworkLoadBalancer = DrProtectionGroupMemberNetworkLoadBalancer.DrProtectionGroupMemberNetworkLoadBalancer; import * as DrProtectionGroupMemberObjectStorageBucket from "./dr-protection-group-member-object-storage-bucket"; @@ -420,6 +436,8 @@ import * as UpdateDrProtectionGroupMemberFileSystemDetails from "./update-dr-pro export import UpdateDrProtectionGroupMemberFileSystemDetails = UpdateDrProtectionGroupMemberFileSystemDetails.UpdateDrProtectionGroupMemberFileSystemDetails; import * as UpdateDrProtectionGroupMemberLoadBalancerDetails from "./update-dr-protection-group-member-load-balancer-details"; export import UpdateDrProtectionGroupMemberLoadBalancerDetails = UpdateDrProtectionGroupMemberLoadBalancerDetails.UpdateDrProtectionGroupMemberLoadBalancerDetails; +import * as UpdateDrProtectionGroupMemberMySqlDbSystemDetails from "./update-dr-protection-group-member-my-sql-db-system-details"; +export import UpdateDrProtectionGroupMemberMySqlDbSystemDetails = UpdateDrProtectionGroupMemberMySqlDbSystemDetails.UpdateDrProtectionGroupMemberMySqlDbSystemDetails; import * as UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails from "./update-dr-protection-group-member-network-load-balancer-details"; export import UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails = UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails.UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails; import * as UpdateDrProtectionGroupMemberObjectStorageBucketDetails from "./update-dr-protection-group-member-object-storage-bucket-details"; diff --git a/lib/disasterrecovery/lib/model/my-sql-db-system-admin-user-details.ts b/lib/disasterrecovery/lib/model/my-sql-db-system-admin-user-details.ts new file mode 100644 index 0000000000..7e0984e67e --- /dev/null +++ b/lib/disasterrecovery/lib/model/my-sql-db-system-admin-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System administrator user, containing the username and the OCID of the vault secret that stores the password. + */ +export interface MySqlDbSystemAdminUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace MySqlDbSystemAdminUserDetails { + export function getJsonObj(obj: MySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/my-sql-db-system-replication-user-details.ts b/lib/disasterrecovery/lib/model/my-sql-db-system-replication-user-details.ts new file mode 100644 index 0000000000..eab6dc1c37 --- /dev/null +++ b/lib/disasterrecovery/lib/model/my-sql-db-system-replication-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System replication user, containing the username and the OCID of the vault secret that stores the password. + */ +export interface MySqlDbSystemReplicationUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace MySqlDbSystemReplicationUserDetails { + export function getJsonObj(obj: MySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/oke-cluster-backup-config.ts b/lib/disasterrecovery/lib/model/oke-cluster-backup-config.ts index 8e12feb520..f7384e7ac3 100644 --- a/lib/disasterrecovery/lib/model/oke-cluster-backup-config.ts +++ b/lib/disasterrecovery/lib/model/oke-cluster-backup-config.ts @@ -24,14 +24,25 @@ import common = require("oci-common"); */ export interface OkeClusterBackupConfig { /** - * A list of namespaces that need to be backed up. -* The default value is null. If a list of namespaces is not provided, all namespaces will be backed up. + * A list of namespaces to be included in the backup. +* The default value is null. If a list of namespaces to include is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. * This property applies to the OKE cluster member in primary region. *

Example: [\"default\", \"pv-nginx\"] * */ "namespaces"?: Array; + /** + * A list of namespaces to be excluded from the backup. +* The default value is null. If a list of namespaces to exclude is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. +* This property applies to OKE cluster members in the primary region. +*

+Example: [\"namespace_string_3\", \"namespace_string_4\"] +* + */ + "excludeNamespaces"?: Array; /** * The schedule for backing up namespaces to the destination region. If a backup schedule is not specified, only a single backup will be created. This format of the string specifying the backup schedule must conform with RFC-5545. * This schedule will use the UTC timezone. diff --git a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-details.ts b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-details.ts index 6cf0a2a525..aabb43471c 100644 --- a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-details.ts +++ b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-details.ts @@ -44,16 +44,16 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); + case "MYSQL_DB_SYSTEM": + return model.UpdateDrProtectionGroupMemberMySqlDbSystemDetails.getJsonObj( + (jsonObj), + true + ); case "NETWORK_LOAD_BALANCER": return model.UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails.getJsonObj( (jsonObj), true ); - case "OKE_CLUSTER": - return model.UpdateDrProtectionGroupMemberOkeClusterDetails.getJsonObj( - (jsonObj), - true - ); case "AUTONOMOUS_DATABASE": return model.UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.getJsonObj( (jsonObj), @@ -69,6 +69,21 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); + case "LOAD_BALANCER": + return model.UpdateDrProtectionGroupMemberLoadBalancerDetails.getJsonObj( + (jsonObj), + true + ); + case "DATABASE": + return model.UpdateDrProtectionGroupMemberDatabaseDetails.getJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.UpdateDrProtectionGroupMemberOkeClusterDetails.getJsonObj( + (jsonObj), + true + ); case "COMPUTE_INSTANCE_NON_MOVABLE": return model.UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getJsonObj( (jsonObj), @@ -81,11 +96,6 @@ export namespace UpdateDrProtectionGroupMemberDetails { ), true ); - case "LOAD_BALANCER": - return model.UpdateDrProtectionGroupMemberLoadBalancerDetails.getJsonObj( - (jsonObj), - true - ); case "OBJECT_STORAGE_BUCKET": return model.UpdateDrProtectionGroupMemberObjectStorageBucketDetails.getJsonObj( (jsonObj), @@ -96,11 +106,6 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); - case "DATABASE": - return model.UpdateDrProtectionGroupMemberDatabaseDetails.getJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); } @@ -117,16 +122,16 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); + case "MYSQL_DB_SYSTEM": + return model.UpdateDrProtectionGroupMemberMySqlDbSystemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "NETWORK_LOAD_BALANCER": return model.UpdateDrProtectionGroupMemberNetworkLoadBalancerDetails.getDeserializedJsonObj( (jsonObj), true ); - case "OKE_CLUSTER": - return model.UpdateDrProtectionGroupMemberOkeClusterDetails.getDeserializedJsonObj( - (jsonObj), - true - ); case "AUTONOMOUS_DATABASE": return model.UpdateDrProtectionGroupMemberAutonomousDatabaseDetails.getDeserializedJsonObj( (jsonObj), @@ -142,6 +147,21 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); + case "LOAD_BALANCER": + return model.UpdateDrProtectionGroupMemberLoadBalancerDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "DATABASE": + return model.UpdateDrProtectionGroupMemberDatabaseDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OKE_CLUSTER": + return model.UpdateDrProtectionGroupMemberOkeClusterDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "COMPUTE_INSTANCE_NON_MOVABLE": return model.UpdateDrProtectionGroupMemberComputeInstanceNonMovableDetails.getDeserializedJsonObj( (jsonObj), @@ -154,11 +174,6 @@ export namespace UpdateDrProtectionGroupMemberDetails { ), true ); - case "LOAD_BALANCER": - return model.UpdateDrProtectionGroupMemberLoadBalancerDetails.getDeserializedJsonObj( - (jsonObj), - true - ); case "OBJECT_STORAGE_BUCKET": return model.UpdateDrProtectionGroupMemberObjectStorageBucketDetails.getDeserializedJsonObj( (jsonObj), @@ -169,11 +184,6 @@ export namespace UpdateDrProtectionGroupMemberDetails { (jsonObj), true ); - case "DATABASE": - return model.UpdateDrProtectionGroupMemberDatabaseDetails.getDeserializedJsonObj( - (jsonObj), - true - ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.memberType}`); } diff --git a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-file-system-details.ts b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-file-system-details.ts index 8fd4495417..0b644670b1 100644 --- a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-file-system-details.ts +++ b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-file-system-details.ts @@ -43,6 +43,13 @@ Example: {@code ocid1.filesystemsnapshotpolicy.oc1..uniqueID} * */ "destinationSnapshotPolicyId"?: string; + /** + * The OCID of a compartment in the destination region in which the file system should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-my-sql-db-system-details.ts b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-my-sql-db-system-details.ts new file mode 100644 index 0000000000..26fe3d1296 --- /dev/null +++ b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-my-sql-db-system-details.ts @@ -0,0 +1,105 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Update properties for a HeatWave MySQL Db System member. + */ +export interface UpdateDrProtectionGroupMemberMySqlDbSystemDetails + extends model.UpdateDrProtectionGroupMemberDetails { + /** + * The OCID of the peer HeatWave MySQL DB System from the peer region. +*

+Example: {@code ocid1.mysqldbsystem.oc1..uniqueID} +* + */ + "peerDbSystemId"?: string; + /** + * The maximum time (in seconds) to wait for the Global Transaction Identifier (GTID) synchronization process to complete before timing out. +*

+Example: {@code 600} +* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "gtidReconciliationTimeout"?: number; + /** + * A flag indicating whether to continue with DR operation if the Global Transaction Identifier (GTID) reconciliation operation times out. +*

+Example: {@code false} +* + */ + "isContinueOnGtidReconciliationTimeout"?: boolean; + "dbSystemAdminUserDetails"?: model.UpdateMySqlDbSystemAdminUserDetails; + "dbSystemReplicationUserDetails"?: model.UpdateMySqlDbSystemReplicationUserDetails; + + "memberType": string; +} + +export namespace UpdateDrProtectionGroupMemberMySqlDbSystemDetails { + export function getJsonObj( + obj: UpdateDrProtectionGroupMemberMySqlDbSystemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateDrProtectionGroupMemberDetails.getJsonObj( + obj + ) as UpdateDrProtectionGroupMemberMySqlDbSystemDetails)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.UpdateMySqlDbSystemAdminUserDetails.getJsonObj(obj.dbSystemAdminUserDetails) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.UpdateMySqlDbSystemReplicationUserDetails.getJsonObj( + obj.dbSystemReplicationUserDetails + ) + : undefined + } + }; + + return jsonObj; + } + export const memberType = "MYSQL_DB_SYSTEM"; + export function getDeserializedJsonObj( + obj: UpdateDrProtectionGroupMemberMySqlDbSystemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UpdateDrProtectionGroupMemberDetails.getDeserializedJsonObj( + obj + ) as UpdateDrProtectionGroupMemberMySqlDbSystemDetails)), + ...{ + "dbSystemAdminUserDetails": obj.dbSystemAdminUserDetails + ? model.UpdateMySqlDbSystemAdminUserDetails.getDeserializedJsonObj( + obj.dbSystemAdminUserDetails + ) + : undefined, + "dbSystemReplicationUserDetails": obj.dbSystemReplicationUserDetails + ? model.UpdateMySqlDbSystemReplicationUserDetails.getDeserializedJsonObj( + obj.dbSystemReplicationUserDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-volume-group-details.ts b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-volume-group-details.ts index a281d2ceec..21e7e6fbab 100644 --- a/lib/disasterrecovery/lib/model/update-dr-protection-group-member-volume-group-details.ts +++ b/lib/disasterrecovery/lib/model/update-dr-protection-group-member-volume-group-details.ts @@ -47,6 +47,13 @@ An entry for each volume in volume group should be added in this list. The encry model.UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails >; "commonDestinationKey"?: model.UpdateVaultAndEncryptionKeyDetails; + /** + * The OCID of a compartment in the destination region in which the volume group should be launched. +*

+Example: {@code ocid1.compartment.oc1..uniqueID} +* + */ + "destinationCompartmentId"?: string; "memberType": string; } diff --git a/lib/disasterrecovery/lib/model/update-my-sql-db-system-admin-user-details.ts b/lib/disasterrecovery/lib/model/update-my-sql-db-system-admin-user-details.ts new file mode 100644 index 0000000000..6a8beb95c4 --- /dev/null +++ b/lib/disasterrecovery/lib/model/update-my-sql-db-system-admin-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System administrator user, containing the username and the OCID of the vault secret that stores the password. + */ +export interface UpdateMySqlDbSystemAdminUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace UpdateMySqlDbSystemAdminUserDetails { + export function getJsonObj(obj: UpdateMySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateMySqlDbSystemAdminUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/update-my-sql-db-system-replication-user-details.ts b/lib/disasterrecovery/lib/model/update-my-sql-db-system-replication-user-details.ts new file mode 100644 index 0000000000..3684a54fa6 --- /dev/null +++ b/lib/disasterrecovery/lib/model/update-my-sql-db-system-replication-user-details.ts @@ -0,0 +1,52 @@ +/** + * Full Stack Disaster Recovery API + * Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications. +Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster +recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, +and application. + + * OpenAPI spec version: 20220125 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 credentials for the HeatWave MySQL DB System replication user, containing the username and the OCID of the vault secret that stores the password. + */ +export interface UpdateMySqlDbSystemReplicationUserDetails { + /** + * The user name for connecting to the HeatWave MySQL DB System node. +*

+Example: {@code user} +* + */ + "username": string; + /** + * The OCID of the vault secret where the HeatWave MySQL DB System password is stored. +*

+Example: {@code ocid1.vaultsecret.oc1..uniqueID} +* + */ + "passwordVaultSecretId": string; +} + +export namespace UpdateMySqlDbSystemReplicationUserDetails { + export function getJsonObj(obj: UpdateMySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateMySqlDbSystemReplicationUserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/disasterrecovery/lib/model/update-oke-cluster-backup-config-details.ts b/lib/disasterrecovery/lib/model/update-oke-cluster-backup-config-details.ts index 99aa33fee9..d209aa275f 100644 --- a/lib/disasterrecovery/lib/model/update-oke-cluster-backup-config-details.ts +++ b/lib/disasterrecovery/lib/model/update-oke-cluster-backup-config-details.ts @@ -23,8 +23,9 @@ import common = require("oci-common"); */ export interface UpdateOkeClusterBackupConfigDetails { /** - * A list of namespaces that need to be backed up. -* The default value is null. If a list of namespaces is not provided, all namespaces will be backed up. + * A list of namespaces to be included in the backup. +* The default value is null. If a list of namespaces to include is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. * This property applies to the OKE cluster member in primary region. *

Example: [\"default\", \"pv-nginx\"] @@ -32,8 +33,18 @@ Example: [\"default\", \"pv-nginx\"] */ "namespaces"?: Array; /** - * The schedule for backing up namespaces to the destination region. If a backup schedule is not specified, only a single backup will be created. -* This format of the string specifying the backup schedule must conform with RFC-5545. + * A list of namespaces to be excluded from the backup. +* The default value is null. If a list of namespaces to exclude is not provided, all namespaces will be backed up. +* Specify either the {@code namespaces} or the {@code excludeNamespaces} parameter, but not both. +* This property applies to OKE cluster members in the primary region. +*

+Example: [\"namespace_string_3\", \"namespace_string_4\"] +* + */ + "excludeNamespaces"?: Array; + /** + * The schedule for backing up namespaces to the destination region. If a{@code backupSchedule} is not specified, only a single backup will be created. +* This format of the string specifying the {@code backupSchedule} must conform with RFC-5545. * This schedule will use the UTC timezone. * This property applies to the OKE cluster member in primary region. *

diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 4f146bd62b..8369e76a10 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.116.0", + "version": "2.116.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 6f6431dca4..6f0a6851a7 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.116.0", + "version": "2.116.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 bd5a10a23a..ebcd3fda1c 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 5379737f89..6fdb8dcd99 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index 19bbedf3cf..dcde94443c 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.116.0", + "version": "2.116.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 d8d7074bfb..a7c5ab0ab0 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.116.0", + "version": "2.116.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 2b2f9eba83..5c97ee4bc3 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 612133288e..3d7bb0727d 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index a96326d918..1fa6c5525b 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index 9d2011baf5..3961d6c369 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/package.json b/lib/functions/package.json index e151fa9d4e..4c3f924726 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 43a1b9f6f2..7e33e2127d 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index 3268c89fa7..82c33d986c 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.116.0", + "version": "2.116.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 0cd8b363e2..3bd36b392f 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.116.0", + "version": "2.116.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 158fe35849..a4bedac5b7 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index f0cd09a429..911ddad9c8 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Generative Ai Inference Service", "repository": { "type": "git", diff --git a/lib/genericartifactscontent/package.json b/lib/genericartifactscontent/package.json index 596329a07e..56192637da 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Generic Artifacts Content Service", "repository": { "type": "git", diff --git a/lib/globallydistributeddatabase/package.json b/lib/globallydistributeddatabase/package.json index 8d42002eaf..1075c90a5f 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/lib/client.ts b/lib/goldengate/lib/client.ts index 734da49e4c..d5a3c6953b 100644 --- a/lib/goldengate/lib/client.ts +++ b/lib/goldengate/lib/client.ts @@ -4629,6 +4629,7 @@ export class GoldenGateClient { "assignableConnectionId": listDeploymentsRequest.assignableConnectionId, "lifecycleState": listDeploymentsRequest.lifecycleState, "lifecycleSubState": listDeploymentsRequest.lifecycleSubState, + "deploymentType": listDeploymentsRequest.deploymentType, "displayName": listDeploymentsRequest.displayName, "fqdn": listDeploymentsRequest.fqdn, "limit": listDeploymentsRequest.limit, diff --git a/lib/goldengate/lib/model/create-deployment-details.ts b/lib/goldengate/lib/model/create-deployment-details.ts index a8a35a35f7..824ea5abc5 100644 --- a/lib/goldengate/lib/model/create-deployment-details.ts +++ b/lib/goldengate/lib/model/create-deployment-details.ts @@ -30,6 +30,18 @@ export interface CreateDeploymentDetails { * */ "licenseModel"?: model.LicenseModel; + /** + * Flag to allow to configure the 'Bring Your Own License' (BYOL) license type CPU limit. + * If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit. + * + */ + "isByolCpuCoreCountLimitEnabled"?: boolean; + /** + * The maximum number of CPUs allowed with a 'Bring Your Own License' (BYOL) license type. + * Any CPU usage above this limit is considered as License Included and billed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "byolCpuCoreCountLimit"?: number; /** * Specifies whether the deployment is used in a production or development/testing environment. * diff --git a/lib/goldengate/lib/model/deployment-peer-summary.ts b/lib/goldengate/lib/model/deployment-peer-summary.ts index df0712ca12..fd3561e8b7 100644 --- a/lib/goldengate/lib/model/deployment-peer-summary.ts +++ b/lib/goldengate/lib/model/deployment-peer-summary.ts @@ -72,6 +72,12 @@ export interface DeploymentPeerSummary { * */ "timeRoleChanged": Date; + /** + * The time of the last data synchronization from the primary to the standby peer. + * [RFC3339](https://tools.ietf.org/html/rfc3339), such as {@code 2016-08-25T21:10:29.600Z}. + * + */ + "timeLastSynced"?: Date; /** * Possible lifecycle states for deployment peer. */ diff --git a/lib/goldengate/lib/model/deployment-summary.ts b/lib/goldengate/lib/model/deployment-summary.ts index 04ce7c010b..384342a3a1 100644 --- a/lib/goldengate/lib/model/deployment-summary.ts +++ b/lib/goldengate/lib/model/deployment-summary.ts @@ -108,6 +108,18 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "licenseModel": model.LicenseModel; + /** + * Flag to allow to configure the 'Bring Your Own License' (BYOL) license type CPU limit. + * If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit. + * + */ + "isByolCpuCoreCountLimitEnabled"?: boolean; + /** + * The maximum number of CPUs allowed with a 'Bring Your Own License' (BYOL) license type. + * Any CPU usage above this limit is considered as License Included and billed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "byolCpuCoreCountLimit"?: number; /** * Specifies whether the deployment is used in a production or development/testing environment. * diff --git a/lib/goldengate/lib/model/deployment.ts b/lib/goldengate/lib/model/deployment.ts index 4348a01373..89da750d59 100644 --- a/lib/goldengate/lib/model/deployment.ts +++ b/lib/goldengate/lib/model/deployment.ts @@ -156,6 +156,18 @@ Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ "licenseModel": model.LicenseModel; + /** + * Flag to allow to configure the 'Bring Your Own License' (BYOL) license type CPU limit. + * If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit. + * + */ + "isByolCpuCoreCountLimitEnabled"?: boolean; + /** + * The maximum number of CPUs allowed with a 'Bring Your Own License' (BYOL) license type. + * Any CPU usage above this limit is considered as License Included and billed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "byolCpuCoreCountLimit"?: number; /** * Specifies whether the deployment is used in a production or development/testing environment. * diff --git a/lib/goldengate/lib/model/update-deployment-details.ts b/lib/goldengate/lib/model/update-deployment-details.ts index cc7df70d9b..eb7a1e3abe 100644 --- a/lib/goldengate/lib/model/update-deployment-details.ts +++ b/lib/goldengate/lib/model/update-deployment-details.ts @@ -30,6 +30,18 @@ export interface UpdateDeploymentDetails { * */ "licenseModel"?: model.LicenseModel; + /** + * Flag to allow to configure the 'Bring Your Own License' (BYOL) license type CPU limit. + * If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit. + * + */ + "isByolCpuCoreCountLimitEnabled"?: boolean; + /** + * The maximum number of CPUs allowed with a 'Bring Your Own License' (BYOL) license type. + * Any CPU usage above this limit is considered as License Included and billed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "byolCpuCoreCountLimit"?: number; /** * Specifies whether the deployment is used in a production or development/testing environment. * diff --git a/lib/goldengate/lib/request/list-deployments-request.ts b/lib/goldengate/lib/request/list-deployments-request.ts index 22b4cf9719..296588fc2f 100644 --- a/lib/goldengate/lib/request/list-deployments-request.ts +++ b/lib/goldengate/lib/request/list-deployments-request.ts @@ -51,6 +51,11 @@ export interface ListDeploymentsRequest extends common.BaseRequest { * */ "lifecycleSubState"?: model.LifecycleSubState; + /** + * A filter that returns only the resources matching the specified 'deploymentType'. + * + */ + "deploymentType"?: model.DeploymentType; /** * A filter to return only the resources that match the entire 'displayName' given. * diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index 7955df30d5..43b9379dea 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Golden Gate Service", "repository": { "type": "git", diff --git a/lib/governancerulescontrolplane/package.json b/lib/governancerulescontrolplane/package.json index f92bec444f..08e4bb2cd8 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Governance Rules Control Plane Service", "repository": { "type": "git", diff --git a/lib/healthchecks/package.json b/lib/healthchecks/package.json index 04df0305a2..d91444cd6a 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index e0d4c48f5e..824c84a6f6 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index d6409f7e5f..694efd80db 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Identity Data Plane Service", "repository": { "type": "git", diff --git a/lib/identitydomains/package.json b/lib/identitydomains/package.json index fbcce6d059..8b17bcacf8 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Identity Domains Service", "repository": { "type": "git", diff --git a/lib/integration/package.json b/lib/integration/package.json index f40ac8b7c6..3363cef636 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 99b1164ec2..6c51e4b237 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index c0a627aab5..d94ef80673 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index e08381ba57..e0bf6d2e10 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 0486593e4d..313720a0a6 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/package.json b/lib/limits/package.json index 16ad343444..7dc6847619 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 901f295ed9..40bc57d5f7 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index a1a9423f1d..e193a112ec 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index b8ec14c1b1..11a5695617 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index 234a58694c..2178cf7455 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 4fa0cb29c2..4c1a65507b 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 22b797bb9e..9590a8aaa8 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index 6ed258f8c3..0fe11145c5 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managedkafka/README.md b/lib/managedkafka/README.md new file mode 100644 index 0000000000..f0ee4554cd --- /dev/null +++ b/lib/managedkafka/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Managed Kafka Service + +This module enables you to write code to manage resources for Managed Kafka Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-managedkafka +``` + +Alternatively you can git clone this repo. diff --git a/lib/managedkafka/index.ts b/lib/managedkafka/index.ts new file mode 100644 index 0000000000..a522ec0b9d --- /dev/null +++ b/lib/managedkafka/index.ts @@ -0,0 +1,24 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as kafkacluster_waiter from "./lib/kafkacluster-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import KafkaClusterClient = client.KafkaClusterClient; +export import KafkaClusterWaiter = kafkacluster_waiter.KafkaClusterWaiter; diff --git a/lib/managedkafka/lib/client.ts b/lib/managedkafka/lib/client.ts new file mode 100644 index 0000000000..5e65b9af9a --- /dev/null +++ b/lib/managedkafka/lib/client.ts @@ -0,0 +1,1981 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { KafkaClusterWaiter } from "./kafkacluster-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum KafkaClusterApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class KafkaClusterClient { + protected static serviceEndpointTemplate = "https://kafka.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": KafkaClusterWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "KafkaCluster"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("managedkafka")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("managedkafka"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20240901"; + if (this.logger) this.logger.info(`KafkaClusterClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + KafkaClusterClient.serviceEndpointTemplate, + this._region, + KafkaClusterClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + KafkaClusterClient.serviceEndpointTemplate, + this._regionId, + KafkaClusterClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + KafkaClusterClient.serviceEndpointTemplate, + region, + KafkaClusterClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + KafkaClusterClient.serviceEndpointTemplate, + regionId, + KafkaClusterClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new KafkaClusterWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): KafkaClusterWaiter { + this._waiters = new KafkaClusterWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): KafkaClusterWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Cancels a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelWorkRequestRequest + * @return CancelWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. + */ + public async cancelWorkRequest( + cancelWorkRequestRequest: requests.CancelWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#cancelWorkRequest."); + const operationName = "cancelWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelWorkRequestRequest.ifMatch, + "opc-request-id": cancelWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a KafkaCluster into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeKafkaClusterCompartmentRequest + * @return ChangeKafkaClusterCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ChangeKafkaClusterCompartment.ts.html |here} to see how to use ChangeKafkaClusterCompartment API. + */ + public async changeKafkaClusterCompartment( + changeKafkaClusterCompartmentRequest: requests.ChangeKafkaClusterCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#changeKafkaClusterCompartment."); + const operationName = "changeKafkaClusterCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": changeKafkaClusterCompartmentRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeKafkaClusterCompartmentRequest.ifMatch, + "opc-request-id": changeKafkaClusterCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeKafkaClusterCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeKafkaClusterCompartmentRequest.changeKafkaClusterCompartmentDetails, + "ChangeKafkaClusterCompartmentDetails", + model.ChangeKafkaClusterCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a KafkaClusterConfig into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeKafkaClusterConfigCompartmentRequest + * @return ChangeKafkaClusterConfigCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ChangeKafkaClusterConfigCompartment.ts.html |here} to see how to use ChangeKafkaClusterConfigCompartment API. + */ + public async changeKafkaClusterConfigCompartment( + changeKafkaClusterConfigCompartmentRequest: requests.ChangeKafkaClusterConfigCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation KafkaClusterClient#changeKafkaClusterConfigCompartment." + ); + const operationName = "changeKafkaClusterConfigCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": changeKafkaClusterConfigCompartmentRequest.kafkaClusterConfigId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeKafkaClusterConfigCompartmentRequest.ifMatch, + "opc-request-id": changeKafkaClusterConfigCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeKafkaClusterConfigCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeKafkaClusterConfigCompartmentRequest.changeKafkaClusterConfigCompartmentDetails, + "ChangeKafkaClusterConfigCompartmentDetails", + model.ChangeKafkaClusterConfigCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a KafkaCluster. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateKafkaClusterRequest + * @return CreateKafkaClusterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/CreateKafkaCluster.ts.html |here} to see how to use CreateKafkaCluster API. + */ + public async createKafkaCluster( + createKafkaClusterRequest: requests.CreateKafkaClusterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#createKafkaCluster."); + const operationName = "createKafkaCluster"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createKafkaClusterRequest.opcRetryToken, + "opc-request-id": createKafkaClusterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createKafkaClusterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createKafkaClusterRequest.createKafkaClusterDetails, + "CreateKafkaClusterDetails", + model.CreateKafkaClusterDetails.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: "kafkaCluster", + bodyModel: model.KafkaCluster, + type: "model.KafkaCluster", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a KafkaClusterConfig. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateKafkaClusterConfigRequest + * @return CreateKafkaClusterConfigResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/CreateKafkaClusterConfig.ts.html |here} to see how to use CreateKafkaClusterConfig API. + */ + public async createKafkaClusterConfig( + createKafkaClusterConfigRequest: requests.CreateKafkaClusterConfigRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#createKafkaClusterConfig."); + const operationName = "createKafkaClusterConfig"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createKafkaClusterConfigRequest.opcRetryToken, + "opc-request-id": createKafkaClusterConfigRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createKafkaClusterConfigRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createKafkaClusterConfigRequest.createKafkaClusterConfigDetails, + "CreateKafkaClusterConfigDetails", + model.CreateKafkaClusterConfigDetails.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: "kafkaClusterConfig", + bodyModel: model.KafkaClusterConfig, + type: "model.KafkaClusterConfig", + 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("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a KafkaCluster. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteKafkaClusterRequest + * @return DeleteKafkaClusterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/DeleteKafkaCluster.ts.html |here} to see how to use DeleteKafkaCluster API. + */ + public async deleteKafkaCluster( + deleteKafkaClusterRequest: requests.DeleteKafkaClusterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#deleteKafkaCluster."); + const operationName = "deleteKafkaCluster"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": deleteKafkaClusterRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteKafkaClusterRequest.ifMatch, + "opc-request-id": deleteKafkaClusterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteKafkaClusterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a KafkaClusterConfig. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteKafkaClusterConfigRequest + * @return DeleteKafkaClusterConfigResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/DeleteKafkaClusterConfig.ts.html |here} to see how to use DeleteKafkaClusterConfig API. + */ + public async deleteKafkaClusterConfig( + deleteKafkaClusterConfigRequest: requests.DeleteKafkaClusterConfigRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#deleteKafkaClusterConfig."); + const operationName = "deleteKafkaClusterConfig"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": deleteKafkaClusterConfigRequest.kafkaClusterConfigId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteKafkaClusterConfigRequest.ifMatch, + "opc-request-id": deleteKafkaClusterConfigRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteKafkaClusterConfigRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a KafkaClusterConfig version. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteKafkaClusterConfigVersionRequest + * @return DeleteKafkaClusterConfigVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/DeleteKafkaClusterConfigVersion.ts.html |here} to see how to use DeleteKafkaClusterConfigVersion API. + */ + public async deleteKafkaClusterConfigVersion( + deleteKafkaClusterConfigVersionRequest: requests.DeleteKafkaClusterConfigVersionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#deleteKafkaClusterConfigVersion."); + const operationName = "deleteKafkaClusterConfigVersion"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": deleteKafkaClusterConfigVersionRequest.kafkaClusterConfigId, + "{versionNumber}": deleteKafkaClusterConfigVersionRequest.versionNumber + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteKafkaClusterConfigVersionRequest.ifMatch, + "opc-request-id": deleteKafkaClusterConfigVersionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteKafkaClusterConfigVersionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}/versions/{versionNumber}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Removes the SASL superuser to the Kafka cluster. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DisableSuperuserRequest + * @return DisableSuperuserResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/DisableSuperuser.ts.html |here} to see how to use DisableSuperuser API. + */ + public async disableSuperuser( + disableSuperuserRequest: requests.DisableSuperuserRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#disableSuperuser."); + const operationName = "disableSuperuser"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": disableSuperuserRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": disableSuperuserRequest.ifMatch, + "opc-request-id": disableSuperuserRequest.opcRequestId, + "opc-retry-token": disableSuperuserRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + disableSuperuserRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}/actions/disableSuperuser", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Adds a SASL superuser to the Kafka cluster. A generated password will be updated to the specified vault. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param EnableSuperuserRequest + * @return EnableSuperuserResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/EnableSuperuser.ts.html |here} to see how to use EnableSuperuser API. + */ + public async enableSuperuser( + enableSuperuserRequest: requests.EnableSuperuserRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#enableSuperuser."); + const operationName = "enableSuperuser"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": enableSuperuserRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": enableSuperuserRequest.ifMatch, + "opc-request-id": enableSuperuserRequest.opcRequestId, + "opc-retry-token": enableSuperuserRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + enableSuperuserRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}/actions/enableSuperuser", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + enableSuperuserRequest.enableSuperuserDetails, + "EnableSuperuserDetails", + model.EnableSuperuserDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a KafkaCluster. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetKafkaClusterRequest + * @return GetKafkaClusterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/GetKafkaCluster.ts.html |here} to see how to use GetKafkaCluster API. + */ + public async getKafkaCluster( + getKafkaClusterRequest: requests.GetKafkaClusterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#getKafkaCluster."); + const operationName = "getKafkaCluster"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": getKafkaClusterRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getKafkaClusterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getKafkaClusterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}", + 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: "kafkaCluster", + bodyModel: model.KafkaCluster, + type: "model.KafkaCluster", + 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 KafkaClusterConfig. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetKafkaClusterConfigRequest + * @return GetKafkaClusterConfigResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/GetKafkaClusterConfig.ts.html |here} to see how to use GetKafkaClusterConfig API. + */ + public async getKafkaClusterConfig( + getKafkaClusterConfigRequest: requests.GetKafkaClusterConfigRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#getKafkaClusterConfig."); + const operationName = "getKafkaClusterConfig"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": getKafkaClusterConfigRequest.kafkaClusterConfigId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getKafkaClusterConfigRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getKafkaClusterConfigRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}", + 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: "kafkaClusterConfig", + bodyModel: model.KafkaClusterConfig, + type: "model.KafkaClusterConfig", + 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 KafkaClusterConfig version. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetKafkaClusterConfigVersionRequest + * @return GetKafkaClusterConfigVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/GetKafkaClusterConfigVersion.ts.html |here} to see how to use GetKafkaClusterConfigVersion API. + */ + public async getKafkaClusterConfigVersion( + getKafkaClusterConfigVersionRequest: requests.GetKafkaClusterConfigVersionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#getKafkaClusterConfigVersion."); + const operationName = "getKafkaClusterConfigVersion"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": getKafkaClusterConfigVersionRequest.kafkaClusterConfigId, + "{versionNumber}": getKafkaClusterConfigVersionRequest.versionNumber + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getKafkaClusterConfigVersionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getKafkaClusterConfigVersionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}/versions/{versionNumber}", + 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: "kafkaClusterConfigVersion", + bodyModel: model.KafkaClusterConfigVersion, + type: "model.KafkaClusterConfigVersion", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets the details of a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of KafkaClusterConfig Versions. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListKafkaClusterConfigVersionsRequest + * @return ListKafkaClusterConfigVersionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListKafkaClusterConfigVersions.ts.html |here} to see how to use ListKafkaClusterConfigVersions API. + */ + public async listKafkaClusterConfigVersions( + listKafkaClusterConfigVersionsRequest: requests.ListKafkaClusterConfigVersionsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#listKafkaClusterConfigVersions."); + const operationName = "listKafkaClusterConfigVersions"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": listKafkaClusterConfigVersionsRequest.kafkaClusterConfigId + }; + + const queryParams = { + "limit": listKafkaClusterConfigVersionsRequest.limit, + "page": listKafkaClusterConfigVersionsRequest.page, + "sortOrder": listKafkaClusterConfigVersionsRequest.sortOrder, + "sortBy": listKafkaClusterConfigVersionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listKafkaClusterConfigVersionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listKafkaClusterConfigVersionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}/versions", + 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: "kafkaClusterConfigVersionCollection", + bodyModel: model.KafkaClusterConfigVersionCollection, + type: "model.KafkaClusterConfigVersionCollection", + 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; + } + } + + /** + * Gets a list of KafkaClusterConfigs. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListKafkaClusterConfigsRequest + * @return ListKafkaClusterConfigsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListKafkaClusterConfigs.ts.html |here} to see how to use ListKafkaClusterConfigs API. + */ + public async listKafkaClusterConfigs( + listKafkaClusterConfigsRequest: requests.ListKafkaClusterConfigsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#listKafkaClusterConfigs."); + const operationName = "listKafkaClusterConfigs"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listKafkaClusterConfigsRequest.compartmentId, + "lifecycleState": listKafkaClusterConfigsRequest.lifecycleState, + "displayName": listKafkaClusterConfigsRequest.displayName, + "id": listKafkaClusterConfigsRequest.id, + "limit": listKafkaClusterConfigsRequest.limit, + "page": listKafkaClusterConfigsRequest.page, + "sortOrder": listKafkaClusterConfigsRequest.sortOrder, + "sortBy": listKafkaClusterConfigsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listKafkaClusterConfigsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listKafkaClusterConfigsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs", + 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: "kafkaClusterConfigCollection", + bodyModel: model.KafkaClusterConfigCollection, + type: "model.KafkaClusterConfigCollection", + 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; + } + } + + /** + * Gets a list of KafkaClusters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListKafkaClustersRequest + * @return ListKafkaClustersResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListKafkaClusters.ts.html |here} to see how to use ListKafkaClusters API. + */ + public async listKafkaClusters( + listKafkaClustersRequest: requests.ListKafkaClustersRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#listKafkaClusters."); + const operationName = "listKafkaClusters"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listKafkaClustersRequest.compartmentId, + "lifecycleState": listKafkaClustersRequest.lifecycleState, + "displayName": listKafkaClustersRequest.displayName, + "id": listKafkaClustersRequest.id, + "limit": listKafkaClustersRequest.limit, + "page": listKafkaClustersRequest.page, + "sortOrder": listKafkaClustersRequest.sortOrder, + "sortBy": listKafkaClustersRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listKafkaClustersRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listKafkaClustersRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters", + 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: "kafkaClusterCollection", + bodyModel: model.KafkaClusterCollection, + type: "model.KafkaClusterCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the errors for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a KafkaCluster. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateKafkaClusterRequest + * @return UpdateKafkaClusterResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/UpdateKafkaCluster.ts.html |here} to see how to use UpdateKafkaCluster API. + */ + public async updateKafkaCluster( + updateKafkaClusterRequest: requests.UpdateKafkaClusterRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation KafkaClusterClient#updateKafkaCluster."); + const operationName = "updateKafkaCluster"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterId}": updateKafkaClusterRequest.kafkaClusterId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateKafkaClusterRequest.ifMatch, + "opc-request-id": updateKafkaClusterRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateKafkaClusterRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusters/{kafkaClusterId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateKafkaClusterRequest.updateKafkaClusterDetails, + "UpdateKafkaClusterDetails", + model.UpdateKafkaClusterDetails.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: "kafkaCluster", + bodyModel: model.KafkaCluster, + type: "model.KafkaCluster", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a KafkaClusterConfig. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateKafkaClusterConfigRequest + * @return UpdateKafkaClusterConfigResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/managedkafka/UpdateKafkaClusterConfig.ts.html |here} to see how to use UpdateKafkaClusterConfig API. + */ + public async updateKafkaClusterConfig( + updateKafkaClusterConfigRequest: requests.UpdateKafkaClusterConfigRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation KafkaClusterClient#updateKafkaClusterConfig."); + const operationName = "updateKafkaClusterConfig"; + const apiReferenceLink = ""; + const pathParams = { + "{kafkaClusterConfigId}": updateKafkaClusterConfigRequest.kafkaClusterConfigId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateKafkaClusterConfigRequest.ifMatch, + "opc-request-id": updateKafkaClusterConfigRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateKafkaClusterConfigRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/kafkaClusterConfigs/{kafkaClusterConfigId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateKafkaClusterConfigRequest.updateKafkaClusterConfigDetails, + "UpdateKafkaClusterConfigDetails", + model.UpdateKafkaClusterConfigDetails.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: "kafkaClusterConfig", + bodyModel: model.KafkaClusterConfig, + type: "model.KafkaClusterConfig", + 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; + } + } +} diff --git a/lib/managedkafka/lib/kafkacluster-waiter.ts b/lib/managedkafka/lib/kafkacluster-waiter.ts new file mode 100644 index 0000000000..85e478d66c --- /dev/null +++ b/lib/managedkafka/lib/kafkacluster-waiter.ts @@ -0,0 +1,79 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { KafkaClusterClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class KafkaClusterWaiter { + public constructor( + private client: KafkaClusterClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forKafkaCluster 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 GetKafkaClusterResponse | null (null in case of 404 response) + */ + public async forKafkaCluster( + request: serviceRequests.GetKafkaClusterRequest, + ...targetStates: models.KafkaCluster.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getKafkaCluster(request), + response => targetStates.includes(response.kafkaCluster.lifecycleState!), + targetStates.includes(models.KafkaCluster.LifecycleState.Deleted) + ); + } + + /** + * Waits forKafkaClusterConfig 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 GetKafkaClusterConfigResponse | null (null in case of 404 response) + */ + public async forKafkaClusterConfig( + request: serviceRequests.GetKafkaClusterConfigRequest, + ...targetStates: models.KafkaClusterConfig.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getKafkaClusterConfig(request), + response => targetStates.includes(response.kafkaClusterConfig.lifecycleState!), + targetStates.includes(models.KafkaClusterConfig.LifecycleState.Deleted) + ); + } + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/managedkafka/lib/model/action-type.ts b/lib/managedkafka/lib/model/action-type.ts new file mode 100644 index 0000000000..ddc6d5a5c2 --- /dev/null +++ b/lib/managedkafka/lib/model/action-type.ts @@ -0,0 +1,42 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/managedkafka/lib/model/bootstrap-url.ts b/lib/managedkafka/lib/model/bootstrap-url.ts new file mode 100644 index 0000000000..f4aced5618 --- /dev/null +++ b/lib/managedkafka/lib/model/bootstrap-url.ts @@ -0,0 +1,42 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Kafka bootstrap URL + */ +export interface BootstrapUrl { + /** + * Name of the Kafka listener providing this bootstrap URL + */ + "name": string; + /** + * Bootstrap URL + */ + "url": string; +} + +export namespace BootstrapUrl { + export function getJsonObj(obj: BootstrapUrl): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: BootstrapUrl): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/broker-shape.ts b/lib/managedkafka/lib/model/broker-shape.ts new file mode 100644 index 0000000000..1367fbe079 --- /dev/null +++ b/lib/managedkafka/lib/model/broker-shape.ts @@ -0,0 +1,46 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Configuration of the broker node. + */ +export interface BrokerShape { + /** + * Number of Kafka broker nodes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "nodeCount": number; + /** + * Number of OCPUs per nodes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "ocpuCount": number; + /** + * Size of the storage per nodes. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "storageSizeInGbs"?: number; +} + +export namespace BrokerShape { + export function getJsonObj(obj: BrokerShape): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: BrokerShape): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/change-kafka-cluster-compartment-details.ts b/lib/managedkafka/lib/model/change-kafka-cluster-compartment-details.ts new file mode 100644 index 0000000000..50da2c513f --- /dev/null +++ b/lib/managedkafka/lib/model/change-kafka-cluster-compartment-details.ts @@ -0,0 +1,39 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeKafkaClusterCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the KafkaCluster to. + * + */ + "compartmentId": string; +} + +export namespace ChangeKafkaClusterCompartmentDetails { + export function getJsonObj(obj: ChangeKafkaClusterCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeKafkaClusterCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/change-kafka-cluster-config-compartment-details.ts b/lib/managedkafka/lib/model/change-kafka-cluster-config-compartment-details.ts new file mode 100644 index 0000000000..3989b93545 --- /dev/null +++ b/lib/managedkafka/lib/model/change-kafka-cluster-config-compartment-details.ts @@ -0,0 +1,39 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeKafkaClusterConfigCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the KafkaClusterConfig to. + * + */ + "compartmentId": string; +} + +export namespace ChangeKafkaClusterConfigCompartmentDetails { + export function getJsonObj(obj: ChangeKafkaClusterConfigCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeKafkaClusterConfigCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/create-kafka-cluster-config-details.ts b/lib/managedkafka/lib/model/create-kafka-cluster-config-details.ts new file mode 100644 index 0000000000..dfecd99675 --- /dev/null +++ b/lib/managedkafka/lib/model/create-kafka-cluster-config-details.ts @@ -0,0 +1,74 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a KafkaClusterConfig. + */ +export interface CreateKafkaClusterConfigDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the KafkaClusterConfig in. + * + */ + "compartmentId": string; + "latestConfig": model.KafkaClusterConfigVersion; + /** + * 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 CreateKafkaClusterConfigDetails { + export function getJsonObj(obj: CreateKafkaClusterConfigDetails): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateKafkaClusterConfigDetails): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getDeserializedJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/create-kafka-cluster-details.ts b/lib/managedkafka/lib/model/create-kafka-cluster-details.ts new file mode 100644 index 0000000000..b4c1cffcca --- /dev/null +++ b/lib/managedkafka/lib/model/create-kafka-cluster-details.ts @@ -0,0 +1,115 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a KafkaCluster. + */ +export interface CreateKafkaClusterDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the KafkaCluster in. + * + */ + "compartmentId": string; + /** + * Subnets where broker/coordinator VNICs will be created. + */ + "accessSubnets": Array; + /** + * CA certificate bundle for mTLS broker authentication. + */ + "clientCertificateBundle"?: string; + /** + * Version of Kafka to use to spin up the cluster + */ + "kafkaVersion": string; + /** + * Type of the cluster to spin up. + * DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on single node + * PRODUCTION - Minimum allowed broker count is 3 + * + */ + "clusterType": string; + "brokerShape": model.BrokerShape; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object + */ + "clusterConfigId": string; + /** + * The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "clusterConfigVersion": number; + /** + * Kafka coordination type. Set of available types depends on Kafka version + */ + "coordinationType": string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateKafkaClusterDetails { + export function getJsonObj(obj: CreateKafkaClusterDetails): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateKafkaClusterDetails): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getDeserializedJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape + ? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/enable-superuser-details.ts b/lib/managedkafka/lib/model/enable-superuser-details.ts new file mode 100644 index 0000000000..9ae5835003 --- /dev/null +++ b/lib/managedkafka/lib/model/enable-superuser-details.ts @@ -0,0 +1,43 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the enable superuser operation. + */ +export interface EnableSuperuserDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret. + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password. + * + */ + "secretId": string; +} + +export namespace EnableSuperuserDetails { + export function getJsonObj(obj: EnableSuperuserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EnableSuperuserDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/index.ts b/lib/managedkafka/lib/model/index.ts new file mode 100644 index 0000000000..1a18937511 --- /dev/null +++ b/lib/managedkafka/lib/model/index.ts @@ -0,0 +1,77 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as BootstrapUrl from "./bootstrap-url"; +export import BootstrapUrl = BootstrapUrl.BootstrapUrl; +import * as BrokerShape from "./broker-shape"; +export import BrokerShape = BrokerShape.BrokerShape; +import * as ChangeKafkaClusterCompartmentDetails from "./change-kafka-cluster-compartment-details"; +export import ChangeKafkaClusterCompartmentDetails = ChangeKafkaClusterCompartmentDetails.ChangeKafkaClusterCompartmentDetails; +import * as ChangeKafkaClusterConfigCompartmentDetails from "./change-kafka-cluster-config-compartment-details"; +export import ChangeKafkaClusterConfigCompartmentDetails = ChangeKafkaClusterConfigCompartmentDetails.ChangeKafkaClusterConfigCompartmentDetails; +import * as CreateKafkaClusterConfigDetails from "./create-kafka-cluster-config-details"; +export import CreateKafkaClusterConfigDetails = CreateKafkaClusterConfigDetails.CreateKafkaClusterConfigDetails; +import * as CreateKafkaClusterDetails from "./create-kafka-cluster-details"; +export import CreateKafkaClusterDetails = CreateKafkaClusterDetails.CreateKafkaClusterDetails; +import * as EnableSuperuserDetails from "./enable-superuser-details"; +export import EnableSuperuserDetails = EnableSuperuserDetails.EnableSuperuserDetails; +import * as KafkaCluster from "./kafka-cluster"; +export import KafkaCluster = KafkaCluster.KafkaCluster; +import * as KafkaClusterCollection from "./kafka-cluster-collection"; +export import KafkaClusterCollection = KafkaClusterCollection.KafkaClusterCollection; +import * as KafkaClusterConfig from "./kafka-cluster-config"; +export import KafkaClusterConfig = KafkaClusterConfig.KafkaClusterConfig; +import * as KafkaClusterConfigCollection from "./kafka-cluster-config-collection"; +export import KafkaClusterConfigCollection = KafkaClusterConfigCollection.KafkaClusterConfigCollection; +import * as KafkaClusterConfigSummary from "./kafka-cluster-config-summary"; +export import KafkaClusterConfigSummary = KafkaClusterConfigSummary.KafkaClusterConfigSummary; +import * as KafkaClusterConfigVersion from "./kafka-cluster-config-version"; +export import KafkaClusterConfigVersion = KafkaClusterConfigVersion.KafkaClusterConfigVersion; +import * as KafkaClusterConfigVersionCollection from "./kafka-cluster-config-version-collection"; +export import KafkaClusterConfigVersionCollection = KafkaClusterConfigVersionCollection.KafkaClusterConfigVersionCollection; +import * as KafkaClusterConfigVersionSummary from "./kafka-cluster-config-version-summary"; +export import KafkaClusterConfigVersionSummary = KafkaClusterConfigVersionSummary.KafkaClusterConfigVersionSummary; +import * as KafkaClusterSummary from "./kafka-cluster-summary"; +export import KafkaClusterSummary = KafkaClusterSummary.KafkaClusterSummary; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as SubnetSet from "./subnet-set"; +export import SubnetSet = SubnetSet.SubnetSet; +import * as UpdateKafkaClusterConfigDetails from "./update-kafka-cluster-config-details"; +export import UpdateKafkaClusterConfigDetails = UpdateKafkaClusterConfigDetails.UpdateKafkaClusterConfigDetails; +import * as UpdateKafkaClusterDetails from "./update-kafka-cluster-details"; +export import UpdateKafkaClusterDetails = UpdateKafkaClusterDetails.UpdateKafkaClusterDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; diff --git a/lib/managedkafka/lib/model/kafka-cluster-collection.ts b/lib/managedkafka/lib/model/kafka-cluster-collection.ts new file mode 100644 index 0000000000..d3711ffbbf --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a kafkaCluster search. Contains both KafkaClusterSummary items and other information, such as metadata. + */ +export interface KafkaClusterCollection { + /** + * List of kafkaClusters. + */ + "items": Array; +} + +export namespace KafkaClusterCollection { + export function getJsonObj(obj: KafkaClusterCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config-collection.ts b/lib/managedkafka/lib/model/kafka-cluster-config-collection.ts new file mode 100644 index 0000000000..677779987c --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a kafkaClusterConfig search. Contains both KafkaClusterConfigSummary items and other information, such as metadata. + */ +export interface KafkaClusterConfigCollection { + /** + * List of kafkaClustersConfig. + */ + "items": Array; +} + +export namespace KafkaClusterConfigCollection { + export function getJsonObj(obj: KafkaClusterConfigCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterConfigSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfigCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterConfigSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config-summary.ts b/lib/managedkafka/lib/model/kafka-cluster-config-summary.ts new file mode 100644 index 0000000000..6985c5e47d --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config-summary.ts @@ -0,0 +1,93 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a KafkaClusterConfig. + */ +export interface KafkaClusterConfigSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the KafkaClusterConfig was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

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

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace KafkaClusterConfigSummary { + export function getJsonObj(obj: KafkaClusterConfigSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfigSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config-version-collection.ts b/lib/managedkafka/lib/model/kafka-cluster-config-version-collection.ts new file mode 100644 index 0000000000..edd9e68a25 --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config-version-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a kafkaClusterConfigVersion search. Contains both KafkaClusterConfigVersionSummary items. + */ +export interface KafkaClusterConfigVersionCollection { + /** + * List of kafkaClustersConfigVersion. + */ + "items": Array; +} + +export namespace KafkaClusterConfigVersionCollection { + export function getJsonObj(obj: KafkaClusterConfigVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterConfigVersionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfigVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.KafkaClusterConfigVersionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config-version-summary.ts b/lib/managedkafka/lib/model/kafka-cluster-config-version-summary.ts new file mode 100644 index 0000000000..5793031e51 --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config-version-summary.ts @@ -0,0 +1,48 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a KafkaClusterConfigVersion. + */ +export interface KafkaClusterConfigVersionSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "configId": string; + /** + * Version of the cluster configuration Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "versionNumber": number; + /** + * The date and time the KafkaClusterConfigVersion was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; +} + +export namespace KafkaClusterConfigVersionSummary { + export function getJsonObj(obj: KafkaClusterConfigVersionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfigVersionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config-version.ts b/lib/managedkafka/lib/model/kafka-cluster-config-version.ts new file mode 100644 index 0000000000..eb40f33d08 --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config-version.ts @@ -0,0 +1,53 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A shared configuration object used by 0 or more kafka clusters. + * + */ +export interface KafkaClusterConfigVersion { + /** + * ID cluster configuration + */ + "configId"?: string; + /** + * Version of the cluster configuration Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "versionNumber"?: number; + /** + * The date and time the KafkaClusterConfigVersion was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated"?: Date; + /** + * Cluster configuration key-value pairs + */ + "properties": { [key: string]: string }; +} + +export namespace KafkaClusterConfigVersion { + export function getJsonObj(obj: KafkaClusterConfigVersion): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfigVersion): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-config.ts b/lib/managedkafka/lib/model/kafka-cluster-config.ts new file mode 100644 index 0000000000..a092693bdf --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-config.ts @@ -0,0 +1,125 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A shared configuration object used by 0 or more kafka clusters. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface KafkaClusterConfig { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the KafkaClusterConfig was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the KafkaClusterConfig. + */ + "lifecycleState": KafkaClusterConfig.LifecycleState; + /** + * A message that describes the current state of the KafkaClusterConfig in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + "latestConfig": model.KafkaClusterConfigVersion; + /** + * 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 KafkaClusterConfig { + export enum LifecycleState { + Creating = "CREATING", + Active = "ACTIVE", + Updating = "UPDATING", + 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: KafkaClusterConfig): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterConfig): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getDeserializedJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster-summary.ts b/lib/managedkafka/lib/model/kafka-cluster-summary.ts new file mode 100644 index 0000000000..cd65f8a01a --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster-summary.ts @@ -0,0 +1,145 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a KafkaCluster. + */ +export interface KafkaClusterSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the KafkaCluster was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the KafkaCluster. + */ + "lifecycleState": string; + /** + * A message that describes the current state of the KafkaCluster in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * Subnets where broker/coordinator VNICs will be created. + */ + "accessSubnets": Array; + /** + * Version of Kafka to use to spin up the cluster + */ + "kafkaVersion": string; + /** + * Type of the cluster to spin up. + * DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on single node + * PRODUCTION - Minimum allowed broker count is 3 + * + */ + "clusterType": string; + "brokerShape": model.BrokerShape; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object + */ + "clusterConfigId": string; + /** + * The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "clusterConfigVersion": number; + /** + * Kafka coordination type. Set of available types depends on Kafka version + */ + "coordinationType"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace KafkaClusterSummary { + export function getJsonObj(obj: KafkaClusterSummary): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaClusterSummary): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getDeserializedJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape + ? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/kafka-cluster.ts b/lib/managedkafka/lib/model/kafka-cluster.ts new file mode 100644 index 0000000000..0b2555fd2b --- /dev/null +++ b/lib/managedkafka/lib/model/kafka-cluster.ts @@ -0,0 +1,208 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A KafkaCluster is a description of a KafkaCluster. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface KafkaCluster { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the KafkaCluster was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the KafkaCluster. + */ + "lifecycleState": KafkaCluster.LifecycleState; + /** + * A message that describes the current state of the KafkaCluster in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * Subnets where broker/coordinator VNICs will be created. + */ + "accessSubnets": Array; + /** + * CA certificate bundle for mTLS broker authentication. + */ + "clientCertificateBundle"?: string; + /** + * Version of Kafka to use to spin up the cluster + */ + "kafkaVersion": string; + /** + * Type of the cluster to spin up. + * DEVELOPMENT - setting that allows to sacrifice HA and spin up cluster on a single node + * PRODUCTION - Minimum allowed broker count is 3 + * + */ + "clusterType": KafkaCluster.ClusterType; + "brokerShape": model.BrokerShape; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object + */ + "clusterConfigId": string; + /** + * The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "clusterConfigVersion": number; + /** + * Bootstrap URL that can be used to connect to Kafka + */ + "kafkaBootstrapUrls"?: Array; + /** + * Kafka coordination type. Set of available types depends on Kafka version + */ + "coordinationType"?: KafkaCluster.CoordinationType; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that contains superuser password. + */ + "secretId"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace KafkaCluster { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum ClusterType { + Development = "DEVELOPMENT", + Production = "PRODUCTION", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum CoordinationType { + Zookeeper = "ZOOKEEPER", + Kraft = "KRAFT", + /** + * 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: KafkaCluster): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined, + + "kafkaBootstrapUrls": obj.kafkaBootstrapUrls + ? obj.kafkaBootstrapUrls.map(item => { + return model.BootstrapUrl.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KafkaCluster): object { + const jsonObj = { + ...obj, + ...{ + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getDeserializedJsonObj(item); + }) + : undefined, + + "brokerShape": obj.brokerShape + ? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape) + : undefined, + + "kafkaBootstrapUrls": obj.kafkaBootstrapUrls + ? obj.kafkaBootstrapUrls.map(item => { + return model.BootstrapUrl.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/operation-status.ts b/lib/managedkafka/lib/model/operation-status.ts new file mode 100644 index 0000000000..54711a2009 --- /dev/null +++ b/lib/managedkafka/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Canceling = "CANCELING", + Canceled = "CANCELED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/managedkafka/lib/model/operation-type.ts b/lib/managedkafka/lib/model/operation-type.ts new file mode 100644 index 0000000000..1633834075 --- /dev/null +++ b/lib/managedkafka/lib/model/operation-type.ts @@ -0,0 +1,42 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + CreateKafkaCluster = "CREATE_KAFKA_CLUSTER", + UpdateKafkaCluster = "UPDATE_KAFKA_CLUSTER", + DeleteKafkaCluster = "DELETE_KAFKA_CLUSTER", + MoveKafkaCluster = "MOVE_KAFKA_CLUSTER", + EnableSuperuser = "ENABLE_SUPERUSER", + DisableSuperuser = "DISABLE_SUPERUSER", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/managedkafka/lib/model/sort-order.ts b/lib/managedkafka/lib/model/sort-order.ts new file mode 100644 index 0000000000..bdbc0f1f30 --- /dev/null +++ b/lib/managedkafka/lib/model/sort-order.ts @@ -0,0 +1,40 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/managedkafka/lib/model/subnet-set.ts b/lib/managedkafka/lib/model/subnet-set.ts new file mode 100644 index 0000000000..2c0220cd9f --- /dev/null +++ b/lib/managedkafka/lib/model/subnet-set.ts @@ -0,0 +1,38 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a KafkaCluster. + */ +export interface SubnetSet { + /** + * Subnets OCIDs + */ + "subnets": Array; +} + +export namespace SubnetSet { + export function getJsonObj(obj: SubnetSet): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SubnetSet): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/update-kafka-cluster-config-details.ts b/lib/managedkafka/lib/model/update-kafka-cluster-config-details.ts new file mode 100644 index 0000000000..283fef31d2 --- /dev/null +++ b/lib/managedkafka/lib/model/update-kafka-cluster-config-details.ts @@ -0,0 +1,69 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a KafkaClusterConfig. + */ +export interface UpdateKafkaClusterConfigDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + "latestConfig"?: model.KafkaClusterConfigVersion; + /** + * 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 UpdateKafkaClusterConfigDetails { + export function getJsonObj(obj: UpdateKafkaClusterConfigDetails): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateKafkaClusterConfigDetails): object { + const jsonObj = { + ...obj, + ...{ + "latestConfig": obj.latestConfig + ? model.KafkaClusterConfigVersion.getDeserializedJsonObj(obj.latestConfig) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/update-kafka-cluster-details.ts b/lib/managedkafka/lib/model/update-kafka-cluster-details.ts new file mode 100644 index 0000000000..c17a66e7a7 --- /dev/null +++ b/lib/managedkafka/lib/model/update-kafka-cluster-details.ts @@ -0,0 +1,99 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a KafkaCluster. + */ +export interface UpdateKafkaClusterDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * CA certificate bundle for mTLS broker authentication. + */ + "clientCertificateBundle"?: string; + "brokerShape"?: model.BrokerShape; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Kafka Cluster configuration object + */ + "clusterConfigId"?: string; + /** + * The version of configuration object Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "clusterConfigVersion"?: number; + /** + * Subnets where broker/coordinator VNICs will be created. + */ + "accessSubnets"?: Array; + /** + * Kafka coordination type. Set of available types depends on Kafka version + */ + "coordinationType"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateKafkaClusterDetails { + export function getJsonObj(obj: UpdateKafkaClusterDetails): object { + const jsonObj = { + ...obj, + ...{ + "brokerShape": obj.brokerShape ? model.BrokerShape.getJsonObj(obj.brokerShape) : undefined, + + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateKafkaClusterDetails): object { + const jsonObj = { + ...obj, + ...{ + "brokerShape": obj.brokerShape + ? model.BrokerShape.getDeserializedJsonObj(obj.brokerShape) + : undefined, + + "accessSubnets": obj.accessSubnets + ? obj.accessSubnets.map(item => { + return model.SubnetSet.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-error-collection.ts b/lib/managedkafka/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..87dda20f69 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-error-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-error.ts b/lib/managedkafka/lib/model/work-request-error.ts new file mode 100644 index 0000000000..42cd85c890 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-error.ts @@ -0,0 +1,50 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-log-entry-collection.ts b/lib/managedkafka/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..c0ff01e100 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-log-entry.ts b/lib/managedkafka/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..a85b098483 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-log-entry.ts @@ -0,0 +1,44 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-resource-metadata-key.ts b/lib/managedkafka/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..b971f734e9 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,39 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-resource.ts b/lib/managedkafka/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..d5a9bd6cd9 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-resource.ts @@ -0,0 +1,58 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until + * work is complete for that resource, at which point it transitions to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-summary-collection.ts b/lib/managedkafka/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..f4469951d4 --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-summary-collection.ts @@ -0,0 +1,56 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request-summary.ts b/lib/managedkafka/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..ea5db07c4c --- /dev/null +++ b/lib/managedkafka/lib/model/work-request-summary.ts @@ -0,0 +1,103 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/model/work-request.ts b/lib/managedkafka/lib/model/work-request.ts new file mode 100644 index 0000000000..a5370b4e4f --- /dev/null +++ b/lib/managedkafka/lib/model/work-request.ts @@ -0,0 +1,106 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, + * the service creates a work request. A work request is an activity log that lets you track each step in the operation's + * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/managedkafka/lib/request/cancel-work-request-request.ts b/lib/managedkafka/lib/request/cancel-work-request-request.ts new file mode 100644 index 0000000000..b9d33bb306 --- /dev/null +++ b/lib/managedkafka/lib/request/cancel-work-request-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. + */ +export interface CancelWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/change-kafka-cluster-compartment-request.ts b/lib/managedkafka/lib/request/change-kafka-cluster-compartment-request.ts new file mode 100644 index 0000000000..470d05c643 --- /dev/null +++ b/lib/managedkafka/lib/request/change-kafka-cluster-compartment-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ChangeKafkaClusterCompartment.ts.html |here} to see how to use ChangeKafkaClusterCompartmentRequest. + */ +export interface ChangeKafkaClusterCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": string; + /** + * The information to be updated. + */ + "changeKafkaClusterCompartmentDetails": model.ChangeKafkaClusterCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/change-kafka-cluster-config-compartment-request.ts b/lib/managedkafka/lib/request/change-kafka-cluster-config-compartment-request.ts new file mode 100644 index 0000000000..392ed5cc0a --- /dev/null +++ b/lib/managedkafka/lib/request/change-kafka-cluster-config-compartment-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ChangeKafkaClusterConfigCompartment.ts.html |here} to see how to use ChangeKafkaClusterConfigCompartmentRequest. + */ +export interface ChangeKafkaClusterConfigCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * The information to be updated. + */ + "changeKafkaClusterConfigCompartmentDetails": model.ChangeKafkaClusterConfigCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/create-kafka-cluster-config-request.ts b/lib/managedkafka/lib/request/create-kafka-cluster-config-request.ts new file mode 100644 index 0000000000..191d4cc4ac --- /dev/null +++ b/lib/managedkafka/lib/request/create-kafka-cluster-config-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/CreateKafkaClusterConfig.ts.html |here} to see how to use CreateKafkaClusterConfigRequest. + */ +export interface CreateKafkaClusterConfigRequest extends common.BaseRequest { + /** + * Details for the new KafkaClusterConfig. + */ + "createKafkaClusterConfigDetails": model.CreateKafkaClusterConfigDetails; + /** + * 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/managedkafka/lib/request/create-kafka-cluster-request.ts b/lib/managedkafka/lib/request/create-kafka-cluster-request.ts new file mode 100644 index 0000000000..f90fb36505 --- /dev/null +++ b/lib/managedkafka/lib/request/create-kafka-cluster-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/CreateKafkaCluster.ts.html |here} to see how to use CreateKafkaClusterRequest. + */ +export interface CreateKafkaClusterRequest extends common.BaseRequest { + /** + * Details for the new KafkaCluster. + */ + "createKafkaClusterDetails": model.CreateKafkaClusterDetails; + /** + * 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/managedkafka/lib/request/delete-kafka-cluster-config-request.ts b/lib/managedkafka/lib/request/delete-kafka-cluster-config-request.ts new file mode 100644 index 0000000000..5c59007698 --- /dev/null +++ b/lib/managedkafka/lib/request/delete-kafka-cluster-config-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/DeleteKafkaClusterConfig.ts.html |here} to see how to use DeleteKafkaClusterConfigRequest. + */ +export interface DeleteKafkaClusterConfigRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/delete-kafka-cluster-config-version-request.ts b/lib/managedkafka/lib/request/delete-kafka-cluster-config-version-request.ts new file mode 100644 index 0000000000..4c43fbd846 --- /dev/null +++ b/lib/managedkafka/lib/request/delete-kafka-cluster-config-version-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/DeleteKafkaClusterConfigVersion.ts.html |here} to see how to use DeleteKafkaClusterConfigVersionRequest. + */ +export interface DeleteKafkaClusterConfigVersionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * The versionNumber of the KafkaClusterConfig. + */ + "versionNumber": number; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/delete-kafka-cluster-request.ts b/lib/managedkafka/lib/request/delete-kafka-cluster-request.ts new file mode 100644 index 0000000000..88d74ebb29 --- /dev/null +++ b/lib/managedkafka/lib/request/delete-kafka-cluster-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/DeleteKafkaCluster.ts.html |here} to see how to use DeleteKafkaClusterRequest. + */ +export interface DeleteKafkaClusterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/disable-superuser-request.ts b/lib/managedkafka/lib/request/disable-superuser-request.ts new file mode 100644 index 0000000000..c2768a1c5a --- /dev/null +++ b/lib/managedkafka/lib/request/disable-superuser-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/DisableSuperuser.ts.html |here} to see how to use DisableSuperuserRequest. + */ +export interface DisableSuperuserRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * 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/managedkafka/lib/request/enable-superuser-request.ts b/lib/managedkafka/lib/request/enable-superuser-request.ts new file mode 100644 index 0000000000..d1e421b3cd --- /dev/null +++ b/lib/managedkafka/lib/request/enable-superuser-request.ts @@ -0,0 +1,54 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/EnableSuperuser.ts.html |here} to see how to use EnableSuperuserRequest. + */ +export interface EnableSuperuserRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": string; + /** + * The information to be updated. + */ + "enableSuperuserDetails": model.EnableSuperuserDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/managedkafka/lib/request/get-kafka-cluster-config-request.ts b/lib/managedkafka/lib/request/get-kafka-cluster-config-request.ts new file mode 100644 index 0000000000..7f0f08da9e --- /dev/null +++ b/lib/managedkafka/lib/request/get-kafka-cluster-config-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/GetKafkaClusterConfig.ts.html |here} to see how to use GetKafkaClusterConfigRequest. + */ +export interface GetKafkaClusterConfigRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": 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/managedkafka/lib/request/get-kafka-cluster-config-version-request.ts b/lib/managedkafka/lib/request/get-kafka-cluster-config-version-request.ts new file mode 100644 index 0000000000..7f7b1bd6cf --- /dev/null +++ b/lib/managedkafka/lib/request/get-kafka-cluster-config-version-request.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/GetKafkaClusterConfigVersion.ts.html |here} to see how to use GetKafkaClusterConfigVersionRequest. + */ +export interface GetKafkaClusterConfigVersionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * The versionNumber of the KafkaClusterConfig. + */ + "versionNumber": number; + /** + * 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/managedkafka/lib/request/get-kafka-cluster-request.ts b/lib/managedkafka/lib/request/get-kafka-cluster-request.ts new file mode 100644 index 0000000000..4a4c25a417 --- /dev/null +++ b/lib/managedkafka/lib/request/get-kafka-cluster-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/GetKafkaCluster.ts.html |here} to see how to use GetKafkaClusterRequest. + */ +export interface GetKafkaClusterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": 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/managedkafka/lib/request/get-work-request-request.ts b/lib/managedkafka/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..e513126a1a --- /dev/null +++ b/lib/managedkafka/lib/request/get-work-request-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/index.ts b/lib/managedkafka/lib/request/index.ts new file mode 100644 index 0000000000..525b801829 --- /dev/null +++ b/lib/managedkafka/lib/request/index.ts @@ -0,0 +1,57 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as CancelWorkRequestRequest from "./cancel-work-request-request"; +export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; +import * as ChangeKafkaClusterCompartmentRequest from "./change-kafka-cluster-compartment-request"; +export import ChangeKafkaClusterCompartmentRequest = ChangeKafkaClusterCompartmentRequest.ChangeKafkaClusterCompartmentRequest; +import * as ChangeKafkaClusterConfigCompartmentRequest from "./change-kafka-cluster-config-compartment-request"; +export import ChangeKafkaClusterConfigCompartmentRequest = ChangeKafkaClusterConfigCompartmentRequest.ChangeKafkaClusterConfigCompartmentRequest; +import * as CreateKafkaClusterRequest from "./create-kafka-cluster-request"; +export import CreateKafkaClusterRequest = CreateKafkaClusterRequest.CreateKafkaClusterRequest; +import * as CreateKafkaClusterConfigRequest from "./create-kafka-cluster-config-request"; +export import CreateKafkaClusterConfigRequest = CreateKafkaClusterConfigRequest.CreateKafkaClusterConfigRequest; +import * as DeleteKafkaClusterRequest from "./delete-kafka-cluster-request"; +export import DeleteKafkaClusterRequest = DeleteKafkaClusterRequest.DeleteKafkaClusterRequest; +import * as DeleteKafkaClusterConfigRequest from "./delete-kafka-cluster-config-request"; +export import DeleteKafkaClusterConfigRequest = DeleteKafkaClusterConfigRequest.DeleteKafkaClusterConfigRequest; +import * as DeleteKafkaClusterConfigVersionRequest from "./delete-kafka-cluster-config-version-request"; +export import DeleteKafkaClusterConfigVersionRequest = DeleteKafkaClusterConfigVersionRequest.DeleteKafkaClusterConfigVersionRequest; +import * as DisableSuperuserRequest from "./disable-superuser-request"; +export import DisableSuperuserRequest = DisableSuperuserRequest.DisableSuperuserRequest; +import * as EnableSuperuserRequest from "./enable-superuser-request"; +export import EnableSuperuserRequest = EnableSuperuserRequest.EnableSuperuserRequest; +import * as GetKafkaClusterRequest from "./get-kafka-cluster-request"; +export import GetKafkaClusterRequest = GetKafkaClusterRequest.GetKafkaClusterRequest; +import * as GetKafkaClusterConfigRequest from "./get-kafka-cluster-config-request"; +export import GetKafkaClusterConfigRequest = GetKafkaClusterConfigRequest.GetKafkaClusterConfigRequest; +import * as GetKafkaClusterConfigVersionRequest from "./get-kafka-cluster-config-version-request"; +export import GetKafkaClusterConfigVersionRequest = GetKafkaClusterConfigVersionRequest.GetKafkaClusterConfigVersionRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListKafkaClusterConfigVersionsRequest from "./list-kafka-cluster-config-versions-request"; +export import ListKafkaClusterConfigVersionsRequest = ListKafkaClusterConfigVersionsRequest.ListKafkaClusterConfigVersionsRequest; +import * as ListKafkaClusterConfigsRequest from "./list-kafka-cluster-configs-request"; +export import ListKafkaClusterConfigsRequest = ListKafkaClusterConfigsRequest.ListKafkaClusterConfigsRequest; +import * as ListKafkaClustersRequest from "./list-kafka-clusters-request"; +export import ListKafkaClustersRequest = ListKafkaClustersRequest.ListKafkaClustersRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as UpdateKafkaClusterRequest from "./update-kafka-cluster-request"; +export import UpdateKafkaClusterRequest = UpdateKafkaClusterRequest.UpdateKafkaClusterRequest; +import * as UpdateKafkaClusterConfigRequest from "./update-kafka-cluster-config-request"; +export import UpdateKafkaClusterConfigRequest = UpdateKafkaClusterConfigRequest.UpdateKafkaClusterConfigRequest; diff --git a/lib/managedkafka/lib/request/list-kafka-cluster-config-versions-request.ts b/lib/managedkafka/lib/request/list-kafka-cluster-config-versions-request.ts new file mode 100644 index 0000000000..7d022ed86a --- /dev/null +++ b/lib/managedkafka/lib/request/list-kafka-cluster-config-versions-request.ts @@ -0,0 +1,63 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListKafkaClusterConfigVersions.ts.html |here} to see how to use ListKafkaClusterConfigVersionsRequest. + */ +export interface ListKafkaClusterConfigVersionsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code versionNumber} + * is descending. + * + */ + "sortBy"?: ListKafkaClusterConfigVersionsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListKafkaClusterConfigVersionsRequest { + export enum SortBy { + VersionNumber = "versionNumber" + } +} diff --git a/lib/managedkafka/lib/request/list-kafka-cluster-configs-request.ts b/lib/managedkafka/lib/request/list-kafka-cluster-configs-request.ts new file mode 100644 index 0000000000..2d91e2fe00 --- /dev/null +++ b/lib/managedkafka/lib/request/list-kafka-cluster-configs-request.ts @@ -0,0 +1,78 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListKafkaClusterConfigs.ts.html |here} to see how to use ListKafkaClusterConfigsRequest. + */ +export interface ListKafkaClusterConfigsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending. + * + */ + "sortBy"?: ListKafkaClusterConfigsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListKafkaClusterConfigsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/managedkafka/lib/request/list-kafka-clusters-request.ts b/lib/managedkafka/lib/request/list-kafka-clusters-request.ts new file mode 100644 index 0000000000..0065b38781 --- /dev/null +++ b/lib/managedkafka/lib/request/list-kafka-clusters-request.ts @@ -0,0 +1,78 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListKafkaClusters.ts.html |here} to see how to use ListKafkaClustersRequest. + */ +export interface ListKafkaClustersRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending. + * + */ + "sortBy"?: ListKafkaClustersRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListKafkaClustersRequest { + export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" + } +} diff --git a/lib/managedkafka/lib/request/list-work-request-errors-request.ts b/lib/managedkafka/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..709877595d --- /dev/null +++ b/lib/managedkafka/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timestamp} is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/managedkafka/lib/request/list-work-request-logs-request.ts b/lib/managedkafka/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..c136c1a16d --- /dev/null +++ b/lib/managedkafka/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timestamp} is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/managedkafka/lib/request/list-work-requests-request.ts b/lib/managedkafka/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..c1fe712c7b --- /dev/null +++ b/lib/managedkafka/lib/request/list-work-requests-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/managedkafka/lib/request/update-kafka-cluster-config-request.ts b/lib/managedkafka/lib/request/update-kafka-cluster-config-request.ts new file mode 100644 index 0000000000..78472c1236 --- /dev/null +++ b/lib/managedkafka/lib/request/update-kafka-cluster-config-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/UpdateKafkaClusterConfig.ts.html |here} to see how to use UpdateKafkaClusterConfigRequest. + */ +export interface UpdateKafkaClusterConfigRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaClusterConfig. + */ + "kafkaClusterConfigId": string; + /** + * The information to be updated. + */ + "updateKafkaClusterConfigDetails": model.UpdateKafkaClusterConfigDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/request/update-kafka-cluster-request.ts b/lib/managedkafka/lib/request/update-kafka-cluster-request.ts new file mode 100644 index 0000000000..985531d17c --- /dev/null +++ b/lib/managedkafka/lib/request/update-kafka-cluster-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/managedkafka/UpdateKafkaCluster.ts.html |here} to see how to use UpdateKafkaClusterRequest. + */ +export interface UpdateKafkaClusterRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster. + */ + "kafkaClusterId": string; + /** + * The information to be updated. + */ + "updateKafkaClusterDetails": model.UpdateKafkaClusterDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/managedkafka/lib/response/cancel-work-request-response.ts b/lib/managedkafka/lib/response/cancel-work-request-response.ts new file mode 100644 index 0000000000..e303007770 --- /dev/null +++ b/lib/managedkafka/lib/response/cancel-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CancelWorkRequestResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/change-kafka-cluster-compartment-response.ts b/lib/managedkafka/lib/response/change-kafka-cluster-compartment-response.ts new file mode 100644 index 0000000000..93522dda52 --- /dev/null +++ b/lib/managedkafka/lib/response/change-kafka-cluster-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeKafkaClusterCompartmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/change-kafka-cluster-config-compartment-response.ts b/lib/managedkafka/lib/response/change-kafka-cluster-config-compartment-response.ts new file mode 100644 index 0000000000..48daba69df --- /dev/null +++ b/lib/managedkafka/lib/response/change-kafka-cluster-config-compartment-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeKafkaClusterConfigCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/create-kafka-cluster-config-response.ts b/lib/managedkafka/lib/response/create-kafka-cluster-config-response.ts new file mode 100644 index 0000000000..00a308e753 --- /dev/null +++ b/lib/managedkafka/lib/response/create-kafka-cluster-config-response.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateKafkaClusterConfigResponse { + /** + * 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; + /** + * URL for the created kafkaCluster. The kafkaCluster OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * The returned model.KafkaClusterConfig instance. + */ + "kafkaClusterConfig": model.KafkaClusterConfig; +} diff --git a/lib/managedkafka/lib/response/create-kafka-cluster-response.ts b/lib/managedkafka/lib/response/create-kafka-cluster-response.ts new file mode 100644 index 0000000000..1f93f6955e --- /dev/null +++ b/lib/managedkafka/lib/response/create-kafka-cluster-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateKafkaClusterResponse { + /** + * URL for the created kafkaCluster. The kafkaCluster OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.KafkaCluster instance. + */ + "kafkaCluster": model.KafkaCluster; +} diff --git a/lib/managedkafka/lib/response/delete-kafka-cluster-config-response.ts b/lib/managedkafka/lib/response/delete-kafka-cluster-config-response.ts new file mode 100644 index 0000000000..f211e3fc8a --- /dev/null +++ b/lib/managedkafka/lib/response/delete-kafka-cluster-config-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteKafkaClusterConfigResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/delete-kafka-cluster-config-version-response.ts b/lib/managedkafka/lib/response/delete-kafka-cluster-config-version-response.ts new file mode 100644 index 0000000000..c00bd22fe6 --- /dev/null +++ b/lib/managedkafka/lib/response/delete-kafka-cluster-config-version-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteKafkaClusterConfigVersionResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/delete-kafka-cluster-response.ts b/lib/managedkafka/lib/response/delete-kafka-cluster-response.ts new file mode 100644 index 0000000000..f6c779c8a8 --- /dev/null +++ b/lib/managedkafka/lib/response/delete-kafka-cluster-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteKafkaClusterResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/disable-superuser-response.ts b/lib/managedkafka/lib/response/disable-superuser-response.ts new file mode 100644 index 0000000000..abd95eac25 --- /dev/null +++ b/lib/managedkafka/lib/response/disable-superuser-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DisableSuperuserResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/enable-superuser-response.ts b/lib/managedkafka/lib/response/enable-superuser-response.ts new file mode 100644 index 0000000000..8b5d9d0f37 --- /dev/null +++ b/lib/managedkafka/lib/response/enable-superuser-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 EnableSuperuserResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/managedkafka/lib/response/get-kafka-cluster-config-response.ts b/lib/managedkafka/lib/response/get-kafka-cluster-config-response.ts new file mode 100644 index 0000000000..b9d80696f7 --- /dev/null +++ b/lib/managedkafka/lib/response/get-kafka-cluster-config-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetKafkaClusterConfigResponse { + /** + * 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.KafkaClusterConfig instance. + */ + "kafkaClusterConfig": model.KafkaClusterConfig; +} diff --git a/lib/managedkafka/lib/response/get-kafka-cluster-config-version-response.ts b/lib/managedkafka/lib/response/get-kafka-cluster-config-version-response.ts new file mode 100644 index 0000000000..24a35737a6 --- /dev/null +++ b/lib/managedkafka/lib/response/get-kafka-cluster-config-version-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetKafkaClusterConfigVersionResponse { + /** + * 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.KafkaClusterConfigVersion instance. + */ + "kafkaClusterConfigVersion": model.KafkaClusterConfigVersion; +} diff --git a/lib/managedkafka/lib/response/get-kafka-cluster-response.ts b/lib/managedkafka/lib/response/get-kafka-cluster-response.ts new file mode 100644 index 0000000000..214d63f395 --- /dev/null +++ b/lib/managedkafka/lib/response/get-kafka-cluster-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetKafkaClusterResponse { + /** + * 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.KafkaCluster instance. + */ + "kafkaCluster": model.KafkaCluster; +} diff --git a/lib/managedkafka/lib/response/get-work-request-response.ts b/lib/managedkafka/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..98bdec7419 --- /dev/null +++ b/lib/managedkafka/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/managedkafka/lib/response/index.ts b/lib/managedkafka/lib/response/index.ts new file mode 100644 index 0000000000..8f12550f41 --- /dev/null +++ b/lib/managedkafka/lib/response/index.ts @@ -0,0 +1,57 @@ +/** + * Oracle Streaming with Apache Kafka (OSAK) API + * Use Oracle Streaming with Apache Kafka Control Plane API to create/update/delete managed Kafka clusters. + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as CancelWorkRequestResponse from "./cancel-work-request-response"; +export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; +import * as ChangeKafkaClusterCompartmentResponse from "./change-kafka-cluster-compartment-response"; +export import ChangeKafkaClusterCompartmentResponse = ChangeKafkaClusterCompartmentResponse.ChangeKafkaClusterCompartmentResponse; +import * as ChangeKafkaClusterConfigCompartmentResponse from "./change-kafka-cluster-config-compartment-response"; +export import ChangeKafkaClusterConfigCompartmentResponse = ChangeKafkaClusterConfigCompartmentResponse.ChangeKafkaClusterConfigCompartmentResponse; +import * as CreateKafkaClusterResponse from "./create-kafka-cluster-response"; +export import CreateKafkaClusterResponse = CreateKafkaClusterResponse.CreateKafkaClusterResponse; +import * as CreateKafkaClusterConfigResponse from "./create-kafka-cluster-config-response"; +export import CreateKafkaClusterConfigResponse = CreateKafkaClusterConfigResponse.CreateKafkaClusterConfigResponse; +import * as DeleteKafkaClusterResponse from "./delete-kafka-cluster-response"; +export import DeleteKafkaClusterResponse = DeleteKafkaClusterResponse.DeleteKafkaClusterResponse; +import * as DeleteKafkaClusterConfigResponse from "./delete-kafka-cluster-config-response"; +export import DeleteKafkaClusterConfigResponse = DeleteKafkaClusterConfigResponse.DeleteKafkaClusterConfigResponse; +import * as DeleteKafkaClusterConfigVersionResponse from "./delete-kafka-cluster-config-version-response"; +export import DeleteKafkaClusterConfigVersionResponse = DeleteKafkaClusterConfigVersionResponse.DeleteKafkaClusterConfigVersionResponse; +import * as DisableSuperuserResponse from "./disable-superuser-response"; +export import DisableSuperuserResponse = DisableSuperuserResponse.DisableSuperuserResponse; +import * as EnableSuperuserResponse from "./enable-superuser-response"; +export import EnableSuperuserResponse = EnableSuperuserResponse.EnableSuperuserResponse; +import * as GetKafkaClusterResponse from "./get-kafka-cluster-response"; +export import GetKafkaClusterResponse = GetKafkaClusterResponse.GetKafkaClusterResponse; +import * as GetKafkaClusterConfigResponse from "./get-kafka-cluster-config-response"; +export import GetKafkaClusterConfigResponse = GetKafkaClusterConfigResponse.GetKafkaClusterConfigResponse; +import * as GetKafkaClusterConfigVersionResponse from "./get-kafka-cluster-config-version-response"; +export import GetKafkaClusterConfigVersionResponse = GetKafkaClusterConfigVersionResponse.GetKafkaClusterConfigVersionResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListKafkaClusterConfigVersionsResponse from "./list-kafka-cluster-config-versions-response"; +export import ListKafkaClusterConfigVersionsResponse = ListKafkaClusterConfigVersionsResponse.ListKafkaClusterConfigVersionsResponse; +import * as ListKafkaClusterConfigsResponse from "./list-kafka-cluster-configs-response"; +export import ListKafkaClusterConfigsResponse = ListKafkaClusterConfigsResponse.ListKafkaClusterConfigsResponse; +import * as ListKafkaClustersResponse from "./list-kafka-clusters-response"; +export import ListKafkaClustersResponse = ListKafkaClustersResponse.ListKafkaClustersResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as UpdateKafkaClusterResponse from "./update-kafka-cluster-response"; +export import UpdateKafkaClusterResponse = UpdateKafkaClusterResponse.UpdateKafkaClusterResponse; +import * as UpdateKafkaClusterConfigResponse from "./update-kafka-cluster-config-response"; +export import UpdateKafkaClusterConfigResponse = UpdateKafkaClusterConfigResponse.UpdateKafkaClusterConfigResponse; diff --git a/lib/managedkafka/lib/response/list-kafka-cluster-config-versions-response.ts b/lib/managedkafka/lib/response/list-kafka-cluster-config-versions-response.ts new file mode 100644 index 0000000000..ee3121d34b --- /dev/null +++ b/lib/managedkafka/lib/response/list-kafka-cluster-config-versions-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListKafkaClusterConfigVersionsResponse { + /** + * 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.KafkaClusterConfigVersionCollection instance. + */ + "kafkaClusterConfigVersionCollection": model.KafkaClusterConfigVersionCollection; +} diff --git a/lib/managedkafka/lib/response/list-kafka-cluster-configs-response.ts b/lib/managedkafka/lib/response/list-kafka-cluster-configs-response.ts new file mode 100644 index 0000000000..a02d967273 --- /dev/null +++ b/lib/managedkafka/lib/response/list-kafka-cluster-configs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListKafkaClusterConfigsResponse { + /** + * 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.KafkaClusterConfigCollection instance. + */ + "kafkaClusterConfigCollection": model.KafkaClusterConfigCollection; +} diff --git a/lib/managedkafka/lib/response/list-kafka-clusters-response.ts b/lib/managedkafka/lib/response/list-kafka-clusters-response.ts new file mode 100644 index 0000000000..06d8d7011d --- /dev/null +++ b/lib/managedkafka/lib/response/list-kafka-clusters-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListKafkaClustersResponse { + /** + * 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.KafkaClusterCollection instance. + */ + "kafkaClusterCollection": model.KafkaClusterCollection; +} diff --git a/lib/managedkafka/lib/response/list-work-request-errors-response.ts b/lib/managedkafka/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..e15774d138 --- /dev/null +++ b/lib/managedkafka/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/managedkafka/lib/response/list-work-request-logs-response.ts b/lib/managedkafka/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..a24482329a --- /dev/null +++ b/lib/managedkafka/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/managedkafka/lib/response/list-work-requests-response.ts b/lib/managedkafka/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..5cf718093e --- /dev/null +++ b/lib/managedkafka/lib/response/list-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/managedkafka/lib/response/update-kafka-cluster-config-response.ts b/lib/managedkafka/lib/response/update-kafka-cluster-config-response.ts new file mode 100644 index 0000000000..b01a2b9399 --- /dev/null +++ b/lib/managedkafka/lib/response/update-kafka-cluster-config-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateKafkaClusterConfigResponse { + /** + * 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.KafkaClusterConfig instance. + */ + "kafkaClusterConfig": model.KafkaClusterConfig; +} diff --git a/lib/managedkafka/lib/response/update-kafka-cluster-response.ts b/lib/managedkafka/lib/response/update-kafka-cluster-response.ts new file mode 100644 index 0000000000..9b96a8c2d4 --- /dev/null +++ b/lib/managedkafka/lib/response/update-kafka-cluster-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20240901 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateKafkaClusterResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.KafkaCluster instance. + */ + "kafkaCluster": model.KafkaCluster; +} diff --git a/lib/managedkafka/package.json b/lib/managedkafka/package.json new file mode 100644 index 0000000000..87640e783a --- /dev/null +++ b/lib/managedkafka/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-managedkafka", + "version": "2.116.1", + "description": "OCI NodeJS client for Managed Kafka Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/managedkafka/index.js", + "typings": "../../target/lib/managedkafka/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/managedkafka/tsconfig.json b/lib/managedkafka/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/managedkafka/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index 6f1edd7e85..3f4421f5b9 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Management Agent Service", "repository": { "type": "git", diff --git a/lib/managementdashboard/package.json b/lib/managementdashboard/package.json index 6966f22f8f..ed2810e509 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index 54a1927ace..29129f43b2 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index ac203a842a..da7c785b5f 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 8108efd443..c44ea066dc 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Marketplace Publisher Service", "repository": { "type": "git", diff --git a/lib/mediaservices/package.json b/lib/mediaservices/package.json index 101104ca58..2afb48c1c2 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index 31b251aa22..57b1ec6e9f 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index cfa7495f47..667412d2e0 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Model Deployment Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index 92ba261f0a..2f3d17edc0 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index 473077fb85..432b627016 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 39b6e25871..b75055c755 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index ca62e303f2..c11db4fc3b 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index e757fb3dde..67e94cf2ad 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Network Load Balancer Service", "repository": { "type": "git", diff --git a/lib/nosql/package.json b/lib/nosql/package.json index ac97ab3209..6342e7b38f 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index 65d80653bf..12a881a6fe 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index b585a9180e..83b19025c6 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 0dd2b208f4..32488e9267 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Oci Control Center Service", "repository": { "type": "git", diff --git a/lib/ocvp/package.json b/lib/ocvp/package.json index 21368a3044..85c510d482 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 15a1f3715c..63b93b1221 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 8f56e5859e..0b6cddcbb3 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 57b43e75c0..ebfb6ef5bc 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 2822c0fbc4..f3a90f154b 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index d28cb8e3be..31b75dd1ee 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 3985bbcb64..cf6b8b5e7b 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Operator Access Control Service", "repository": { "type": "git", diff --git a/lib/opsi/package.json b/lib/opsi/package.json index 6441851f4b..d62994ad81 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 5ad908762d..db77b93373 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 96de0b5d83..aeebb0b575 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Os Management Hub Service", "repository": { "type": "git", diff --git a/lib/ospgateway/package.json b/lib/ospgateway/package.json index 7f50d45199..cc5122b857 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Osp Gateway Service", "repository": { "type": "git", diff --git a/lib/osubbillingschedule/package.json b/lib/osubbillingschedule/package.json index 88ec3eb269..d767960629 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Osub Billing Schedule Service", "repository": { "type": "git", diff --git a/lib/osuborganizationsubscription/package.json b/lib/osuborganizationsubscription/package.json index 3895d3d6f3..0d88287516 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Osub Organization Subscription Service", "repository": { "type": "git", diff --git a/lib/osubsubscription/package.json b/lib/osubsubscription/package.json index dcca0ff461..47567c76a2 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Osub Subscription Service", "repository": { "type": "git", diff --git a/lib/osubusage/package.json b/lib/osubusage/package.json index d04161ba92..3c23b8fcfb 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index 4bc651904b..b5a19a1035 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index c838d36ca3..dac558dacc 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index e54e618a7b..96369086e4 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index 293d0185fa..9e9fe76ac6 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 4a65ec11de..15f8ce1cb7 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index 2ebda68a86..ffe433fca5 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index d535c9f355..7c84d591c3 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for resource research Service", "repository": { "type": "git", diff --git a/lib/rover/package.json b/lib/rover/package.json index a50fcb3ccd..842a3de506 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 6abfcb0a75..a02979eb38 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 78b8f336e0..8c4cb8285c 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index 9b272ba948..4ee4e691ab 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 5e0029bace..f07c9dda46 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Service Catalog Service", "repository": { "type": "git", diff --git a/lib/servicemanagerproxy/package.json b/lib/servicemanagerproxy/package.json index fe037b9d10..51d8d0bc95 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index 679ab6e9b0..64342d1d62 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Stack Monitoring Service", "repository": { "type": "git", diff --git a/lib/streaming/package.json b/lib/streaming/package.json index 80e6e9abac..82c3c258a1 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 97c1bd3f04..c3e7472509 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Tenant Manager Control Plane Service", "repository": { "type": "git", diff --git a/lib/threatintelligence/package.json b/lib/threatintelligence/package.json index aa802551ba..d4975de61d 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Threat Intelligence Service", "repository": { "type": "git", diff --git a/lib/usage/package.json b/lib/usage/package.json index 6291768da8..338ffb94bf 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index f50c6b1cfc..150456897a 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Usage Api Service", "repository": { "type": "git", diff --git a/lib/vault/package.json b/lib/vault/package.json index 69d6adc808..8f9dfdfd93 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index 9a1c996b77..2a253d0e72 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Vbs Inst Service", "repository": { "type": "git", diff --git a/lib/visualbuilder/package.json b/lib/visualbuilder/package.json index f2dc99a909..3f89c2c564 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index 62acfe7f1e..463004f816 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Vn Monitoring Service", "repository": { "type": "git", diff --git a/lib/vulnerabilityscanning/package.json b/lib/vulnerabilityscanning/package.json index aedc7ebb79..973829ac46 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Vulnerability Scanning Service", "repository": { "type": "git", diff --git a/lib/waa/package.json b/lib/waa/package.json index 28c78eb1e9..c31f15ee50 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 6d49b1460e..fd64417276 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 19d0ac66c3..ec4278e9c9 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index b308ff046c..4c34cd728b 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index 7c6b36d747..0927b71ba7 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index ce4c1097d2..07eba12d63 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.116.0", + "version": "2.116.1", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index a4067d171c..181d9be270 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.116.0", + "version": "2.116.1", "author": { "name": "Oracle Cloud Infrastructure", "email": "" @@ -175,7 +175,8 @@ "oci-wlms": "file:lib/wlms", "oci-dbmulticloud": "file:lib/dbmulticloud", "oci-apiplatform": "file:lib/apiplatform", - "oci-multicloud": "file:lib/multicloud" + "oci-multicloud": "file:lib/multicloud", + "oci-managedkafka": "file:lib/managedkafka" }, "publishConfig": { "registry": "https://registry.npmjs.org"