From aad75f8d5d6e9a79e5fe65291d54ef00f73242d0 Mon Sep 17 00:00:00 2001 From: Joshuram Date: Tue, 4 Nov 2025 14:43:17 -0800 Subject: [PATCH 1/4] add pr build script --- .github/workflows/npmbuildonpullrequest.yml | 44 +++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/npmbuildonpullrequest.yml diff --git a/.github/workflows/npmbuildonpullrequest.yml b/.github/workflows/npmbuildonpullrequest.yml new file mode 100644 index 0000000000..0b6f303518 --- /dev/null +++ b/.github/workflows/npmbuildonpullrequest.yml @@ -0,0 +1,44 @@ +name: NPM Build on PR Open + +on: + pull_request: + types: [opened, synchronize] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 20] + steps: + - name: Checkout code + uses: actions/checkout@v3 + with: + ref: ${{ github.event.pull_request.head.ref }} + + - name: Log GitHub event + run: | + echo "PR head ref: ${{ github.event.pull_request.head.ref }}" + echo "PR head sha: ${{ github.event.pull_request.head.sha }}" + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Log Node.js and npm versions + run: | + echo "Node.js version: $(node --version)" + echo "npm version: $(npm --version)" + + - name: Install dependencies + run: | + echo "Installing dependencies..." + npm install + echo "Dependencies installed." + + - name: Run build + run: | + echo "Running build..." + npm run build + echo "Build completed." From 4e90e372c9ddabad220602c0f4dbdcbeffa1adab Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Mon, 10 Nov 2025 17:59:09 +0000 Subject: [PATCH 2/4] Releasing version 2.121.1 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 12 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aidataplatform/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/package.json | 2 +- lib/aivision/package.json | 2 +- lib/analytics/package.json | 2 +- lib/announcementsservice/package.json | 2 +- lib/apiaccesscontrol/package.json | 2 +- lib/apigateway/package.json | 2 +- lib/apiplatform/package.json | 2 +- lib/apmconfig/package.json | 2 +- lib/apmcontrolplane/package.json | 2 +- lib/apmsynthetics/package.json | 2 +- lib/apmtraces/package.json | 2 +- lib/appmgmtcontrol/package.json | 2 +- lib/artifacts/index.ts | 9 +- lib/artifacts/lib/artifacts-waiter.ts | 9 +- lib/artifacts/lib/client.ts | 90 +- ...ontainer-repository-compartment-details.ts | 9 +- .../change-repository-compartment-details.ts | 9 +- .../lib/model/container-configuration.ts | 9 +- .../lib/model/container-image-collection.ts | 9 +- .../lib/model/container-image-layer.ts | 9 +- .../container-image-signature-collection.ts | 9 +- .../container-image-signature-summary.ts | 9 +- .../lib/model/container-image-signature.ts | 9 +- .../lib/model/container-image-summary.ts | 9 +- lib/artifacts/lib/model/container-image.ts | 9 +- .../model/container-repository-collection.ts | 9 +- .../lib/model/container-repository-readme.ts | 9 +- .../lib/model/container-repository-summary.ts | 9 +- .../lib/model/container-repository.ts | 9 +- lib/artifacts/lib/model/container-version.ts | 9 +- ...reate-container-image-signature-details.ts | 9 +- .../create-container-repository-details.ts | 9 +- .../create-generic-repository-details.ts | 9 +- .../lib/model/create-repository-details.ts | 9 +- .../lib/model/generic-artifact-collection.ts | 9 +- .../lib/model/generic-artifact-summary.ts | 11 +- lib/artifacts/lib/model/generic-artifact.ts | 9 +- .../lib/model/generic-repository-summary.ts | 9 +- lib/artifacts/lib/model/generic-repository.ts | 9 +- lib/artifacts/lib/model/index.ts | 11 +- .../lookup-container-image-by-uri-details.ts | 48 + .../model/remove-container-version-details.ts | 9 +- .../lib/model/repository-collection.ts | 9 +- lib/artifacts/lib/model/repository-summary.ts | 9 +- lib/artifacts/lib/model/repository.ts | 9 +- .../model/restore-container-image-details.ts | 9 +- .../update-container-configuration-details.ts | 9 +- .../model/update-container-image-details.ts | 9 +- ...pdate-container-image-signature-details.ts | 9 +- .../update-container-repository-details.ts | 9 +- ...update-generic-artifact-by-path-details.ts | 9 +- .../model/update-generic-artifact-details.ts | 9 +- .../update-generic-repository-details.ts | 9 +- .../lib/model/update-repository-details.ts | 9 +- lib/artifacts/lib/request/index.ts | 11 +- .../request/list-container-images-request.ts | 7 + .../lookup-container-image-by-uri-request.ts | 31 + lib/artifacts/lib/response/index.ts | 11 +- .../lookup-container-image-by-uri-response.ts | 33 + 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/lib/client.ts | 9 +- ...ve-node-pool-pod-network-option-details.ts | 2 +- .../request/get-cluster-options-request.ts | 4 + .../request/get-node-pool-options-request.ts | 29 + .../lib/request/list-addon-options-request.ts | 4 +- lib/containerengine/package.json | 2 +- lib/containerinstances/package.json | 2 +- lib/core/lib/client.ts | 8 +- lib/core/lib/model/capacity-bin-preview.ts | 62 + lib/core/lib/model/capacity-bin.ts | 2 +- lib/core/lib/model/capacity-config.ts | 84 + .../model/create-dedicated-vm-host-details.ts | 11 + ...edicated-vm-host-instance-shape-summary.ts | 19 +- .../dedicated-vm-host-instance-summary.ts | 5 + .../model/dedicated-vm-host-shape-summary.ts | 29 +- .../lib/model/dedicated-vm-host-summary.ts | 5 + lib/core/lib/model/dedicated-vm-host.ts | 13 +- lib/core/lib/model/index.ts | 6 + ...e-configuration-launch-instance-details.ts | 8 +- lib/core/lib/model/supported-capabilities.ts | 47 + ...ist-dedicated-vm-host-instances-request.ts | 5 + .../list-dedicated-vm-hosts-request.ts | 5 + .../request/update-volume-kms-key-request.ts | 6 + lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- lib/database/package.json | 2 +- lib/databasemanagement/package.json | 2 +- lib/databasemigration/package.json | 2 +- lib/databasetools/package.json | 2 +- lib/datacatalog/package.json | 2 +- lib/dataflow/package.json | 2 +- lib/dataintegration/package.json | 2 +- lib/datalabelingservice/package.json | 2 +- lib/datalabelingservicedataplane/package.json | 2 +- lib/datasafe/package.json | 2 +- lib/datascience/package.json | 2 +- lib/dblm/package.json | 2 +- lib/dbmulticloud/package.json | 2 +- lib/delegateaccesscontrol/package.json | 2 +- lib/demandsignal/package.json | 2 +- lib/desktops/package.json | 2 +- lib/devops/package.json | 2 +- lib/dif/package.json | 2 +- lib/disasterrecovery/package.json | 2 +- lib/distributeddatabase/package.json | 2 +- lib/dns/package.json | 2 +- lib/email/package.json | 2 +- lib/emaildataplane/package.json | 2 +- lib/emwarehouse/package.json | 2 +- lib/events/package.json | 2 +- lib/filestorage/package.json | 2 +- lib/fleetappsmanagement/lib/client.ts | 1956 +++++++++++++++-- .../lib/model/api-based-execution-details.ts | 4 + .../lib/model/apm-domain-variable.ts | 48 + .../lib/model/array-variable.ts | 212 ++ .../lib/model/association.ts | 43 + ...nomous-container-db-variable-depends-on.ts | 39 + .../model/autonomous-container-db-variable.ts | 63 + ...utonomous-data-base-variable-depends-on.ts | 43 + .../model/autonomous-data-base-variable.ts | 60 + ...us-database-version-variable-depends-on.ts | 43 + .../autonomous-database-version-variable.ts | 63 + ...availability-domain-variable-depends-on.ts | 39 + .../lib/model/availability-domain-variable.ts | 60 + .../lib/model/base-output.ts | 121 + .../lib/model/base-variable.ts | 665 ++++++ .../lib/model/bool-output.ts | 48 + .../lib/model/boolean-variable.ts | 50 + .../lib/model/catalog-item-summary.ts | 4 + .../catalog-item-variables-definition.ts | 68 + .../lib/model/catalog-item.ts | 4 + lib/fleetappsmanagement/lib/model/choice.ts | 57 + .../lib/model/cloud-vm-cluster-id.ts | 45 + .../lib/model/column-metadata.ts | 59 + .../lib/model/compartment-variable.ts | 57 + .../lib/model/compliance.ts | 47 + .../lib/model/component-properties.ts | 3 +- .../model/configure-catalog-item-details.ts | 99 + .../container-cluster-variable-depends-on.ts | 39 + .../lib/model/container-cluster-variable.ts | 58 + .../lib/model/copyable-string-output.ts | 53 + .../lib/model/create-catalog-item-details.ts | 4 + .../lib/model/create-fleet-details.ts | 2 + .../lib/model/create-onboarding-details.ts | 12 + .../create-platform-configuration-details.ts | 12 + .../lib/model/create-property-details.ts | 12 + .../model/create-runbook-version-details.ts | 6 +- .../lib/model/csv-output.ts | 48 + .../model/data-base-variable-depends-on.ts | 43 + .../lib/model/data-base-variable.ts | 55 + .../lib/model/database-cdb-id.ts | 45 + .../lib/model/database-data-guard-id.ts | 48 + .../database-dataguard-association-id.ts | 53 + .../lib/model/database-db-node-id.ts | 45 + .../lib/model/database-exadata-id.ts | 48 + .../lib/model/datetime-variable.ts | 50 + .../lib/model/db-home-variable-depends-on.ts | 43 + .../lib/model/db-home-variable.ts | 55 + .../db-home-version-variable-depends-on.ts | 39 + .../lib/model/db-home-version-variable.ts | 58 + .../model/db-system-variable-depends-on.ts | 39 + .../lib/model/db-system-variable.ts | 55 + .../lib/model/discovered-target.ts | 12 + .../dynamic-groups-variable-depends-on.ts | 39 + .../lib/model/dynamic-groups-variable.ts | 58 + .../lib/model/enum-variable.ts | 56 + .../lib/model/export-runbook-details.ts | 62 + .../model/export-runbook-version-details.ts | 56 + .../model/fault-domain-variable-depends-on.ts | 43 + .../lib/model/fault-domain-variable.ts | 58 + .../lib/model/file-storage-export-set-id.ts | 48 + .../lib/model/file-storage-filesystem-id.ts | 48 + .../lib/model/file-storage-mount-target-id.ts | 48 + .../lib/model/file-variable.ts | 43 + lib/fleetappsmanagement/lib/model/filter.ts | 70 + .../find-runbook-export-dependency-details.ts | 43 + .../find-runbook-import-dependency-details.ts | 56 + lib/fleetappsmanagement/lib/model/fleet.ts | 2 + .../lib/model/groups-variable-depends-on.ts | 39 + .../lib/model/groups-variable.ts | 55 + .../identity-domain-variable-depends-on.ts | 39 + .../lib/model/identity-domain-variable.ts | 62 + .../lib/model/image-variable-depends-on.ts | 51 + .../lib/model/image-variable.ts | 59 + .../lib/model/import-runbook-details.ts | 100 + .../model/import-runbook-precheck-details.ts | 84 + .../import-runbook-precheck-required-value.ts | 51 + .../model/import-runbook-version-details.ts | 94 + lib/fleetappsmanagement/lib/model/index.ts | 358 +++ .../lib/model/installed-patch-collection.ts | 57 + .../lib/model/installed-patch-summary.ts | 67 + .../instance-shape-variable-depends-on.ts | 47 + ...nce-shape-variable-with-flex-depends-on.ts | 47 + .../instance-shape-variable-with-flex.ts | 67 + .../lib/model/instance-shape-variable.ts | 62 + .../lib/model/instance-variable-depends-on.ts | 39 + .../lib/model/instance-variable.ts | 55 + .../lib/model/integer-variable.ts | 70 + .../model/inventory-record-patch-details.ts | 8 + .../lib/model/inventory-record-summary.ts | 2 +- .../lib/model/inventory-record.ts | 2 +- .../lib/model/json-output.ts | 48 + .../lib/model/key-value-property.ts | 43 + .../lib/model/kms-key-variable-depends-on.ts | 59 + .../lib/model/kms-key-variable.ts | 55 + .../model/kms-secret-variable-depends-on.ts | 47 + .../lib/model/kms-secret-variable.ts | 58 + .../model/kms-vault-variable-depends-on.ts | 39 + .../lib/model/kms-vault-variable.ts | 55 + ...kubernetes-versions-variable-depends-on.ts | 43 + .../lib/model/kubernetes-versions-variable.ts | 60 + .../lib/model/link-output.ts | 52 + .../lib/model/list-output.ts | 48 + .../lib/model/load-balancer-reserved-ips.ts | 48 + .../load-balancer-variable-depends-on.ts | 39 + .../lib/model/load-balancer-variable.ts | 58 + .../lib/model/log-analytics-entity-types.ts | 48 + .../log-analytics-log-entities-depends-on.ts | 39 + .../lib/model/log-analytics-log-entities.ts | 58 + .../log-analytics-log-group-depends-on.ts | 39 + .../lib/model/log-analytics-log-group.ts | 58 + ...og-analytics-scheduled-tasks-depends-on.ts | 43 + .../model/log-analytics-scheduled-tasks.ts | 60 + .../model/log-analytics-sources-depends-on.ts | 39 + .../lib/model/log-analytics-sources.ts | 58 + .../lib/model/management-agent-depends-on.ts | 39 + .../lib/model/management-agents.ts | 55 + .../lib/model/map-output.ts | 48 + .../mount-targets-variable-depends-on.ts | 43 + .../lib/model/mount-targets-variable.ts | 58 + .../lib/model/multi-value-filter.ts | 59 + .../lib/model/multiline-variable.ts | 69 + .../lib/model/mysql-configuration-id.ts | 48 + .../lib/model/mysql-shape-id.ts | 43 + .../model/nat-gateway-variable-depends-on.ts | 43 + .../lib/model/nat-gateway-variable.ts | 58 + .../lib/model/network-load-balancer-id.ts | 48 + .../lib/model/nsg-variable-depends-on.ts | 43 + .../lib/model/nsg-variable.ts | 53 + .../lib/model/number-output.ts | 48 + .../lib/model/number-variable.ts | 70 + .../lib/model/object-storage-bucket-name.ts | 48 + .../lib/model/ocid-output.ts | 48 + .../model/ods-project-variable-depends-on.ts | 39 + .../lib/model/ods-project-variable.ts | 58 + .../lib/model/operation-type.ts | 4 + .../lib/model/order-clause.ts | 54 + .../lib/model/output-group.ts | 43 + .../lib/model/password-variable.ts | 54 + .../lib/model/placeholder.ts | 47 + .../lib/model/platform-configuration.ts | 1 + .../lib/model/preferences.ts | 16 + .../private-endpoint-variable-depends-on.ts | 43 + .../lib/model/private-endpoint-variable.ts | 58 + lib/fleetappsmanagement/lib/model/prompt.ts | 72 + .../lib/model/recommended-patch-collection.ts | 57 + .../lib/model/recommended-patch-summary.ts | 74 + .../lib/model/region-variable.ts | 50 + .../lib/model/report-collection.ts | 57 + .../lib/model/report-details.ts | 108 + .../lib/model/report-filter.ts | 47 + .../lib/model/report-metadata-collection.ts | 57 + .../lib/model/report-metadata-summary.ts | 99 + .../lib/model/report-summary.ts | 39 + .../lib/model/report-time-range.ts | 43 + .../lib/model/required-value.ts | 39 + lib/fleetappsmanagement/lib/model/rule.ts | 24 + .../lib/model/run-on-details.ts | 10 + .../runbook-export-dependency-collection.ts | 57 + .../model/runbook-export-status-collection.ts | 57 + .../model/runbook-export-status-summary.ts | 55 + .../lib/model/runbook-export.ts | 59 + .../lib/model/runbook-import-as-runbook.ts | 55 + .../lib/model/runbook-import-as-version.ts | 55 + .../lib/model/runbook-import-as.ts | 78 + .../runbook-import-dependency-collection.ts | 57 + ...import-dependency-finder-required-value.ts | 83 + .../model/runbook-import-required-value.ts | 51 + .../model/runbook-import-status-collection.ts | 57 + .../model/runbook-import-status-summary.ts | 55 + .../lib/model/runbook-import.ts | 59 + .../lib/model/runbook-summary.ts | 4 + .../runbook-transfer-dependency-summary.ts | 59 + .../lib/model/runbook-transfer-dependency.ts | 74 + .../lib/model/runbook-version-summary.ts | 4 +- .../lib/model/runbook-version.ts | 4 +- lib/fleetappsmanagement/lib/model/runbook.ts | 2 +- ...schedule-instance-target-run-on-details.ts | 59 + .../lib/model/scheduler-execution-summary.ts | 14 +- .../lib/model/schema-document.ts | 172 ++ .../model/script-based-execution-details.ts | 4 + .../service-gateway-variable-depends-on.ts | 43 + .../lib/model/service-gateway-variable.ts | 58 + .../lib/model/single-value-filter.ts | 65 + .../lib/model/ssh-public-key-variable.ts | 48 + .../lib/model/stack-source.ts | 54 + .../lib/model/string-output.ts | 48 + .../lib/model/string-variable.ts | 62 + .../lib/model/subnet-variable-depends-on.ts | 59 + .../lib/model/subnet-variable.ts | 55 + .../lib/model/tag-variable-depends-on.ts | 39 + .../lib/model/tag-variable.ts | 53 + .../lib/model/target-component-collection.ts | 57 + .../lib/model/target-component-summary.ts | 69 + .../lib/model/target-property-collection.ts | 57 + .../lib/model/target-property-summary.ts | 43 + lib/fleetappsmanagement/lib/model/task.ts | 2 +- .../terraform-based-execution-details.ts | 4 + .../model/transfer-runbook-content-details.ts | 68 + ...k-object-storage-bucket-content-details.ts | 77 + ...ransfer-runbook-par-url-content-details.ts | 64 + .../lib/model/update-catalog-item-details.ts | 4 + .../lib/model/update-fleet-details.ts | 8 + .../lib/model/update-onboarding-details.ts | 12 + .../update-platform-configuration-details.ts | 12 + .../lib/model/update-property-details.ts | 12 + .../model/update-runbook-version-details.ts | 4 +- .../lib/model/variable-group.ts | 47 + .../lib/model/variable-groups.ts | 53 + .../model/vcn-network-security-group-id.ts | 50 + .../lib/model/vcn-sec-list-id.ts | 43 + .../lib/model/vcn-variable-depends-on.ts | 39 + .../lib/model/vcn-variable.ts | 53 + lib/fleetappsmanagement/lib/model/version.ts | 2 + ...ume-backup-policies-variable-depends-on.ts | 39 + .../model/volume-backup-policies-variable.ts | 60 + .../lib/model/volume-id.ts | 43 + .../request/configure-catalog-item-request.ts | 51 + .../lib/request/export-runbook-request.ts | 51 + .../request/export-runbook-version-request.ts | 51 + .../find-runbook-export-dependency-request.ts | 37 + .../find-runbook-import-dependency-request.ts | 37 + ...talog-item-variables-definition-request.ts | 29 + .../lib/request/get-compliance-request.ts | 29 + .../lib/request/get-job-activity-request.ts | 5 + .../lib/request/get-runbook-export-request.ts | 33 + .../lib/request/get-runbook-import-request.ts | 33 + .../import-runbook-precheck-request.ts | 47 + .../lib/request/import-runbook-request.ts | 47 + .../request/import-runbook-version-request.ts | 47 + lib/fleetappsmanagement/lib/request/index.ts | 40 + .../lib/request/list-catalog-items-request.ts | 6 + .../lib/request/list-fleet-targets-request.ts | 4 + .../request/list-installed-patches-request.ts | 72 + .../request/list-inventory-records-request.ts | 5 + .../list-recommended-patches-request.ts | 82 + .../request/list-report-metadata-request.ts | 50 + .../list-runbook-export-statuses-request.ts | 52 + .../list-runbook-import-statuses-request.ts | 52 + .../lib/request/list-runbooks-request.ts | 8 +- .../list-scheduler-executions-request.ts | 10 + .../request/list-target-components-request.ts | 68 + .../request/list-target-properties-request.ts | 64 + .../lib/request/list-targets-request.ts | 5 + .../lib/request/report-request.ts | 65 + .../configure-catalog-item-response.ts | 46 + .../lib/response/export-runbook-response.ts | 29 + .../export-runbook-version-response.ts | 29 + ...find-runbook-export-dependency-response.ts | 39 + ...find-runbook-import-dependency-response.ts | 39 + ...alog-item-variables-definition-response.ts | 33 + .../lib/response/get-compliance-response.ts | 33 + .../response/get-runbook-export-response.ts | 33 + .../response/get-runbook-import-response.ts | 33 + .../import-runbook-precheck-response.ts | 29 + .../lib/response/import-runbook-response.ts | 29 + .../import-runbook-version-response.ts | 29 + lib/fleetappsmanagement/lib/response/index.ts | 40 + .../list-installed-patches-response.ts | 35 + .../list-recommended-patches-response.ts | 35 + .../response/list-report-metadata-response.ts | 35 + .../list-runbook-export-statuses-response.ts | 35 + .../list-runbook-import-statuses-response.ts | 35 + .../list-target-components-response.ts | 35 + .../list-target-properties-response.ts | 35 + .../lib/response/report-response.ts | 39 + lib/fleetappsmanagement/package.json | 2 +- lib/fleetsoftwareupdate/package.json | 2 +- lib/functions/package.json | 2 +- lib/fusionapps/package.json | 2 +- lib/generativeai/lib/client.ts | 478 ++++ lib/generativeai/lib/generativeai-waiter.ts | 19 + ...ange-imported-model-compartment-details.ts | 46 + .../create-dedicated-ai-cluster-details.ts | 26 + .../model/create-imported-model-details.ts | 101 + .../lib/model/dedicated-ai-cluster.ts | 19 + .../lib/model/hugging-face-model.ts | 79 + .../lib/model/imported-model-capability.ts | 47 + .../lib/model/imported-model-collection.ts | 64 + .../lib/model/imported-model-summary.ts | 143 ++ lib/generativeai/lib/model/imported-model.ts | 160 ++ lib/generativeai/lib/model/index.ts | 20 + .../lib/model/model-data-source.ts | 73 + .../lib/model/object-storage-object.ts | 74 + lib/generativeai/lib/model/operation-type.ts | 3 + .../model/update-imported-model-details.ts | 74 + ...ange-imported-model-compartment-request.ts | 54 + .../request/create-imported-model-request.ts | 42 + .../request/delete-imported-model-request.ts | 41 + .../lib/request/get-imported-model-request.ts | 33 + lib/generativeai/lib/request/index.ts | 12 + .../request/list-imported-models-request.ts | 84 + .../request/update-imported-model-request.ts | 45 + ...nge-imported-model-compartment-response.ts | 24 + .../create-imported-model-response.ts | 39 + .../delete-imported-model-response.ts | 30 + .../response/get-imported-model-response.ts | 33 + lib/generativeai/lib/response/index.ts | 12 + .../response/list-imported-models-response.ts | 34 + .../update-imported-model-response.ts | 39 + 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/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/iot/package.json | 2 +- lib/jms/package.json | 2 +- lib/jmsjavadownloads/package.json | 2 +- lib/jmsutils/package.json | 2 +- lib/keymanagement/package.json | 2 +- lib/licensemanager/package.json | 2 +- lib/limits/lib/client.ts | 15 +- .../lib/model/limit-definition-summary.ts | 7 +- lib/limits/lib/model/service-summary.ts | 2 +- .../get-resource-availability-request.ts | 7 +- .../request/list-limit-definitions-request.ts | 2 +- .../lib/request/list-limit-values-request.ts | 7 +- .../lib/request/list-services-request.ts | 2 +- lib/limits/package.json | 2 +- lib/loadbalancer/package.json | 2 +- lib/lockbox/package.json | 2 +- lib/loganalytics/package.json | 2 +- lib/logging/package.json | 2 +- lib/loggingingestion/package.json | 2 +- lib/loggingsearch/package.json | 2 +- lib/lustrefilestorage/package.json | 2 +- lib/managedkafka/package.json | 2 +- lib/managementagent/package.json | 2 +- lib/managementdashboard/package.json | 2 +- lib/marketplace/package.json | 2 +- lib/marketplaceprivateoffer/package.json | 2 +- lib/marketplacepublisher/package.json | 2 +- lib/mediaservices/package.json | 2 +- lib/mngdmac/package.json | 2 +- lib/modeldeployment/package.json | 2 +- lib/monitoring/package.json | 2 +- lib/multicloud/package.json | 2 +- lib/mysql/package.json | 2 +- lib/networkfirewall/package.json | 2 +- lib/networkloadbalancer/package.json | 2 +- lib/nosql/package.json | 2 +- lib/objectstorage/package.json | 2 +- lib/oce/package.json | 2 +- lib/ocicontrolcenter/package.json | 2 +- lib/ocvp/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/psa/package.json | 2 +- lib/psql/package.json | 2 +- lib/queue/package.json | 2 +- lib/recovery/package.json | 2 +- lib/redis/package.json | 2 +- lib/resourceanalytics/package.json | 2 +- lib/resourcemanager/package.json | 2 +- lib/resourcescheduler/package.json | 2 +- lib/resourcesearch/package.json | 2 +- lib/rover/package.json | 2 +- lib/sch/package.json | 2 +- lib/secrets/package.json | 2 +- lib/securityattribute/package.json | 2 +- lib/servicecatalog/package.json | 2 +- lib/servicemanagerproxy/package.json | 2 +- lib/stackmonitoring/package.json | 2 +- lib/streaming/package.json | 2 +- lib/tenantmanagercontrolplane/package.json | 2 +- lib/threatintelligence/package.json | 2 +- lib/usage/package.json | 2 +- lib/usageapi/package.json | 2 +- lib/vault/package.json | 2 +- lib/vbsinst/package.json | 2 +- lib/visualbuilder/package.json | 2 +- lib/vnmonitoring/package.json | 2 +- lib/vulnerabilityscanning/package.json | 2 +- lib/waa/package.json | 2 +- lib/waas/package.json | 2 +- lib/waf/package.json | 2 +- lib/wlms/package.json | 2 +- lib/workrequests/package.json | 2 +- lib/zpr/package.json | 2 +- package.json | 2 +- 533 files changed, 17824 insertions(+), 432 deletions(-) create mode 100644 lib/artifacts/lib/model/lookup-container-image-by-uri-details.ts create mode 100644 lib/artifacts/lib/request/lookup-container-image-by-uri-request.ts create mode 100644 lib/artifacts/lib/response/lookup-container-image-by-uri-response.ts create mode 100644 lib/core/lib/model/capacity-bin-preview.ts create mode 100644 lib/core/lib/model/capacity-config.ts create mode 100644 lib/core/lib/model/supported-capabilities.ts create mode 100644 lib/fleetappsmanagement/lib/model/apm-domain-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/array-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/association.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-container-db-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-container-db-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-data-base-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-data-base-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-database-version-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/autonomous-database-version-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/availability-domain-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/availability-domain-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/base-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/base-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/bool-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/boolean-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-item-variables-definition.ts create mode 100644 lib/fleetappsmanagement/lib/model/choice.ts create mode 100644 lib/fleetappsmanagement/lib/model/cloud-vm-cluster-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/column-metadata.ts create mode 100644 lib/fleetappsmanagement/lib/model/compartment-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/compliance.ts create mode 100644 lib/fleetappsmanagement/lib/model/configure-catalog-item-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/container-cluster-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/container-cluster-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/copyable-string-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/csv-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/data-base-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/data-base-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/database-cdb-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/database-data-guard-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/database-dataguard-association-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/database-db-node-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/database-exadata-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/datetime-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-home-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-home-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-home-version-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-home-version-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-system-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/db-system-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/dynamic-groups-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/dynamic-groups-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/enum-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/export-runbook-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/export-runbook-version-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/fault-domain-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/fault-domain-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-storage-export-set-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-storage-filesystem-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-storage-mount-target-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/filter.ts create mode 100644 lib/fleetappsmanagement/lib/model/find-runbook-export-dependency-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/find-runbook-import-dependency-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/groups-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/groups-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/identity-domain-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/identity-domain-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/image-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/image-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/import-runbook-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/import-runbook-precheck-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/import-runbook-precheck-required-value.ts create mode 100644 lib/fleetappsmanagement/lib/model/import-runbook-version-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/installed-patch-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/installed-patch-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-shape-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-shape-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/integer-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/json-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/key-value-property.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-key-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-key-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-secret-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-secret-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-vault-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/kms-vault-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/kubernetes-versions-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/kubernetes-versions-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/link-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/list-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/load-balancer-reserved-ips.ts create mode 100644 lib/fleetappsmanagement/lib/model/load-balancer-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/load-balancer-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-entity-types.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-log-entities-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-log-entities.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-log-group-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-log-group.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-sources-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/log-analytics-sources.ts create mode 100644 lib/fleetappsmanagement/lib/model/management-agent-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/management-agents.ts create mode 100644 lib/fleetappsmanagement/lib/model/map-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/mount-targets-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/mount-targets-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/multi-value-filter.ts create mode 100644 lib/fleetappsmanagement/lib/model/multiline-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/mysql-configuration-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/mysql-shape-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/nat-gateway-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/nat-gateway-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/network-load-balancer-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/nsg-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/nsg-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/number-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/number-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/object-storage-bucket-name.ts create mode 100644 lib/fleetappsmanagement/lib/model/ocid-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/ods-project-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/ods-project-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/order-clause.ts create mode 100644 lib/fleetappsmanagement/lib/model/output-group.ts create mode 100644 lib/fleetappsmanagement/lib/model/password-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/placeholder.ts create mode 100644 lib/fleetappsmanagement/lib/model/private-endpoint-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/private-endpoint-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/prompt.ts create mode 100644 lib/fleetappsmanagement/lib/model/recommended-patch-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/recommended-patch-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/region-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-filter.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-metadata-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-metadata-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/report-time-range.ts create mode 100644 lib/fleetappsmanagement/lib/model/required-value.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-export-dependency-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-export-status-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-export-status-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-export.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-as-runbook.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-as-version.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-as.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-dependency-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-dependency-finder-required-value.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-required-value.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-status-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import-status-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-import.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-transfer-dependency-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-transfer-dependency.ts create mode 100644 lib/fleetappsmanagement/lib/model/schedule-instance-target-run-on-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/schema-document.ts create mode 100644 lib/fleetappsmanagement/lib/model/service-gateway-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/service-gateway-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/single-value-filter.ts create mode 100644 lib/fleetappsmanagement/lib/model/ssh-public-key-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/stack-source.ts create mode 100644 lib/fleetappsmanagement/lib/model/string-output.ts create mode 100644 lib/fleetappsmanagement/lib/model/string-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/subnet-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/subnet-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/tag-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/tag-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/target-component-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/target-component-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/target-property-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/target-property-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/transfer-runbook-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/transfer-runbook-object-storage-bucket-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/transfer-runbook-par-url-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/variable-group.ts create mode 100644 lib/fleetappsmanagement/lib/model/variable-groups.ts create mode 100644 lib/fleetappsmanagement/lib/model/vcn-network-security-group-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/vcn-sec-list-id.ts create mode 100644 lib/fleetappsmanagement/lib/model/vcn-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/vcn-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/volume-backup-policies-variable-depends-on.ts create mode 100644 lib/fleetappsmanagement/lib/model/volume-backup-policies-variable.ts create mode 100644 lib/fleetappsmanagement/lib/model/volume-id.ts create mode 100644 lib/fleetappsmanagement/lib/request/configure-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/export-runbook-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/export-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/find-runbook-export-dependency-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/find-runbook-import-dependency-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-catalog-item-variables-definition-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-compliance-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-runbook-export-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-runbook-import-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/import-runbook-precheck-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/import-runbook-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/import-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-installed-patches-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-recommended-patches-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-report-metadata-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-runbook-export-statuses-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-runbook-import-statuses-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-target-components-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-target-properties-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/report-request.ts create mode 100644 lib/fleetappsmanagement/lib/response/configure-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/export-runbook-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/export-runbook-version-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/find-runbook-export-dependency-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/find-runbook-import-dependency-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-catalog-item-variables-definition-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-compliance-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-runbook-export-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-runbook-import-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/import-runbook-precheck-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/import-runbook-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/import-runbook-version-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-installed-patches-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-recommended-patches-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-report-metadata-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-runbook-export-statuses-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-runbook-import-statuses-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-target-components-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-target-properties-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/report-response.ts create mode 100644 lib/generativeai/lib/model/change-imported-model-compartment-details.ts create mode 100644 lib/generativeai/lib/model/create-imported-model-details.ts create mode 100644 lib/generativeai/lib/model/hugging-face-model.ts create mode 100644 lib/generativeai/lib/model/imported-model-capability.ts create mode 100644 lib/generativeai/lib/model/imported-model-collection.ts create mode 100644 lib/generativeai/lib/model/imported-model-summary.ts create mode 100644 lib/generativeai/lib/model/imported-model.ts create mode 100644 lib/generativeai/lib/model/model-data-source.ts create mode 100644 lib/generativeai/lib/model/object-storage-object.ts create mode 100644 lib/generativeai/lib/model/update-imported-model-details.ts create mode 100644 lib/generativeai/lib/request/change-imported-model-compartment-request.ts create mode 100644 lib/generativeai/lib/request/create-imported-model-request.ts create mode 100644 lib/generativeai/lib/request/delete-imported-model-request.ts create mode 100644 lib/generativeai/lib/request/get-imported-model-request.ts create mode 100644 lib/generativeai/lib/request/list-imported-models-request.ts create mode 100644 lib/generativeai/lib/request/update-imported-model-request.ts create mode 100644 lib/generativeai/lib/response/change-imported-model-compartment-response.ts create mode 100644 lib/generativeai/lib/response/create-imported-model-response.ts create mode 100644 lib/generativeai/lib/response/delete-imported-model-response.ts create mode 100644 lib/generativeai/lib/response/get-imported-model-response.ts create mode 100644 lib/generativeai/lib/response/list-imported-models-response.ts create mode 100644 lib/generativeai/lib/response/update-imported-model-response.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 62876a4439..5a112b48e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.121.1 - 2025-11-10 +### Added +- Support for image lookup by URI in OCI Registry in the Generic Artifacts service +- Support for allocating limits by partner clouds in the Limits service +- Support for additional parameters for filtering node pool options in the Kubernetes Engine service +- Support for configuration governance in provisioning through catalog items in the Fleet Application Management service +- Support for curated reports in the Fleet Application Management service +- Support for runbook import and export in the Fleet Application Management service +- Support for resource inventory with patch details in the Fleet Application Management service +- Support for multiple capacity bucket configurations in dedicated VM Hosts in the Compute service +- Support for project flash APIs in the Generative AI service + ## 2.121.0 - 2025-11-04 ### Added - Support for Data Intelligence Foundation service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 5f6924ee53..3ca0c7ca74 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.121.0", + "version": "2.121.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 b58ed0f0e0..ce538b5232 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 644990d8d4..873a2d6de3 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Ai Data Platform Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index a97824d5ae..32fb9863a7 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.121.0", + "version": "2.121.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 0b123fe3c0..60db4d2bce 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index a56d978f2a..084d6503be 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.121.0", + "version": "2.121.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 d70ef742c3..3dc343b286 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.121.0", + "version": "2.121.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 041f3a5fa5..17c145466d 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 15e41fa882..70e75667ae 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 8466389d55..926a7a5065 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 9329d6b766..d00a5e12c2 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.121.0", + "version": "2.121.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 8d2b14d4fe..cef51f27bd 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.121.0", + "version": "2.121.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 b7fc3e55f5..64667f32f3 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.121.0", + "version": "2.121.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 c7d8ffdf2d..69baaed847 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.121.0", + "version": "2.121.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 e63e3fa1b1..1da646dfe2 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.121.0", + "version": "2.121.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 b231fa0e05..0b751330a8 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.121.0", + "version": "2.121.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 f96ce71909..f84bbaa04a 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/index.ts b/lib/artifacts/index.ts index 382d32d6aa..ef5da621a5 100644 --- a/lib/artifacts/index.ts +++ b/lib/artifacts/index.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/artifacts-waiter.ts b/lib/artifacts/lib/artifacts-waiter.ts index c842881099..80a3dbf42f 100644 --- a/lib/artifacts/lib/artifacts-waiter.ts +++ b/lib/artifacts/lib/artifacts-waiter.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/client.ts b/lib/artifacts/lib/client.ts index af02af78ac..4d28ebff0d 100644 --- a/lib/artifacts/lib/client.ts +++ b/lib/artifacts/lib/client.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * @@ -1704,6 +1709,7 @@ export class ArtifactsClient { "repositoryName": listContainerImagesRequest.repositoryName, "version": listContainerImagesRequest.version, "lifecycleState": listContainerImagesRequest.lifecycleState, + "imageDigest": listContainerImagesRequest.imageDigest, "limit": listContainerImagesRequest.limit, "page": listContainerImagesRequest.page, "sortBy": listContainerImagesRequest.sortBy, @@ -2022,6 +2028,86 @@ export class ArtifactsClient { } } + /** + * Get container image metadata by URI. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param LookupContainerImageByUriRequest + * @return LookupContainerImageByUriResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/artifacts/LookupContainerImageByUri.ts.html |here} to see how to use LookupContainerImageByUri API. + */ + public async lookupContainerImageByUri( + lookupContainerImageByUriRequest: requests.LookupContainerImageByUriRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ArtifactsClient#lookupContainerImageByUri."); + const operationName = "lookupContainerImageByUri"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/registry/20160918/ContainerImage/LookupContainerImageByUri"; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": lookupContainerImageByUriRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + lookupContainerImageByUriRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/container/images/actions/lookupImageByUri", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + lookupContainerImageByUriRequest.lookupContainerImageByUriDetails, + "LookupContainerImageByUriDetails", + model.LookupContainerImageByUriDetails.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: "containerImage", + bodyModel: model.ContainerImage, + type: "model.ContainerImage", + 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; + } + } + /** * Remove version from container image. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. diff --git a/lib/artifacts/lib/model/change-container-repository-compartment-details.ts b/lib/artifacts/lib/model/change-container-repository-compartment-details.ts index 09cb4e42a2..68239656a9 100644 --- a/lib/artifacts/lib/model/change-container-repository-compartment-details.ts +++ b/lib/artifacts/lib/model/change-container-repository-compartment-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/change-repository-compartment-details.ts b/lib/artifacts/lib/model/change-repository-compartment-details.ts index 49e88a6462..15ea2cc950 100644 --- a/lib/artifacts/lib/model/change-repository-compartment-details.ts +++ b/lib/artifacts/lib/model/change-repository-compartment-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-configuration.ts b/lib/artifacts/lib/model/container-configuration.ts index ea907cc2c8..c3130643a7 100644 --- a/lib/artifacts/lib/model/container-configuration.ts +++ b/lib/artifacts/lib/model/container-configuration.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-collection.ts b/lib/artifacts/lib/model/container-image-collection.ts index 3721cdc57b..5aa237d395 100644 --- a/lib/artifacts/lib/model/container-image-collection.ts +++ b/lib/artifacts/lib/model/container-image-collection.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-layer.ts b/lib/artifacts/lib/model/container-image-layer.ts index 24d3350604..ab520f2b9d 100644 --- a/lib/artifacts/lib/model/container-image-layer.ts +++ b/lib/artifacts/lib/model/container-image-layer.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-signature-collection.ts b/lib/artifacts/lib/model/container-image-signature-collection.ts index 3a5aa2d142..ce5a178f77 100644 --- a/lib/artifacts/lib/model/container-image-signature-collection.ts +++ b/lib/artifacts/lib/model/container-image-signature-collection.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-signature-summary.ts b/lib/artifacts/lib/model/container-image-signature-summary.ts index 74cc4f3558..74cf3aab6a 100644 --- a/lib/artifacts/lib/model/container-image-signature-summary.ts +++ b/lib/artifacts/lib/model/container-image-signature-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-signature.ts b/lib/artifacts/lib/model/container-image-signature.ts index 58d242d1c1..b2c4fe9f8e 100644 --- a/lib/artifacts/lib/model/container-image-signature.ts +++ b/lib/artifacts/lib/model/container-image-signature.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image-summary.ts b/lib/artifacts/lib/model/container-image-summary.ts index fa20052498..5cd085d56a 100644 --- a/lib/artifacts/lib/model/container-image-summary.ts +++ b/lib/artifacts/lib/model/container-image-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-image.ts b/lib/artifacts/lib/model/container-image.ts index fb6e359cde..9486ce084f 100644 --- a/lib/artifacts/lib/model/container-image.ts +++ b/lib/artifacts/lib/model/container-image.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-repository-collection.ts b/lib/artifacts/lib/model/container-repository-collection.ts index d53290b393..5f49ebc456 100644 --- a/lib/artifacts/lib/model/container-repository-collection.ts +++ b/lib/artifacts/lib/model/container-repository-collection.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-repository-readme.ts b/lib/artifacts/lib/model/container-repository-readme.ts index d7c7e2cda7..697c5aeaf3 100644 --- a/lib/artifacts/lib/model/container-repository-readme.ts +++ b/lib/artifacts/lib/model/container-repository-readme.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-repository-summary.ts b/lib/artifacts/lib/model/container-repository-summary.ts index f0870cb4d0..3985dbd44d 100644 --- a/lib/artifacts/lib/model/container-repository-summary.ts +++ b/lib/artifacts/lib/model/container-repository-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-repository.ts b/lib/artifacts/lib/model/container-repository.ts index 66541aa544..cf4f900ba1 100644 --- a/lib/artifacts/lib/model/container-repository.ts +++ b/lib/artifacts/lib/model/container-repository.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/container-version.ts b/lib/artifacts/lib/model/container-version.ts index 1a2afa28ef..b22512cf2f 100644 --- a/lib/artifacts/lib/model/container-version.ts +++ b/lib/artifacts/lib/model/container-version.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/create-container-image-signature-details.ts b/lib/artifacts/lib/model/create-container-image-signature-details.ts index 5353473be1..7228fa8e56 100644 --- a/lib/artifacts/lib/model/create-container-image-signature-details.ts +++ b/lib/artifacts/lib/model/create-container-image-signature-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/create-container-repository-details.ts b/lib/artifacts/lib/model/create-container-repository-details.ts index 539b489987..b526c857ec 100644 --- a/lib/artifacts/lib/model/create-container-repository-details.ts +++ b/lib/artifacts/lib/model/create-container-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/create-generic-repository-details.ts b/lib/artifacts/lib/model/create-generic-repository-details.ts index 8d4e7457dd..69fafd8037 100644 --- a/lib/artifacts/lib/model/create-generic-repository-details.ts +++ b/lib/artifacts/lib/model/create-generic-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/create-repository-details.ts b/lib/artifacts/lib/model/create-repository-details.ts index 6a9f16e410..9fb94ba281 100644 --- a/lib/artifacts/lib/model/create-repository-details.ts +++ b/lib/artifacts/lib/model/create-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/generic-artifact-collection.ts b/lib/artifacts/lib/model/generic-artifact-collection.ts index 2e38309d13..f821674ca0 100644 --- a/lib/artifacts/lib/model/generic-artifact-collection.ts +++ b/lib/artifacts/lib/model/generic-artifact-collection.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/generic-artifact-summary.ts b/lib/artifacts/lib/model/generic-artifact-summary.ts index f2235e99b9..8b37420108 100644 --- a/lib/artifacts/lib/model/generic-artifact-summary.ts +++ b/lib/artifacts/lib/model/generic-artifact-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * @@ -45,7 +50,7 @@ Example: {@code project01/my-web-app/artifact-abc:1.0.0} /** * A user-defined path to describe the location of an artifact. Slashes do not create a directory structure, but you can use slashes to organize the repository. An artifact path does not include an artifact version. *

-Example: {@code project01/my-web-app/artifact-abc} +Example: {@code project01/my-web-app/artifact-abc} * */ "artifactPath": string; diff --git a/lib/artifacts/lib/model/generic-artifact.ts b/lib/artifacts/lib/model/generic-artifact.ts index 9853279f54..96d5fd8daa 100644 --- a/lib/artifacts/lib/model/generic-artifact.ts +++ b/lib/artifacts/lib/model/generic-artifact.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/generic-repository-summary.ts b/lib/artifacts/lib/model/generic-repository-summary.ts index 8959e56190..80a64660d5 100644 --- a/lib/artifacts/lib/model/generic-repository-summary.ts +++ b/lib/artifacts/lib/model/generic-repository-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/generic-repository.ts b/lib/artifacts/lib/model/generic-repository.ts index f49421a1fc..e5818f2d10 100644 --- a/lib/artifacts/lib/model/generic-repository.ts +++ b/lib/artifacts/lib/model/generic-repository.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/index.ts b/lib/artifacts/lib/model/index.ts index 15f938f4bd..bdcb8e3bf4 100644 --- a/lib/artifacts/lib/model/index.ts +++ b/lib/artifacts/lib/model/index.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * @@ -55,6 +60,8 @@ import * as GenericArtifactCollection from "./generic-artifact-collection"; export import GenericArtifactCollection = GenericArtifactCollection.GenericArtifactCollection; import * as GenericArtifactSummary from "./generic-artifact-summary"; export import GenericArtifactSummary = GenericArtifactSummary.GenericArtifactSummary; +import * as LookupContainerImageByUriDetails from "./lookup-container-image-by-uri-details"; +export import LookupContainerImageByUriDetails = LookupContainerImageByUriDetails.LookupContainerImageByUriDetails; import * as RemoveContainerVersionDetails from "./remove-container-version-details"; export import RemoveContainerVersionDetails = RemoveContainerVersionDetails.RemoveContainerVersionDetails; import * as Repository from "./repository"; diff --git a/lib/artifacts/lib/model/lookup-container-image-by-uri-details.ts b/lib/artifacts/lib/model/lookup-container-image-by-uri-details.ts new file mode 100644 index 0000000000..7bbb51b0c3 --- /dev/null +++ b/lib/artifacts/lib/model/lookup-container-image-by-uri-details.ts @@ -0,0 +1,48 @@ +/** + * Artifacts and Container Images API + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for fetching a container image by its URI. + */ +export interface LookupContainerImageByUriDetails { + /** + * The container image URI starting with the namespace. + * Example: namespace/reponame:version + * Example: namespace/reponame@sha256:50d858e0985ecc7f60418aaf0cc5ab587f42c2570a884095a9e8ccacd0f6545c + * + */ + "imageUri": string; +} + +export namespace LookupContainerImageByUriDetails { + export function getJsonObj(obj: LookupContainerImageByUriDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LookupContainerImageByUriDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/artifacts/lib/model/remove-container-version-details.ts b/lib/artifacts/lib/model/remove-container-version-details.ts index 1088f3d0f0..a3446ae831 100644 --- a/lib/artifacts/lib/model/remove-container-version-details.ts +++ b/lib/artifacts/lib/model/remove-container-version-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/repository-collection.ts b/lib/artifacts/lib/model/repository-collection.ts index 05c3c651ae..753f89a9ef 100644 --- a/lib/artifacts/lib/model/repository-collection.ts +++ b/lib/artifacts/lib/model/repository-collection.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/repository-summary.ts b/lib/artifacts/lib/model/repository-summary.ts index b8abd0e266..e9dc6fda2a 100644 --- a/lib/artifacts/lib/model/repository-summary.ts +++ b/lib/artifacts/lib/model/repository-summary.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/repository.ts b/lib/artifacts/lib/model/repository.ts index 48ff2174dd..9b48f5b3e7 100644 --- a/lib/artifacts/lib/model/repository.ts +++ b/lib/artifacts/lib/model/repository.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/restore-container-image-details.ts b/lib/artifacts/lib/model/restore-container-image-details.ts index 5f810f100c..ba725ad9a9 100644 --- a/lib/artifacts/lib/model/restore-container-image-details.ts +++ b/lib/artifacts/lib/model/restore-container-image-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-container-configuration-details.ts b/lib/artifacts/lib/model/update-container-configuration-details.ts index f06b70a5df..5594c0452a 100644 --- a/lib/artifacts/lib/model/update-container-configuration-details.ts +++ b/lib/artifacts/lib/model/update-container-configuration-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-container-image-details.ts b/lib/artifacts/lib/model/update-container-image-details.ts index 0dc6b05ce3..497e3c3cf1 100644 --- a/lib/artifacts/lib/model/update-container-image-details.ts +++ b/lib/artifacts/lib/model/update-container-image-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-container-image-signature-details.ts b/lib/artifacts/lib/model/update-container-image-signature-details.ts index ef565f21c1..525bd30820 100644 --- a/lib/artifacts/lib/model/update-container-image-signature-details.ts +++ b/lib/artifacts/lib/model/update-container-image-signature-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-container-repository-details.ts b/lib/artifacts/lib/model/update-container-repository-details.ts index cf634f9561..5968de5b9f 100644 --- a/lib/artifacts/lib/model/update-container-repository-details.ts +++ b/lib/artifacts/lib/model/update-container-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-generic-artifact-by-path-details.ts b/lib/artifacts/lib/model/update-generic-artifact-by-path-details.ts index 0e5f2182dc..9fd1fa385b 100644 --- a/lib/artifacts/lib/model/update-generic-artifact-by-path-details.ts +++ b/lib/artifacts/lib/model/update-generic-artifact-by-path-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-generic-artifact-details.ts b/lib/artifacts/lib/model/update-generic-artifact-details.ts index d70d569d84..612568080c 100644 --- a/lib/artifacts/lib/model/update-generic-artifact-details.ts +++ b/lib/artifacts/lib/model/update-generic-artifact-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-generic-repository-details.ts b/lib/artifacts/lib/model/update-generic-repository-details.ts index cdf2b029d6..d61671883f 100644 --- a/lib/artifacts/lib/model/update-generic-repository-details.ts +++ b/lib/artifacts/lib/model/update-generic-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/model/update-repository-details.ts b/lib/artifacts/lib/model/update-repository-details.ts index a41e020216..41c7d7257b 100644 --- a/lib/artifacts/lib/model/update-repository-details.ts +++ b/lib/artifacts/lib/model/update-repository-details.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * diff --git a/lib/artifacts/lib/request/index.ts b/lib/artifacts/lib/request/index.ts index 00db6226cf..32fc89c5b0 100644 --- a/lib/artifacts/lib/request/index.ts +++ b/lib/artifacts/lib/request/index.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * @@ -59,6 +64,8 @@ import * as ListGenericArtifactsRequest from "./list-generic-artifacts-request"; export import ListGenericArtifactsRequest = ListGenericArtifactsRequest.ListGenericArtifactsRequest; import * as ListRepositoriesRequest from "./list-repositories-request"; export import ListRepositoriesRequest = ListRepositoriesRequest.ListRepositoriesRequest; +import * as LookupContainerImageByUriRequest from "./lookup-container-image-by-uri-request"; +export import LookupContainerImageByUriRequest = LookupContainerImageByUriRequest.LookupContainerImageByUriRequest; import * as RemoveContainerVersionRequest from "./remove-container-version-request"; export import RemoveContainerVersionRequest = RemoveContainerVersionRequest.RemoveContainerVersionRequest; import * as RestoreContainerImageRequest from "./restore-container-image-request"; diff --git a/lib/artifacts/lib/request/list-container-images-request.ts b/lib/artifacts/lib/request/list-container-images-request.ts index 610827e293..c391c05894 100644 --- a/lib/artifacts/lib/request/list-container-images-request.ts +++ b/lib/artifacts/lib/request/list-container-images-request.ts @@ -71,6 +71,13 @@ Example: {@code foo} or {@code foo*} */ "lifecycleState"?: string; /** + * The digest of the container image. +*

+Example: {@code sha256:e7d38b3517548a1c71e41bffe9c8ae6d6d29546ce46bf62159837aad072c90aa} +* + */ + "imageDigest"?: 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). diff --git a/lib/artifacts/lib/request/lookup-container-image-by-uri-request.ts b/lib/artifacts/lib/request/lookup-container-image-by-uri-request.ts new file mode 100644 index 0000000000..623ce0322b --- /dev/null +++ b/lib/artifacts/lib/request/lookup-container-image-by-uri-request.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/artifacts/LookupContainerImageByUri.ts.html |here} to see how to use LookupContainerImageByUriRequest. + */ +export interface LookupContainerImageByUriRequest extends common.BaseRequest { + /** + * Get container image metadata by URI. + */ + "lookupContainerImageByUriDetails": model.LookupContainerImageByUriDetails; + /** + * Unique 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/artifacts/lib/response/index.ts b/lib/artifacts/lib/response/index.ts index 0250b7108e..efa81ef333 100644 --- a/lib/artifacts/lib/response/index.ts +++ b/lib/artifacts/lib/response/index.ts @@ -1,7 +1,12 @@ /** * Artifacts and Container Images API - * API covering the Artifacts and [Registry](https://docs.oracle.com/iaas/Content/Registry/Concepts/registryoverview.htm) services. -Use this API to manage resources such as generic artifacts and container images. + * Use the Artifacts and Container Images API to manage container images and non-container generic artifacts. + +- For container images such as Docker images, use the {@link ContainerImage} resource. Save the images in a {@link ContainerRepository}. + +- For non-container generic artifacts or blobs, use the {@link GenericArtifact} resource. Save the artifacts in an {@link Repository}. +- To upload and download non-container generic artifacts, instead of the Artifacts and Container Images API, use the Generic Artifacts Content API. +For more information, see the user guides for [Container Registry](https://docs.oracle.com/iaas/Content/Registry/home.htm) and [Artifact Registry](https://docs.oracle.com/iaas/Content/artifacts/home.htm). * OpenAPI spec version: 20160918 * @@ -59,6 +64,8 @@ import * as ListGenericArtifactsResponse from "./list-generic-artifacts-response export import ListGenericArtifactsResponse = ListGenericArtifactsResponse.ListGenericArtifactsResponse; import * as ListRepositoriesResponse from "./list-repositories-response"; export import ListRepositoriesResponse = ListRepositoriesResponse.ListRepositoriesResponse; +import * as LookupContainerImageByUriResponse from "./lookup-container-image-by-uri-response"; +export import LookupContainerImageByUriResponse = LookupContainerImageByUriResponse.LookupContainerImageByUriResponse; import * as RemoveContainerVersionResponse from "./remove-container-version-response"; export import RemoveContainerVersionResponse = RemoveContainerVersionResponse.RemoveContainerVersionResponse; import * as RestoreContainerImageResponse from "./restore-container-image-response"; diff --git a/lib/artifacts/lib/response/lookup-container-image-by-uri-response.ts b/lib/artifacts/lib/response/lookup-container-image-by-uri-response.ts new file mode 100644 index 0000000000..29482adec9 --- /dev/null +++ b/lib/artifacts/lib/response/lookup-container-image-by-uri-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface LookupContainerImageByUriResponse { + /** + * 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.ContainerImage instance. + */ + "containerImage": model.ContainerImage; +} diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index d414020e7d..d06f2085b0 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 52b4cf079b..83d6486ef7 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index d728f07d37..290db768ff 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 7b02a8ab45..d87791f74f 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 7348d64bb3..49c0c17efb 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index f1cbddcef7..ff381994e2 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 8ca4816d13..33aaee291f 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 8603182022..67e4832efd 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.121.0", + "version": "2.121.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 66934f6e8d..5c3690b45b 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index e6166f77c9..9337d3d945 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.121.0", + "version": "2.121.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 2e9fc13426..bcd817dd05 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index d867a47563..d33d933d75 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.121.0", + "version": "2.121.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 32ec6201b6..788769a9b7 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.121.0", + "version": "2.121.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 58f9668d57..e522e64f88 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.121.0", + "version": "2.121.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 c85b5ee974..607df8aaf8 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.121.0", + "version": "2.121.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 911eba82ee..4bc48be64b 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index fd54eefb0e..e5d7abfcb5 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.121.0", + "version": "2.121.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 29a33a08c6..5f726da596 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/lib/client.ts b/lib/containerengine/lib/client.ts index 5e1b97779d..52bd051fe1 100644 --- a/lib/containerengine/lib/client.ts +++ b/lib/containerengine/lib/client.ts @@ -1543,7 +1543,8 @@ export class ContainerEngineClient { }; const queryParams = { - "compartmentId": getClusterOptionsRequest.compartmentId + "compartmentId": getClusterOptionsRequest.compartmentId, + "shouldListAllPatchVersions": getClusterOptionsRequest.shouldListAllPatchVersions }; let headerParams = { @@ -1767,7 +1768,11 @@ export class ContainerEngineClient { }; const queryParams = { - "compartmentId": getNodePoolOptionsRequest.compartmentId + "compartmentId": getNodePoolOptionsRequest.compartmentId, + "shouldListAllPatchVersions": getNodePoolOptionsRequest.shouldListAllPatchVersions, + "nodePoolOsType": getNodePoolOptionsRequest.nodePoolOsType, + "nodePoolOsArch": getNodePoolOptionsRequest.nodePoolOsArch, + "nodePoolK8sVersion": getNodePoolOptionsRequest.nodePoolK8sVersion }; let headerParams = { diff --git a/lib/containerengine/lib/model/oci-vcn-ip-native-node-pool-pod-network-option-details.ts b/lib/containerengine/lib/model/oci-vcn-ip-native-node-pool-pod-network-option-details.ts index af0565ff73..4151cb21f6 100644 --- a/lib/containerengine/lib/model/oci-vcn-ip-native-node-pool-pod-network-option-details.ts +++ b/lib/containerengine/lib/model/oci-vcn-ip-native-node-pool-pod-network-option-details.ts @@ -36,7 +36,7 @@ export interface OciVcnIpNativeNodePoolPodNetworkOptionDetails * The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs * */ - "podSubnetIds": Array; + "podSubnetIds"?: Array; "cniType": string; } diff --git a/lib/containerengine/lib/request/get-cluster-options-request.ts b/lib/containerengine/lib/request/get-cluster-options-request.ts index 312e395dcb..3318e9f03c 100644 --- a/lib/containerengine/lib/request/get-cluster-options-request.ts +++ b/lib/containerengine/lib/request/get-cluster-options-request.ts @@ -26,6 +26,10 @@ export interface GetClusterOptionsRequest extends common.BaseRequest { * The OCID of the compartment. */ "compartmentId"?: string; + /** + * Option to show all kubernetes patch versions + */ + "shouldListAllPatchVersions"?: boolean; /** * Unique Oracle-assigned identifier for the request. If you need to contact * Oracle about a particular request, please provide the request ID. diff --git a/lib/containerengine/lib/request/get-node-pool-options-request.ts b/lib/containerengine/lib/request/get-node-pool-options-request.ts index 511f00b084..3d1add7ead 100644 --- a/lib/containerengine/lib/request/get-node-pool-options-request.ts +++ b/lib/containerengine/lib/request/get-node-pool-options-request.ts @@ -26,6 +26,22 @@ export interface GetNodePoolOptionsRequest extends common.BaseRequest { * The OCID of the compartment. */ "compartmentId"?: string; + /** + * Option to show all kubernetes patch versions + */ + "shouldListAllPatchVersions"?: boolean; + /** + * Filter node pool options by OS type. + */ + "nodePoolOsType"?: GetNodePoolOptionsRequest.NodePoolOsType; + /** + * Filter node pool options by OS architecture. + */ + "nodePoolOsArch"?: GetNodePoolOptionsRequest.NodePoolOsArch; + /** + * Filter node pool options by Kubernetes version. + */ + "nodePoolK8sVersion"?: string; /** * Unique Oracle-assigned identifier for the request. If you need to contact * Oracle about a particular request, please provide the request ID. @@ -33,3 +49,16 @@ export interface GetNodePoolOptionsRequest extends common.BaseRequest { */ "opcRequestId"?: string; } + +export namespace GetNodePoolOptionsRequest { + export enum NodePoolOsType { + Ol7 = "OL7", + Ol8 = "OL8", + Ubuntu = "UBUNTU" + } + + export enum NodePoolOsArch { + X8664 = "X86_64", + Aarch64 = "AARCH64" + } +} diff --git a/lib/containerengine/lib/request/list-addon-options-request.ts b/lib/containerengine/lib/request/list-addon-options-request.ts index 254d06f168..d47cccfc95 100644 --- a/lib/containerengine/lib/request/list-addon-options-request.ts +++ b/lib/containerengine/lib/request/list-addon-options-request.ts @@ -54,7 +54,9 @@ export interface ListAddonOptionsRequest extends common.BaseRequest { */ "sortBy"?: ListAddonOptionsRequest.SortBy; /** - * Whether to show all add-on versions + * Specifies whether all add-on versions should be displayed. The default value is false. If set to true, the API will return all available add-on versions, including deprecated versions and detailed build numbers. + * Please note that the use of deprecated versions, as well as the specification of a particular build of a supported version, is not recommended for standard operations. + * */ "shouldShowAllVersions"?: boolean; } diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index 5450e04512..b31f137001 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index bfffc8b192..1c4b080991 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/lib/client.ts b/lib/core/lib/client.ts index c2051eed82..11a1029b4e 100644 --- a/lib/core/lib/client.ts +++ b/lib/core/lib/client.ts @@ -5548,7 +5548,9 @@ For more information, see [Volume Groups](https://docs.oracle.com/iaas/Content/B let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVolumeKmsKeyRequest.ifMatch + "if-match": updateVolumeKmsKeyRequest.ifMatch, + "opc-parent-resource-principal-token-url": + updateVolumeKmsKeyRequest.opcParentResourcePrincipalTokenUrl }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -14334,6 +14336,7 @@ You can limit the list by specifying a compute capacity reservation display name const queryParams = { "availabilityDomain": listDedicatedVmHostInstancesRequest.availabilityDomain, "compartmentId": listDedicatedVmHostInstancesRequest.compartmentId, + "isMemoryEncryptionEnabled": listDedicatedVmHostInstancesRequest.isMemoryEncryptionEnabled, "limit": listDedicatedVmHostInstancesRequest.limit, "page": listDedicatedVmHostInstancesRequest.page, "sortBy": listDedicatedVmHostInstancesRequest.sortBy, @@ -14615,7 +14618,8 @@ You can limit the list by specifying a dedicated virtual machine host display na "remainingMemoryInGBsGreaterThanOrEqualTo": listDedicatedVmHostsRequest.remainingMemoryInGBsGreaterThanOrEqualTo, "remainingOcpusGreaterThanOrEqualTo": - listDedicatedVmHostsRequest.remainingOcpusGreaterThanOrEqualTo + listDedicatedVmHostsRequest.remainingOcpusGreaterThanOrEqualTo, + "isMemoryEncryptionEnabled": listDedicatedVmHostsRequest.isMemoryEncryptionEnabled }; let headerParams = { diff --git a/lib/core/lib/model/capacity-bin-preview.ts b/lib/core/lib/model/capacity-bin-preview.ts new file mode 100644 index 0000000000..a4c0cae3d0 --- /dev/null +++ b/lib/core/lib/model/capacity-bin-preview.ts @@ -0,0 +1,62 @@ +/** + * Core Services API + * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +compute instances, and block storage volumes. For more information, see the console +documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +The required permissions are documented in the +[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Total CPU and memory capacity for each capacity bucket. + * + */ +export interface CapacityBinPreview { + /** + * Zero-based index for the corresponding capacity bucket. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "capacityIndex": number; + /** + * The total OCPUs of the capacity bucket. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalOcpus": number; + /** + * The total memory of the capacity bucket, in GBs. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalMemoryInGBs": number; + /** + * List of VMI shapes supported on each capacity bucket. + * + */ + "supportedShapes": Array; +} + +export namespace CapacityBinPreview { + export function getJsonObj(obj: CapacityBinPreview): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CapacityBinPreview): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/capacity-bin.ts b/lib/core/lib/model/capacity-bin.ts index 90095d6c50..325e8408aa 100644 --- a/lib/core/lib/model/capacity-bin.ts +++ b/lib/core/lib/model/capacity-bin.ts @@ -22,7 +22,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Total and remaining CPU & memory capacity for each capacity bucket. + * Total and remaining CPU and memory capacity for each capacity bucket. * */ export interface CapacityBin { diff --git a/lib/core/lib/model/capacity-config.ts b/lib/core/lib/model/capacity-config.ts new file mode 100644 index 0000000000..7601ae5678 --- /dev/null +++ b/lib/core/lib/model/capacity-config.ts @@ -0,0 +1,84 @@ +/** + * Core Services API + * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +compute instances, and block storage volumes. For more information, see the console +documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +The required permissions are documented in the +[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Specifies the capacity configs that the Dedicated Virtual Machine Host (DVMH) Shape could support. + * + */ +export interface CapacityConfig { + /** + * The name of each capacity config. + * + */ + "capacityConfigName"?: string; + "supportedCapabilities"?: model.SupportedCapabilities; + /** + * Whether this capacity config is the default config. + * + */ + "isDefault"?: boolean; + /** + * A list of total CPU and memory per capacity bucket. + * + */ + "capacityBins"?: Array; +} + +export namespace CapacityConfig { + export function getJsonObj(obj: CapacityConfig): object { + const jsonObj = { + ...obj, + ...{ + "supportedCapabilities": obj.supportedCapabilities + ? model.SupportedCapabilities.getJsonObj(obj.supportedCapabilities) + : undefined, + + "capacityBins": obj.capacityBins + ? obj.capacityBins.map(item => { + return model.CapacityBinPreview.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CapacityConfig): object { + const jsonObj = { + ...obj, + ...{ + "supportedCapabilities": obj.supportedCapabilities + ? model.SupportedCapabilities.getDeserializedJsonObj(obj.supportedCapabilities) + : undefined, + + "capacityBins": obj.capacityBins + ? obj.capacityBins.map(item => { + return model.CapacityBinPreview.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/create-dedicated-vm-host-details.ts b/lib/core/lib/model/create-dedicated-vm-host-details.ts index 61ed5e9191..104456dd66 100644 --- a/lib/core/lib/model/create-dedicated-vm-host-details.ts +++ b/lib/core/lib/model/create-dedicated-vm-host-details.ts @@ -81,6 +81,17 @@ Example: {@code {\"Department\": \"Finance\"}} "placementConstraintDetails"?: | model.HostGroupPlacementConstraintDetails | model.ComputeBareMetalHostPlacementConstraintDetails; + /** + * The capacity configuration selected to be configured for the Dedicated Virtual Machine host. + * Run {@link #listDedicatedVmHostShapes(ListDedicatedVmHostShapesRequest) listDedicatedVmHostShapes} API first to see the capacity configuration options. + * + */ + "capacityConfig"?: string; + /** + * Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If {@code true}, only Confidential VMs can be launched. If {@code false}, Confidential VMs cannot be launched. + * + */ + "isMemoryEncryptionEnabled"?: boolean; } export namespace CreateDedicatedVmHostDetails { diff --git a/lib/core/lib/model/dedicated-vm-host-instance-shape-summary.ts b/lib/core/lib/model/dedicated-vm-host-instance-shape-summary.ts index f27114194b..f36a53f42a 100644 --- a/lib/core/lib/model/dedicated-vm-host-instance-shape-summary.ts +++ b/lib/core/lib/model/dedicated-vm-host-instance-shape-summary.ts @@ -36,16 +36,31 @@ export interface DedicatedVmHostInstanceShapeSummary { * */ "instanceShapeName": string; + "supportedCapabilities"?: model.SupportedCapabilities; } export namespace DedicatedVmHostInstanceShapeSummary { export function getJsonObj(obj: DedicatedVmHostInstanceShapeSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "supportedCapabilities": obj.supportedCapabilities + ? model.SupportedCapabilities.getJsonObj(obj.supportedCapabilities) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: DedicatedVmHostInstanceShapeSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "supportedCapabilities": obj.supportedCapabilities + ? model.SupportedCapabilities.getDeserializedJsonObj(obj.supportedCapabilities) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/dedicated-vm-host-instance-summary.ts b/lib/core/lib/model/dedicated-vm-host-instance-summary.ts index 4c103227fe..f80d38292f 100644 --- a/lib/core/lib/model/dedicated-vm-host-instance-summary.ts +++ b/lib/core/lib/model/dedicated-vm-host-instance-summary.ts @@ -43,6 +43,11 @@ Example: {@code Uocm:PHX-AD-1} * */ "instanceId": string; + /** + * Specifies whether the VM instance is confidential. + * + */ + "isMemoryEncryptionEnabled"?: boolean; /** * The shape of the VM instance. * diff --git a/lib/core/lib/model/dedicated-vm-host-shape-summary.ts b/lib/core/lib/model/dedicated-vm-host-shape-summary.ts index 0cb7596a76..b69bcee931 100644 --- a/lib/core/lib/model/dedicated-vm-host-shape-summary.ts +++ b/lib/core/lib/model/dedicated-vm-host-shape-summary.ts @@ -33,20 +33,43 @@ export interface DedicatedVmHostShapeSummary { "availabilityDomain"?: string; /** * The name of the dedicated VM host shape. You can enumerate all available shapes by calling - * {@link DedicatedVmHostShapes}. + * {@link #listDedicatedVmHostShapes(ListDedicatedVmHostShapesRequest) listDedicatedVmHostShapes}. * */ "dedicatedVmHostShape": string; + /** + * A list of capacity configs that are supported by this dedicated VM host shape. + * + */ + "capacityConfigs"?: Array; } export namespace DedicatedVmHostShapeSummary { export function getJsonObj(obj: DedicatedVmHostShapeSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "capacityConfigs": obj.capacityConfigs + ? obj.capacityConfigs.map(item => { + return model.CapacityConfig.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: DedicatedVmHostShapeSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "capacityConfigs": obj.capacityConfigs + ? obj.capacityConfigs.map(item => { + return model.CapacityConfig.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/dedicated-vm-host-summary.ts b/lib/core/lib/model/dedicated-vm-host-summary.ts index dce1186614..3cfa96565d 100644 --- a/lib/core/lib/model/dedicated-vm-host-summary.ts +++ b/lib/core/lib/model/dedicated-vm-host-summary.ts @@ -67,6 +67,11 @@ Example: {@code FAULT-DOMAIN-1} * */ "id": string; + /** + * Specifies if the Dedicated Virtual Machine Host is restricted to running only Confidential VMs. If {@code true}, only Confidential VMs can be launched. If {@code false}, Confidential VMs cannot be launched. + * + */ + "isMemoryEncryptionEnabled"?: boolean; /** * The current state of the dedicated VM host. * diff --git a/lib/core/lib/model/dedicated-vm-host.ts b/lib/core/lib/model/dedicated-vm-host.ts index 458e5cf403..422a83bf76 100644 --- a/lib/core/lib/model/dedicated-vm-host.ts +++ b/lib/core/lib/model/dedicated-vm-host.ts @@ -86,6 +86,17 @@ Example: {@code {\"Department\": \"Finance\"}} * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the dedicated VM host. */ "id": string; + /** + * The capacity configuration selected to be configured for the Dedicated Virtual Machine host. + * Run {@link #listDedicatedVmHostShapes(ListDedicatedVmHostShapesRequest) listDedicatedVmHostShapes} API to see details of this capacity configuration. + * + */ + "capacityConfig"?: string; + /** + * Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Confidential VMs. If {@code true}, only Confidential VMs can be launched. If {@code false}, Confidential VMs cannot be launched. + * + */ + "isMemoryEncryptionEnabled"?: boolean; /** * The current state of the dedicated VM host. * @@ -119,7 +130,7 @@ Example: {@code 2016-08-25T21:10:29.600Z} */ "remainingMemoryInGBs"?: number; /** - * A list of total and remaining CPU & memory per capacity bucket. + * A list of total and remaining CPU and memory per capacity bucket. * */ "capacityBins"?: Array; diff --git a/lib/core/lib/model/index.ts b/lib/core/lib/model/index.ts index c7eba5c8fb..f08a727091 100644 --- a/lib/core/lib/model/index.ts +++ b/lib/core/lib/model/index.ts @@ -134,6 +134,10 @@ import * as Byoipv6CidrDetails from "./byoipv6-cidr-details"; export import Byoipv6CidrDetails = Byoipv6CidrDetails.Byoipv6CidrDetails; import * as CapacityBin from "./capacity-bin"; export import CapacityBin = CapacityBin.CapacityBin; +import * as CapacityBinPreview from "./capacity-bin-preview"; +export import CapacityBinPreview = CapacityBinPreview.CapacityBinPreview; +import * as CapacityConfig from "./capacity-config"; +export import CapacityConfig = CapacityConfig.CapacityConfig; import * as CapacityReportInstanceShapeConfig from "./capacity-report-instance-shape-config"; export import CapacityReportInstanceShapeConfig = CapacityReportInstanceShapeConfig.CapacityReportInstanceShapeConfig; import * as CapacityReportShapeAvailability from "./capacity-report-shape-availability"; @@ -908,6 +912,8 @@ import * as ShapeVirtualInstructionsEnabledPlatformOptions from "./shape-virtual export import ShapeVirtualInstructionsEnabledPlatformOptions = ShapeVirtualInstructionsEnabledPlatformOptions.ShapeVirtualInstructionsEnabledPlatformOptions; import * as Subnet from "./subnet"; export import Subnet = Subnet.Subnet; +import * as SupportedCapabilities from "./supported-capabilities"; +export import SupportedCapabilities = SupportedCapabilities.SupportedCapabilities; import * as TcpOptions from "./tcp-options"; export import TcpOptions = TcpOptions.TcpOptions; import * as TerminationProceedInstancePoolInstanceDetails from "./termination-proceed-instance-pool-instance-details"; diff --git a/lib/core/lib/model/instance-configuration-launch-instance-details.ts b/lib/core/lib/model/instance-configuration-launch-instance-details.ts index 31ba445b0c..98b098ec00 100644 --- a/lib/core/lib/model/instance-configuration-launch-instance-details.ts +++ b/lib/core/lib/model/instance-configuration-launch-instance-details.ts @@ -36,15 +36,15 @@ Example: {@code Uocm:PHX-AD-1} * */ "availabilityDomain"?: string; + /** + * The OCID of the compute capacity reservation this instance is launched under. + */ + "capacityReservationId"?: string; /** * Whether to enable AI enterprise on the instance. * */ "isAIEnterpriseEnabled"?: boolean; - /** - * The OCID of the compute capacity reservation this instance is launched under. - */ - "capacityReservationId"?: string; "placementConstraintDetails"?: model.InstanceConfigurationHostGroupPlacementConstraintDetails; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the diff --git a/lib/core/lib/model/supported-capabilities.ts b/lib/core/lib/model/supported-capabilities.ts new file mode 100644 index 0000000000..47aa3fae23 --- /dev/null +++ b/lib/core/lib/model/supported-capabilities.ts @@ -0,0 +1,47 @@ +/** + * Core Services API + * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +compute instances, and block storage volumes. For more information, see the console +documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +The required permissions are documented in the +[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support. + * + */ +export interface SupportedCapabilities { + /** + * Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential. + * + */ + "isMemoryEncryptionSupported": boolean; +} + +export namespace SupportedCapabilities { + export function getJsonObj(obj: SupportedCapabilities): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SupportedCapabilities): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/request/list-dedicated-vm-host-instances-request.ts b/lib/core/lib/request/list-dedicated-vm-host-instances-request.ts index 014e6aa783..55914292a5 100644 --- a/lib/core/lib/request/list-dedicated-vm-host-instances-request.ts +++ b/lib/core/lib/request/list-dedicated-vm-host-instances-request.ts @@ -33,6 +33,11 @@ Example: {@code Uocm:PHX-AD-1} * */ "availabilityDomain"?: string; + /** + * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. + * + */ + "isMemoryEncryptionEnabled"?: boolean; /** * For list pagination. The maximum number of results per page, or items to return in a paginated * \"List\" call. For important details about how pagination works, see diff --git a/lib/core/lib/request/list-dedicated-vm-hosts-request.ts b/lib/core/lib/request/list-dedicated-vm-hosts-request.ts index 4740de2aa2..9b63201ff2 100644 --- a/lib/core/lib/request/list-dedicated-vm-hosts-request.ts +++ b/lib/core/lib/request/list-dedicated-vm-hosts-request.ts @@ -91,6 +91,11 @@ Example: {@code 50} * The available OCPUs of the dedicated VM host. */ "remainingOcpusGreaterThanOrEqualTo"?: number; + /** + * A filter to return only confidential Dedicated VM hosts (DVMH) or confidential VM instances on DVMH. + * + */ + "isMemoryEncryptionEnabled"?: boolean; } export namespace ListDedicatedVmHostsRequest { diff --git a/lib/core/lib/request/update-volume-kms-key-request.ts b/lib/core/lib/request/update-volume-kms-key-request.ts index e801b26fcd..a9b262f4d3 100644 --- a/lib/core/lib/request/update-volume-kms-key-request.ts +++ b/lib/core/lib/request/update-volume-kms-key-request.ts @@ -33,4 +33,10 @@ export interface UpdateVolumeKmsKeyRequest extends common.BaseRequest { * */ "ifMatch"?: string; + /** + * The endpoint that will be used to get the resource principal token + * of the parent resource. + * + */ + "opcParentResourcePrincipalTokenUrl"?: string; } diff --git a/lib/core/package.json b/lib/core/package.json index 93f1cbf6ea..4be1ed0d68 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 7d1c50b2ef..a9d4a763da 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/package.json b/lib/database/package.json index 755490fb50..40bed74e48 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 58a4a4d033..206f34070f 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.121.0", + "version": "2.121.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 c606ea26f0..76c7b3322d 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.121.0", + "version": "2.121.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 270b6373bc..f3bab479d1 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.121.0", + "version": "2.121.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 c676fcb3fe..3a03350b04 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.121.0", + "version": "2.121.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 1b20e8724f..c914714e09 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index d28c22616e..42fa748cbf 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.121.0", + "version": "2.121.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 4bb9af8bca..5d4d5cf3df 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.121.0", + "version": "2.121.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 b183d211e7..b26711483e 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.121.0", + "version": "2.121.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 3ebd88f7c3..64f21b52e9 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 5700a64757..ee845156ee 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.121.0", + "version": "2.121.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 d56be0814a..0ec8841923 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index c5ba3cdc93..a22018e1ed 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index f686f4b812..81a406c3c4 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.121.0", + "version": "2.121.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 680ff741e3..0c9855cbce 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.121.0", + "version": "2.121.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 e5d82099b9..29f0bdf200 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 0378a28a59..b84bc68051 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/dif/package.json b/lib/dif/package.json index a334221c1b..ae58b46aa4 100644 --- a/lib/dif/package.json +++ b/lib/dif/package.json @@ -1,6 +1,6 @@ { "name": "oci-dif", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Dif Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 8dbea943e7..232b4870b1 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.121.0", + "version": "2.121.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 979dab8b99..f1924bd36b 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.121.0", + "version": "2.121.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 eae66e9625..7a6bc667bf 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 283caf2357..ad840c8d22 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index 1ee7163f6f..735baa7eef 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.121.0", + "version": "2.121.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 f0e9df999f..6215246dce 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.121.0", + "version": "2.121.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 d147dfc4fa..48f865f1c0 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 0cb36975d8..07504d524a 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/lib/client.ts b/lib/fleetappsmanagement/lib/client.ts index 9762e5c63f..41587f41b4 100644 --- a/lib/fleetappsmanagement/lib/client.ts +++ b/lib/fleetappsmanagement/lib/client.ts @@ -1229,6 +1229,82 @@ export class FleetAppsManagementClient { } } + /** + * Retrieve compliance for a fleet. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetComplianceRequest + * @return GetComplianceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetCompliance.ts.html |here} to see how to use GetCompliance API. + */ + public async getCompliance( + getComplianceRequest: requests.GetComplianceRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementClient#getCompliance."); + const operationName = "getCompliance"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": getComplianceRequest.fleetId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getComplianceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getComplianceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/compliance", + 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: "compliance", + bodyModel: model.Compliance, + type: "model.Compliance", + 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; + } + } + /** * Retrieve compliance report for a fleet. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -2067,7 +2143,8 @@ export class FleetAppsManagementClient { "limit": listFleetTargetsRequest.limit, "page": listFleetTargetsRequest.page, "sortOrder": listFleetTargetsRequest.sortOrder, - "sortBy": listFleetTargetsRequest.sortBy + "sortBy": listFleetTargetsRequest.sortBy, + "lifecycleState": listFleetTargetsRequest.lifecycleState }; let headerParams = { @@ -2333,7 +2410,8 @@ export class FleetAppsManagementClient { "limit": listTargetsRequest.limit, "page": listTargetsRequest.page, "sortOrder": listTargetsRequest.sortOrder, - "sortBy": listTargetsRequest.sortBy + "sortBy": listTargetsRequest.sortBy, + "isConfirmedTargets": listTargetsRequest.isConfirmedTargets }; let headerParams = { @@ -5672,6 +5750,105 @@ export class FleetAppsManagementCatalogClient { } } + /** + * Configures a CatalogItem. Creating new Catalog Item. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ConfigureCatalogItemRequest + * @return ConfigureCatalogItemResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ConfigureCatalogItem.ts.html |here} to see how to use ConfigureCatalogItem API. + */ + public async configureCatalogItem( + configureCatalogItemRequest: requests.ConfigureCatalogItemRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#configureCatalogItem."); + const operationName = "configureCatalogItem"; + const apiReferenceLink = ""; + const pathParams = { + "{catalogItemId}": configureCatalogItemRequest.catalogItemId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": configureCatalogItemRequest.ifMatch, + "opc-request-id": configureCatalogItemRequest.opcRequestId, + "opc-retry-token": configureCatalogItemRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + configureCatalogItemRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/catalogItems/{catalogItemId}/actions/configure", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + configureCatalogItemRequest.configureCatalogItemDetails, + "ConfigureCatalogItemDetails", + model.ConfigureCatalogItemDetails.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: "catalogItem", + bodyModel: model.CatalogItem, + type: "model.CatalogItem", + 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 CatalogItem. * @@ -5917,6 +6094,84 @@ export class FleetAppsManagementCatalogClient { } } + /** + * Gets information about a CatalogItem Variables. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetCatalogItemVariablesDefinitionRequest + * @return GetCatalogItemVariablesDefinitionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetCatalogItemVariablesDefinition.ts.html |here} to see how to use GetCatalogItemVariablesDefinition API. + */ + public async getCatalogItemVariablesDefinition( + getCatalogItemVariablesDefinitionRequest: requests.GetCatalogItemVariablesDefinitionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementCatalogClient#getCatalogItemVariablesDefinition." + ); + const operationName = "getCatalogItemVariablesDefinition"; + const apiReferenceLink = ""; + const pathParams = { + "{catalogItemId}": getCatalogItemVariablesDefinitionRequest.catalogItemId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getCatalogItemVariablesDefinitionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getCatalogItemVariablesDefinitionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/catalogItems/{catalogItemId}/variablesDefinitions", + 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: "catalogItemVariablesDefinition", + bodyModel: model.CatalogItemVariablesDefinition, + type: "model.CatalogItemVariablesDefinition", + 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 a list of Catalog Items in a compartment. * @@ -5946,6 +6201,7 @@ export class FleetAppsManagementCatalogClient { "page": listCatalogItemsRequest.page, "catalogListingId": listCatalogItemsRequest.catalogListingId, "catalogListingVersionCriteria": listCatalogItemsRequest.catalogListingVersionCriteria, + "packageType": listCatalogItemsRequest.packageType, "shouldListPublicItems": listCatalogItemsRequest.shouldListPublicItems }; @@ -7583,7 +7839,9 @@ export class FleetAppsManagementOperationsClient { "{jobActivityId}": getJobActivityRequest.jobActivityId }; - const queryParams = {}; + const queryParams = { + "isDetailsRequired": getJobActivityRequest.isDetailsRequired + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -8049,52 +8307,55 @@ export class FleetAppsManagementOperationsClient { } /** - * Gets a list of inventoryDetails. + * Gets a list of installed patches. + * CompartmentId should be the compartmentId of resource(Containing the target). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListInventoryRecordsRequest - * @return ListInventoryRecordsResponse + * @param ListInstalledPatchesRequest + * @return ListInstalledPatchesResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListInventoryRecords.ts.html |here} to see how to use ListInventoryRecords API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListInstalledPatches.ts.html |here} to see how to use ListInstalledPatches API. */ - public async listInventoryRecords( - listInventoryRecordsRequest: requests.ListInventoryRecordsRequest - ): Promise { + public async listInstalledPatches( + listInstalledPatchesRequest: requests.ListInstalledPatchesRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#listInventoryRecords." + "Calling operation FleetAppsManagementOperationsClient#listInstalledPatches." ); - const operationName = "listInventoryRecords"; + const operationName = "listInstalledPatches"; const apiReferenceLink = ""; const pathParams = {}; const queryParams = { - "compartmentId": listInventoryRecordsRequest.compartmentId, - "compartmentIdInSubtree": listInventoryRecordsRequest.compartmentIdInSubtree, - "fleetId": listInventoryRecordsRequest.fleetId, - "resourceId": listInventoryRecordsRequest.resourceId, - "limit": listInventoryRecordsRequest.limit, - "page": listInventoryRecordsRequest.page, - "sortOrder": listInventoryRecordsRequest.sortOrder, - "sortBy": listInventoryRecordsRequest.sortBy + "compartmentId": listInstalledPatchesRequest.compartmentId, + "targetId": listInstalledPatchesRequest.targetId, + "targetName": listInstalledPatchesRequest.targetName, + "severity": listInstalledPatchesRequest.severity, + "patchLevel": listInstalledPatchesRequest.patchLevel, + "patchType": listInstalledPatchesRequest.patchType, + "limit": listInstalledPatchesRequest.limit, + "page": listInstalledPatchesRequest.page, + "sortOrder": listInstalledPatchesRequest.sortOrder, + "sortBy": listInstalledPatchesRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listInventoryRecordsRequest.opcRequestId + "opc-request-id": listInstalledPatchesRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listInventoryRecordsRequest.retryConfiguration, + listInstalledPatchesRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/inventoryRecords", + path: "/installedPatches", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -8109,11 +8370,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "inventoryRecordCollection", - bodyModel: model.InventoryRecordCollection, - type: "model.InventoryRecordCollection", + bodyKey: "installedPatchCollection", + bodyModel: model.InstalledPatchCollection, + type: "model.InstalledPatchCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -8135,33 +8396,120 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of all the Patches in the specified compartment. - * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * Gets a list of inventoryDetails. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListPatchesRequest - * @return ListPatchesResponse + * @param ListInventoryRecordsRequest + * @return ListInventoryRecordsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListPatches.ts.html |here} to see how to use ListPatches API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListInventoryRecords.ts.html |here} to see how to use ListInventoryRecords API. */ - public async listPatches( - listPatchesRequest: requests.ListPatchesRequest - ): Promise { + public async listInventoryRecords( + listInventoryRecordsRequest: requests.ListInventoryRecordsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listPatches."); - const operationName = "listPatches"; + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listInventoryRecords." + ); + const operationName = "listInventoryRecords"; const apiReferenceLink = ""; const pathParams = {}; const queryParams = { - "compartmentId": listPatchesRequest.compartmentId, - "productId": listPatchesRequest.productId, - "version": listPatchesRequest.version, - "type": listPatchesRequest.type, - "patchTypeId": listPatchesRequest.patchTypeId, - "name": listPatchesRequest.name, - "id": listPatchesRequest.id, - "timeReleasedGreaterThanOrEqualTo": listPatchesRequest.timeReleasedGreaterThanOrEqualTo, + "compartmentId": listInventoryRecordsRequest.compartmentId, + "compartmentIdInSubtree": listInventoryRecordsRequest.compartmentIdInSubtree, + "fleetId": listInventoryRecordsRequest.fleetId, + "resourceId": listInventoryRecordsRequest.resourceId, + "limit": listInventoryRecordsRequest.limit, + "page": listInventoryRecordsRequest.page, + "sortOrder": listInventoryRecordsRequest.sortOrder, + "isDetailsRequired": listInventoryRecordsRequest.isDetailsRequired, + "sortBy": listInventoryRecordsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listInventoryRecordsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listInventoryRecordsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/inventoryRecords", + 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: "inventoryRecordCollection", + bodyModel: model.InventoryRecordCollection, + type: "model.InventoryRecordCollection", + 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; + } + } + + /** + * Returns a list of all the Patches in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPatchesRequest + * @return ListPatchesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListPatches.ts.html |here} to see how to use ListPatches API. + */ + public async listPatches( + listPatchesRequest: requests.ListPatchesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listPatches."); + const operationName = "listPatches"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPatchesRequest.compartmentId, + "productId": listPatchesRequest.productId, + "version": listPatchesRequest.version, + "type": listPatchesRequest.type, + "patchTypeId": listPatchesRequest.patchTypeId, + "name": listPatchesRequest.name, + "id": listPatchesRequest.id, + "timeReleasedGreaterThanOrEqualTo": listPatchesRequest.timeReleasedGreaterThanOrEqualTo, "timeReleasedLessThan": listPatchesRequest.timeReleasedLessThan, "shouldCompliancePolicyRulesBeApplied": listPatchesRequest.shouldCompliancePolicyRulesBeApplied, @@ -8227,6 +8575,179 @@ export class FleetAppsManagementOperationsClient { } } + /** + * Gets a list of recommended patches. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListRecommendedPatchesRequest + * @return ListRecommendedPatchesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRecommendedPatches.ts.html |here} to see how to use ListRecommendedPatches API. + */ + public async listRecommendedPatches( + listRecommendedPatchesRequest: requests.ListRecommendedPatchesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listRecommendedPatches." + ); + const operationName = "listRecommendedPatches"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listRecommendedPatchesRequest.compartmentId, + "targetId": listRecommendedPatchesRequest.targetId, + "targetName": listRecommendedPatchesRequest.targetName, + "patchLevel": listRecommendedPatchesRequest.patchLevel, + "severity": listRecommendedPatchesRequest.severity, + "patchType": listRecommendedPatchesRequest.patchType, + "patchId": listRecommendedPatchesRequest.patchId, + "limit": listRecommendedPatchesRequest.limit, + "page": listRecommendedPatchesRequest.page, + "sortOrder": listRecommendedPatchesRequest.sortOrder, + "sortBy": listRecommendedPatchesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listRecommendedPatchesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listRecommendedPatchesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/recommendedPatches", + 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: "recommendedPatchCollection", + bodyModel: model.RecommendedPatchCollection, + type: "model.RecommendedPatchCollection", + 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; + } + } + + /** + * Returns a list of all the report metadata. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListReportMetadataRequest + * @return ListReportMetadataResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListReportMetadata.ts.html |here} to see how to use ListReportMetadata API. + */ + public async listReportMetadata( + listReportMetadataRequest: requests.ListReportMetadataRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listReportMetadata." + ); + const operationName = "listReportMetadata"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listReportMetadataRequest.compartmentId, + "reportName": listReportMetadataRequest.reportName, + "limit": listReportMetadataRequest.limit, + "page": listReportMetadataRequest.page, + "sortOrder": listReportMetadataRequest.sortOrder, + "sortBy": listReportMetadataRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listReportMetadataRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listReportMetadataRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/reports/metadata", + 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: "reportMetadataCollection", + bodyModel: model.ReportMetadataCollection, + type: "model.ReportMetadataCollection", + 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; + } + } + /** * Returns a list of resources for an Activity Execution. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -8499,7 +9020,7 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of all Fleets that are scheduled. + * Returns a list of all executions that are scheduled. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListSchedulerExecutionsRequest @@ -8530,6 +9051,8 @@ export class FleetAppsManagementOperationsClient { "runbookId": listSchedulerExecutionsRequest.runbookId, "runbookVersionName": listSchedulerExecutionsRequest.runbookVersionName, "substate": listSchedulerExecutionsRequest.substate, + "lifecycleOperation": listSchedulerExecutionsRequest.lifecycleOperation, + "compartmentIdInSubtree": listSchedulerExecutionsRequest.compartmentIdInSubtree, "limit": listSchedulerExecutionsRequest.limit, "page": listSchedulerExecutionsRequest.page, "sortOrder": listSchedulerExecutionsRequest.sortOrder, @@ -8771,53 +9294,54 @@ export class FleetAppsManagementOperationsClient { } /** - * Manage execution actions for a Job like retrying or pausing a task. + * Gets a list of target component. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ManageJobExecutionRequest - * @return ManageJobExecutionResponse + * @param ListTargetComponentsRequest + * @return ListTargetComponentsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ManageJobExecution.ts.html |here} to see how to use ManageJobExecution API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListTargetComponents.ts.html |here} to see how to use ListTargetComponents API. */ - public async manageJobExecution( - manageJobExecutionRequest: requests.ManageJobExecutionRequest - ): Promise { + public async listTargetComponents( + listTargetComponentsRequest: requests.ListTargetComponentsRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#manageJobExecution." + "Calling operation FleetAppsManagementOperationsClient#listTargetComponents." ); - const operationName = "manageJobExecution"; + const operationName = "listTargetComponents"; const apiReferenceLink = ""; - const pathParams = { - "{schedulerJobId}": manageJobExecutionRequest.schedulerJobId - }; + const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listTargetComponentsRequest.compartmentId, + "targetId": listTargetComponentsRequest.targetId, + "targetName": listTargetComponentsRequest.targetName, + "severity": listTargetComponentsRequest.severity, + "name": listTargetComponentsRequest.name, + "limit": listTargetComponentsRequest.limit, + "page": listTargetComponentsRequest.page, + "sortOrder": listTargetComponentsRequest.sortOrder, + "sortBy": listTargetComponentsRequest.sortBy + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": manageJobExecutionRequest.opcRetryToken, - "if-match": manageJobExecutionRequest.ifMatch, - "opc-request-id": manageJobExecutionRequest.opcRequestId + "opc-request-id": listTargetComponentsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - manageJobExecutionRequest.retryConfiguration, + listTargetComponentsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}/actions/manageJobExecution", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - manageJobExecutionRequest.manageJobExecutionDetails, - "ManageJobExecutionDetails", - model.ManageJobExecutionDetails.getJsonObj - ), + path: "/targetComponents", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8831,16 +9355,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "targetComponentCollection", + bodyModel: model.TargetComponentCollection, + type: "model.TargetComponentCollection", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] @@ -8853,7 +9381,265 @@ export class FleetAppsManagementOperationsClient { } /** - * Retrieve aggregated summary information of ComplianceRecords within a Compartment. + * Gets a list of target properties. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListTargetPropertiesRequest + * @return ListTargetPropertiesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListTargetProperties.ts.html |here} to see how to use ListTargetProperties API. + */ + public async listTargetProperties( + listTargetPropertiesRequest: requests.ListTargetPropertiesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listTargetProperties." + ); + const operationName = "listTargetProperties"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listTargetPropertiesRequest.compartmentId, + "targetId": listTargetPropertiesRequest.targetId, + "targetName": listTargetPropertiesRequest.targetName, + "severity": listTargetPropertiesRequest.severity, + "limit": listTargetPropertiesRequest.limit, + "page": listTargetPropertiesRequest.page, + "sortOrder": listTargetPropertiesRequest.sortOrder, + "sortBy": listTargetPropertiesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listTargetPropertiesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listTargetPropertiesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/targetProperties", + 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: "targetPropertyCollection", + bodyModel: model.TargetPropertyCollection, + type: "model.TargetPropertyCollection", + 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; + } + } + + /** + * Manage execution actions for a Job like retrying or pausing a task. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ManageJobExecutionRequest + * @return ManageJobExecutionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ManageJobExecution.ts.html |here} to see how to use ManageJobExecution API. + */ + public async manageJobExecution( + manageJobExecutionRequest: requests.ManageJobExecutionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#manageJobExecution." + ); + const operationName = "manageJobExecution"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": manageJobExecutionRequest.schedulerJobId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": manageJobExecutionRequest.opcRetryToken, + "if-match": manageJobExecutionRequest.ifMatch, + "opc-request-id": manageJobExecutionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + manageJobExecutionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}/actions/manageJobExecution", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + manageJobExecutionRequest.manageJobExecutionDetails, + "ManageJobExecutionDetails", + model.ManageJobExecutionDetails.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; + } + } + + /** + * Report + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ReportRequest + * @return ReportResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/Report.ts.html |here} to see how to use Report API. + */ + public async report(reportRequest: requests.ReportRequest): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#report."); + const operationName = "report"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": reportRequest.compartmentId, + "limit": reportRequest.limit, + "page": reportRequest.page, + "compartmentIdInSubtree": reportRequest.compartmentIdInSubtree + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": reportRequest.opcRetryToken, + "if-match": reportRequest.ifMatch, + "opc-request-id": reportRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + reportRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/reports/actions/summarize", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + reportRequest.reportDetails, + "ReportDetails", + model.ReportDetails.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: "reportCollection", + bodyModel: model.ReportCollection, + type: "model.ReportCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-total-items"), + key: "opcTotalItems", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve aggregated summary information of ComplianceRecords within a Compartment. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param SummarizeComplianceRecordCountsRequest @@ -10515,7 +11301,7 @@ export class FleetAppsManagementRunbooksClient { } /** - * Add RunbookVersion in\u00A0Fleet Application Management. + * Add RunbookVersion in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateRunbookVersionRequest @@ -10915,43 +11701,51 @@ export class FleetAppsManagementRunbooksClient { } /** - * Get the details of a runbook in Fleet Application Management. + * Export the specified version of the runbook. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetRunbookRequest - * @return GetRunbookResponse + * @param ExportRunbookRequest + * @return ExportRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbook.ts.html |here} to see how to use GetRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ExportRunbook.ts.html |here} to see how to use ExportRunbook API. */ - public async getRunbook( - getRunbookRequest: requests.GetRunbookRequest - ): Promise { + public async exportRunbook( + exportRunbookRequest: requests.ExportRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbook."); - const operationName = "getRunbook"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#exportRunbook."); + const operationName = "exportRunbook"; const apiReferenceLink = ""; const pathParams = { - "{runbookId}": getRunbookRequest.runbookId + "{runbookId}": exportRunbookRequest.runbookId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getRunbookRequest.opcRequestId + "opc-retry-token": exportRunbookRequest.opcRetryToken, + "if-match": exportRunbookRequest.ifMatch, + "opc-request-id": exportRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getRunbookRequest.retryConfiguration, + exportRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/{runbookId}", - method: "GET", + path: "/runbooks/{runbookId}/actions/export", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + exportRunbookRequest.exportRunbookDetails, + "ExportRunbookDetails", + model.ExportRunbookDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -10965,15 +11759,11 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "runbook", - bodyModel: model.Runbook, - type: "model.Runbook", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -10991,43 +11781,53 @@ export class FleetAppsManagementRunbooksClient { } /** - * Gets a Runbook Version by identifier. + * Export the specified version of the runbook. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetRunbookVersionRequest - * @return GetRunbookVersionResponse + * @param ExportRunbookVersionRequest + * @return ExportRunbookVersionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookVersion.ts.html |here} to see how to use GetRunbookVersion API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ExportRunbookVersion.ts.html |here} to see how to use ExportRunbookVersion API. */ - public async getRunbookVersion( - getRunbookVersionRequest: requests.GetRunbookVersionRequest - ): Promise { + public async exportRunbookVersion( + exportRunbookVersionRequest: requests.ExportRunbookVersionRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbookVersion."); - const operationName = "getRunbookVersion"; + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#exportRunbookVersion." + ); + const operationName = "exportRunbookVersion"; const apiReferenceLink = ""; const pathParams = { - "{runbookVersionId}": getRunbookVersionRequest.runbookVersionId + "{runbookVersionId}": exportRunbookVersionRequest.runbookVersionId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getRunbookVersionRequest.opcRequestId + "opc-retry-token": exportRunbookVersionRequest.opcRetryToken, + "if-match": exportRunbookVersionRequest.ifMatch, + "opc-request-id": exportRunbookVersionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getRunbookVersionRequest.retryConfiguration, + exportRunbookVersionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbookVersions/{runbookVersionId}", - method: "GET", + path: "/runbookVersions/{runbookVersionId}/actions/export", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + exportRunbookVersionRequest.exportRunbookVersionDetails, + "ExportRunbookVersionDetails", + model.ExportRunbookVersionDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -11041,11 +11841,263 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + 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; + } + } + + /** + * Find runbook export Dependencies + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param FindRunbookExportDependencyRequest + * @return FindRunbookExportDependencyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/FindRunbookExportDependency.ts.html |here} to see how to use FindRunbookExportDependency API. + */ + public async findRunbookExportDependency( + findRunbookExportDependencyRequest: requests.FindRunbookExportDependencyRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#findRunbookExportDependency." + ); + const operationName = "findRunbookExportDependency"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "limit": findRunbookExportDependencyRequest.limit, + "page": findRunbookExportDependencyRequest.page + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": findRunbookExportDependencyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + findRunbookExportDependencyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/actions/findExportDependencies", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + findRunbookExportDependencyRequest.findRunbookExportDependencyDetails, + "FindRunbookExportDependencyDetails", + model.FindRunbookExportDependencyDetails.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: "runbookVersion", - bodyModel: model.RunbookVersion, - type: "model.RunbookVersion", + bodyKey: "runbookExportDependencyCollection", + bodyModel: model.RunbookExportDependencyCollection, + type: "model.RunbookExportDependencyCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-total-items"), + key: "opcTotalItems", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Find runbook import Dependencies + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param FindRunbookImportDependencyRequest + * @return FindRunbookImportDependencyResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/FindRunbookImportDependency.ts.html |here} to see how to use FindRunbookImportDependency API. + */ + public async findRunbookImportDependency( + findRunbookImportDependencyRequest: requests.FindRunbookImportDependencyRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#findRunbookImportDependency." + ); + const operationName = "findRunbookImportDependency"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "limit": findRunbookImportDependencyRequest.limit, + "page": findRunbookImportDependencyRequest.page + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": findRunbookImportDependencyRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + findRunbookImportDependencyRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/actions/findImportDependencies", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + findRunbookImportDependencyRequest.findRunbookImportDependencyDetails, + "FindRunbookImportDependencyDetails", + model.FindRunbookImportDependencyDetails.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: "runbookImportDependencyCollection", + bodyModel: model.RunbookImportDependencyCollection, + type: "model.RunbookImportDependencyCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-total-items"), + key: "opcTotalItems", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Get the details of a runbook in Fleet Application Management. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetRunbookRequest + * @return GetRunbookResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbook.ts.html |here} to see how to use GetRunbook API. + */ + public async getRunbook( + getRunbookRequest: requests.GetRunbookRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbook."); + const operationName = "getRunbook"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookId}": getRunbookRequest.runbookId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getRunbookRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getRunbookRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/{runbookId}", + 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: "runbook", + bodyModel: model.Runbook, + type: "model.Runbook", responseHeaders: [ { value: response.headers.get("etag"), @@ -11067,42 +12119,43 @@ export class FleetAppsManagementRunbooksClient { } /** - * Gets information for the specified task record. + * Get the runbook export status for provided runbook and exportId. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetTaskRecordRequest - * @return GetTaskRecordResponse + * @param GetRunbookExportRequest + * @return GetRunbookExportResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetTaskRecord.ts.html |here} to see how to use GetTaskRecord API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookExport.ts.html |here} to see how to use GetRunbookExport API. */ - public async getTaskRecord( - getTaskRecordRequest: requests.GetTaskRecordRequest - ): Promise { + public async getRunbookExport( + getRunbookExportRequest: requests.GetRunbookExportRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getTaskRecord."); - const operationName = "getTaskRecord"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbookExport."); + const operationName = "getRunbookExport"; const apiReferenceLink = ""; const pathParams = { - "{taskRecordId}": getTaskRecordRequest.taskRecordId + "{runbookId}": getRunbookExportRequest.runbookId, + "{exportId}": getRunbookExportRequest.exportId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getTaskRecordRequest.opcRequestId + "opc-request-id": getRunbookExportRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTaskRecordRequest.retryConfiguration, + getRunbookExportRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords/{taskRecordId}", + path: "/runbooks/{runbookId}/exports/{exportId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -11117,11 +12170,11 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "taskRecord", - bodyModel: model.TaskRecord, - type: "model.TaskRecord", + bodyKey: "runbookExport", + bodyModel: model.RunbookExport, + type: "model.RunbookExport", responseHeaders: [ { value: response.headers.get("etag"), @@ -11142,6 +12195,643 @@ export class FleetAppsManagementRunbooksClient { } } + /** + * Get the runbook import status for provided runbook and importId. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetRunbookImportRequest + * @return GetRunbookImportResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookImport.ts.html |here} to see how to use GetRunbookImport API. + */ + public async getRunbookImport( + getRunbookImportRequest: requests.GetRunbookImportRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbookImport."); + const operationName = "getRunbookImport"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookId}": getRunbookImportRequest.runbookId, + "{importId}": getRunbookImportRequest.importId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getRunbookImportRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getRunbookImportRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/{runbookId}/imports/{importId}", + 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: "runbookImport", + bodyModel: model.RunbookImport, + type: "model.RunbookImport", + 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 a Runbook Version by identifier. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetRunbookVersionRequest + * @return GetRunbookVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookVersion.ts.html |here} to see how to use GetRunbookVersion API. + */ + public async getRunbookVersion( + getRunbookVersionRequest: requests.GetRunbookVersionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbookVersion."); + const operationName = "getRunbookVersion"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookVersionId}": getRunbookVersionRequest.runbookVersionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getRunbookVersionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getRunbookVersionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbookVersions/{runbookVersionId}", + 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: "runbookVersion", + bodyModel: model.RunbookVersion, + type: "model.RunbookVersion", + 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 for the specified task record. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetTaskRecordRequest + * @return GetTaskRecordResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetTaskRecord.ts.html |here} to see how to use GetTaskRecord API. + */ + public async getTaskRecord( + getTaskRecordRequest: requests.GetTaskRecordRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getTaskRecord."); + const operationName = "getTaskRecord"; + const apiReferenceLink = ""; + const pathParams = { + "{taskRecordId}": getTaskRecordRequest.taskRecordId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getTaskRecordRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getTaskRecordRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskRecords/{taskRecordId}", + 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: "taskRecord", + bodyModel: model.TaskRecord, + type: "model.TaskRecord", + 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; + } + } + + /** + * Import the specified version of the runbook. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ImportRunbookRequest + * @return ImportRunbookResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ImportRunbook.ts.html |here} to see how to use ImportRunbook API. + */ + public async importRunbook( + importRunbookRequest: requests.ImportRunbookRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#importRunbook."); + const operationName = "importRunbook"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": importRunbookRequest.opcRetryToken, + "if-match": importRunbookRequest.ifMatch, + "opc-request-id": importRunbookRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + importRunbookRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/actions/import", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + importRunbookRequest.importRunbookDetails, + "ImportRunbookDetails", + model.ImportRunbookDetails.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; + } + } + + /** + * Precheck for import runbook. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ImportRunbookPrecheckRequest + * @return ImportRunbookPrecheckResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ImportRunbookPrecheck.ts.html |here} to see how to use ImportRunbookPrecheck API. + */ + public async importRunbookPrecheck( + importRunbookPrecheckRequest: requests.ImportRunbookPrecheckRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#importRunbookPrecheck." + ); + const operationName = "importRunbookPrecheck"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": importRunbookPrecheckRequest.opcRetryToken, + "if-match": importRunbookPrecheckRequest.ifMatch, + "opc-request-id": importRunbookPrecheckRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + importRunbookPrecheckRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/actions/importPrecheck", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + importRunbookPrecheckRequest.importRunbookPrecheckDetails, + "ImportRunbookPrecheckDetails", + model.ImportRunbookPrecheckDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Export the specified version of the runbook. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ImportRunbookVersionRequest + * @return ImportRunbookVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ImportRunbookVersion.ts.html |here} to see how to use ImportRunbookVersion API. + */ + public async importRunbookVersion( + importRunbookVersionRequest: requests.ImportRunbookVersionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#importRunbookVersion." + ); + const operationName = "importRunbookVersion"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": importRunbookVersionRequest.opcRetryToken, + "if-match": importRunbookVersionRequest.ifMatch, + "opc-request-id": importRunbookVersionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + importRunbookVersionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbookVersions/actions/import", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + importRunbookVersionRequest.importRunbookVersionDetails, + "ImportRunbookVersionDetails", + model.ImportRunbookVersionDetails.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; + } + } + + /** + * Returns a list of all the Runbook export status in the specified compartment. + * The query parameter `compartmentId` is required. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListRunbookExportStatusesRequest + * @return ListRunbookExportStatusesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbookExportStatuses.ts.html |here} to see how to use ListRunbookExportStatuses API. + */ + public async listRunbookExportStatuses( + listRunbookExportStatusesRequest: requests.ListRunbookExportStatusesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#listRunbookExportStatuses." + ); + const operationName = "listRunbookExportStatuses"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listRunbookExportStatusesRequest.compartmentId, + "id": listRunbookExportStatusesRequest.id, + "limit": listRunbookExportStatusesRequest.limit, + "page": listRunbookExportStatusesRequest.page, + "sortOrder": listRunbookExportStatusesRequest.sortOrder, + "sortBy": listRunbookExportStatusesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listRunbookExportStatusesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listRunbookExportStatusesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/exportStatus", + 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: "runbookExportStatusCollection", + bodyModel: model.RunbookExportStatusCollection, + type: "model.RunbookExportStatusCollection", + 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; + } + } + + /** + * Returns a list of all the Runbook import status in the specified compartment. + * The query parameter `compartmentId` is required. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListRunbookImportStatusesRequest + * @return ListRunbookImportStatusesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbookImportStatuses.ts.html |here} to see how to use ListRunbookImportStatuses API. + */ + public async listRunbookImportStatuses( + listRunbookImportStatusesRequest: requests.ListRunbookImportStatusesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#listRunbookImportStatuses." + ); + const operationName = "listRunbookImportStatuses"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listRunbookImportStatusesRequest.compartmentId, + "id": listRunbookImportStatusesRequest.id, + "limit": listRunbookImportStatusesRequest.limit, + "page": listRunbookImportStatusesRequest.page, + "sortOrder": listRunbookImportStatusesRequest.sortOrder, + "sortBy": listRunbookImportStatusesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listRunbookImportStatusesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listRunbookImportStatusesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/importStatus", + 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: "runbookImportStatusCollection", + bodyModel: model.RunbookImportStatusCollection, + type: "model.RunbookImportStatusCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * List versions for a runbook in Fleet Application Management. * diff --git a/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts index b3a1b09de5..cc76cbfa56 100644 --- a/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts @@ -23,6 +23,10 @@ export interface ApiBasedExecutionDetails extends model.ExecutionDetails { * Endpoint to be invoked. */ "endpoint": string; + /** + * The list of system variables. + */ + "systemVariables"?: Array; "executionType": string; } diff --git a/lib/fleetappsmanagement/lib/model/apm-domain-variable.ts b/lib/fleetappsmanagement/lib/model/apm-domain-variable.ts new file mode 100644 index 0000000000..9307127150 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/apm-domain-variable.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * APM domain variable. + */ +export interface ApmDomainVariable extends model.BaseVariable { + "type": string; +} + +export namespace ApmDomainVariable { + export function getJsonObj(obj: ApmDomainVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ApmDomainVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_APM_DOMAIN_ID"; + export function getDeserializedJsonObj( + obj: ApmDomainVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ApmDomainVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/array-variable.ts b/lib/fleetappsmanagement/lib/model/array-variable.ts new file mode 100644 index 0000000000..504e4a6416 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/array-variable.ts @@ -0,0 +1,212 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Array variable. + */ +export interface ArrayVariable extends model.BaseVariable { + "items"?: + | model.NetworkLoadBalancerId + | model.FileVariable + | model.NatGatewayVariable + | model.EnumVariable + | model.InstanceShapeVariable + | model.AutonomousContainerDbVariable + | model.DataBaseVariable + | model.AutonomousDatabaseVersionVariable + | model.RegionVariable + | model.VolumeId + | model.VcnNetworkSecurityGroupId + | model.IntegerVariable + | model.DatabaseDbNodeId + | model.MultilineVariable + | model.PasswordVariable + | model.ArrayVariable + | model.ManagementAgents + | model.VolumeBackupPoliciesVariable + | model.LogAnalyticsScheduledTasks + | model.KmsVaultVariable + | model.ServiceGatewayVariable + | model.LogAnalyticsLogEntities + | model.VcnSecListId + | model.NsgVariable + | model.DynamicGroupsVariable + | model.OdsProjectVariable + | model.MountTargetsVariable + | model.IdentityDomainVariable + | model.ObjectStorageBucketName + | model.MysqlConfigurationId + | model.FileStorageExportSetId + | model.KmsSecretVariable + | model.DatetimeVariable + | model.DatabaseDataguardAssociationId + | model.LogAnalyticsEntityTypes + | model.GroupsVariable + | model.ApmDomainVariable + | model.AutonomousDataBaseVariable + | model.AvailabilityDomainVariable + | model.KubernetesVersionsVariable + | model.LoadBalancerVariable + | model.ImageVariable + | model.LoadBalancerReservedIps + | model.KmsKeyVariable + | model.LogAnalyticsSources + | model.DatabaseDataGuardId + | model.TagVariable + | model.CloudVmClusterId + | model.PrivateEndpointVariable + | model.ContainerClusterVariable + | model.MysqlShapeId + | model.VcnVariable + | model.CompartmentVariable + | model.FaultDomainVariable + | model.InstanceShapeVariableWithFlex + | model.StringVariable + | model.InstanceVariable + | model.DatabaseExadataId + | model.DbHomeVariable + | model.FileStorageFilesystemId + | model.NumberVariable + | model.SubnetVariable + | model.SshPublicKeyVariable + | model.LogAnalyticsLogGroup + | model.BooleanVariable + | model.DbSystemVariable + | model.FileStorageMountTargetId + | model.DatabaseCdbId + | model.DbHomeVersionVariable; + /** + * Maximum allowed items in the array. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "maxItems"?: number; + /** + * Minimum allowed items in the array. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "minItems"?: number; + /** + * If true, array entries will be unique. + */ + "areUniqueItems"?: boolean; + /** + * The default value for this variable. + */ + "defaultValue"?: any; + "contains"?: + | model.NetworkLoadBalancerId + | model.FileVariable + | model.NatGatewayVariable + | model.EnumVariable + | model.InstanceShapeVariable + | model.AutonomousContainerDbVariable + | model.DataBaseVariable + | model.AutonomousDatabaseVersionVariable + | model.RegionVariable + | model.VolumeId + | model.VcnNetworkSecurityGroupId + | model.IntegerVariable + | model.DatabaseDbNodeId + | model.MultilineVariable + | model.PasswordVariable + | model.ArrayVariable + | model.ManagementAgents + | model.VolumeBackupPoliciesVariable + | model.LogAnalyticsScheduledTasks + | model.KmsVaultVariable + | model.ServiceGatewayVariable + | model.LogAnalyticsLogEntities + | model.VcnSecListId + | model.NsgVariable + | model.DynamicGroupsVariable + | model.OdsProjectVariable + | model.MountTargetsVariable + | model.IdentityDomainVariable + | model.ObjectStorageBucketName + | model.MysqlConfigurationId + | model.FileStorageExportSetId + | model.KmsSecretVariable + | model.DatetimeVariable + | model.DatabaseDataguardAssociationId + | model.LogAnalyticsEntityTypes + | model.GroupsVariable + | model.ApmDomainVariable + | model.AutonomousDataBaseVariable + | model.AvailabilityDomainVariable + | model.KubernetesVersionsVariable + | model.LoadBalancerVariable + | model.ImageVariable + | model.LoadBalancerReservedIps + | model.KmsKeyVariable + | model.LogAnalyticsSources + | model.DatabaseDataGuardId + | model.TagVariable + | model.CloudVmClusterId + | model.PrivateEndpointVariable + | model.ContainerClusterVariable + | model.MysqlShapeId + | model.VcnVariable + | model.CompartmentVariable + | model.FaultDomainVariable + | model.InstanceShapeVariableWithFlex + | model.StringVariable + | model.InstanceVariable + | model.DatabaseExadataId + | model.DbHomeVariable + | model.FileStorageFilesystemId + | model.NumberVariable + | model.SubnetVariable + | model.SshPublicKeyVariable + | model.LogAnalyticsLogGroup + | model.BooleanVariable + | model.DbSystemVariable + | model.FileStorageMountTargetId + | model.DatabaseCdbId + | model.DbHomeVersionVariable; + + "type": string; +} + +export namespace ArrayVariable { + export function getJsonObj(obj: ArrayVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ArrayVariable)), + ...{ + "items": obj.items ? model.BaseVariable.getJsonObj(obj.items) : undefined, + + "contains": obj.contains ? model.BaseVariable.getJsonObj(obj.contains) : undefined + } + }; + + return jsonObj; + } + export const type = "ARRAY"; + export function getDeserializedJsonObj(obj: ArrayVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ArrayVariable)), + ...{ + "items": obj.items ? model.BaseVariable.getDeserializedJsonObj(obj.items) : undefined, + + "contains": obj.contains + ? model.BaseVariable.getDeserializedJsonObj(obj.contains) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/association.ts b/lib/fleetappsmanagement/lib/model/association.ts new file mode 100644 index 0000000000..951cd334b3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/association.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Association. + */ +export interface Association { + /** + * Id for association. + */ + "id": string; + /** + * Display name for placeholder. + */ + "displayName": string; +} + +export namespace Association { + export function getJsonObj(obj: Association): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Association): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable-depends-on.ts new file mode 100644 index 0000000000..2151f62df0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface AutonomousContainerDbVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace AutonomousContainerDbVariableDependsOn { + export function getJsonObj(obj: AutonomousContainerDbVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AutonomousContainerDbVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable.ts b/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable.ts new file mode 100644 index 0000000000..2d49872eb4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-container-db-variable.ts @@ -0,0 +1,63 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Autonomous container DB variable. + */ +export interface AutonomousContainerDbVariable extends model.BaseVariable { + "dependsOn"?: model.AutonomousContainerDbVariableDependsOn; + + "type": string; +} + +export namespace AutonomousContainerDbVariable { + export function getJsonObj( + obj: AutonomousContainerDbVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as AutonomousContainerDbVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousContainerDbVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_AUTONOMOUSCONTAINERDATABASE_ID"; + export function getDeserializedJsonObj( + obj: AutonomousContainerDbVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as AutonomousContainerDbVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousContainerDbVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable-depends-on.ts new file mode 100644 index 0000000000..a2f2ef3968 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface AutonomousDataBaseVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * The database workload type. + */ + "dbWorkload"?: string; +} + +export namespace AutonomousDataBaseVariableDependsOn { + export function getJsonObj(obj: AutonomousDataBaseVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AutonomousDataBaseVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable.ts b/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable.ts new file mode 100644 index 0000000000..1c810bc20b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-data-base-variable.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Autonomous database variable. + */ +export interface AutonomousDataBaseVariable extends model.BaseVariable { + "dependsOn"?: model.AutonomousDataBaseVariableDependsOn; + + "type": string; +} + +export namespace AutonomousDataBaseVariable { + export function getJsonObj(obj: AutonomousDataBaseVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as AutonomousDataBaseVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousDataBaseVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_AUTONOMOUSDATABASE_ID"; + export function getDeserializedJsonObj( + obj: AutonomousDataBaseVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as AutonomousDataBaseVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousDataBaseVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable-depends-on.ts new file mode 100644 index 0000000000..6243df0ea0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface AutonomousDatabaseVersionVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId"?: string; + /** + * Expected workload for version selection. + */ + "dbWorkload"?: string; +} + +export namespace AutonomousDatabaseVersionVariableDependsOn { + export function getJsonObj(obj: AutonomousDatabaseVersionVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AutonomousDatabaseVersionVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable.ts b/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable.ts new file mode 100644 index 0000000000..ca9d743ab1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/autonomous-database-version-variable.ts @@ -0,0 +1,63 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Autonomous database version variable. + */ +export interface AutonomousDatabaseVersionVariable extends model.BaseVariable { + "dependsOn"?: model.AutonomousDatabaseVersionVariableDependsOn; + + "type": string; +} + +export namespace AutonomousDatabaseVersionVariable { + export function getJsonObj( + obj: AutonomousDatabaseVersionVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as AutonomousDatabaseVersionVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousDatabaseVersionVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_AUTONOMOUSDATABASEVERSION_ID"; + export function getDeserializedJsonObj( + obj: AutonomousDatabaseVersionVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as AutonomousDatabaseVersionVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AutonomousDatabaseVersionVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/availability-domain-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/availability-domain-variable-depends-on.ts new file mode 100644 index 0000000000..5b4d54e577 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/availability-domain-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object for AD variables. + */ +export interface AvailabilityDomainVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace AvailabilityDomainVariableDependsOn { + export function getJsonObj(obj: AvailabilityDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AvailabilityDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/availability-domain-variable.ts b/lib/fleetappsmanagement/lib/model/availability-domain-variable.ts new file mode 100644 index 0000000000..c4833b248a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/availability-domain-variable.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * AD variable. + */ +export interface AvailabilityDomainVariable extends model.BaseVariable { + "dependsOn"?: model.AvailabilityDomainVariableDependsOn; + + "type": string; +} + +export namespace AvailabilityDomainVariable { + export function getJsonObj(obj: AvailabilityDomainVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as AvailabilityDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AvailabilityDomainVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_AVAILABILITYDOMAIN_NAME"; + export function getDeserializedJsonObj( + obj: AvailabilityDomainVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as AvailabilityDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.AvailabilityDomainVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/base-output.ts b/lib/fleetappsmanagement/lib/model/base-output.ts new file mode 100644 index 0000000000..a1bda454b3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/base-output.ts @@ -0,0 +1,121 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Base output. + */ +export interface BaseOutput { + /** + * Output label shown to the user. + */ + "title"?: string; + /** + * Extended help or summary for understanding output. + */ + "description"?: string; + /** + * If true, marks this output as sensitive. + */ + "isSensitive"?: boolean; + /** + * Hint about formatting or rendering the output value. + */ + "format"?: string; + /** + * Expression to show/hide this output. + */ + "visible"?: string; + + "type": string; +} + +export namespace BaseOutput { + export function getJsonObj(obj: BaseOutput): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "LIST": + return model.ListOutput.getJsonObj((jsonObj), true); + case "OCID": + return model.OcidOutput.getJsonObj((jsonObj), true); + case "CSV": + return model.CsvOutput.getJsonObj((jsonObj), true); + case "COPYABLESTRING": + return model.CopyableStringOutput.getJsonObj( + (jsonObj), + true + ); + case "JSON": + return model.JsonOutput.getJsonObj((jsonObj), true); + case "NUMBER": + return model.NumberOutput.getJsonObj((jsonObj), true); + case "STRING": + return model.StringOutput.getJsonObj((jsonObj), true); + case "MAP": + return model.MapOutput.getJsonObj((jsonObj), true); + case "LINK": + return model.LinkOutput.getJsonObj((jsonObj), true); + case "boolean": + return model.BoolOutput.getJsonObj((jsonObj), true); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: BaseOutput): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "LIST": + return model.ListOutput.getDeserializedJsonObj((jsonObj), true); + case "OCID": + return model.OcidOutput.getDeserializedJsonObj((jsonObj), true); + case "CSV": + return model.CsvOutput.getDeserializedJsonObj((jsonObj), true); + case "COPYABLESTRING": + return model.CopyableStringOutput.getDeserializedJsonObj( + (jsonObj), + true + ); + case "JSON": + return model.JsonOutput.getDeserializedJsonObj((jsonObj), true); + case "NUMBER": + return model.NumberOutput.getDeserializedJsonObj( + (jsonObj), + true + ); + case "STRING": + return model.StringOutput.getDeserializedJsonObj( + (jsonObj), + true + ); + case "MAP": + return model.MapOutput.getDeserializedJsonObj((jsonObj), true); + case "LINK": + return model.LinkOutput.getDeserializedJsonObj((jsonObj), true); + case "boolean": + return model.BoolOutput.getDeserializedJsonObj((jsonObj), true); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/base-variable.ts b/lib/fleetappsmanagement/lib/model/base-variable.ts new file mode 100644 index 0000000000..821bf88791 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/base-variable.ts @@ -0,0 +1,665 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Base definition for a schema variable, including common metadata such as type, title, description, and validation constraints. + */ +export interface BaseVariable { + /** + * The display name for the variable as shown in the UI. + */ + "title"?: string; + /** + * Detailed information about this variable's purpose and usage. + */ + "description"?: string; + /** + * Indicates if this input variable is required for stack execution. + */ + "isRequired"?: boolean; + /** + * Hint to control whether this variable is visible. + */ + "visible"?: string; + + "type": string; +} + +export namespace BaseVariable { + export function getJsonObj(obj: BaseVariable): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "OCI_LOADBALANCER_NETWORKLOADBALANCER_ID": + return model.NetworkLoadBalancerId.getJsonObj( + (jsonObj), + true + ); + case "FILE": + return model.FileVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_NATGATEWAY_ID": + return model.NatGatewayVariable.getJsonObj( + (jsonObj), + true + ); + case "ENUM": + return model.EnumVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_INSTANCESHAPE_NAME": + return model.InstanceShapeVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_AUTONOMOUSCONTAINERDATABASE_ID": + return model.AutonomousContainerDbVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DATABASE_ID": + return model.DataBaseVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_AUTONOMOUSDATABASEVERSION_ID": + return model.AutonomousDatabaseVersionVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_REGION_NAME": + return model.RegionVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_VOLUME_ID": + return model.VolumeId.getJsonObj((jsonObj), true); + case "OCI_CORE_VCN_NETWORKSECURITYGROUP_ID": + return model.VcnNetworkSecurityGroupId.getJsonObj( + (jsonObj), + true + ); + case "INTEGER": + return model.IntegerVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_DBNODE_ID": + return model.DatabaseDbNodeId.getJsonObj((jsonObj), true); + case "TEXT": + return model.MultilineVariable.getJsonObj( + (jsonObj), + true + ); + case "PASSWORD": + return model.PasswordVariable.getJsonObj((jsonObj), true); + case "ARRAY": + return model.ArrayVariable.getJsonObj((jsonObj), true); + case "OCI_MGMT_AGENT_ID": + return model.ManagementAgents.getJsonObj((jsonObj), true); + case "OCI_BLOCKSTORAGE_POLICIES_ID": + return model.VolumeBackupPoliciesVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_SCHEDULEDTASK_ID": + return model.LogAnalyticsScheduledTasks.getJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_VAULT_ID": + return model.KmsVaultVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_SERVICEGATEWAY_ID": + return model.ServiceGatewayVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_LOGENTITY_ID": + return model.LogAnalyticsLogEntities.getJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_VCN_SECLIST_ID": + return model.VcnSecListId.getJsonObj((jsonObj), true); + case "OCI_CORE_NSG_ID": + return model.NsgVariable.getJsonObj((jsonObj), true); + case "OCI_IDENTITY_DYNAMICGROUPS_ID": + return model.DynamicGroupsVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_ODS_PROJECT_ID": + return model.OdsProjectVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_MOUNT_TARGET_ID": + return model.MountTargetsVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_DOMAINS_ID": + return model.IdentityDomainVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_OBJECTSTORAGE_BUCKET_NAME": + return model.ObjectStorageBucketName.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_MYSQL_CONFIGURATION_ID": + return model.MysqlConfigurationId.getJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_FILESTORAGE_EXPORTSET_ID": + return model.FileStorageExportSetId.getJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_SECRET_ID": + return model.KmsSecretVariable.getJsonObj( + (jsonObj), + true + ); + case "DATETIME": + return model.DatetimeVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_DATAGUARDASSOCIATION_ID": + return model.DatabaseDataguardAssociationId.getJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_ENTITYTYPE_ID": + return model.LogAnalyticsEntityTypes.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_GROUPS_ID": + return model.GroupsVariable.getJsonObj((jsonObj), true); + case "OCI_APM_DOMAIN_ID": + return model.ApmDomainVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_AUTONOMOUSDATABASE_ID": + return model.AutonomousDataBaseVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_AVAILABILITYDOMAIN_NAME": + return model.AvailabilityDomainVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_KUBERNETES_VERSIONS_ID": + return model.KubernetesVersionsVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_LOADBALANCER_LOADBALANCER_ID": + return model.LoadBalancerVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_IMAGE_ID": + return model.ImageVariable.getJsonObj((jsonObj), true); + case "OCI_LOADBALANCER_LOADBALANCER_RESERVEDIPS_ID": + return model.LoadBalancerReservedIps.getJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_KEY_ID": + return model.KmsKeyVariable.getJsonObj((jsonObj), true); + case "OCI_LOGAN_SOURCE_ID": + return model.LogAnalyticsSources.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DATAGUARD_ID": + return model.DatabaseDataGuardId.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_TAG_VALUE": + return model.TagVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_CLOUDVMCLUSTER_ID": + return model.CloudVmClusterId.getJsonObj((jsonObj), true); + case "OCI_RESOURCEMANAGER_PRIVATEENDPOINT_ID": + return model.PrivateEndpointVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_CONTAINER_CLUSTER_ID": + return model.ContainerClusterVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_MYSQL_SHAPE_ID": + return model.MysqlShapeId.getJsonObj((jsonObj), true); + case "OCI_CORE_VCN_ID": + return model.VcnVariable.getJsonObj((jsonObj), true); + case "OCI_IDENTITY_COMPARTMENT_ID": + return model.CompartmentVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_FAULTDOMAIN_NAME": + return model.FaultDomainVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_INSTANCESHAPEWITHFLEX_NAME": + return model.InstanceShapeVariableWithFlex.getJsonObj( + (jsonObj), + true + ); + case "STRING": + return model.StringVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_INSTANCE_ID": + return model.InstanceVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_EXADATA_ID": + return model.DatabaseExadataId.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DBHOME_ID": + return model.DbHomeVariable.getJsonObj((jsonObj), true); + case "OCI_STORAGE_FILESTORAGE_FILESYSTEM_ID": + return model.FileStorageFilesystemId.getJsonObj( + (jsonObj), + true + ); + case "NUMBER": + return model.NumberVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_SUBNET_ID": + return model.SubnetVariable.getJsonObj((jsonObj), true); + case "OCI_CORE_SSH_PUBLICKEY": + return model.SshPublicKeyVariable.getJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_LOGGROUP_ID": + return model.LogAnalyticsLogGroup.getJsonObj( + (jsonObj), + true + ); + case "BOOLEAN": + return model.BooleanVariable.getJsonObj((jsonObj), true); + case "OCI_DATABASE_DBSYSTEM_ID": + return model.DbSystemVariable.getJsonObj((jsonObj), true); + case "OCI_STORAGE_FILESTORAGE_MOUNTTARGET_ID": + return model.FileStorageMountTargetId.getJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_CDB_ID": + return model.DatabaseCdbId.getJsonObj((jsonObj), true); + case "OCI_DATABASE_DBHOME_DBVERSION": + return model.DbHomeVersionVariable.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: BaseVariable): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "OCI_LOADBALANCER_NETWORKLOADBALANCER_ID": + return model.NetworkLoadBalancerId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "FILE": + return model.FileVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_NATGATEWAY_ID": + return model.NatGatewayVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ENUM": + return model.EnumVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_INSTANCESHAPE_NAME": + return model.InstanceShapeVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_AUTONOMOUSCONTAINERDATABASE_ID": + return model.AutonomousContainerDbVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DATABASE_ID": + return model.DataBaseVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_AUTONOMOUSDATABASEVERSION_ID": + return model.AutonomousDatabaseVersionVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_REGION_NAME": + return model.RegionVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_VOLUME_ID": + return model.VolumeId.getDeserializedJsonObj((jsonObj), true); + case "OCI_CORE_VCN_NETWORKSECURITYGROUP_ID": + return model.VcnNetworkSecurityGroupId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "INTEGER": + return model.IntegerVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DBNODE_ID": + return model.DatabaseDbNodeId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "TEXT": + return model.MultilineVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PASSWORD": + return model.PasswordVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ARRAY": + return model.ArrayVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_MGMT_AGENT_ID": + return model.ManagementAgents.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_BLOCKSTORAGE_POLICIES_ID": + return model.VolumeBackupPoliciesVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_SCHEDULEDTASK_ID": + return model.LogAnalyticsScheduledTasks.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_VAULT_ID": + return model.KmsVaultVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_SERVICEGATEWAY_ID": + return model.ServiceGatewayVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_LOGENTITY_ID": + return model.LogAnalyticsLogEntities.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_VCN_SECLIST_ID": + return model.VcnSecListId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_NSG_ID": + return model.NsgVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_DYNAMICGROUPS_ID": + return model.DynamicGroupsVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_ODS_PROJECT_ID": + return model.OdsProjectVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_MOUNT_TARGET_ID": + return model.MountTargetsVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_DOMAINS_ID": + return model.IdentityDomainVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_OBJECTSTORAGE_BUCKET_NAME": + return model.ObjectStorageBucketName.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_MYSQL_CONFIGURATION_ID": + return model.MysqlConfigurationId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_FILESTORAGE_EXPORTSET_ID": + return model.FileStorageExportSetId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_SECRET_ID": + return model.KmsSecretVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "DATETIME": + return model.DatetimeVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DATAGUARDASSOCIATION_ID": + return model.DatabaseDataguardAssociationId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_ENTITYTYPE_ID": + return model.LogAnalyticsEntityTypes.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_GROUPS_ID": + return model.GroupsVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_APM_DOMAIN_ID": + return model.ApmDomainVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_AUTONOMOUSDATABASE_ID": + return model.AutonomousDataBaseVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_AVAILABILITYDOMAIN_NAME": + return model.AvailabilityDomainVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_KUBERNETES_VERSIONS_ID": + return model.KubernetesVersionsVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOADBALANCER_LOADBALANCER_ID": + return model.LoadBalancerVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_IMAGE_ID": + return model.ImageVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOADBALANCER_LOADBALANCER_RESERVEDIPS_ID": + return model.LoadBalancerReservedIps.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_KMS_KEY_ID": + return model.KmsKeyVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_SOURCE_ID": + return model.LogAnalyticsSources.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DATAGUARD_ID": + return model.DatabaseDataGuardId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_TAG_VALUE": + return model.TagVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_CLOUDVMCLUSTER_ID": + return model.CloudVmClusterId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_RESOURCEMANAGER_PRIVATEENDPOINT_ID": + return model.PrivateEndpointVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CONTAINER_CLUSTER_ID": + return model.ContainerClusterVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_MYSQL_SHAPE_ID": + return model.MysqlShapeId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_VCN_ID": + return model.VcnVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_COMPARTMENT_ID": + return model.CompartmentVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_IDENTITY_FAULTDOMAIN_NAME": + return model.FaultDomainVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_INSTANCESHAPEWITHFLEX_NAME": + return model.InstanceShapeVariableWithFlex.getDeserializedJsonObj( + (jsonObj), + true + ); + case "STRING": + return model.StringVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_INSTANCE_ID": + return model.InstanceVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_EXADATA_ID": + return model.DatabaseExadataId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DBHOME_ID": + return model.DbHomeVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_FILESTORAGE_FILESYSTEM_ID": + return model.FileStorageFilesystemId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "NUMBER": + return model.NumberVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_SUBNET_ID": + return model.SubnetVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_CORE_SSH_PUBLICKEY": + return model.SshPublicKeyVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_LOGAN_LOGGROUP_ID": + return model.LogAnalyticsLogGroup.getDeserializedJsonObj( + (jsonObj), + true + ); + case "BOOLEAN": + return model.BooleanVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DBSYSTEM_ID": + return model.DbSystemVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_STORAGE_FILESTORAGE_MOUNTTARGET_ID": + return model.FileStorageMountTargetId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_CDB_ID": + return model.DatabaseCdbId.getDeserializedJsonObj( + (jsonObj), + true + ); + case "OCI_DATABASE_DBHOME_DBVERSION": + return model.DbHomeVersionVariable.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/bool-output.ts b/lib/fleetappsmanagement/lib/model/bool-output.ts new file mode 100644 index 0000000000..4414bf2065 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/bool-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Boolean output. + */ +export interface BoolOutput extends model.BaseOutput { + /** + * Boolean output Value. + */ + "value"?: boolean; + + "type": string; +} + +export namespace BoolOutput { + export function getJsonObj(obj: BoolOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as BoolOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "boolean"; + export function getDeserializedJsonObj(obj: BoolOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as BoolOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/boolean-variable.ts b/lib/fleetappsmanagement/lib/model/boolean-variable.ts new file mode 100644 index 0000000000..14da4f29fa --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/boolean-variable.ts @@ -0,0 +1,50 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Boolean variable. + */ +export interface BooleanVariable extends model.BaseVariable { + /** + * The default boolean value if none is provided. + */ + "defaultValue"?: boolean; + + "type": string; +} + +export namespace BooleanVariable { + export function getJsonObj(obj: BooleanVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as BooleanVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "BOOLEAN"; + export function getDeserializedJsonObj(obj: BooleanVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as BooleanVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts b/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts index 4898abd0c2..e5a85c7a3b 100644 --- a/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts +++ b/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts @@ -101,6 +101,10 @@ export interface CatalogItemSummary { * */ "timeReleased": Date; + /** + * Indicates if the CatalogItem is immutable or not. + */ + "isItemLocked"?: boolean; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/catalog-item-variables-definition.ts b/lib/fleetappsmanagement/lib/model/catalog-item-variables-definition.ts new file mode 100644 index 0000000000..afbe492a5d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-item-variables-definition.ts @@ -0,0 +1,68 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Variables Definitions for a CatalogItem. + */ +export interface CatalogItemVariablesDefinition { + "schemaDocument": model.SchemaDocument; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * 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 CatalogItemVariablesDefinition { + export function getJsonObj(obj: CatalogItemVariablesDefinition): object { + const jsonObj = { + ...obj, + ...{ + "schemaDocument": obj.schemaDocument + ? model.SchemaDocument.getJsonObj(obj.schemaDocument) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogItemVariablesDefinition): object { + const jsonObj = { + ...obj, + ...{ + "schemaDocument": obj.schemaDocument + ? model.SchemaDocument.getDeserializedJsonObj(obj.schemaDocument) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-item.ts b/lib/fleetappsmanagement/lib/model/catalog-item.ts index c0fb18e5ad..a7b26204a7 100644 --- a/lib/fleetappsmanagement/lib/model/catalog-item.ts +++ b/lib/fleetappsmanagement/lib/model/catalog-item.ts @@ -121,6 +121,10 @@ export interface CatalogItem { * */ "timeLastChecked"?: Date; + /** + * Indicates if the CatalogItem is immutable or not. + */ + "isItemLocked"?: boolean; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/choice.ts b/lib/fleetappsmanagement/lib/model/choice.ts new file mode 100644 index 0000000000..e12ef9839b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/choice.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * choice. + */ +export interface Choice { + /** + * List of required values. + */ + "requiredValues": Array; +} + +export namespace Choice { + export function getJsonObj(obj: Choice): object { + const jsonObj = { + ...obj, + ...{ + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportDependencyFinderRequiredValue.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Choice): object { + const jsonObj = { + ...obj, + ...{ + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportDependencyFinderRequiredValue.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/cloud-vm-cluster-id.ts b/lib/fleetappsmanagement/lib/model/cloud-vm-cluster-id.ts new file mode 100644 index 0000000000..d806184d28 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/cloud-vm-cluster-id.ts @@ -0,0 +1,45 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Cloud VM cluster Id. + */ +export interface CloudVmClusterId extends model.BaseVariable { + "type": string; +} + +export namespace CloudVmClusterId { + export function getJsonObj(obj: CloudVmClusterId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as CloudVmClusterId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_CLOUDVMCLUSTER_ID"; + export function getDeserializedJsonObj(obj: CloudVmClusterId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as CloudVmClusterId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/column-metadata.ts b/lib/fleetappsmanagement/lib/model/column-metadata.ts new file mode 100644 index 0000000000..da7d2c051a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/column-metadata.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Column metadata. + */ +export interface ColumnMetadata { + /** + * Column name. + */ + "name": string; + /** + * Column description + */ + "description": string; + /** + * Column value type. + * + */ + "type": ColumnMetadata.Type; +} + +export namespace ColumnMetadata { + export enum Type { + String = "STRING", + Number = "NUMBER", + DateTime = "DATE_TIME", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ColumnMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ColumnMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compartment-variable.ts b/lib/fleetappsmanagement/lib/model/compartment-variable.ts new file mode 100644 index 0000000000..e82ff83bc1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/compartment-variable.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Compartment variable. + */ +export interface CompartmentVariable extends model.BaseVariable { + /** + * Default value. + */ + "defaultValue"?: string; + /** + * Depends On object. + */ + "dependsOn"?: any; + + "type": string; +} + +export namespace CompartmentVariable { + export function getJsonObj(obj: CompartmentVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as CompartmentVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_COMPARTMENT_ID"; + export function getDeserializedJsonObj( + obj: CompartmentVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as CompartmentVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compliance.ts b/lib/fleetappsmanagement/lib/model/compliance.ts new file mode 100644 index 0000000000..9c4763d9b1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/compliance.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Compliance Summary + */ +export interface Compliance { + /** + * Compliance State. + */ + "complianceState": string; + /** + * Confirmed Target Count. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "confirmedTargetCount": number; + /** + * Non Compliant Target Count. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "nonCompliantTargetCount": number; +} + +export namespace Compliance { + export function getJsonObj(obj: Compliance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Compliance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/component-properties.ts b/lib/fleetappsmanagement/lib/model/component-properties.ts index 0f3b7985be..b502810b36 100644 --- a/lib/fleetappsmanagement/lib/model/component-properties.ts +++ b/lib/fleetappsmanagement/lib/model/component-properties.ts @@ -22,7 +22,8 @@ export interface ComponentProperties { "runOn"?: | model.SelfHostedInstanceRunOnDetails | model.ScheduleInstanceRunOnDetails - | model.PreviousTaskInstanceRunOnDetails; + | model.PreviousTaskInstanceRunOnDetails + | model.ScheduleInstanceTargetRunOnDetails; /** * Build control flow conditions that determine the relevance of the task execution. * diff --git a/lib/fleetappsmanagement/lib/model/configure-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/configure-catalog-item-details.ts new file mode 100644 index 0000000000..5c41cc6f36 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/configure-catalog-item-details.ts @@ -0,0 +1,99 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Contains the details required to configure a catalog item. + */ +export interface ConfigureCatalogItemDetails { + /** + * The Oracle Cloud Object Storage namespace where the artifact or variables are stored. + */ + "storageNamespace": string; + /** + * The name of the Object Storage bucket that contains the catalog item configuration object. + */ + "bucketName": string; + /** + * The name of the object file in the specified bucket containing catalog item configuration details. + */ + "objectName"?: string; + /** + * OCID of the Compartment. + */ + "compartmentId": string; + /** + * The unique identifier of the catalog listing to which configuration applies. + */ + "catalogListingId"?: string; + /** + * The unique identifier for the specific version of the catalog listing. + */ + "catalogListingVersionId"?: string; + /** + * Array of key value pairs specifying variables or parameters to be used when configuring the catalog item. + */ + "inputVariables": Array; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * 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 ConfigureCatalogItemDetails { + export function getJsonObj(obj: ConfigureCatalogItemDetails): object { + const jsonObj = { + ...obj, + ...{ + "inputVariables": obj.inputVariables + ? obj.inputVariables.map(item => { + return model.KeyValueProperty.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ConfigureCatalogItemDetails): object { + const jsonObj = { + ...obj, + ...{ + "inputVariables": obj.inputVariables + ? obj.inputVariables.map(item => { + return model.KeyValueProperty.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/container-cluster-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/container-cluster-variable-depends-on.ts new file mode 100644 index 0000000000..4b3c8af5bd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/container-cluster-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface ContainerClusterVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace ContainerClusterVariableDependsOn { + export function getJsonObj(obj: ContainerClusterVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ContainerClusterVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/container-cluster-variable.ts b/lib/fleetappsmanagement/lib/model/container-cluster-variable.ts new file mode 100644 index 0000000000..cc39db9687 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/container-cluster-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Container cluster variable. + */ +export interface ContainerClusterVariable extends model.BaseVariable { + "dependsOn"?: model.ContainerClusterVariableDependsOn; + + "type": string; +} + +export namespace ContainerClusterVariable { + export function getJsonObj(obj: ContainerClusterVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ContainerClusterVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ContainerClusterVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CONTAINER_CLUSTER_ID"; + export function getDeserializedJsonObj( + obj: ContainerClusterVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ContainerClusterVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ContainerClusterVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/copyable-string-output.ts b/lib/fleetappsmanagement/lib/model/copyable-string-output.ts new file mode 100644 index 0000000000..e916d280e6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/copyable-string-output.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Copyable String output. + */ +export interface CopyableStringOutput extends model.BaseOutput { + /** + * Value of string that user can easily copy. + */ + "value"?: string; + + "type": string; +} + +export namespace CopyableStringOutput { + export function getJsonObj(obj: CopyableStringOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as CopyableStringOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "COPYABLESTRING"; + export function getDeserializedJsonObj( + obj: CopyableStringOutput, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseOutput.getDeserializedJsonObj(obj) as CopyableStringOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts index 4e102d527f..7555ed025c 100644 --- a/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts @@ -71,6 +71,10 @@ export interface CreateCatalogItemDetails { * */ "packageType": string; + /** + * Indicates if the CatalogItem is immutable or not. + */ + "isItemLocked"?: boolean; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/create-fleet-details.ts b/lib/fleetappsmanagement/lib/model/create-fleet-details.ts index e3722e806f..d2cf6b4319 100644 --- a/lib/fleetappsmanagement/lib/model/create-fleet-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-fleet-details.ts @@ -44,6 +44,8 @@ Example: {@code My new resource} | model.EnvironmentFleetDetails; /** * Products associated with the Fleet. + * Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed. + * */ "products"?: Array; /** diff --git a/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts b/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts index 02f4aa676c..406ab357b6 100644 --- a/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts @@ -35,6 +35,18 @@ export interface CreateOnboardingDetails { * */ "isCostTrackingTagEnabled"?: boolean; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace CreateOnboardingDetails { diff --git a/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts b/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts index 4db7c72104..4453f5a9a6 100644 --- a/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts @@ -45,6 +45,18 @@ Example: {@code My new resource} | model.LifecycleOperationConfigCategoryDetails | model.ProductConfigCategoryDetails | model.SelfHostedInstanceConfigCategoryDetails; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace CreatePlatformConfigurationDetails { diff --git a/lib/fleetappsmanagement/lib/model/create-property-details.ts b/lib/fleetappsmanagement/lib/model/create-property-details.ts index 4ca29e0898..5a3fc3c1de 100644 --- a/lib/fleetappsmanagement/lib/model/create-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-property-details.ts @@ -43,6 +43,18 @@ Example: {@code My new resource} * Values of the property (must be a single value if selection = 'SINGLE_CHOICE'). */ "values"?: Array; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace CreatePropertyDetails { diff --git a/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts index 4b737027d2..b59246a3dc 100644 --- a/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts @@ -16,7 +16,9 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information about new Runbook. + * The information about new runbook version. + * Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time. + * */ export interface CreateRunbookVersionDetails { /** @@ -28,7 +30,7 @@ export interface CreateRunbookVersionDetails { */ "tasks": Array; /** - * The groups of the runbook. + * The groups of the runbook version. * */ "groups": Array; diff --git a/lib/fleetappsmanagement/lib/model/csv-output.ts b/lib/fleetappsmanagement/lib/model/csv-output.ts new file mode 100644 index 0000000000..243741758a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/csv-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * CSV output. + */ +export interface CsvOutput extends model.BaseOutput { + /** + * Array of objects for CSV rows. + */ + "value"?: Array; + + "type": string; +} + +export namespace CsvOutput { + export function getJsonObj(obj: CsvOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as CsvOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "CSV"; + export function getDeserializedJsonObj(obj: CsvOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as CsvOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/data-base-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/data-base-variable-depends-on.ts new file mode 100644 index 0000000000..2881dff86a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/data-base-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface DataBaseVariableDependsOn { + /** + * OCID of the DB home. + */ + "dbHomeId": string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace DataBaseVariableDependsOn { + export function getJsonObj(obj: DataBaseVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DataBaseVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/data-base-variable.ts b/lib/fleetappsmanagement/lib/model/data-base-variable.ts new file mode 100644 index 0000000000..7f4574719c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/data-base-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database variable. + */ +export interface DataBaseVariable extends model.BaseVariable { + "dependsOn"?: model.DataBaseVariableDependsOn; + + "type": string; +} + +export namespace DataBaseVariable { + export function getJsonObj(obj: DataBaseVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DataBaseVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DataBaseVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DATABASE_ID"; + export function getDeserializedJsonObj(obj: DataBaseVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DataBaseVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DataBaseVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/database-cdb-id.ts b/lib/fleetappsmanagement/lib/model/database-cdb-id.ts new file mode 100644 index 0000000000..c8f60d9d9d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/database-cdb-id.ts @@ -0,0 +1,45 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database CDB Id. + */ +export interface DatabaseCdbId extends model.BaseVariable { + "type": string; +} + +export namespace DatabaseCdbId { + export function getJsonObj(obj: DatabaseCdbId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DatabaseCdbId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_CDB_ID"; + export function getDeserializedJsonObj(obj: DatabaseCdbId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatabaseCdbId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/database-data-guard-id.ts b/lib/fleetappsmanagement/lib/model/database-data-guard-id.ts new file mode 100644 index 0000000000..acc17bd241 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/database-data-guard-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database dataguard Id. + */ +export interface DatabaseDataGuardId extends model.BaseVariable { + "type": string; +} + +export namespace DatabaseDataGuardId { + export function getJsonObj(obj: DatabaseDataGuardId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DatabaseDataGuardId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DATAGUARD_ID"; + export function getDeserializedJsonObj( + obj: DatabaseDataGuardId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatabaseDataGuardId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/database-dataguard-association-id.ts b/lib/fleetappsmanagement/lib/model/database-dataguard-association-id.ts new file mode 100644 index 0000000000..c6cf1766e0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/database-dataguard-association-id.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database dataguard association Id. + */ +export interface DatabaseDataguardAssociationId extends model.BaseVariable { + "type": string; +} + +export namespace DatabaseDataguardAssociationId { + export function getJsonObj( + obj: DatabaseDataguardAssociationId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as DatabaseDataguardAssociationId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DATAGUARDASSOCIATION_ID"; + export function getDeserializedJsonObj( + obj: DatabaseDataguardAssociationId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatabaseDataguardAssociationId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/database-db-node-id.ts b/lib/fleetappsmanagement/lib/model/database-db-node-id.ts new file mode 100644 index 0000000000..1318f0606b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/database-db-node-id.ts @@ -0,0 +1,45 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database DB Node Id. + */ +export interface DatabaseDbNodeId extends model.BaseVariable { + "type": string; +} + +export namespace DatabaseDbNodeId { + export function getJsonObj(obj: DatabaseDbNodeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DatabaseDbNodeId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DBNODE_ID"; + export function getDeserializedJsonObj(obj: DatabaseDbNodeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatabaseDbNodeId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/database-exadata-id.ts b/lib/fleetappsmanagement/lib/model/database-exadata-id.ts new file mode 100644 index 0000000000..1ccf3afd1d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/database-exadata-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Database exadata Id. + */ +export interface DatabaseExadataId extends model.BaseVariable { + "type": string; +} + +export namespace DatabaseExadataId { + export function getJsonObj(obj: DatabaseExadataId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DatabaseExadataId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_EXADATA_ID"; + export function getDeserializedJsonObj( + obj: DatabaseExadataId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatabaseExadataId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/datetime-variable.ts b/lib/fleetappsmanagement/lib/model/datetime-variable.ts new file mode 100644 index 0000000000..28d59b412f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/datetime-variable.ts @@ -0,0 +1,50 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Datetime variable. + */ +export interface DatetimeVariable extends model.BaseVariable { + /** + * Default value for date/time input. + */ + "defaultValue"?: string; + + "type": string; +} + +export namespace DatetimeVariable { + export function getJsonObj(obj: DatetimeVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DatetimeVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "DATETIME"; + export function getDeserializedJsonObj(obj: DatetimeVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DatetimeVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-home-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/db-home-variable-depends-on.ts new file mode 100644 index 0000000000..0d3c8d6d05 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-home-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface DbHomeVariableDependsOn { + /** + * OCID of the DB system. + */ + "dbSystemId": string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace DbHomeVariableDependsOn { + export function getJsonObj(obj: DbHomeVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbHomeVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-home-variable.ts b/lib/fleetappsmanagement/lib/model/db-home-variable.ts new file mode 100644 index 0000000000..c2e37ee40f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-home-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * DB home variable. + */ +export interface DbHomeVariable extends model.BaseVariable { + "dependsOn"?: model.DbHomeVariableDependsOn; + + "type": string; +} + +export namespace DbHomeVariable { + export function getJsonObj(obj: DbHomeVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DbHomeVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbHomeVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DBHOME_ID"; + export function getDeserializedJsonObj(obj: DbHomeVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DbHomeVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbHomeVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-home-version-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/db-home-version-variable-depends-on.ts new file mode 100644 index 0000000000..e2c1567806 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-home-version-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface DbHomeVersionVariableDependsOn { + /** + * OCID of the DB Home. + */ + "dbHomeId": string; +} + +export namespace DbHomeVersionVariableDependsOn { + export function getJsonObj(obj: DbHomeVersionVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbHomeVersionVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-home-version-variable.ts b/lib/fleetappsmanagement/lib/model/db-home-version-variable.ts new file mode 100644 index 0000000000..b01350e849 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-home-version-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * DB home version variable. + */ +export interface DbHomeVersionVariable extends model.BaseVariable { + "dependsOn"?: model.DbHomeVersionVariableDependsOn; + + "type": string; +} + +export namespace DbHomeVersionVariable { + export function getJsonObj(obj: DbHomeVersionVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DbHomeVersionVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbHomeVersionVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DBHOME_DBVERSION"; + export function getDeserializedJsonObj( + obj: DbHomeVersionVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DbHomeVersionVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbHomeVersionVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-system-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/db-system-variable-depends-on.ts new file mode 100644 index 0000000000..85c4433221 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-system-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface DbSystemVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace DbSystemVariableDependsOn { + export function getJsonObj(obj: DbSystemVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DbSystemVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/db-system-variable.ts b/lib/fleetappsmanagement/lib/model/db-system-variable.ts new file mode 100644 index 0000000000..281252eb64 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/db-system-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * DB system variable. + */ +export interface DbSystemVariable extends model.BaseVariable { + "dependsOn"?: model.DbSystemVariableDependsOn; + + "type": string; +} + +export namespace DbSystemVariable { + export function getJsonObj(obj: DbSystemVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DbSystemVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbSystemVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_DBSYSTEM_ID"; + export function getDeserializedJsonObj(obj: DbSystemVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DbSystemVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DbSystemVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/discovered-target.ts b/lib/fleetappsmanagement/lib/model/discovered-target.ts index 2aee2a090e..6a1ad9f258 100644 --- a/lib/fleetappsmanagement/lib/model/discovered-target.ts +++ b/lib/fleetappsmanagement/lib/model/discovered-target.ts @@ -40,9 +40,21 @@ export interface DiscoveredTarget { * Current version of the target. */ "version"?: string; + /** + * Type of operation to be done against given target. + * ADD - Add target. + * REMOVE - Delete target. + * + */ + "operation"?: DiscoveredTarget.Operation; } export namespace DiscoveredTarget { + export enum Operation { + Add = "ADD", + Remove = "REMOVE" + } + export function getJsonObj(obj: DiscoveredTarget): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/fleetappsmanagement/lib/model/dynamic-groups-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/dynamic-groups-variable-depends-on.ts new file mode 100644 index 0000000000..65fd74fbcd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/dynamic-groups-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface DynamicGroupsVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace DynamicGroupsVariableDependsOn { + export function getJsonObj(obj: DynamicGroupsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DynamicGroupsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/dynamic-groups-variable.ts b/lib/fleetappsmanagement/lib/model/dynamic-groups-variable.ts new file mode 100644 index 0000000000..1f4028874f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/dynamic-groups-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Dynamic groups variable. + */ +export interface DynamicGroupsVariable extends model.BaseVariable { + "dependsOn"?: model.DynamicGroupsVariableDependsOn; + + "type": string; +} + +export namespace DynamicGroupsVariable { + export function getJsonObj(obj: DynamicGroupsVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as DynamicGroupsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DynamicGroupsVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_DYNAMICGROUPS_ID"; + export function getDeserializedJsonObj( + obj: DynamicGroupsVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as DynamicGroupsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.DynamicGroupsVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/enum-variable.ts b/lib/fleetappsmanagement/lib/model/enum-variable.ts new file mode 100644 index 0000000000..91a10be573 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/enum-variable.ts @@ -0,0 +1,56 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Enum variable. + */ +export interface EnumVariable extends model.BaseVariable { + /** + * List of allowed string values for this enum variable. + */ + "enumValue"?: Array; + /** + * efault value selected if the user does not provide a value. + */ + "defaultValue"?: string; + /** + * True if multiple selections are allowed for this variable. + */ + "canAllowMultiple"?: boolean; + + "type": string; +} + +export namespace EnumVariable { + export function getJsonObj(obj: EnumVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as EnumVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "ENUM"; + export function getDeserializedJsonObj(obj: EnumVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as EnumVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/export-runbook-details.ts b/lib/fleetappsmanagement/lib/model/export-runbook-details.ts new file mode 100644 index 0000000000..f31b6d5504 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/export-runbook-details.ts @@ -0,0 +1,62 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to Export Runbook. + */ +export interface ExportRunbookDetails { + "contentDestination": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + /** + * Export Runbook As Type. + * + */ + "exportAs"?: ExportRunbookDetails.ExportAs; +} + +export namespace ExportRunbookDetails { + export enum ExportAs { + Terraform = "TERRAFORM", + NonTerraform = "NON_TERRAFORM" + } + + export function getJsonObj(obj: ExportRunbookDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentDestination) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ExportRunbookDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentDestination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/export-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/export-runbook-version-details.ts new file mode 100644 index 0000000000..9dc272be3b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/export-runbook-version-details.ts @@ -0,0 +1,56 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to Export Runbook Version. + */ +export interface ExportRunbookVersionDetails { + "contentDestination": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + /** + * Export Runbook Version Details. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "version"?: number; +} + +export namespace ExportRunbookVersionDetails { + export function getJsonObj(obj: ExportRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentDestination) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ExportRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentDestination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fault-domain-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/fault-domain-variable-depends-on.ts new file mode 100644 index 0000000000..0533c40ffb --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fault-domain-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface FaultDomainVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * Name of the AD in which the fault domain exists. + */ + "availabilityDomainName": string; +} + +export namespace FaultDomainVariableDependsOn { + export function getJsonObj(obj: FaultDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: FaultDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fault-domain-variable.ts b/lib/fleetappsmanagement/lib/model/fault-domain-variable.ts new file mode 100644 index 0000000000..6772828c24 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fault-domain-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fault domain variable. + */ +export interface FaultDomainVariable extends model.BaseVariable { + "dependsOn"?: model.FaultDomainVariableDependsOn; + + "type": string; +} + +export namespace FaultDomainVariable { + export function getJsonObj(obj: FaultDomainVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as FaultDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.FaultDomainVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_FAULTDOMAIN_NAME"; + export function getDeserializedJsonObj( + obj: FaultDomainVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as FaultDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.FaultDomainVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/file-storage-export-set-id.ts b/lib/fleetappsmanagement/lib/model/file-storage-export-set-id.ts new file mode 100644 index 0000000000..9429c0c06a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-storage-export-set-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * File storage export set id. + */ +export interface FileStorageExportSetId extends model.BaseVariable { + "type": string; +} + +export namespace FileStorageExportSetId { + export function getJsonObj(obj: FileStorageExportSetId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as FileStorageExportSetId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_STORAGE_FILESTORAGE_EXPORTSET_ID"; + export function getDeserializedJsonObj( + obj: FileStorageExportSetId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as FileStorageExportSetId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/file-storage-filesystem-id.ts b/lib/fleetappsmanagement/lib/model/file-storage-filesystem-id.ts new file mode 100644 index 0000000000..4fabbb1185 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-storage-filesystem-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * File storage file system Id. + */ +export interface FileStorageFilesystemId extends model.BaseVariable { + "type": string; +} + +export namespace FileStorageFilesystemId { + export function getJsonObj(obj: FileStorageFilesystemId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as FileStorageFilesystemId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_STORAGE_FILESTORAGE_FILESYSTEM_ID"; + export function getDeserializedJsonObj( + obj: FileStorageFilesystemId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as FileStorageFilesystemId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/file-storage-mount-target-id.ts b/lib/fleetappsmanagement/lib/model/file-storage-mount-target-id.ts new file mode 100644 index 0000000000..33159e4e8f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-storage-mount-target-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * File storage mount target Id. + */ +export interface FileStorageMountTargetId extends model.BaseVariable { + "type": string; +} + +export namespace FileStorageMountTargetId { + export function getJsonObj(obj: FileStorageMountTargetId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as FileStorageMountTargetId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_STORAGE_FILESTORAGE_MOUNTTARGET_ID"; + export function getDeserializedJsonObj( + obj: FileStorageMountTargetId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as FileStorageMountTargetId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/file-variable.ts b/lib/fleetappsmanagement/lib/model/file-variable.ts new file mode 100644 index 0000000000..bc8408252d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-variable.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * File variable. + */ +export interface FileVariable extends model.BaseVariable { + "type": string; +} + +export namespace FileVariable { + export function getJsonObj(obj: FileVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as FileVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "FILE"; + export function getDeserializedJsonObj(obj: FileVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as FileVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/filter.ts b/lib/fleetappsmanagement/lib/model/filter.ts new file mode 100644 index 0000000000..08f6f5c566 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/filter.ts @@ -0,0 +1,70 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 array of Managed Entity objects + */ +export interface Filter { + /** + * Name of report. + */ + "fieldName": string; + + "filterType": string; +} + +export namespace Filter { + export function getJsonObj(obj: Filter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "MULTI_VALUE": + return model.MultiValueFilter.getJsonObj((jsonObj), true); + case "SINGLE_VALUE": + return model.SingleValueFilter.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: Filter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "MULTI_VALUE": + return model.MultiValueFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "SINGLE_VALUE": + return model.SingleValueFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/find-runbook-export-dependency-details.ts b/lib/fleetappsmanagement/lib/model/find-runbook-export-dependency-details.ts new file mode 100644 index 0000000000..abf2de6f2e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/find-runbook-export-dependency-details.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to find runbook export dependencies. + */ +export interface FindRunbookExportDependencyDetails { + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * The OCID of the resource. + */ + "runbookVersionId"?: string; +} + +export namespace FindRunbookExportDependencyDetails { + export function getJsonObj(obj: FindRunbookExportDependencyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: FindRunbookExportDependencyDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/find-runbook-import-dependency-details.ts b/lib/fleetappsmanagement/lib/model/find-runbook-import-dependency-details.ts new file mode 100644 index 0000000000..0bcbec59c8 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/find-runbook-import-dependency-details.ts @@ -0,0 +1,56 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to find runbook import dependencies. + */ +export interface FindRunbookImportDependencyDetails { + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + "content": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; +} + +export namespace FindRunbookImportDependencyDetails { + export function getJsonObj(obj: FindRunbookImportDependencyDetails): object { + const jsonObj = { + ...obj, + ...{ + "content": obj.content + ? model.TransferRunbookContentDetails.getJsonObj(obj.content) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: FindRunbookImportDependencyDetails): object { + const jsonObj = { + ...obj, + ...{ + "content": obj.content + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.content) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet.ts b/lib/fleetappsmanagement/lib/model/fleet.ts index 54c609b667..d928d2c731 100644 --- a/lib/fleetappsmanagement/lib/model/fleet.ts +++ b/lib/fleetappsmanagement/lib/model/fleet.ts @@ -56,6 +56,8 @@ Example: {@code My new resource} "timeUpdated"?: Date; /** * Products associated with the Fleet. + * PlatformConfiguration Ids corresponding to the Products. + * */ "products"?: Array; "details"?: diff --git a/lib/fleetappsmanagement/lib/model/groups-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/groups-variable-depends-on.ts new file mode 100644 index 0000000000..a41f8fbb0f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/groups-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface GroupsVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace GroupsVariableDependsOn { + export function getJsonObj(obj: GroupsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GroupsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/groups-variable.ts b/lib/fleetappsmanagement/lib/model/groups-variable.ts new file mode 100644 index 0000000000..dad953895a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/groups-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Group variable. + */ +export interface GroupsVariable extends model.BaseVariable { + "dependsOn"?: model.GroupsVariableDependsOn; + + "type": string; +} + +export namespace GroupsVariable { + export function getJsonObj(obj: GroupsVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as GroupsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.GroupsVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_GROUPS_ID"; + export function getDeserializedJsonObj(obj: GroupsVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as GroupsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.GroupsVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/identity-domain-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/identity-domain-variable-depends-on.ts new file mode 100644 index 0000000000..cf052d5467 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/identity-domain-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface IdentityDomainVariableDependsOn { + /** + * OCID for the compartment. + */ + "compartmentId": string; +} + +export namespace IdentityDomainVariableDependsOn { + export function getJsonObj(obj: IdentityDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: IdentityDomainVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/identity-domain-variable.ts b/lib/fleetappsmanagement/lib/model/identity-domain-variable.ts new file mode 100644 index 0000000000..740be84cfd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/identity-domain-variable.ts @@ -0,0 +1,62 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Identity domain variable. + */ +export interface IdentityDomainVariable extends model.BaseVariable { + /** + * The regex pattern for valid values. + */ + "pattern"?: string; + "dependsOn"?: model.IdentityDomainVariableDependsOn; + + "type": string; +} + +export namespace IdentityDomainVariable { + export function getJsonObj(obj: IdentityDomainVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as IdentityDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.IdentityDomainVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_DOMAINS_ID"; + export function getDeserializedJsonObj( + obj: IdentityDomainVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as IdentityDomainVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.IdentityDomainVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/image-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/image-variable-depends-on.ts new file mode 100644 index 0000000000..8201a9dbbf --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/image-variable-depends-on.ts @@ -0,0 +1,51 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends On object. + */ +export interface ImageVariableDependsOn { + /** + * OCID for the compartment. + */ + "compartmentId": string; + /** + * Compute shape required for the image. + */ + "shape"?: string; + /** + * Name of the required operating system. + */ + "operatingSystem"?: string; + /** + * Required operating system version. + */ + "operatingSystemVersion"?: string; +} + +export namespace ImageVariableDependsOn { + export function getJsonObj(obj: ImageVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImageVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/image-variable.ts b/lib/fleetappsmanagement/lib/model/image-variable.ts new file mode 100644 index 0000000000..c95983347e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/image-variable.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Image variable. + */ +export interface ImageVariable extends model.BaseVariable { + /** + * Regex pattern for allowed image references.. + */ + "pattern"?: string; + "dependsOn"?: model.ImageVariableDependsOn; + + "type": string; +} + +export namespace ImageVariable { + export function getJsonObj(obj: ImageVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ImageVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ImageVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_IMAGE_ID"; + export function getDeserializedJsonObj(obj: ImageVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ImageVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ImageVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/import-runbook-details.ts b/lib/fleetappsmanagement/lib/model/import-runbook-details.ts new file mode 100644 index 0000000000..14e6c1dc0f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/import-runbook-details.ts @@ -0,0 +1,100 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to Import Runbook. + */ +export interface ImportRunbookDetails { + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + "contentSource": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + "contentDestination": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + /** + * The name of the runbook. + */ + "runbookName"?: string; + /** + * ImportOptions for Runbook. + * + */ + "importOption"?: ImportRunbookDetails.ImportOption; + /** + * Version number. + */ + "version"?: string; + /** + * List of required values. + */ + "requiredValues"?: Array; +} + +export namespace ImportRunbookDetails { + export enum ImportOption { + Retain = "RETAIN", + Replace = "REPLACE", + Increment = "INCREMENT" + } + + export function getJsonObj(obj: ImportRunbookDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentDestination) + : undefined, + + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportRequiredValue.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportRunbookDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentDestination) + : undefined, + + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportRequiredValue.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/import-runbook-precheck-details.ts b/lib/fleetappsmanagement/lib/model/import-runbook-precheck-details.ts new file mode 100644 index 0000000000..20622bde19 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/import-runbook-precheck-details.ts @@ -0,0 +1,84 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request for precheck of Runbook import. + */ +export interface ImportRunbookPrecheckDetails { + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + "contentSource": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + "contentDestination": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + "importAs"?: model.RunbookImportAsVersion | model.RunbookImportAsRunbook; + /** + * List of required values. + */ + "requiredValues"?: Array; +} + +export namespace ImportRunbookPrecheckDetails { + export function getJsonObj(obj: ImportRunbookPrecheckDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentDestination) + : undefined, + "importAs": obj.importAs ? model.RunbookImportAs.getJsonObj(obj.importAs) : undefined, + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.ImportRunbookPrecheckRequiredValue.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportRunbookPrecheckDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentDestination) + : undefined, + "importAs": obj.importAs + ? model.RunbookImportAs.getDeserializedJsonObj(obj.importAs) + : undefined, + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.ImportRunbookPrecheckRequiredValue.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/import-runbook-precheck-required-value.ts b/lib/fleetappsmanagement/lib/model/import-runbook-precheck-required-value.ts new file mode 100644 index 0000000000..8ef82d5435 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/import-runbook-precheck-required-value.ts @@ -0,0 +1,51 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook import precheck required value. + */ +export interface ImportRunbookPrecheckRequiredValue { + /** + * Step name for required value. + */ + "stepName"?: string; + /** + * Value for required value. + */ + "value"?: string; + /** + * placeholder. + */ + "placeholder"?: string; + /** + * Field for required value. + */ + "field": string; +} + +export namespace ImportRunbookPrecheckRequiredValue { + export function getJsonObj(obj: ImportRunbookPrecheckRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportRunbookPrecheckRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/import-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/import-runbook-version-details.ts new file mode 100644 index 0000000000..f7300fb361 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/import-runbook-version-details.ts @@ -0,0 +1,94 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request to Export Runbook Version. + */ +export interface ImportRunbookVersionDetails { + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + "contentSource": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + "contentDestination": + | model.TransferRunbookObjectStorageBucketContentDetails + | model.TransferRunbookParUrlContentDetails; + /** + * The OCID of the resource. + */ + "runbookId"?: string; + /** + * ImportOptions for Runbook. + * + */ + "importOption"?: string; + /** + * Version number. + */ + "version"?: string; + /** + * List of required values. + */ + "requiredValues"?: Array; +} + +export namespace ImportRunbookVersionDetails { + export function getJsonObj(obj: ImportRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getJsonObj(obj.contentDestination) + : undefined, + + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportRequiredValue.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "contentSource": obj.contentSource + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentSource) + : undefined, + "contentDestination": obj.contentDestination + ? model.TransferRunbookContentDetails.getDeserializedJsonObj(obj.contentDestination) + : undefined, + + "requiredValues": obj.requiredValues + ? obj.requiredValues.map(item => { + return model.RunbookImportRequiredValue.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/index.ts b/lib/fleetappsmanagement/lib/model/index.ts index aab08c2ded..9f8055c4e5 100644 --- a/lib/fleetappsmanagement/lib/model/index.ts +++ b/lib/fleetappsmanagement/lib/model/index.ts @@ -38,6 +38,20 @@ import * as AssociatedSchedulerDefinition from "./associated-scheduler-definitio export import AssociatedSchedulerDefinition = AssociatedSchedulerDefinition.AssociatedSchedulerDefinition; import * as AssociatedTaskDetails from "./associated-task-details"; export import AssociatedTaskDetails = AssociatedTaskDetails.AssociatedTaskDetails; +import * as Association from "./association"; +export import Association = Association.Association; +import * as AutonomousContainerDbVariableDependsOn from "./autonomous-container-db-variable-depends-on"; +export import AutonomousContainerDbVariableDependsOn = AutonomousContainerDbVariableDependsOn.AutonomousContainerDbVariableDependsOn; +import * as AutonomousDataBaseVariableDependsOn from "./autonomous-data-base-variable-depends-on"; +export import AutonomousDataBaseVariableDependsOn = AutonomousDataBaseVariableDependsOn.AutonomousDataBaseVariableDependsOn; +import * as AutonomousDatabaseVersionVariableDependsOn from "./autonomous-database-version-variable-depends-on"; +export import AutonomousDatabaseVersionVariableDependsOn = AutonomousDatabaseVersionVariableDependsOn.AutonomousDatabaseVersionVariableDependsOn; +import * as AvailabilityDomainVariableDependsOn from "./availability-domain-variable-depends-on"; +export import AvailabilityDomainVariableDependsOn = AvailabilityDomainVariableDependsOn.AvailabilityDomainVariableDependsOn; +import * as BaseOutput from "./base-output"; +export import BaseOutput = BaseOutput.BaseOutput; +import * as BaseVariable from "./base-variable"; +export import BaseVariable = BaseVariable.BaseVariable; import * as CatalogItem from "./catalog-item"; export import CatalogItem = CatalogItem.CatalogItem; import * as CatalogItemCollection from "./catalog-item-collection"; @@ -46,6 +60,8 @@ import * as CatalogItemSortBy from "./catalog-item-sort-by"; export import CatalogItemSortBy = CatalogItemSortBy.CatalogItemSortBy; import * as CatalogItemSummary from "./catalog-item-summary"; export import CatalogItemSummary = CatalogItemSummary.CatalogItemSummary; +import * as CatalogItemVariablesDefinition from "./catalog-item-variables-definition"; +export import CatalogItemVariablesDefinition = CatalogItemVariablesDefinition.CatalogItemVariablesDefinition; import * as CatalogListingVersionCriteriaEnum from "./catalog-listing-version-criteria-enum"; export import CatalogListingVersionCriteriaEnum = CatalogListingVersionCriteriaEnum.CatalogListingVersionCriteriaEnum; import * as CatalogResultPayload from "./catalog-result-payload"; @@ -70,8 +86,14 @@ import * as ChangeTaskRecordCompartmentDetails from "./change-task-record-compar export import ChangeTaskRecordCompartmentDetails = ChangeTaskRecordCompartmentDetails.ChangeTaskRecordCompartmentDetails; import * as CheckResourceTaggingDetails from "./check-resource-tagging-details"; export import CheckResourceTaggingDetails = CheckResourceTaggingDetails.CheckResourceTaggingDetails; +import * as Choice from "./choice"; +export import Choice = Choice.Choice; import * as CloneCatalogItemDetails from "./clone-catalog-item-details"; export import CloneCatalogItemDetails = CloneCatalogItemDetails.CloneCatalogItemDetails; +import * as ColumnMetadata from "./column-metadata"; +export import ColumnMetadata = ColumnMetadata.ColumnMetadata; +import * as Compliance from "./compliance"; +export import Compliance = Compliance.Compliance; import * as ComplianceDetailPolicy from "./compliance-detail-policy"; export import ComplianceDetailPolicy = ComplianceDetailPolicy.ComplianceDetailPolicy; import * as ComplianceDetailProduct from "./compliance-detail-product"; @@ -138,8 +160,12 @@ import * as ConfigCategoryDetails from "./config-category-details"; export import ConfigCategoryDetails = ConfigCategoryDetails.ConfigCategoryDetails; import * as ConfigFileDetails from "./config-file-details"; export import ConfigFileDetails = ConfigFileDetails.ConfigFileDetails; +import * as ConfigureCatalogItemDetails from "./configure-catalog-item-details"; +export import ConfigureCatalogItemDetails = ConfigureCatalogItemDetails.ConfigureCatalogItemDetails; import * as ConfirmTargetsDetails from "./confirm-targets-details"; export import ConfirmTargetsDetails = ConfirmTargetsDetails.ConfirmTargetsDetails; +import * as ContainerClusterVariableDependsOn from "./container-cluster-variable-depends-on"; +export import ContainerClusterVariableDependsOn = ContainerClusterVariableDependsOn.ContainerClusterVariableDependsOn; import * as ContentDetails from "./content-details"; export import ContentDetails = ContentDetails.ContentDetails; import * as CreateCatalogItemDetails from "./create-catalog-item-details"; @@ -178,6 +204,14 @@ import * as CredentialDetails from "./credential-details"; export import CredentialDetails = CredentialDetails.CredentialDetails; import * as CredentialEntitySpecificDetails from "./credential-entity-specific-details"; export import CredentialEntitySpecificDetails = CredentialEntitySpecificDetails.CredentialEntitySpecificDetails; +import * as DataBaseVariableDependsOn from "./data-base-variable-depends-on"; +export import DataBaseVariableDependsOn = DataBaseVariableDependsOn.DataBaseVariableDependsOn; +import * as DbHomeVariableDependsOn from "./db-home-variable-depends-on"; +export import DbHomeVariableDependsOn = DbHomeVariableDependsOn.DbHomeVariableDependsOn; +import * as DbHomeVersionVariableDependsOn from "./db-home-version-variable-depends-on"; +export import DbHomeVersionVariableDependsOn = DbHomeVersionVariableDependsOn.DbHomeVersionVariableDependsOn; +import * as DbSystemVariableDependsOn from "./db-system-variable-depends-on"; +export import DbSystemVariableDependsOn = DbSystemVariableDependsOn.DbSystemVariableDependsOn; import * as DependentPatchDetails from "./dependent-patch-details"; export import DependentPatchDetails = DependentPatchDetails.DependentPatchDetails; import * as DeployedResourceDetails from "./deployed-resource-details"; @@ -186,6 +220,8 @@ import * as Details from "./details"; export import Details = Details.Details; import * as DiscoveredTarget from "./discovered-target"; export import DiscoveredTarget = DiscoveredTarget.DiscoveredTarget; +import * as DynamicGroupsVariableDependsOn from "./dynamic-groups-variable-depends-on"; +export import DynamicGroupsVariableDependsOn = DynamicGroupsVariableDependsOn.DynamicGroupsVariableDependsOn; import * as EnableLatestPolicyDetails from "./enable-latest-policy-details"; export import EnableLatestPolicyDetails = EnableLatestPolicyDetails.EnableLatestPolicyDetails; import * as EntityExecutionDetails from "./entity-execution-details"; @@ -202,6 +238,18 @@ import * as ExecutionWorkflowDetails from "./execution-workflow-details"; export import ExecutionWorkflowDetails = ExecutionWorkflowDetails.ExecutionWorkflowDetails; import * as ExportComplianceReportDetails from "./export-compliance-report-details"; export import ExportComplianceReportDetails = ExportComplianceReportDetails.ExportComplianceReportDetails; +import * as ExportRunbookDetails from "./export-runbook-details"; +export import ExportRunbookDetails = ExportRunbookDetails.ExportRunbookDetails; +import * as ExportRunbookVersionDetails from "./export-runbook-version-details"; +export import ExportRunbookVersionDetails = ExportRunbookVersionDetails.ExportRunbookVersionDetails; +import * as FaultDomainVariableDependsOn from "./fault-domain-variable-depends-on"; +export import FaultDomainVariableDependsOn = FaultDomainVariableDependsOn.FaultDomainVariableDependsOn; +import * as Filter from "./filter"; +export import Filter = Filter.Filter; +import * as FindRunbookExportDependencyDetails from "./find-runbook-export-dependency-details"; +export import FindRunbookExportDependencyDetails = FindRunbookExportDependencyDetails.FindRunbookExportDependencyDetails; +import * as FindRunbookImportDependencyDetails from "./find-runbook-import-dependency-details"; +export import FindRunbookImportDependencyDetails = FindRunbookImportDependencyDetails.FindRunbookImportDependencyDetails; import * as Fleet from "./fleet"; export import Fleet = Fleet.Fleet; import * as FleetCollection from "./fleet-collection"; @@ -252,14 +300,38 @@ import * as GenericArtifact from "./generic-artifact"; export import GenericArtifact = GenericArtifact.GenericArtifact; import * as Group from "./group"; export import Group = Group.Group; +import * as GroupsVariableDependsOn from "./groups-variable-depends-on"; +export import GroupsVariableDependsOn = GroupsVariableDependsOn.GroupsVariableDependsOn; +import * as IdentityDomainVariableDependsOn from "./identity-domain-variable-depends-on"; +export import IdentityDomainVariableDependsOn = IdentityDomainVariableDependsOn.IdentityDomainVariableDependsOn; +import * as ImageVariableDependsOn from "./image-variable-depends-on"; +export import ImageVariableDependsOn = ImageVariableDependsOn.ImageVariableDependsOn; +import * as ImportRunbookDetails from "./import-runbook-details"; +export import ImportRunbookDetails = ImportRunbookDetails.ImportRunbookDetails; +import * as ImportRunbookPrecheckDetails from "./import-runbook-precheck-details"; +export import ImportRunbookPrecheckDetails = ImportRunbookPrecheckDetails.ImportRunbookPrecheckDetails; +import * as ImportRunbookPrecheckRequiredValue from "./import-runbook-precheck-required-value"; +export import ImportRunbookPrecheckRequiredValue = ImportRunbookPrecheckRequiredValue.ImportRunbookPrecheckRequiredValue; +import * as ImportRunbookVersionDetails from "./import-runbook-version-details"; +export import ImportRunbookVersionDetails = ImportRunbookVersionDetails.ImportRunbookVersionDetails; import * as InputArgument from "./input-argument"; export import InputArgument = InputArgument.InputArgument; import * as InputFileContentDetails from "./input-file-content-details"; export import InputFileContentDetails = InputFileContentDetails.InputFileContentDetails; import * as InputParameter from "./input-parameter"; export import InputParameter = InputParameter.InputParameter; +import * as InstalledPatchCollection from "./installed-patch-collection"; +export import InstalledPatchCollection = InstalledPatchCollection.InstalledPatchCollection; +import * as InstalledPatchSummary from "./installed-patch-summary"; +export import InstalledPatchSummary = InstalledPatchSummary.InstalledPatchSummary; +import * as InstanceShapeVariableDependsOn from "./instance-shape-variable-depends-on"; +export import InstanceShapeVariableDependsOn = InstanceShapeVariableDependsOn.InstanceShapeVariableDependsOn; +import * as InstanceShapeVariableWithFlexDependsOn from "./instance-shape-variable-with-flex-depends-on"; +export import InstanceShapeVariableWithFlexDependsOn = InstanceShapeVariableWithFlexDependsOn.InstanceShapeVariableWithFlexDependsOn; import * as InstanceSummary from "./instance-summary"; export import InstanceSummary = InstanceSummary.InstanceSummary; +import * as InstanceVariableDependsOn from "./instance-variable-depends-on"; +export import InstanceVariableDependsOn = InstanceVariableDependsOn.InstanceVariableDependsOn; import * as InventoryRecord from "./inventory-record"; export import InventoryRecord = InventoryRecord.InventoryRecord; import * as InventoryRecordCollection from "./inventory-record-collection"; @@ -284,6 +356,26 @@ import * as JobExecutionDetails from "./job-execution-details"; export import JobExecutionDetails = JobExecutionDetails.JobExecutionDetails; import * as JobStatus from "./job-status"; export import JobStatus = JobStatus.JobStatus; +import * as KeyValueProperty from "./key-value-property"; +export import KeyValueProperty = KeyValueProperty.KeyValueProperty; +import * as KmsKeyVariableDependsOn from "./kms-key-variable-depends-on"; +export import KmsKeyVariableDependsOn = KmsKeyVariableDependsOn.KmsKeyVariableDependsOn; +import * as KmsSecretVariableDependsOn from "./kms-secret-variable-depends-on"; +export import KmsSecretVariableDependsOn = KmsSecretVariableDependsOn.KmsSecretVariableDependsOn; +import * as KmsVaultVariableDependsOn from "./kms-vault-variable-depends-on"; +export import KmsVaultVariableDependsOn = KmsVaultVariableDependsOn.KmsVaultVariableDependsOn; +import * as KubernetesVersionsVariableDependsOn from "./kubernetes-versions-variable-depends-on"; +export import KubernetesVersionsVariableDependsOn = KubernetesVersionsVariableDependsOn.KubernetesVersionsVariableDependsOn; +import * as LoadBalancerVariableDependsOn from "./load-balancer-variable-depends-on"; +export import LoadBalancerVariableDependsOn = LoadBalancerVariableDependsOn.LoadBalancerVariableDependsOn; +import * as LogAnalyticsLogEntitiesDependsOn from "./log-analytics-log-entities-depends-on"; +export import LogAnalyticsLogEntitiesDependsOn = LogAnalyticsLogEntitiesDependsOn.LogAnalyticsLogEntitiesDependsOn; +import * as LogAnalyticsLogGroupDependsOn from "./log-analytics-log-group-depends-on"; +export import LogAnalyticsLogGroupDependsOn = LogAnalyticsLogGroupDependsOn.LogAnalyticsLogGroupDependsOn; +import * as LogAnalyticsScheduledTasksDependsOn from "./log-analytics-scheduled-tasks-depends-on"; +export import LogAnalyticsScheduledTasksDependsOn = LogAnalyticsScheduledTasksDependsOn.LogAnalyticsScheduledTasksDependsOn; +import * as LogAnalyticsSourcesDependsOn from "./log-analytics-sources-depends-on"; +export import LogAnalyticsSourcesDependsOn = LogAnalyticsSourcesDependsOn.LogAnalyticsSourcesDependsOn; import * as MaintenanceWindow from "./maintenance-window"; export import MaintenanceWindow = MaintenanceWindow.MaintenanceWindow; import * as MaintenanceWindowCollection from "./maintenance-window-collection"; @@ -304,8 +396,18 @@ import * as ManagedEntityAggregationCollection from "./managed-entity-aggregatio export import ManagedEntityAggregationCollection = ManagedEntityAggregationCollection.ManagedEntityAggregationCollection; import * as ManagedEntityDimension from "./managed-entity-dimension"; export import ManagedEntityDimension = ManagedEntityDimension.ManagedEntityDimension; +import * as ManagementAgentDependsOn from "./management-agent-depends-on"; +export import ManagementAgentDependsOn = ManagementAgentDependsOn.ManagementAgentDependsOn; +import * as MountTargetsVariableDependsOn from "./mount-targets-variable-depends-on"; +export import MountTargetsVariableDependsOn = MountTargetsVariableDependsOn.MountTargetsVariableDependsOn; +import * as NatGatewayVariableDependsOn from "./nat-gateway-variable-depends-on"; +export import NatGatewayVariableDependsOn = NatGatewayVariableDependsOn.NatGatewayVariableDependsOn; import * as NotificationPreference from "./notification-preference"; export import NotificationPreference = NotificationPreference.NotificationPreference; +import * as NsgVariableDependsOn from "./nsg-variable-depends-on"; +export import NsgVariableDependsOn = NsgVariableDependsOn.NsgVariableDependsOn; +import * as OdsProjectVariableDependsOn from "./ods-project-variable-depends-on"; +export import OdsProjectVariableDependsOn = OdsProjectVariableDependsOn.OdsProjectVariableDependsOn; import * as Onboarding from "./onboarding"; export import Onboarding = Onboarding.Onboarding; import * as OnboardingCollection from "./onboarding-collection"; @@ -322,10 +424,14 @@ import * as OperationStatus from "./operation-status"; export import OperationStatus = OperationStatus.OperationStatus; import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; +import * as OrderClause from "./order-clause"; +export import OrderClause = OrderClause.OrderClause; import * as OsType from "./os-type"; export import OsType = OsType.OsType; import * as Outcome from "./outcome"; export import Outcome = Outcome.Outcome; +import * as OutputGroup from "./output-group"; +export import OutputGroup = OutputGroup.OutputGroup; import * as OutputVariableDetails from "./output-variable-details"; export import OutputVariableDetails = OutputVariableDetails.OutputVariableDetails; import * as OutputVariableMapping from "./output-variable-mapping"; @@ -350,6 +456,8 @@ import * as PatchType from "./patch-type"; export import PatchType = PatchType.PatchType; import * as PauseDetails from "./pause-details"; export import PauseDetails = PauseDetails.PauseDetails; +import * as Placeholder from "./placeholder"; +export import Placeholder = Placeholder.Placeholder; import * as PlatformConfiguration from "./platform-configuration"; export import PlatformConfiguration = PlatformConfiguration.PlatformConfiguration; import * as PlatformConfigurationCollection from "./platform-configuration-collection"; @@ -364,12 +472,16 @@ import * as Preferences from "./preferences"; export import Preferences = Preferences.Preferences; import * as PreviousTaskInstanceDetails from "./previous-task-instance-details"; export import PreviousTaskInstanceDetails = PreviousTaskInstanceDetails.PreviousTaskInstanceDetails; +import * as PrivateEndpointVariableDependsOn from "./private-endpoint-variable-depends-on"; +export import PrivateEndpointVariableDependsOn = PrivateEndpointVariableDependsOn.PrivateEndpointVariableDependsOn; import * as ProductSortBy from "./product-sort-by"; export import ProductSortBy = ProductSortBy.ProductSortBy; import * as ProductStackSubCategoryDetails from "./product-stack-sub-category-details"; export import ProductStackSubCategoryDetails = ProductStackSubCategoryDetails.ProductStackSubCategoryDetails; import * as ProductVersionDetails from "./product-version-details"; export import ProductVersionDetails = ProductVersionDetails.ProductVersionDetails; +import * as Prompt from "./prompt"; +export import Prompt = Prompt.Prompt; import * as Properties from "./properties"; export import Properties = Properties.Properties; import * as Property from "./property"; @@ -388,10 +500,30 @@ import * as ProvisionSummary from "./provision-summary"; export import ProvisionSummary = ProvisionSummary.ProvisionSummary; import * as PublishRunbookDetails from "./publish-runbook-details"; export import PublishRunbookDetails = PublishRunbookDetails.PublishRunbookDetails; +import * as RecommendedPatchCollection from "./recommended-patch-collection"; +export import RecommendedPatchCollection = RecommendedPatchCollection.RecommendedPatchCollection; +import * as RecommendedPatchSummary from "./recommended-patch-summary"; +export import RecommendedPatchSummary = RecommendedPatchSummary.RecommendedPatchSummary; +import * as ReportCollection from "./report-collection"; +export import ReportCollection = ReportCollection.ReportCollection; +import * as ReportDetails from "./report-details"; +export import ReportDetails = ReportDetails.ReportDetails; +import * as ReportFilter from "./report-filter"; +export import ReportFilter = ReportFilter.ReportFilter; +import * as ReportMetadataCollection from "./report-metadata-collection"; +export import ReportMetadataCollection = ReportMetadataCollection.ReportMetadataCollection; +import * as ReportMetadataSummary from "./report-metadata-summary"; +export import ReportMetadataSummary = ReportMetadataSummary.ReportMetadataSummary; +import * as ReportSummary from "./report-summary"; +export import ReportSummary = ReportSummary.ReportSummary; +import * as ReportTimeRange from "./report-time-range"; +export import ReportTimeRange = ReportTimeRange.ReportTimeRange; import * as RequestResourceValidationDetails from "./request-resource-validation-details"; export import RequestResourceValidationDetails = RequestResourceValidationDetails.RequestResourceValidationDetails; import * as RequestTargetDiscoveryDetails from "./request-target-discovery-details"; export import RequestTargetDiscoveryDetails = RequestTargetDiscoveryDetails.RequestTargetDiscoveryDetails; +import * as RequiredValue from "./required-value"; +export import RequiredValue = RequiredValue.RequiredValue; import * as ResourceCollection from "./resource-collection"; export import ResourceCollection = ResourceCollection.ResourceCollection; import * as ResourceSelection from "./resource-selection"; @@ -412,10 +544,36 @@ import * as Runbook from "./runbook"; export import Runbook = Runbook.Runbook; import * as RunbookCollection from "./runbook-collection"; export import RunbookCollection = RunbookCollection.RunbookCollection; +import * as RunbookExport from "./runbook-export"; +export import RunbookExport = RunbookExport.RunbookExport; +import * as RunbookExportDependencyCollection from "./runbook-export-dependency-collection"; +export import RunbookExportDependencyCollection = RunbookExportDependencyCollection.RunbookExportDependencyCollection; +import * as RunbookExportStatusCollection from "./runbook-export-status-collection"; +export import RunbookExportStatusCollection = RunbookExportStatusCollection.RunbookExportStatusCollection; +import * as RunbookExportStatusSummary from "./runbook-export-status-summary"; +export import RunbookExportStatusSummary = RunbookExportStatusSummary.RunbookExportStatusSummary; +import * as RunbookImport from "./runbook-import"; +export import RunbookImport = RunbookImport.RunbookImport; +import * as RunbookImportAs from "./runbook-import-as"; +export import RunbookImportAs = RunbookImportAs.RunbookImportAs; +import * as RunbookImportDependencyCollection from "./runbook-import-dependency-collection"; +export import RunbookImportDependencyCollection = RunbookImportDependencyCollection.RunbookImportDependencyCollection; +import * as RunbookImportDependencyFinderRequiredValue from "./runbook-import-dependency-finder-required-value"; +export import RunbookImportDependencyFinderRequiredValue = RunbookImportDependencyFinderRequiredValue.RunbookImportDependencyFinderRequiredValue; +import * as RunbookImportRequiredValue from "./runbook-import-required-value"; +export import RunbookImportRequiredValue = RunbookImportRequiredValue.RunbookImportRequiredValue; +import * as RunbookImportStatusCollection from "./runbook-import-status-collection"; +export import RunbookImportStatusCollection = RunbookImportStatusCollection.RunbookImportStatusCollection; +import * as RunbookImportStatusSummary from "./runbook-import-status-summary"; +export import RunbookImportStatusSummary = RunbookImportStatusSummary.RunbookImportStatusSummary; import * as RunbookSortBy from "./runbook-sort-by"; export import RunbookSortBy = RunbookSortBy.RunbookSortBy; import * as RunbookSummary from "./runbook-summary"; export import RunbookSummary = RunbookSummary.RunbookSummary; +import * as RunbookTransferDependency from "./runbook-transfer-dependency"; +export import RunbookTransferDependency = RunbookTransferDependency.RunbookTransferDependency; +import * as RunbookTransferDependencySummary from "./runbook-transfer-dependency-summary"; +export import RunbookTransferDependencySummary = RunbookTransferDependencySummary.RunbookTransferDependencySummary; import * as RunbookVersion from "./runbook-version"; export import RunbookVersion = RunbookVersion.RunbookVersion; import * as RunbookVersionCollection from "./runbook-version-collection"; @@ -450,22 +608,40 @@ import * as SchedulerJobDimension from "./scheduler-job-dimension"; export import SchedulerJobDimension = SchedulerJobDimension.SchedulerJobDimension; import * as SchedulerJobSummary from "./scheduler-job-summary"; export import SchedulerJobSummary = SchedulerJobSummary.SchedulerJobSummary; +import * as SchemaDocument from "./schema-document"; +export import SchemaDocument = SchemaDocument.SchemaDocument; import * as Scope from "./scope"; export import Scope = Scope.Scope; import * as Selection from "./selection"; export import Selection = Selection.Selection; import * as SelectionCriteria from "./selection-criteria"; export import SelectionCriteria = SelectionCriteria.SelectionCriteria; +import * as ServiceGatewayVariableDependsOn from "./service-gateway-variable-depends-on"; +export import ServiceGatewayVariableDependsOn = ServiceGatewayVariableDependsOn.ServiceGatewayVariableDependsOn; import * as SetDefaultRunbookDetails from "./set-default-runbook-details"; export import SetDefaultRunbookDetails = SetDefaultRunbookDetails.SetDefaultRunbookDetails; import * as SortBy from "./sort-by"; export import SortBy = SortBy.SortBy; import * as SortOrder from "./sort-order"; export import SortOrder = SortOrder.SortOrder; +import * as StackSource from "./stack-source"; +export import StackSource = StackSource.StackSource; import * as StepCollection from "./step-collection"; export import StepCollection = StepCollection.StepCollection; import * as StepSummary from "./step-summary"; export import StepSummary = StepSummary.StepSummary; +import * as SubnetVariableDependsOn from "./subnet-variable-depends-on"; +export import SubnetVariableDependsOn = SubnetVariableDependsOn.SubnetVariableDependsOn; +import * as TagVariableDependsOn from "./tag-variable-depends-on"; +export import TagVariableDependsOn = TagVariableDependsOn.TagVariableDependsOn; +import * as TargetComponentCollection from "./target-component-collection"; +export import TargetComponentCollection = TargetComponentCollection.TargetComponentCollection; +import * as TargetComponentSummary from "./target-component-summary"; +export import TargetComponentSummary = TargetComponentSummary.TargetComponentSummary; +import * as TargetPropertyCollection from "./target-property-collection"; +export import TargetPropertyCollection = TargetPropertyCollection.TargetPropertyCollection; +import * as TargetPropertySummary from "./target-property-summary"; +export import TargetPropertySummary = TargetPropertySummary.TargetPropertySummary; import * as TargetResource from "./target-resource"; export import TargetResource = TargetResource.TargetResource; import * as TargetSortBy from "./target-sort-by"; @@ -490,6 +666,8 @@ import * as TaskScope from "./task-scope"; export import TaskScope = TaskScope.TaskScope; import * as TaskVariable from "./task-variable"; export import TaskVariable = TaskVariable.TaskVariable; +import * as TransferRunbookContentDetails from "./transfer-runbook-content-details"; +export import TransferRunbookContentDetails = TransferRunbookContentDetails.TransferRunbookContentDetails; import * as UpcomingSchedule from "./upcoming-schedule"; export import UpcomingSchedule = UpcomingSchedule.UpcomingSchedule; import * as UpdateCatalogItemDetails from "./update-catalog-item-details"; @@ -532,8 +710,16 @@ import * as ValueType from "./value-type"; export import ValueType = ValueType.ValueType; import * as Variable from "./variable"; export import Variable = Variable.Variable; +import * as VariableGroup from "./variable-group"; +export import VariableGroup = VariableGroup.VariableGroup; +import * as VariableGroups from "./variable-groups"; +export import VariableGroups = VariableGroups.VariableGroups; +import * as VcnVariableDependsOn from "./vcn-variable-depends-on"; +export import VcnVariableDependsOn = VcnVariableDependsOn.VcnVariableDependsOn; import * as Version from "./version"; export import Version = Version.Version; +import * as VolumeBackupPoliciesVariableDependsOn from "./volume-backup-policies-variable-depends-on"; +export import VolumeBackupPoliciesVariableDependsOn = VolumeBackupPoliciesVariableDependsOn.VolumeBackupPoliciesVariableDependsOn; import * as WorkRequest from "./work-request"; export import WorkRequest = WorkRequest.WorkRequest; import * as WorkRequestError from "./work-request-error"; @@ -561,10 +747,26 @@ import * as ActionGroupBasedUserActionDetails from "./action-group-based-user-ac export import ActionGroupBasedUserActionDetails = ActionGroupBasedUserActionDetails.ActionGroupBasedUserActionDetails; import * as ApiBasedExecutionDetails from "./api-based-execution-details"; export import ApiBasedExecutionDetails = ApiBasedExecutionDetails.ApiBasedExecutionDetails; +import * as ApmDomainVariable from "./apm-domain-variable"; +export import ApmDomainVariable = ApmDomainVariable.ApmDomainVariable; +import * as ArrayVariable from "./array-variable"; +export import ArrayVariable = ArrayVariable.ArrayVariable; import * as AssociatedLocalTaskDetails from "./associated-local-task-details"; export import AssociatedLocalTaskDetails = AssociatedLocalTaskDetails.AssociatedLocalTaskDetails; import * as AssociatedSharedTaskDetails from "./associated-shared-task-details"; export import AssociatedSharedTaskDetails = AssociatedSharedTaskDetails.AssociatedSharedTaskDetails; +import * as AutonomousContainerDbVariable from "./autonomous-container-db-variable"; +export import AutonomousContainerDbVariable = AutonomousContainerDbVariable.AutonomousContainerDbVariable; +import * as AutonomousDataBaseVariable from "./autonomous-data-base-variable"; +export import AutonomousDataBaseVariable = AutonomousDataBaseVariable.AutonomousDataBaseVariable; +import * as AutonomousDatabaseVersionVariable from "./autonomous-database-version-variable"; +export import AutonomousDatabaseVersionVariable = AutonomousDatabaseVersionVariable.AutonomousDatabaseVersionVariable; +import * as AvailabilityDomainVariable from "./availability-domain-variable"; +export import AvailabilityDomainVariable = AvailabilityDomainVariable.AvailabilityDomainVariable; +import * as BoolOutput from "./bool-output"; +export import BoolOutput = BoolOutput.BoolOutput; +import * as BooleanVariable from "./boolean-variable"; +export import BooleanVariable = BooleanVariable.BooleanVariable; import * as CatalogContentDetails from "./catalog-content-details"; export import CatalogContentDetails = CatalogContentDetails.CatalogContentDetails; import * as CatalogGitResultConfig from "./catalog-git-result-config"; @@ -581,20 +783,64 @@ import * as CatalogSourceTemplateConfig from "./catalog-source-template-config"; export import CatalogSourceTemplateConfig = CatalogSourceTemplateConfig.CatalogSourceTemplateConfig; import * as CatalogTemplateResultConfig from "./catalog-template-result-config"; export import CatalogTemplateResultConfig = CatalogTemplateResultConfig.CatalogTemplateResultConfig; +import * as CloudVmClusterId from "./cloud-vm-cluster-id"; +export import CloudVmClusterId = CloudVmClusterId.CloudVmClusterId; +import * as CompartmentVariable from "./compartment-variable"; +export import CompartmentVariable = CompartmentVariable.CompartmentVariable; +import * as ContainerClusterVariable from "./container-cluster-variable"; +export import ContainerClusterVariable = ContainerClusterVariable.ContainerClusterVariable; +import * as CopyableStringOutput from "./copyable-string-output"; +export import CopyableStringOutput = CopyableStringOutput.CopyableStringOutput; import * as CredentialConfigCategoryDetails from "./credential-config-category-details"; export import CredentialConfigCategoryDetails = CredentialConfigCategoryDetails.CredentialConfigCategoryDetails; +import * as CsvOutput from "./csv-output"; +export import CsvOutput = CsvOutput.CsvOutput; import * as CustomSchedule from "./custom-schedule"; export import CustomSchedule = CustomSchedule.CustomSchedule; +import * as DataBaseVariable from "./data-base-variable"; +export import DataBaseVariable = DataBaseVariable.DataBaseVariable; +import * as DatabaseCdbId from "./database-cdb-id"; +export import DatabaseCdbId = DatabaseCdbId.DatabaseCdbId; +import * as DatabaseDataGuardId from "./database-data-guard-id"; +export import DatabaseDataGuardId = DatabaseDataGuardId.DatabaseDataGuardId; +import * as DatabaseDataguardAssociationId from "./database-dataguard-association-id"; +export import DatabaseDataguardAssociationId = DatabaseDataguardAssociationId.DatabaseDataguardAssociationId; +import * as DatabaseDbNodeId from "./database-db-node-id"; +export import DatabaseDbNodeId = DatabaseDbNodeId.DatabaseDbNodeId; +import * as DatabaseExadataId from "./database-exadata-id"; +export import DatabaseExadataId = DatabaseExadataId.DatabaseExadataId; +import * as DatetimeVariable from "./datetime-variable"; +export import DatetimeVariable = DatetimeVariable.DatetimeVariable; +import * as DbHomeVariable from "./db-home-variable"; +export import DbHomeVariable = DbHomeVariable.DbHomeVariable; +import * as DbHomeVersionVariable from "./db-home-version-variable"; +export import DbHomeVersionVariable = DbHomeVersionVariable.DbHomeVersionVariable; +import * as DbSystemVariable from "./db-system-variable"; +export import DbSystemVariable = DbSystemVariable.DbSystemVariable; +import * as DynamicGroupsVariable from "./dynamic-groups-variable"; +export import DynamicGroupsVariable = DynamicGroupsVariable.DynamicGroupsVariable; import * as DynamicResourceSelection from "./dynamic-resource-selection"; export import DynamicResourceSelection = DynamicResourceSelection.DynamicResourceSelection; +import * as EnumVariable from "./enum-variable"; +export import EnumVariable = EnumVariable.EnumVariable; import * as EnvironmentConfigCategoryDetails from "./environment-config-category-details"; export import EnvironmentConfigCategoryDetails = EnvironmentConfigCategoryDetails.EnvironmentConfigCategoryDetails; import * as EnvironmentFleetDetails from "./environment-fleet-details"; export import EnvironmentFleetDetails = EnvironmentFleetDetails.EnvironmentFleetDetails; +import * as FaultDomainVariable from "./fault-domain-variable"; +export import FaultDomainVariable = FaultDomainVariable.FaultDomainVariable; import * as FileInputArgument from "./file-input-argument"; export import FileInputArgument = FileInputArgument.FileInputArgument; +import * as FileStorageExportSetId from "./file-storage-export-set-id"; +export import FileStorageExportSetId = FileStorageExportSetId.FileStorageExportSetId; +import * as FileStorageFilesystemId from "./file-storage-filesystem-id"; +export import FileStorageFilesystemId = FileStorageFilesystemId.FileStorageFilesystemId; +import * as FileStorageMountTargetId from "./file-storage-mount-target-id"; +export import FileStorageMountTargetId = FileStorageMountTargetId.FileStorageMountTargetId; import * as FileTaskArgument from "./file-task-argument"; export import FileTaskArgument = FileTaskArgument.FileTaskArgument; +import * as FileVariable from "./file-variable"; +export import FileVariable = FileVariable.FileVariable; import * as FleetBasedActionGroup from "./fleet-based-action-group"; export import FleetBasedActionGroup = FleetBasedActionGroup.FleetBasedActionGroup; import * as FleetBasedActionGroupDetails from "./fleet-based-action-group-details"; @@ -607,22 +853,96 @@ import * as GenericFleetDetails from "./generic-fleet-details"; export import GenericFleetDetails = GenericFleetDetails.GenericFleetDetails; import * as GroupFleetDetails from "./group-fleet-details"; export import GroupFleetDetails = GroupFleetDetails.GroupFleetDetails; +import * as GroupsVariable from "./groups-variable"; +export import GroupsVariable = GroupsVariable.GroupsVariable; +import * as IdentityDomainVariable from "./identity-domain-variable"; +export import IdentityDomainVariable = IdentityDomainVariable.IdentityDomainVariable; +import * as ImageVariable from "./image-variable"; +export import ImageVariable = ImageVariable.ImageVariable; import * as InputFileObjectStorageBucketContentDetails from "./input-file-object-storage-bucket-content-details"; export import InputFileObjectStorageBucketContentDetails = InputFileObjectStorageBucketContentDetails.InputFileObjectStorageBucketContentDetails; +import * as InstanceShapeVariable from "./instance-shape-variable"; +export import InstanceShapeVariable = InstanceShapeVariable.InstanceShapeVariable; +import * as InstanceShapeVariableWithFlex from "./instance-shape-variable-with-flex"; +export import InstanceShapeVariableWithFlex = InstanceShapeVariableWithFlex.InstanceShapeVariableWithFlex; +import * as InstanceVariable from "./instance-variable"; +export import InstanceVariable = InstanceVariable.InstanceVariable; +import * as IntegerVariable from "./integer-variable"; +export import IntegerVariable = IntegerVariable.IntegerVariable; +import * as JsonOutput from "./json-output"; +export import JsonOutput = JsonOutput.JsonOutput; import * as KeyEncryptionCredentialDetails from "./key-encryption-credential-details"; export import KeyEncryptionCredentialDetails = KeyEncryptionCredentialDetails.KeyEncryptionCredentialDetails; +import * as KmsKeyVariable from "./kms-key-variable"; +export import KmsKeyVariable = KmsKeyVariable.KmsKeyVariable; +import * as KmsSecretVariable from "./kms-secret-variable"; +export import KmsSecretVariable = KmsSecretVariable.KmsSecretVariable; +import * as KmsVaultVariable from "./kms-vault-variable"; +export import KmsVaultVariable = KmsVaultVariable.KmsVaultVariable; +import * as KubernetesVersionsVariable from "./kubernetes-versions-variable"; +export import KubernetesVersionsVariable = KubernetesVersionsVariable.KubernetesVersionsVariable; import * as LifecycleOperationConfigCategoryDetails from "./lifecycle-operation-config-category-details"; export import LifecycleOperationConfigCategoryDetails = LifecycleOperationConfigCategoryDetails.LifecycleOperationConfigCategoryDetails; +import * as LinkOutput from "./link-output"; +export import LinkOutput = LinkOutput.LinkOutput; +import * as ListOutput from "./list-output"; +export import ListOutput = ListOutput.ListOutput; +import * as LoadBalancerReservedIps from "./load-balancer-reserved-ips"; +export import LoadBalancerReservedIps = LoadBalancerReservedIps.LoadBalancerReservedIps; +import * as LoadBalancerVariable from "./load-balancer-variable"; +export import LoadBalancerVariable = LoadBalancerVariable.LoadBalancerVariable; +import * as LogAnalyticsEntityTypes from "./log-analytics-entity-types"; +export import LogAnalyticsEntityTypes = LogAnalyticsEntityTypes.LogAnalyticsEntityTypes; +import * as LogAnalyticsLogEntities from "./log-analytics-log-entities"; +export import LogAnalyticsLogEntities = LogAnalyticsLogEntities.LogAnalyticsLogEntities; +import * as LogAnalyticsLogGroup from "./log-analytics-log-group"; +export import LogAnalyticsLogGroup = LogAnalyticsLogGroup.LogAnalyticsLogGroup; +import * as LogAnalyticsScheduledTasks from "./log-analytics-scheduled-tasks"; +export import LogAnalyticsScheduledTasks = LogAnalyticsScheduledTasks.LogAnalyticsScheduledTasks; +import * as LogAnalyticsSources from "./log-analytics-sources"; +export import LogAnalyticsSources = LogAnalyticsSources.LogAnalyticsSources; import * as MaintenanceWindowSchedule from "./maintenance-window-schedule"; export import MaintenanceWindowSchedule = MaintenanceWindowSchedule.MaintenanceWindowSchedule; +import * as ManagementAgents from "./management-agents"; +export import ManagementAgents = ManagementAgents.ManagementAgents; import * as ManualResourceSelection from "./manual-resource-selection"; export import ManualResourceSelection = ManualResourceSelection.ManualResourceSelection; +import * as MapOutput from "./map-output"; +export import MapOutput = MapOutput.MapOutput; +import * as MountTargetsVariable from "./mount-targets-variable"; +export import MountTargetsVariable = MountTargetsVariable.MountTargetsVariable; +import * as MultiValueFilter from "./multi-value-filter"; +export import MultiValueFilter = MultiValueFilter.MultiValueFilter; +import * as MultilineVariable from "./multiline-variable"; +export import MultilineVariable = MultilineVariable.MultilineVariable; +import * as MysqlConfigurationId from "./mysql-configuration-id"; +export import MysqlConfigurationId = MysqlConfigurationId.MysqlConfigurationId; +import * as MysqlShapeId from "./mysql-shape-id"; +export import MysqlShapeId = MysqlShapeId.MysqlShapeId; +import * as NatGatewayVariable from "./nat-gateway-variable"; +export import NatGatewayVariable = NatGatewayVariable.NatGatewayVariable; +import * as NetworkLoadBalancerId from "./network-load-balancer-id"; +export import NetworkLoadBalancerId = NetworkLoadBalancerId.NetworkLoadBalancerId; +import * as NsgVariable from "./nsg-variable"; +export import NsgVariable = NsgVariable.NsgVariable; +import * as NumberOutput from "./number-output"; +export import NumberOutput = NumberOutput.NumberOutput; +import * as NumberVariable from "./number-variable"; +export import NumberVariable = NumberVariable.NumberVariable; import * as ObjectStorageBucketConfigFileDetails from "./object-storage-bucket-config-file-details"; export import ObjectStorageBucketConfigFileDetails = ObjectStorageBucketConfigFileDetails.ObjectStorageBucketConfigFileDetails; import * as ObjectStorageBucketContentDetails from "./object-storage-bucket-content-details"; export import ObjectStorageBucketContentDetails = ObjectStorageBucketContentDetails.ObjectStorageBucketContentDetails; +import * as ObjectStorageBucketName from "./object-storage-bucket-name"; +export import ObjectStorageBucketName = ObjectStorageBucketName.ObjectStorageBucketName; +import * as OcidOutput from "./ocid-output"; +export import OcidOutput = OcidOutput.OcidOutput; +import * as OdsProjectVariable from "./ods-project-variable"; +export import OdsProjectVariable = OdsProjectVariable.OdsProjectVariable; import * as OutputVariableInputArgument from "./output-variable-input-argument"; export import OutputVariableInputArgument = OutputVariableInputArgument.OutputVariableInputArgument; +import * as PasswordVariable from "./password-variable"; +export import PasswordVariable = PasswordVariable.PasswordVariable; import * as PatchFileObjectStorageBucketContentDetails from "./patch-file-object-storage-bucket-content-details"; export import PatchFileObjectStorageBucketContentDetails = PatchFileObjectStorageBucketContentDetails.PatchFileObjectStorageBucketContentDetails; import * as PatchLevelSelectionDetails from "./patch-level-selection-details"; @@ -639,6 +959,8 @@ import * as PlatformSpecificArtifactDetails from "./platform-specific-artifact-d export import PlatformSpecificArtifactDetails = PlatformSpecificArtifactDetails.PlatformSpecificArtifactDetails; import * as PreviousTaskInstanceRunOnDetails from "./previous-task-instance-run-on-details"; export import PreviousTaskInstanceRunOnDetails = PreviousTaskInstanceRunOnDetails.PreviousTaskInstanceRunOnDetails; +import * as PrivateEndpointVariable from "./private-endpoint-variable"; +export import PrivateEndpointVariable = PrivateEndpointVariable.PrivateEndpointVariable; import * as ProductConfigCategoryDetails from "./product-config-category-details"; export import ProductConfigCategoryDetails = ProductConfigCategoryDetails.ProductConfigCategoryDetails; import * as ProductFleetDetails from "./product-fleet-details"; @@ -649,32 +971,68 @@ import * as ProductStackConfigCategoryDetails from "./product-stack-config-categ export import ProductStackConfigCategoryDetails = ProductStackConfigCategoryDetails.ProductStackConfigCategoryDetails; import * as ProductStackGenericSubCategoryDetails from "./product-stack-generic-sub-category-details"; export import ProductStackGenericSubCategoryDetails = ProductStackGenericSubCategoryDetails.ProductStackGenericSubCategoryDetails; +import * as RegionVariable from "./region-variable"; +export import RegionVariable = RegionVariable.RegionVariable; import * as ResourceCredentialEntitySpecificDetails from "./resource-credential-entity-specific-details"; export import ResourceCredentialEntitySpecificDetails = ResourceCredentialEntitySpecificDetails.ResourceCredentialEntitySpecificDetails; +import * as RunbookImportAsRunbook from "./runbook-import-as-runbook"; +export import RunbookImportAsRunbook = RunbookImportAsRunbook.RunbookImportAsRunbook; +import * as RunbookImportAsVersion from "./runbook-import-as-version"; +export import RunbookImportAsVersion = RunbookImportAsVersion.RunbookImportAsVersion; import * as ScheduleInstanceRunOnDetails from "./schedule-instance-run-on-details"; export import ScheduleInstanceRunOnDetails = ScheduleInstanceRunOnDetails.ScheduleInstanceRunOnDetails; +import * as ScheduleInstanceTargetRunOnDetails from "./schedule-instance-target-run-on-details"; +export import ScheduleInstanceTargetRunOnDetails = ScheduleInstanceTargetRunOnDetails.ScheduleInstanceTargetRunOnDetails; import * as ScriptBasedExecutionDetails from "./script-based-execution-details"; export import ScriptBasedExecutionDetails = ScriptBasedExecutionDetails.ScriptBasedExecutionDetails; import * as SelfHostedInstanceConfigCategoryDetails from "./self-hosted-instance-config-category-details"; export import SelfHostedInstanceConfigCategoryDetails = SelfHostedInstanceConfigCategoryDetails.SelfHostedInstanceConfigCategoryDetails; import * as SelfHostedInstanceRunOnDetails from "./self-hosted-instance-run-on-details"; export import SelfHostedInstanceRunOnDetails = SelfHostedInstanceRunOnDetails.SelfHostedInstanceRunOnDetails; +import * as ServiceGatewayVariable from "./service-gateway-variable"; +export import ServiceGatewayVariable = ServiceGatewayVariable.ServiceGatewayVariable; +import * as SingleValueFilter from "./single-value-filter"; +export import SingleValueFilter = SingleValueFilter.SingleValueFilter; +import * as SshPublicKeyVariable from "./ssh-public-key-variable"; +export import SshPublicKeyVariable = SshPublicKeyVariable.SshPublicKeyVariable; import * as StepBasedUserActionDetails from "./step-based-user-action-details"; export import StepBasedUserActionDetails = StepBasedUserActionDetails.StepBasedUserActionDetails; import * as StringInputArgument from "./string-input-argument"; export import StringInputArgument = StringInputArgument.StringInputArgument; +import * as StringOutput from "./string-output"; +export import StringOutput = StringOutput.StringOutput; import * as StringTaskArgument from "./string-task-argument"; export import StringTaskArgument = StringTaskArgument.StringTaskArgument; +import * as StringVariable from "./string-variable"; +export import StringVariable = StringVariable.StringVariable; +import * as SubnetVariable from "./subnet-variable"; +export import SubnetVariable = SubnetVariable.SubnetVariable; +import * as TagVariable from "./tag-variable"; +export import TagVariable = TagVariable.TagVariable; import * as TargetCredentialEntitySpecificDetails from "./target-credential-entity-specific-details"; export import TargetCredentialEntitySpecificDetails = TargetCredentialEntitySpecificDetails.TargetCredentialEntitySpecificDetails; import * as TerraformBasedExecutionDetails from "./terraform-based-execution-details"; export import TerraformBasedExecutionDetails = TerraformBasedExecutionDetails.TerraformBasedExecutionDetails; import * as TimeBasedPauseDetails from "./time-based-pause-details"; export import TimeBasedPauseDetails = TimeBasedPauseDetails.TimeBasedPauseDetails; +import * as TransferRunbookObjectStorageBucketContentDetails from "./transfer-runbook-object-storage-bucket-content-details"; +export import TransferRunbookObjectStorageBucketContentDetails = TransferRunbookObjectStorageBucketContentDetails.TransferRunbookObjectStorageBucketContentDetails; +import * as TransferRunbookParUrlContentDetails from "./transfer-runbook-par-url-content-details"; +export import TransferRunbookParUrlContentDetails = TransferRunbookParUrlContentDetails.TransferRunbookParUrlContentDetails; import * as UserActionBasedPauseDetails from "./user-action-based-pause-details"; export import UserActionBasedPauseDetails = UserActionBasedPauseDetails.UserActionBasedPauseDetails; import * as VaultSecretCredentialDetails from "./vault-secret-credential-details"; export import VaultSecretCredentialDetails = VaultSecretCredentialDetails.VaultSecretCredentialDetails; +import * as VcnNetworkSecurityGroupId from "./vcn-network-security-group-id"; +export import VcnNetworkSecurityGroupId = VcnNetworkSecurityGroupId.VcnNetworkSecurityGroupId; +import * as VcnSecListId from "./vcn-sec-list-id"; +export import VcnSecListId = VcnSecListId.VcnSecListId; +import * as VcnVariable from "./vcn-variable"; +export import VcnVariable = VcnVariable.VcnVariable; +import * as VolumeBackupPoliciesVariable from "./volume-backup-policies-variable"; +export import VolumeBackupPoliciesVariable = VolumeBackupPoliciesVariable.VolumeBackupPoliciesVariable; +import * as VolumeId from "./volume-id"; +export import VolumeId = VolumeId.VolumeId; import * as WorkflowGroupComponent from "./workflow-group-component"; export import WorkflowGroupComponent = WorkflowGroupComponent.WorkflowGroupComponent; import * as WorkflowTaskComponent from "./workflow-task-component"; diff --git a/lib/fleetappsmanagement/lib/model/installed-patch-collection.ts b/lib/fleetappsmanagement/lib/model/installed-patch-collection.ts new file mode 100644 index 0000000000..b32922aeae --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/installed-patch-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an installed patches search. + */ +export interface InstalledPatchCollection { + /** + * List of installed patches + */ + "items": Array; +} + +export namespace InstalledPatchCollection { + export function getJsonObj(obj: InstalledPatchCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.InstalledPatchSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstalledPatchCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.InstalledPatchSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/installed-patch-summary.ts b/lib/fleetappsmanagement/lib/model/installed-patch-summary.ts new file mode 100644 index 0000000000..c67a97ad00 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/installed-patch-summary.ts @@ -0,0 +1,67 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 installed patches. + */ +export interface InstalledPatchSummary { + /** + * The OCID of the patch. + */ + "patchId": string; + /** + * Name of the patch + */ + "patchName": string; + /** + * Description of the patch + */ + "patchDescription": string; + /** + * Date on which the patch was applied to the target + */ + "timeApplied"?: Date; + /** + * Date on which the patch was released + */ + "timeReleased"?: Date; + /** + * Description of the patch + */ + "patchType"?: string; + /** + * Patch Name. + */ + "patchLevel"?: string; + /** + * Patch Severity. + */ + "severity"?: model.PatchSeverity; +} + +export namespace InstalledPatchSummary { + export function getJsonObj(obj: InstalledPatchSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstalledPatchSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-shape-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/instance-shape-variable-depends-on.ts new file mode 100644 index 0000000000..ed742340a5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-shape-variable-depends-on.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface InstanceShapeVariableDependsOn { + /** + * OCID of the image to use. + */ + "imageId"?: string; + /** + * OCID of the Compartment. + */ + "compartmentId": string; + /** + * Name of the Availability domain. + */ + "availabilityDomain"?: string; +} + +export namespace InstanceShapeVariableDependsOn { + export function getJsonObj(obj: InstanceShapeVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstanceShapeVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex-depends-on.ts b/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex-depends-on.ts new file mode 100644 index 0000000000..5a4a83713b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex-depends-on.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface InstanceShapeVariableWithFlexDependsOn { + /** + * OCID of the image to use. + */ + "imageId"?: string; + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * Name of the Availability domain. + */ + "availabilityDomain"?: string; +} + +export namespace InstanceShapeVariableWithFlexDependsOn { + export function getJsonObj(obj: InstanceShapeVariableWithFlexDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstanceShapeVariableWithFlexDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex.ts b/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex.ts new file mode 100644 index 0000000000..2c593b596f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-shape-variable-with-flex.ts @@ -0,0 +1,67 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Instance shape variable. + */ +export interface InstanceShapeVariableWithFlex extends model.BaseVariable { + /** + * Regex pattern for shape values. + */ + "pattern"?: string; + "dependsOn"?: model.InstanceShapeVariableWithFlexDependsOn; + + "type": string; +} + +export namespace InstanceShapeVariableWithFlex { + export function getJsonObj( + obj: InstanceShapeVariableWithFlex, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as InstanceShapeVariableWithFlex)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceShapeVariableWithFlexDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_INSTANCESHAPEWITHFLEX_NAME"; + export function getDeserializedJsonObj( + obj: InstanceShapeVariableWithFlex, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as InstanceShapeVariableWithFlex)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceShapeVariableWithFlexDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-shape-variable.ts b/lib/fleetappsmanagement/lib/model/instance-shape-variable.ts new file mode 100644 index 0000000000..98fb1ba50f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-shape-variable.ts @@ -0,0 +1,62 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Instance shape variable. + */ +export interface InstanceShapeVariable extends model.BaseVariable { + /** + * Regex pattern for shape values. + */ + "pattern"?: string; + "dependsOn"?: model.InstanceShapeVariableDependsOn; + + "type": string; +} + +export namespace InstanceShapeVariable { + export function getJsonObj(obj: InstanceShapeVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as InstanceShapeVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceShapeVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_INSTANCESHAPE_NAME"; + export function getDeserializedJsonObj( + obj: InstanceShapeVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as InstanceShapeVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceShapeVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/instance-variable-depends-on.ts new file mode 100644 index 0000000000..e3e87356b6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object for Instance variables. + */ +export interface InstanceVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace InstanceVariableDependsOn { + export function getJsonObj(obj: InstanceVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstanceVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/instance-variable.ts b/lib/fleetappsmanagement/lib/model/instance-variable.ts new file mode 100644 index 0000000000..31bce4d898 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Instance variable. + */ +export interface InstanceVariable extends model.BaseVariable { + "dependsOn"?: model.InstanceVariableDependsOn; + + "type": string; +} + +export namespace InstanceVariable { + export function getJsonObj(obj: InstanceVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as InstanceVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_INSTANCE_ID"; + export function getDeserializedJsonObj(obj: InstanceVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as InstanceVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.InstanceVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/integer-variable.ts b/lib/fleetappsmanagement/lib/model/integer-variable.ts new file mode 100644 index 0000000000..5caafccbf9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/integer-variable.ts @@ -0,0 +1,70 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Integer variable. + */ +export interface IntegerVariable extends model.BaseVariable { + /** + * Default value if input is not supplied. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "defaultValue"?: number; + /** + * Value must be a multiple of this number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "multipleOf"?: number; + /** + * The minimum accepted integer value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "minimum"?: number; + /** + * The maximum accepted integer value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "maximum"?: number; + /** + * Value must be greater than this (exclusive lower bound). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "exclusiveMinimum"?: number; + /** + * Value must be less than this (exclusive upper bound). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "exclusiveMaximum"?: number; + + "type": string; +} + +export namespace IntegerVariable { + export function getJsonObj(obj: IntegerVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as IntegerVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "INTEGER"; + export function getDeserializedJsonObj(obj: IntegerVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as IntegerVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts b/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts index ddf127bce9..331801ef6c 100644 --- a/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts +++ b/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts @@ -39,6 +39,14 @@ export interface InventoryRecordPatchDetails { * Type of patch applied */ "patchType": string; + /** + * The date on which patch was released. + */ + "timeReleased"?: Date; + /** + * Patch Level. + */ + "patchLevel"?: string; } export namespace InventoryRecordPatchDetails { diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts b/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts index 68c11def57..00bccac025 100644 --- a/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts +++ b/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface InventoryRecordSummary { /** - * The OCID of the Inventory target. + * The id of the Inventory target. */ "targetId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/inventory-record.ts b/lib/fleetappsmanagement/lib/model/inventory-record.ts index dcd25bd4c3..554d13b6cd 100644 --- a/lib/fleetappsmanagement/lib/model/inventory-record.ts +++ b/lib/fleetappsmanagement/lib/model/inventory-record.ts @@ -21,7 +21,7 @@ import common = require("oci-common"); */ export interface InventoryRecord { /** - * The OCID of the Inventory target. + * The id of the Inventory target. */ "targetId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/json-output.ts b/lib/fleetappsmanagement/lib/model/json-output.ts new file mode 100644 index 0000000000..b30243a1ab --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/json-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * JSON output. + */ +export interface JsonOutput extends model.BaseOutput { + /** + * JSON output value. + */ + "value"?: any; + + "type": string; +} + +export namespace JsonOutput { + export function getJsonObj(obj: JsonOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as JsonOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "JSON"; + export function getDeserializedJsonObj(obj: JsonOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as JsonOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/key-value-property.ts b/lib/fleetappsmanagement/lib/model/key-value-property.ts new file mode 100644 index 0000000000..a6daf37a5a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/key-value-property.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Key Value Property to set for configuration. Please check LandingZoneSummary.packageVariables output from /landingZones API for a list of valid properties. + */ +export interface KeyValueProperty { + /** + * Name of the configuration variable or property to set for the catalog item. + */ + "key": string; + /** + * The value assigned to the specified configuration property key. + */ + "value": string; +} + +export namespace KeyValueProperty { + export function getJsonObj(obj: KeyValueProperty): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KeyValueProperty): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-key-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/kms-key-variable-depends-on.ts new file mode 100644 index 0000000000..4c36001a03 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-key-variable-depends-on.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface KmsKeyVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * OCID of the Vault. + */ + "vaultId": string; + /** + * The KMS crypto protection mode string. + */ + "protectionMode"?: string; + /** + * Key cryptographic algorithm (RSA, AES, etc). + */ + "algorithm"?: string; + /** + * Length of the cryptographic key in bits. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "length"?: number; + /** + * Curve identifier for key creation. + */ + "curveId"?: string; +} + +export namespace KmsKeyVariableDependsOn { + export function getJsonObj(obj: KmsKeyVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KmsKeyVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-key-variable.ts b/lib/fleetappsmanagement/lib/model/kms-key-variable.ts new file mode 100644 index 0000000000..4f2bccfbd8 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-key-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * KMS key variable. + */ +export interface KmsKeyVariable extends model.BaseVariable { + "dependsOn"?: model.KmsKeyVariableDependsOn; + + "type": string; +} + +export namespace KmsKeyVariable { + export function getJsonObj(obj: KmsKeyVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as KmsKeyVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsKeyVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_KMS_KEY_ID"; + export function getDeserializedJsonObj(obj: KmsKeyVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as KmsKeyVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsKeyVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-secret-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/kms-secret-variable-depends-on.ts new file mode 100644 index 0000000000..5478ae0476 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-secret-variable-depends-on.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface KmsSecretVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * OCID of the Vault. + */ + "vaultId"?: string; + /** + * Name of the KMS secret in the vault. + */ + "name"?: string; +} + +export namespace KmsSecretVariableDependsOn { + export function getJsonObj(obj: KmsSecretVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KmsSecretVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-secret-variable.ts b/lib/fleetappsmanagement/lib/model/kms-secret-variable.ts new file mode 100644 index 0000000000..a88a5aefe5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-secret-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * KMS secret variable. + */ +export interface KmsSecretVariable extends model.BaseVariable { + "dependsOn"?: model.KmsSecretVariableDependsOn; + + "type": string; +} + +export namespace KmsSecretVariable { + export function getJsonObj(obj: KmsSecretVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as KmsSecretVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsSecretVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_KMS_SECRET_ID"; + export function getDeserializedJsonObj( + obj: KmsSecretVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as KmsSecretVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsSecretVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-vault-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/kms-vault-variable-depends-on.ts new file mode 100644 index 0000000000..eb984afc2c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-vault-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface KmsVaultVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace KmsVaultVariableDependsOn { + export function getJsonObj(obj: KmsVaultVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KmsVaultVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kms-vault-variable.ts b/lib/fleetappsmanagement/lib/model/kms-vault-variable.ts new file mode 100644 index 0000000000..28075f6e3e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kms-vault-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * KMS vault variable. + */ +export interface KmsVaultVariable extends model.BaseVariable { + "dependsOn"?: model.KmsVaultVariableDependsOn; + + "type": string; +} + +export namespace KmsVaultVariable { + export function getJsonObj(obj: KmsVaultVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as KmsVaultVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsVaultVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_KMS_VAULT_ID"; + export function getDeserializedJsonObj(obj: KmsVaultVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as KmsVaultVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KmsVaultVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable-depends-on.ts new file mode 100644 index 0000000000..1a8e81d1be --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface KubernetesVersionsVariableDependsOn { + /** + * OCID of the cluster option. + */ + "clusterOptionId": string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace KubernetesVersionsVariableDependsOn { + export function getJsonObj(obj: KubernetesVersionsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: KubernetesVersionsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable.ts b/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable.ts new file mode 100644 index 0000000000..b1d0889b58 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/kubernetes-versions-variable.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Kubernetes version variable. + */ +export interface KubernetesVersionsVariable extends model.BaseVariable { + "dependsOn"?: model.KubernetesVersionsVariableDependsOn; + + "type": string; +} + +export namespace KubernetesVersionsVariable { + export function getJsonObj(obj: KubernetesVersionsVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as KubernetesVersionsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KubernetesVersionsVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_KUBERNETES_VERSIONS_ID"; + export function getDeserializedJsonObj( + obj: KubernetesVersionsVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as KubernetesVersionsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.KubernetesVersionsVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/link-output.ts b/lib/fleetappsmanagement/lib/model/link-output.ts new file mode 100644 index 0000000000..fde2d5a38d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/link-output.ts @@ -0,0 +1,52 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Link output. + */ +export interface LinkOutput extends model.BaseOutput { + /** + * Display label abel for the URL. + */ + "displayText"?: string; + /** + * URL/URI to display as a link. + */ + "value"?: string; + + "type": string; +} + +export namespace LinkOutput { + export function getJsonObj(obj: LinkOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as LinkOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "LINK"; + export function getDeserializedJsonObj(obj: LinkOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as LinkOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/list-output.ts b/lib/fleetappsmanagement/lib/model/list-output.ts new file mode 100644 index 0000000000..1fde002382 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/list-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * List output. + */ +export interface ListOutput extends model.BaseOutput { + /** + * Array of objects representing output data. + */ + "value"?: Array; + + "type": string; +} + +export namespace ListOutput { + export function getJsonObj(obj: ListOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as ListOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "LIST"; + export function getDeserializedJsonObj(obj: ListOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as ListOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/load-balancer-reserved-ips.ts b/lib/fleetappsmanagement/lib/model/load-balancer-reserved-ips.ts new file mode 100644 index 0000000000..e19431fbe9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/load-balancer-reserved-ips.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Load balancer reserved Ips + */ +export interface LoadBalancerReservedIps extends model.BaseVariable { + "type": string; +} + +export namespace LoadBalancerReservedIps { + export function getJsonObj(obj: LoadBalancerReservedIps, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LoadBalancerReservedIps)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_LOADBALANCER_LOADBALANCER_RESERVEDIPS_ID"; + export function getDeserializedJsonObj( + obj: LoadBalancerReservedIps, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LoadBalancerReservedIps)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/load-balancer-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/load-balancer-variable-depends-on.ts new file mode 100644 index 0000000000..480267216f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/load-balancer-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface LoadBalancerVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace LoadBalancerVariableDependsOn { + export function getJsonObj(obj: LoadBalancerVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LoadBalancerVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/load-balancer-variable.ts b/lib/fleetappsmanagement/lib/model/load-balancer-variable.ts new file mode 100644 index 0000000000..c23ace4339 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/load-balancer-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Load balancer variable. + */ +export interface LoadBalancerVariable extends model.BaseVariable { + "dependsOn"?: model.LoadBalancerVariableDependsOn; + + "type": string; +} + +export namespace LoadBalancerVariable { + export function getJsonObj(obj: LoadBalancerVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LoadBalancerVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.LoadBalancerVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_LOADBALANCER_LOADBALANCER_ID"; + export function getDeserializedJsonObj( + obj: LoadBalancerVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LoadBalancerVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.LoadBalancerVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-entity-types.ts b/lib/fleetappsmanagement/lib/model/log-analytics-entity-types.ts new file mode 100644 index 0000000000..0e8cf97b25 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-entity-types.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Log analytics entity types. + */ +export interface LogAnalyticsEntityTypes extends model.BaseVariable { + "type": string; +} + +export namespace LogAnalyticsEntityTypes { + export function getJsonObj(obj: LogAnalyticsEntityTypes, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LogAnalyticsEntityTypes)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_LOGAN_ENTITYTYPE_ID"; + export function getDeserializedJsonObj( + obj: LogAnalyticsEntityTypes, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LogAnalyticsEntityTypes)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-log-entities-depends-on.ts b/lib/fleetappsmanagement/lib/model/log-analytics-log-entities-depends-on.ts new file mode 100644 index 0000000000..105f1265ed --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-log-entities-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface LogAnalyticsLogEntitiesDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace LogAnalyticsLogEntitiesDependsOn { + export function getJsonObj(obj: LogAnalyticsLogEntitiesDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsLogEntitiesDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-log-entities.ts b/lib/fleetappsmanagement/lib/model/log-analytics-log-entities.ts new file mode 100644 index 0000000000..26983cf1a2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-log-entities.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Log analytics log entities. + */ +export interface LogAnalyticsLogEntities extends model.BaseVariable { + "dependsOn"?: model.LogAnalyticsLogEntitiesDependsOn; + + "type": string; +} + +export namespace LogAnalyticsLogEntities { + export function getJsonObj(obj: LogAnalyticsLogEntities, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LogAnalyticsLogEntities)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsLogEntitiesDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_LOGAN_LOGENTITY_ID"; + export function getDeserializedJsonObj( + obj: LogAnalyticsLogEntities, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LogAnalyticsLogEntities)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsLogEntitiesDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-log-group-depends-on.ts b/lib/fleetappsmanagement/lib/model/log-analytics-log-group-depends-on.ts new file mode 100644 index 0000000000..0a7ce51d61 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-log-group-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface LogAnalyticsLogGroupDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace LogAnalyticsLogGroupDependsOn { + export function getJsonObj(obj: LogAnalyticsLogGroupDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsLogGroupDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-log-group.ts b/lib/fleetappsmanagement/lib/model/log-analytics-log-group.ts new file mode 100644 index 0000000000..fc465b74ae --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-log-group.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Log analytics log group. + */ +export interface LogAnalyticsLogGroup extends model.BaseVariable { + "dependsOn"?: model.LogAnalyticsLogGroupDependsOn; + + "type": string; +} + +export namespace LogAnalyticsLogGroup { + export function getJsonObj(obj: LogAnalyticsLogGroup, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LogAnalyticsLogGroup)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsLogGroupDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_LOGAN_LOGGROUP_ID"; + export function getDeserializedJsonObj( + obj: LogAnalyticsLogGroup, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LogAnalyticsLogGroup)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsLogGroupDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks-depends-on.ts b/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks-depends-on.ts new file mode 100644 index 0000000000..009100fb73 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface LogAnalyticsScheduledTasksDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * Kind of scheduled task expected. + */ + "taskType": string; +} + +export namespace LogAnalyticsScheduledTasksDependsOn { + export function getJsonObj(obj: LogAnalyticsScheduledTasksDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsScheduledTasksDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks.ts b/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks.ts new file mode 100644 index 0000000000..7cbbe06a22 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-scheduled-tasks.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Log analytics scheduled task. + */ +export interface LogAnalyticsScheduledTasks extends model.BaseVariable { + "dependsOn"?: model.LogAnalyticsScheduledTasksDependsOn; + + "type": string; +} + +export namespace LogAnalyticsScheduledTasks { + export function getJsonObj(obj: LogAnalyticsScheduledTasks, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as LogAnalyticsScheduledTasks)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsScheduledTasksDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_LOGAN_SCHEDULEDTASK_ID"; + export function getDeserializedJsonObj( + obj: LogAnalyticsScheduledTasks, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LogAnalyticsScheduledTasks)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsScheduledTasksDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-sources-depends-on.ts b/lib/fleetappsmanagement/lib/model/log-analytics-sources-depends-on.ts new file mode 100644 index 0000000000..db6da3b698 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-sources-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface LogAnalyticsSourcesDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace LogAnalyticsSourcesDependsOn { + export function getJsonObj(obj: LogAnalyticsSourcesDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsSourcesDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/log-analytics-sources.ts b/lib/fleetappsmanagement/lib/model/log-analytics-sources.ts new file mode 100644 index 0000000000..86500228db --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/log-analytics-sources.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Log analytics sources. + */ +export interface LogAnalyticsSources extends model.BaseVariable { + "dependsOn"?: model.LogAnalyticsSourcesDependsOn; + + "type": string; +} + +export namespace LogAnalyticsSources { + export function getJsonObj(obj: LogAnalyticsSources, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as LogAnalyticsSources)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsSourcesDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_LOGAN_SOURCE_ID"; + export function getDeserializedJsonObj( + obj: LogAnalyticsSources, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as LogAnalyticsSources)), + ...{ + "dependsOn": obj.dependsOn + ? model.LogAnalyticsSourcesDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/management-agent-depends-on.ts b/lib/fleetappsmanagement/lib/model/management-agent-depends-on.ts new file mode 100644 index 0000000000..6ba8427331 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/management-agent-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface ManagementAgentDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace ManagementAgentDependsOn { + export function getJsonObj(obj: ManagementAgentDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ManagementAgentDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/management-agents.ts b/lib/fleetappsmanagement/lib/model/management-agents.ts new file mode 100644 index 0000000000..1e1a3a2c8b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/management-agents.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Management agent. + */ +export interface ManagementAgents extends model.BaseVariable { + "dependsOn"?: model.ManagementAgentDependsOn; + + "type": string; +} + +export namespace ManagementAgents { + export function getJsonObj(obj: ManagementAgents, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ManagementAgents)), + ...{ + "dependsOn": obj.dependsOn + ? model.ManagementAgentDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_MGMT_AGENT_ID"; + export function getDeserializedJsonObj(obj: ManagementAgents, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ManagementAgents)), + ...{ + "dependsOn": obj.dependsOn + ? model.ManagementAgentDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/map-output.ts b/lib/fleetappsmanagement/lib/model/map-output.ts new file mode 100644 index 0000000000..112ff26734 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/map-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Map output. + */ +export interface MapOutput extends model.BaseOutput { + /** + * Map/object output structure. + */ + "value"?: any; + + "type": string; +} + +export namespace MapOutput { + export function getJsonObj(obj: MapOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as MapOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "MAP"; + export function getDeserializedJsonObj(obj: MapOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as MapOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/mount-targets-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/mount-targets-variable-depends-on.ts new file mode 100644 index 0000000000..243342163e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/mount-targets-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface MountTargetsVariableDependsOn { + /** + * Name of AD for mount target. + */ + "availabilityDomain": string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace MountTargetsVariableDependsOn { + export function getJsonObj(obj: MountTargetsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MountTargetsVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/mount-targets-variable.ts b/lib/fleetappsmanagement/lib/model/mount-targets-variable.ts new file mode 100644 index 0000000000..3d78986393 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/mount-targets-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Mount target variable. + */ +export interface MountTargetsVariable extends model.BaseVariable { + "dependsOn"?: model.MountTargetsVariableDependsOn; + + "type": string; +} + +export namespace MountTargetsVariable { + export function getJsonObj(obj: MountTargetsVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as MountTargetsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.MountTargetsVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_MOUNT_TARGET_ID"; + export function getDeserializedJsonObj( + obj: MountTargetsVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as MountTargetsVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.MountTargetsVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/multi-value-filter.ts b/lib/fleetappsmanagement/lib/model/multi-value-filter.ts new file mode 100644 index 0000000000..6f6911a6e9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/multi-value-filter.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface MultiValueFilter extends model.Filter { + /** + * Expression for Filter + * + */ + "expression"?: MultiValueFilter.Expression; + /** + * Array of values. + */ + "values"?: Array; + + "filterType": string; +} + +export namespace MultiValueFilter { + export enum Expression { + In = "IN", + NotIn = "NOT_IN", + Between = "BETWEEN" + } + + export function getJsonObj(obj: MultiValueFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Filter.getJsonObj(obj) as MultiValueFilter)), + ...{} + }; + + return jsonObj; + } + export const filterType = "MULTI_VALUE"; + export function getDeserializedJsonObj(obj: MultiValueFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Filter.getDeserializedJsonObj(obj) as MultiValueFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/multiline-variable.ts b/lib/fleetappsmanagement/lib/model/multiline-variable.ts new file mode 100644 index 0000000000..2fb3782c9b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/multiline-variable.ts @@ -0,0 +1,69 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Multiline variable. + */ +export interface MultilineVariable extends model.BaseVariable { + /** + * The default string value. + */ + "defaultValue"?: string; + /** + * Regex pattern that the multiline input must match. + */ + "pattern"?: string; + /** + * Indicates this input allows multiple lines of text. + */ + "isMultiline"?: boolean; + /** + * Maximum number of characters allowed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "maxLength"?: number; + /** + * Minimum number of characters required. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "minLength"?: number; + + "type": string; +} + +export namespace MultilineVariable { + export function getJsonObj(obj: MultilineVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as MultilineVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "TEXT"; + export function getDeserializedJsonObj( + obj: MultilineVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as MultilineVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/mysql-configuration-id.ts b/lib/fleetappsmanagement/lib/model/mysql-configuration-id.ts new file mode 100644 index 0000000000..5717cfef58 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/mysql-configuration-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Mysql configuration Id. + */ +export interface MysqlConfigurationId extends model.BaseVariable { + "type": string; +} + +export namespace MysqlConfigurationId { + export function getJsonObj(obj: MysqlConfigurationId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as MysqlConfigurationId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_MYSQL_CONFIGURATION_ID"; + export function getDeserializedJsonObj( + obj: MysqlConfigurationId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as MysqlConfigurationId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/mysql-shape-id.ts b/lib/fleetappsmanagement/lib/model/mysql-shape-id.ts new file mode 100644 index 0000000000..b1d50f456a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/mysql-shape-id.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Mysql shape Id. + */ +export interface MysqlShapeId extends model.BaseVariable { + "type": string; +} + +export namespace MysqlShapeId { + export function getJsonObj(obj: MysqlShapeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as MysqlShapeId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_DATABASE_MYSQL_SHAPE_ID"; + export function getDeserializedJsonObj(obj: MysqlShapeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as MysqlShapeId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/nat-gateway-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/nat-gateway-variable-depends-on.ts new file mode 100644 index 0000000000..0428d2452b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/nat-gateway-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface NatGatewayVariableDependsOn { + /** + * OCID of the VCN. + */ + "vcnId"?: string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace NatGatewayVariableDependsOn { + export function getJsonObj(obj: NatGatewayVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: NatGatewayVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/nat-gateway-variable.ts b/lib/fleetappsmanagement/lib/model/nat-gateway-variable.ts new file mode 100644 index 0000000000..68f7235a34 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/nat-gateway-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * NAT gateway variable. + */ +export interface NatGatewayVariable extends model.BaseVariable { + "dependsOn"?: model.NatGatewayVariableDependsOn; + + "type": string; +} + +export namespace NatGatewayVariable { + export function getJsonObj(obj: NatGatewayVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as NatGatewayVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.NatGatewayVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_NATGATEWAY_ID"; + export function getDeserializedJsonObj( + obj: NatGatewayVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as NatGatewayVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.NatGatewayVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/network-load-balancer-id.ts b/lib/fleetappsmanagement/lib/model/network-load-balancer-id.ts new file mode 100644 index 0000000000..177201c239 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/network-load-balancer-id.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Network load balancer Id. + */ +export interface NetworkLoadBalancerId extends model.BaseVariable { + "type": string; +} + +export namespace NetworkLoadBalancerId { + export function getJsonObj(obj: NetworkLoadBalancerId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as NetworkLoadBalancerId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_LOADBALANCER_NETWORKLOADBALANCER_ID"; + export function getDeserializedJsonObj( + obj: NetworkLoadBalancerId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as NetworkLoadBalancerId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/nsg-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/nsg-variable-depends-on.ts new file mode 100644 index 0000000000..c926eadc56 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/nsg-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface NsgVariableDependsOn { + /** + * OCID of the VCN. + */ + "vcnId"?: string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace NsgVariableDependsOn { + export function getJsonObj(obj: NsgVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: NsgVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/nsg-variable.ts b/lib/fleetappsmanagement/lib/model/nsg-variable.ts new file mode 100644 index 0000000000..75641ae44e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/nsg-variable.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * NSG Variable. + */ +export interface NsgVariable extends model.BaseVariable { + "dependsOn"?: model.NsgVariableDependsOn; + + "type": string; +} + +export namespace NsgVariable { + export function getJsonObj(obj: NsgVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as NsgVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.NsgVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_NSG_ID"; + export function getDeserializedJsonObj(obj: NsgVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as NsgVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.NsgVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/number-output.ts b/lib/fleetappsmanagement/lib/model/number-output.ts new file mode 100644 index 0000000000..37804a01f7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/number-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Number output. + */ +export interface NumberOutput extends model.BaseOutput { + /** + * Number output value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "value"?: number; + + "type": string; +} + +export namespace NumberOutput { + export function getJsonObj(obj: NumberOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as NumberOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "NUMBER"; + export function getDeserializedJsonObj(obj: NumberOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as NumberOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/number-variable.ts b/lib/fleetappsmanagement/lib/model/number-variable.ts new file mode 100644 index 0000000000..f1c4bd3aa7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/number-variable.ts @@ -0,0 +1,70 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 default numeric value. + */ +export interface NumberVariable extends model.BaseVariable { + /** + * Default value Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "defaultValue"?: number; + /** + * Acceptable values must be a multiple of this number. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "multipleOf"?: number; + /** + * The minimum allowed value(inclusive). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "minimum"?: number; + /** + * The maximum allowed value(inclusive). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "maximum"?: number; + /** + * Value must be greater than this (exclusive lower bound). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "exclusiveMinimum"?: number; + /** + * Value must be less than this (exclusive upper bound). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "exclusiveMaximum"?: number; + + "type": string; +} + +export namespace NumberVariable { + export function getJsonObj(obj: NumberVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as NumberVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "NUMBER"; + export function getDeserializedJsonObj(obj: NumberVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as NumberVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/object-storage-bucket-name.ts b/lib/fleetappsmanagement/lib/model/object-storage-bucket-name.ts new file mode 100644 index 0000000000..ec7748e7d9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/object-storage-bucket-name.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Object storage bucket name. + */ +export interface ObjectStorageBucketName extends model.BaseVariable { + "type": string; +} + +export namespace ObjectStorageBucketName { + export function getJsonObj(obj: ObjectStorageBucketName, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ObjectStorageBucketName)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_STORAGE_OBJECTSTORAGE_BUCKET_NAME"; + export function getDeserializedJsonObj( + obj: ObjectStorageBucketName, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ObjectStorageBucketName)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/ocid-output.ts b/lib/fleetappsmanagement/lib/model/ocid-output.ts new file mode 100644 index 0000000000..4ebb252bad --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/ocid-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * OCID output. + */ +export interface OcidOutput extends model.BaseOutput { + /** + * OCID string pattern. + */ + "value"?: string; + + "type": string; +} + +export namespace OcidOutput { + export function getJsonObj(obj: OcidOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as OcidOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "OCID"; + export function getDeserializedJsonObj(obj: OcidOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as OcidOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/ods-project-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/ods-project-variable-depends-on.ts new file mode 100644 index 0000000000..9bb470e295 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/ods-project-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface OdsProjectVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace OdsProjectVariableDependsOn { + export function getJsonObj(obj: OdsProjectVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OdsProjectVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/ods-project-variable.ts b/lib/fleetappsmanagement/lib/model/ods-project-variable.ts new file mode 100644 index 0000000000..d21286f4c5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/ods-project-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * ODS project variable. + */ +export interface OdsProjectVariable extends model.BaseVariable { + "dependsOn"?: model.OdsProjectVariableDependsOn; + + "type": string; +} + +export namespace OdsProjectVariable { + export function getJsonObj(obj: OdsProjectVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as OdsProjectVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.OdsProjectVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_ODS_PROJECT_ID"; + export function getDeserializedJsonObj( + obj: OdsProjectVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as OdsProjectVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.OdsProjectVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/operation-type.ts b/lib/fleetappsmanagement/lib/model/operation-type.ts index 3856b5b635..fca2c78dc7 100644 --- a/lib/fleetappsmanagement/lib/model/operation-type.ts +++ b/lib/fleetappsmanagement/lib/model/operation-type.ts @@ -48,6 +48,10 @@ export enum OperationType { DeleteRunbookVersion = "DELETE_RUNBOOK_VERSION", PublishRunbookVersion = "PUBLISH_RUNBOOK_VERSION", MoveTask = "MOVE_TASK", + ExportRunbook = "EXPORT_RUNBOOK", + ImportRunbook = "IMPORT_RUNBOOK", + ExportRunbookVersion = "EXPORT_RUNBOOK_VERSION", + ImportRunbookVersion = "IMPORT_RUNBOOK_VERSION", UpdateTask = "UPDATE_TASK", DeleteTask = "DELETE_TASK", UpdateFamsOnboarding = "UPDATE_FAMS_ONBOARDING", diff --git a/lib/fleetappsmanagement/lib/model/order-clause.ts b/lib/fleetappsmanagement/lib/model/order-clause.ts new file mode 100644 index 0000000000..03cf300dda --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/order-clause.ts @@ -0,0 +1,54 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * report filters. + */ +export interface OrderClause { + /** + * Sort By. + */ + "sortBy": string; + /** + * Sort Order. + * + */ + "sortOrder"?: OrderClause.SortOrder; +} + +export namespace OrderClause { + 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 function getJsonObj(obj: OrderClause): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OrderClause): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/output-group.ts b/lib/fleetappsmanagement/lib/model/output-group.ts new file mode 100644 index 0000000000..ff22cf2af7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/output-group.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Output group. + */ +export interface OutputGroup { + /** + * Display name for group of outputs. + */ + "title": string; + /** + * Array of output strings included in group. + */ + "outputs": Array; +} + +export namespace OutputGroup { + export function getJsonObj(obj: OutputGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: OutputGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/password-variable.ts b/lib/fleetappsmanagement/lib/model/password-variable.ts new file mode 100644 index 0000000000..5a6b1ff630 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/password-variable.ts @@ -0,0 +1,54 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Password variable. + */ +export interface PasswordVariable extends model.BaseVariable { + /** + * he default value to populate for the password variable. + */ + "defaultValue"?: string; + /** + * Confirmation string for password validation. + */ + "confirmation"?: string; + + "type": string; +} + +export namespace PasswordVariable { + export function getJsonObj(obj: PasswordVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as PasswordVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "PASSWORD"; + export function getDeserializedJsonObj(obj: PasswordVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as PasswordVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/placeholder.ts b/lib/fleetappsmanagement/lib/model/placeholder.ts new file mode 100644 index 0000000000..94b35975a2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/placeholder.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Place Holder. + */ +export interface Placeholder { + /** + * Step name for placeholder. + */ + "stepName": string; + /** + * key for placeholder. + */ + "key"?: string; + /** + * placeholder value . + */ + "placeholder"?: string; +} + +export namespace Placeholder { + export function getJsonObj(obj: Placeholder): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Placeholder): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/platform-configuration.ts b/lib/fleetappsmanagement/lib/model/platform-configuration.ts index 2717fc794e..0394aa2af9 100644 --- a/lib/fleetappsmanagement/lib/model/platform-configuration.ts +++ b/lib/fleetappsmanagement/lib/model/platform-configuration.ts @@ -111,6 +111,7 @@ export namespace PlatformConfiguration { Deleting = "DELETING", Updating = "UPDATING", Creating = "CREATING", + Inactive = "INACTIVE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/fleetappsmanagement/lib/model/preferences.ts b/lib/fleetappsmanagement/lib/model/preferences.ts index 9b8e9da481..3b289fcaad 100644 --- a/lib/fleetappsmanagement/lib/model/preferences.ts +++ b/lib/fleetappsmanagement/lib/model/preferences.ts @@ -48,6 +48,22 @@ export interface Preferences { * Enables or disables notification when a newer version of runbook associated with a fleet is available */ "onRunbookNewerVersion"?: boolean; + /** + * Enables or disables notification on job success. + */ + "onJobSuccess"?: boolean; + /** + * Enables or disables notification on job start. + */ + "onJobStart"?: boolean; + /** + * Enables or disables notification on job canceled. + */ + "onJobCanceled"?: boolean; + /** + * Enables or disables notification on job schedule change. + */ + "onJobScheduleChange"?: boolean; } export namespace Preferences { diff --git a/lib/fleetappsmanagement/lib/model/private-endpoint-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/private-endpoint-variable-depends-on.ts new file mode 100644 index 0000000000..2d01c949e5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/private-endpoint-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface PrivateEndpointVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * OCID of the VCN. + */ + "vcnId": string; +} + +export namespace PrivateEndpointVariableDependsOn { + export function getJsonObj(obj: PrivateEndpointVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PrivateEndpointVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/private-endpoint-variable.ts b/lib/fleetappsmanagement/lib/model/private-endpoint-variable.ts new file mode 100644 index 0000000000..32b54c4e97 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/private-endpoint-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Primitive endpoint variable. + */ +export interface PrivateEndpointVariable extends model.BaseVariable { + "dependsOn"?: model.PrivateEndpointVariableDependsOn; + + "type": string; +} + +export namespace PrivateEndpointVariable { + export function getJsonObj(obj: PrivateEndpointVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as PrivateEndpointVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.PrivateEndpointVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_RESOURCEMANAGER_PRIVATEENDPOINT_ID"; + export function getDeserializedJsonObj( + obj: PrivateEndpointVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as PrivateEndpointVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.PrivateEndpointVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/prompt.ts b/lib/fleetappsmanagement/lib/model/prompt.ts new file mode 100644 index 0000000000..4f2622cdbd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/prompt.ts @@ -0,0 +1,72 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Prompt. + */ +export interface Prompt { + /** + * acceptance condition. + * + */ + "acceptanceCondition": Prompt.AcceptanceCondition; + /** + * List of choice. + */ + "choiceGroup"?: Array; +} + +export namespace Prompt { + export enum AcceptanceCondition { + Any = "ANY", + All = "ALL", + /** + * 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: Prompt): object { + const jsonObj = { + ...obj, + ...{ + "choiceGroup": obj.choiceGroup + ? obj.choiceGroup.map(item => { + return model.Choice.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Prompt): object { + const jsonObj = { + ...obj, + ...{ + "choiceGroup": obj.choiceGroup + ? obj.choiceGroup.map(item => { + return model.Choice.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/recommended-patch-collection.ts b/lib/fleetappsmanagement/lib/model/recommended-patch-collection.ts new file mode 100644 index 0000000000..99ab2aa349 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/recommended-patch-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an recommended patches search. + */ +export interface RecommendedPatchCollection { + /** + * List of recommended patches + */ + "items": Array; +} + +export namespace RecommendedPatchCollection { + export function getJsonObj(obj: RecommendedPatchCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RecommendedPatchSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecommendedPatchCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RecommendedPatchSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/recommended-patch-summary.ts b/lib/fleetappsmanagement/lib/model/recommended-patch-summary.ts new file mode 100644 index 0000000000..ad214f1b64 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/recommended-patch-summary.ts @@ -0,0 +1,74 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 recommended patches. + */ +export interface RecommendedPatchSummary { + /** + * The OCID of the patch. + */ + "patchId": string; + /** + * Name of the patch + */ + "patchName": string; + /** + * Description of the patch + */ + "patchDescription": string; + /** + * Date on which the patch was released + */ + "timeReleased"?: Date; + /** + * Description of the patch + */ + "patchType"?: string; + /** + * Patch Severity. + */ + "severity"?: model.PatchSeverity; + /** + * Patch Level. + */ + "patchLevel"?: RecommendedPatchSummary.PatchLevel; +} + +export namespace RecommendedPatchSummary { + export enum PatchLevel { + Latest = "LATEST", + LatestMinusOne = "LATEST_MINUS_ONE", + LatestMinusTwo = "LATEST_MINUS_TWO", + /** + * 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: RecommendedPatchSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecommendedPatchSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/region-variable.ts b/lib/fleetappsmanagement/lib/model/region-variable.ts new file mode 100644 index 0000000000..edb74b6e34 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/region-variable.ts @@ -0,0 +1,50 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Variable representing an OCI region name, allowing selection or display of a region in which resources are managed or created. + */ +export interface RegionVariable extends model.BaseVariable { + /** + * default region value . + */ + "defaultValue"?: string; + + "type": string; +} + +export namespace RegionVariable { + export function getJsonObj(obj: RegionVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as RegionVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_REGION_NAME"; + export function getDeserializedJsonObj(obj: RegionVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as RegionVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-collection.ts b/lib/fleetappsmanagement/lib/model/report-collection.ts new file mode 100644 index 0000000000..252b9d2da7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 summarize report . + */ +export interface ReportCollection { + /** + * List of ReportsSummary. + */ + "items": Array; +} + +export namespace ReportCollection { + export function getJsonObj(obj: ReportCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ReportSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ReportSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-details.ts b/lib/fleetappsmanagement/lib/model/report-details.ts new file mode 100644 index 0000000000..dbe97fc1a9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-details.ts @@ -0,0 +1,108 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * fetch reports for FAM based on filter. + * + */ +export interface ReportDetails { + /** + * Name of report. + */ + "name": string; + /** + * Granularity. + * + */ + "granularity"?: ReportDetails.Granularity; + "reportTimeRange"?: model.ReportTimeRange; + /** + * Condition. + * + */ + "condition"?: ReportDetails.Condition; + /** + * Filters for reports. + */ + "filters"?: Array; + /** + * order clauses for reports. + */ + "orderClause"?: Array; +} + +export namespace ReportDetails { + export enum Granularity { + Day = "DAY", + Week = "WEEK", + Month = "MONTH", + Quarter = "QUARTER", + Year = "YEAR" + } + + export enum Condition { + All = "ALL", + Any = "ANY" + } + + export function getJsonObj(obj: ReportDetails): object { + const jsonObj = { + ...obj, + ...{ + "reportTimeRange": obj.reportTimeRange + ? model.ReportTimeRange.getJsonObj(obj.reportTimeRange) + : undefined, + + "filters": obj.filters + ? obj.filters.map(item => { + return model.Filter.getJsonObj(item); + }) + : undefined, + "orderClause": obj.orderClause + ? obj.orderClause.map(item => { + return model.OrderClause.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportDetails): object { + const jsonObj = { + ...obj, + ...{ + "reportTimeRange": obj.reportTimeRange + ? model.ReportTimeRange.getDeserializedJsonObj(obj.reportTimeRange) + : undefined, + + "filters": obj.filters + ? obj.filters.map(item => { + return model.Filter.getDeserializedJsonObj(item); + }) + : undefined, + "orderClause": obj.orderClause + ? obj.orderClause.map(item => { + return model.OrderClause.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-filter.ts b/lib/fleetappsmanagement/lib/model/report-filter.ts new file mode 100644 index 0000000000..e640dab3dd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-filter.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * report filters. + */ +export interface ReportFilter { + /** + * Filter Name. + */ + "name": string; + /** + * Filter description. + */ + "description"?: string; + /** + * Filter value source. + */ + "valueSource"?: string; +} + +export namespace ReportFilter { + export function getJsonObj(obj: ReportFilter): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportFilter): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-metadata-collection.ts b/lib/fleetappsmanagement/lib/model/report-metadata-collection.ts new file mode 100644 index 0000000000..387d2726ba --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-metadata-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 run report . + */ +export interface ReportMetadataCollection { + /** + * List of ReportMetadata. + */ + "items": Array; +} + +export namespace ReportMetadataCollection { + export function getJsonObj(obj: ReportMetadataCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ReportMetadataSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportMetadataCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ReportMetadataSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-metadata-summary.ts b/lib/fleetappsmanagement/lib/model/report-metadata-summary.ts new file mode 100644 index 0000000000..53484b3e9e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-metadata-summary.ts @@ -0,0 +1,99 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ReportMetadata. + */ +export interface ReportMetadataSummary { + /** + * Name of Report. + */ + "name": string; + /** + * Description of report. + */ + "description"?: string; + /** + * default order clause for reports. + */ + "defaultOrderClause"?: Array; + /** + * Column Metadata. + */ + "columnMetadata"?: Array; + /** + * Metric Name. + */ + "metric"?: string; + /** + * metricMetadata. + */ + "filters"?: Array; +} + +export namespace ReportMetadataSummary { + export function getJsonObj(obj: ReportMetadataSummary): object { + const jsonObj = { + ...obj, + ...{ + "defaultOrderClause": obj.defaultOrderClause + ? obj.defaultOrderClause.map(item => { + return model.OrderClause.getJsonObj(item); + }) + : undefined, + "columnMetadata": obj.columnMetadata + ? obj.columnMetadata.map(item => { + return model.ColumnMetadata.getJsonObj(item); + }) + : undefined, + + "filters": obj.filters + ? obj.filters.map(item => { + return model.ReportFilter.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportMetadataSummary): object { + const jsonObj = { + ...obj, + ...{ + "defaultOrderClause": obj.defaultOrderClause + ? obj.defaultOrderClause.map(item => { + return model.OrderClause.getDeserializedJsonObj(item); + }) + : undefined, + "columnMetadata": obj.columnMetadata + ? obj.columnMetadata.map(item => { + return model.ColumnMetadata.getDeserializedJsonObj(item); + }) + : undefined, + + "filters": obj.filters + ? obj.filters.map(item => { + return model.ReportFilter.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-summary.ts b/lib/fleetappsmanagement/lib/model/report-summary.ts new file mode 100644 index 0000000000..850ea290cd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-summary.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Report. + */ +export interface ReportSummary { + /** + * Data points. + */ + "item": Array; +} + +export namespace ReportSummary { + export function getJsonObj(obj: ReportSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/report-time-range.ts b/lib/fleetappsmanagement/lib/model/report-time-range.ts new file mode 100644 index 0000000000..d6c7474458 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/report-time-range.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * TimeRange Object + */ +export interface ReportTimeRange { + /** + * Start Date for the report. An RFC3339 formatted datetime string + */ + "timeFrom": Date; + /** + * End Date for the report. An RFC3339 formatted datetime string + */ + "timeUntil": Date; +} + +export namespace ReportTimeRange { + export function getJsonObj(obj: ReportTimeRange): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ReportTimeRange): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/required-value.ts b/lib/fleetappsmanagement/lib/model/required-value.ts new file mode 100644 index 0000000000..f67ac4c44b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/required-value.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Required value. + */ +export interface RequiredValue { + /** + * Field for required value. + */ + "field": string; +} + +export namespace RequiredValue { + export function getJsonObj(obj: RequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/rule.ts b/lib/fleetappsmanagement/lib/model/rule.ts index 3474e733d8..3c1d48f057 100644 --- a/lib/fleetappsmanagement/lib/model/rule.ts +++ b/lib/fleetappsmanagement/lib/model/rule.ts @@ -43,9 +43,33 @@ export interface Rule { * Rule Conditions */ "conditions": Array; + /** + * Match condition for the rule selection. + * Include resources that match all rules or any of the rules. + * Default value for {@code matchCondition} is ANY + * + */ + "matchCondition"?: Rule.MatchCondition; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * Default value for {@code compartmentIdInSubtree} is false + * + */ + "compartmentIdInSubtree"?: boolean; } export namespace Rule { + export enum MatchCondition { + MatchAll = "MATCH_ALL", + Any = "ANY", + /** + * 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: Rule): object { const jsonObj = { ...obj, diff --git a/lib/fleetappsmanagement/lib/model/run-on-details.ts b/lib/fleetappsmanagement/lib/model/run-on-details.ts index 651bc22b2b..553160040d 100644 --- a/lib/fleetappsmanagement/lib/model/run-on-details.ts +++ b/lib/fleetappsmanagement/lib/model/run-on-details.ts @@ -43,6 +43,11 @@ export namespace RunOnDetails { (jsonObj), true ); + case "SCHEDULE_INSTANCE_TARGETS": + return model.ScheduleInstanceTargetRunOnDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); } @@ -69,6 +74,11 @@ export namespace RunOnDetails { (jsonObj), true ); + case "SCHEDULE_INSTANCE_TARGETS": + return model.ScheduleInstanceTargetRunOnDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); } diff --git a/lib/fleetappsmanagement/lib/model/runbook-export-dependency-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-export-dependency-collection.ts new file mode 100644 index 0000000000..89592db3d5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-export-dependency-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 find runbook export dependency. Contains RunbookExportDependencySummary. + */ +export interface RunbookExportDependencyCollection { + /** + * List of Runbook Export Dependencies. + */ + "items": Array; +} + +export namespace RunbookExportDependencyCollection { + export function getJsonObj(obj: RunbookExportDependencyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookTransferDependencySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookExportDependencyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookTransferDependencySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-export-status-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-export-status-collection.ts new file mode 100644 index 0000000000..8b0c6228a4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-export-status-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 runbook search. Contains RunbookExportStatusSummary items and other information. + */ +export interface RunbookExportStatusCollection { + /** + * List of Runbook export status. + */ + "items": Array; +} + +export namespace RunbookExportStatusCollection { + export function getJsonObj(obj: RunbookExportStatusCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookExportStatusSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookExportStatusCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookExportStatusSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-export-status-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-export-status-summary.ts new file mode 100644 index 0000000000..da5e39ea04 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-export-status-summary.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Runbook export status. + */ +export interface RunbookExportStatusSummary { + /** + * Tracking Id. + */ + "trackingId": string; + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * Runbook name. + */ + "runbookName": string; + /** + * Runbook version. + */ + "runbookVersion": string; + /** + * Status. + */ + "status": string; +} + +export namespace RunbookExportStatusSummary { + export function getJsonObj(obj: RunbookExportStatusSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookExportStatusSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-export.ts b/lib/fleetappsmanagement/lib/model/runbook-export.ts new file mode 100644 index 0000000000..70a1a4e9ac --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-export.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook Export Status check details. + */ +export interface RunbookExport { + /** + * Tracking Id. + */ + "trackingId": string; + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * Runbook name. + */ + "runbookName": string; + /** + * Runbook version. + */ + "runbookVersion": string; + /** + * Status. + */ + "status": string; + /** + * Map of details + */ + "details": { [key: string]: string }; +} + +export namespace RunbookExport { + export function getJsonObj(obj: RunbookExport): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookExport): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-as-runbook.ts b/lib/fleetappsmanagement/lib/model/runbook-import-as-runbook.ts new file mode 100644 index 0000000000..126ba9dd10 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-as-runbook.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Import as Runbook. + */ +export interface RunbookImportAsRunbook extends model.RunbookImportAs { + /** + * Only for RUNBOOK importType. + */ + "runbookName": string; + + "importType": string; +} + +export namespace RunbookImportAsRunbook { + export function getJsonObj(obj: RunbookImportAsRunbook, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunbookImportAs.getJsonObj(obj) as RunbookImportAsRunbook)), + ...{} + }; + + return jsonObj; + } + export const importType = "RUNBOOK"; + export function getDeserializedJsonObj( + obj: RunbookImportAsRunbook, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunbookImportAs.getDeserializedJsonObj(obj) as RunbookImportAsRunbook)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-as-version.ts b/lib/fleetappsmanagement/lib/model/runbook-import-as-version.ts new file mode 100644 index 0000000000..81c0e83dc6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-as-version.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Import as Version. + */ +export interface RunbookImportAsVersion extends model.RunbookImportAs { + /** + * Only for VERSION importType. + */ + "runbookId": string; + + "importType": string; +} + +export namespace RunbookImportAsVersion { + export function getJsonObj(obj: RunbookImportAsVersion, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunbookImportAs.getJsonObj(obj) as RunbookImportAsVersion)), + ...{} + }; + + return jsonObj; + } + export const importType = "RUNBOOK_VERSION"; + export function getDeserializedJsonObj( + obj: RunbookImportAsVersion, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunbookImportAs.getDeserializedJsonObj(obj) as RunbookImportAsVersion)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-as.ts b/lib/fleetappsmanagement/lib/model/runbook-import-as.ts new file mode 100644 index 0000000000..9d7a21ac83 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-as.ts @@ -0,0 +1,78 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook import as type. + */ +export interface RunbookImportAs { + /** + * Version number. + */ + "version"?: string; + /** + * ImportOptions for Runbook. + * + */ + "importOption": string; + + "importType": string; +} + +export namespace RunbookImportAs { + export function getJsonObj(obj: RunbookImportAs): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "importType" in obj && obj.importType) { + switch (obj.importType) { + case "RUNBOOK_VERSION": + return model.RunbookImportAsVersion.getJsonObj( + (jsonObj), + true + ); + case "RUNBOOK": + return model.RunbookImportAsRunbook.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.importType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportAs): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "importType" in obj && obj.importType) { + switch (obj.importType) { + case "RUNBOOK_VERSION": + return model.RunbookImportAsVersion.getDeserializedJsonObj( + (jsonObj), + true + ); + case "RUNBOOK": + return model.RunbookImportAsRunbook.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.importType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-dependency-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-import-dependency-collection.ts new file mode 100644 index 0000000000..3a2ea4de1b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-dependency-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 find runbook import dependency. Contains RunbookTransferDependencySummary. + */ +export interface RunbookImportDependencyCollection { + /** + * List of Runbook Import Dependencies. + */ + "items": Array; +} + +export namespace RunbookImportDependencyCollection { + export function getJsonObj(obj: RunbookImportDependencyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookTransferDependencySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportDependencyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookTransferDependencySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-dependency-finder-required-value.ts b/lib/fleetappsmanagement/lib/model/runbook-import-dependency-finder-required-value.ts new file mode 100644 index 0000000000..32dd523747 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-dependency-finder-required-value.ts @@ -0,0 +1,83 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook import required value. + */ +export interface RunbookImportDependencyFinderRequiredValue { + /** + * Rendering component value for required value. + */ + "renderingComponent"?: RunbookImportDependencyFinderRequiredValue.RenderingComponent; + /** + * Label for required value. + */ + "label"?: string; + /** + * Step name for required value. + */ + "stepName"?: string; + /** + * Placeholder assignment for required value. + */ + "placeholderAssignment"?: string; + /** + * Expected assignment. + * + */ + "expectedAssignment"?: RunbookImportDependencyFinderRequiredValue.ExpectedAssignment; + /** + * Field for required value. + */ + "field": string; +} + +export namespace RunbookImportDependencyFinderRequiredValue { + export enum RenderingComponent { + SingleChoice = "SINGLE_CHOICE", + MultiChoice = "MULTI_CHOICE", + InputText = "INPUT_TEXT", + /** + * 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 ExpectedAssignment { + TfPackage = "TF_PACKAGE", + NonTfPackage = "NON_TF_PACKAGE", + ConfigFile = "CONFIG_FILE", + Null = "NULL", + /** + * 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: RunbookImportDependencyFinderRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportDependencyFinderRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-required-value.ts b/lib/fleetappsmanagement/lib/model/runbook-import-required-value.ts new file mode 100644 index 0000000000..469a7f6598 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-required-value.ts @@ -0,0 +1,51 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook import required value. + */ +export interface RunbookImportRequiredValue { + /** + * Stepname for required value. + */ + "stepName"?: string; + /** + * Placeholder for required value. + */ + "placeholder"?: string; + /** + * Value for required value. + */ + "value"?: string; + /** + * Field for required value. + */ + "field": string; +} + +export namespace RunbookImportRequiredValue { + export function getJsonObj(obj: RunbookImportRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportRequiredValue): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-status-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-import-status-collection.ts new file mode 100644 index 0000000000..7d8e4e055e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-status-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 runbook search. Contains RunbookImportStatusSummary items and other information. + */ +export interface RunbookImportStatusCollection { + /** + * List of Runbook import status. + */ + "items": Array; +} + +export namespace RunbookImportStatusCollection { + export function getJsonObj(obj: RunbookImportStatusCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookImportStatusSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportStatusCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookImportStatusSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import-status-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-import-status-summary.ts new file mode 100644 index 0000000000..dd8555b5fc --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import-status-summary.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Runbook import status. + */ +export interface RunbookImportStatusSummary { + /** + * Tracking Id. + */ + "trackingId": string; + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * Runbook name. + */ + "runbookName": string; + /** + * Runbook version. + */ + "runbookVersion": string; + /** + * Status. + */ + "status": string; +} + +export namespace RunbookImportStatusSummary { + export function getJsonObj(obj: RunbookImportStatusSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImportStatusSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-import.ts b/lib/fleetappsmanagement/lib/model/runbook-import.ts new file mode 100644 index 0000000000..2732f8549c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-import.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook Import Status check details. + */ +export interface RunbookImport { + /** + * Tracking Id. + */ + "trackingId": string; + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * Runbook name. + */ + "runbookName": string; + /** + * Runbook version. + */ + "runbookVersion": string; + /** + * Status. + */ + "status": string; + /** + * Map of details + */ + "details": { [key: string]: string }; +} + +export namespace RunbookImport { + export function getJsonObj(obj: RunbookImport): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookImport): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-summary.ts index 061157465c..890550b1ed 100644 --- a/lib/fleetappsmanagement/lib/model/runbook-summary.ts +++ b/lib/fleetappsmanagement/lib/model/runbook-summary.ts @@ -71,6 +71,10 @@ Example: {@code My new resource} * Does this runbook has draft versions? */ "hasDraftVersion"?: boolean; + /** + * Original runbook version. This version belongs to original runbook using which new runbook was exported. + */ + "originalVersion"?: string; /** * The current state of the Runbook. */ diff --git a/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency-summary.ts new file mode 100644 index 0000000000..98facff321 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency-summary.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Runbook transfer dependencies. + */ +export interface RunbookTransferDependencySummary { + /** + * Count. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "count": number; + /** + * Entity name. + * + */ + "entity": string; + "dependency": model.RunbookTransferDependency; +} + +export namespace RunbookTransferDependencySummary { + export function getJsonObj(obj: RunbookTransferDependencySummary): object { + const jsonObj = { + ...obj, + ...{ + "dependency": obj.dependency + ? model.RunbookTransferDependency.getJsonObj(obj.dependency) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookTransferDependencySummary): object { + const jsonObj = { + ...obj, + ...{ + "dependency": obj.dependency + ? model.RunbookTransferDependency.getDeserializedJsonObj(obj.dependency) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency.ts b/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency.ts new file mode 100644 index 0000000000..846c335143 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-transfer-dependency.ts @@ -0,0 +1,74 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Runbook transfer dependency. + */ +export interface RunbookTransferDependency { + "prompt"?: model.Prompt; + /** + * List of placeholders. + */ + "placeholders"?: Array; + /** + * List of associations found. + */ + "associationsFound"?: Array; +} + +export namespace RunbookTransferDependency { + export function getJsonObj(obj: RunbookTransferDependency): object { + const jsonObj = { + ...obj, + ...{ + "prompt": obj.prompt ? model.Prompt.getJsonObj(obj.prompt) : undefined, + "placeholders": obj.placeholders + ? obj.placeholders.map(item => { + return model.Placeholder.getJsonObj(item); + }) + : undefined, + "associationsFound": obj.associationsFound + ? obj.associationsFound.map(item => { + return model.Association.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookTransferDependency): object { + const jsonObj = { + ...obj, + ...{ + "prompt": obj.prompt ? model.Prompt.getDeserializedJsonObj(obj.prompt) : undefined, + "placeholders": obj.placeholders + ? obj.placeholders.map(item => { + return model.Placeholder.getDeserializedJsonObj(item); + }) + : undefined, + "associationsFound": obj.associationsFound + ? obj.associationsFound.map(item => { + return model.Association.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts index 2ff9cb90f2..0b85fdd285 100644 --- a/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts +++ b/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Summary of the FleetResource. + * Summary of the runbook version. */ export interface RunbookVersionSummary { /** @@ -52,7 +52,7 @@ export interface RunbookVersionSummary { */ "isLatest"?: boolean; /** - * The current state of the Runbook. + * The current state of the Runbook version. */ "lifecycleState"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/runbook-version.ts b/lib/fleetappsmanagement/lib/model/runbook-version.ts index 8f251cf96e..a6b78995be 100644 --- a/lib/fleetappsmanagement/lib/model/runbook-version.ts +++ b/lib/fleetappsmanagement/lib/model/runbook-version.ts @@ -17,6 +17,8 @@ import common = require("oci-common"); /** * Version for the runbook. + * Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time. + * */ export interface RunbookVersion { /** @@ -47,7 +49,7 @@ export interface RunbookVersion { */ "name"?: string; /** - * The current state of the FleetResource. + * The current state of the runbook version. */ "lifecycleState"?: RunbookVersion.LifecycleState; /** diff --git a/lib/fleetappsmanagement/lib/model/runbook.ts b/lib/fleetappsmanagement/lib/model/runbook.ts index 02c40ed111..9ea3697ff5 100644 --- a/lib/fleetappsmanagement/lib/model/runbook.ts +++ b/lib/fleetappsmanagement/lib/model/runbook.ts @@ -71,7 +71,7 @@ Example: {@code My new resource} */ "estimatedTime"?: string; /** - * Latest runbook version + * Latest runbook version. */ "latestVersion"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/schedule-instance-target-run-on-details.ts b/lib/fleetappsmanagement/lib/model/schedule-instance-target-run-on-details.ts new file mode 100644 index 0000000000..01a9b7baf2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/schedule-instance-target-run-on-details.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Schedule Instance Target Run On Details. + */ +export interface ScheduleInstanceTargetRunOnDetails extends model.RunOnDetails { + /** + * Build control flow conditions that determine the relevance of the task execution against targets. + * + */ + "condition": string; + + "kind": string; +} + +export namespace ScheduleInstanceTargetRunOnDetails { + export function getJsonObj( + obj: ScheduleInstanceTargetRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getJsonObj(obj) as ScheduleInstanceTargetRunOnDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "SCHEDULE_INSTANCE_TARGETS"; + export function getDeserializedJsonObj( + obj: ScheduleInstanceTargetRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getDeserializedJsonObj(obj) as ScheduleInstanceTargetRunOnDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts b/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts index 6ffcf7c053..a752dec289 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts @@ -35,6 +35,10 @@ Example: {@code My new resource} * Compartment OCID */ "compartmentId": string; + /** + * Name of the compartment in which resource exist. + */ + "compartmentName"?: string; /** * The time this resource was created. An RFC3339 formatted datetime string. */ @@ -52,15 +56,15 @@ Example: {@code My new resource} */ "activityId"?: string; /** - * ResourceId associated with the Schedule. + * FleetId associated with the Schedule. */ "resourceId"?: string; /** - * jobId associated with the Schedule. + * SchedulerJobId associated with the Schedule. */ "schedulerJobId"?: string; /** - * Resource DsiplayName associated with the Schedule. + * Display Name of the Fleet associated with the Schedule. */ "resourceDisplayName"?: string; /** @@ -72,7 +76,7 @@ Example: {@code My new resource} */ "runbookVersionName"?: string; /** - * DsiplayName of Runbook associated with the Schedule. + * Display name of Runbook associated with the Schedule. */ "runbookDisplayName"?: string; /** @@ -107,7 +111,7 @@ Example: {@code My new resource} * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} * */ - "definedTags": { [key: string]: { [key: string]: any } }; + "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\"}}} diff --git a/lib/fleetappsmanagement/lib/model/schema-document.ts b/lib/fleetappsmanagement/lib/model/schema-document.ts new file mode 100644 index 0000000000..907b2a783c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/schema-document.ts @@ -0,0 +1,172 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Schema Document representing Schema.yaml (/iaas/Content/ResourceManager/Concepts/terraformconfigresourcemanager_topic-schema.htm) + */ +export interface SchemaDocument { + /** + * The display name or title for this schema document. + */ + "title"?: string; + /** + * A detailed description of the stack or schema. + */ + "description"?: string; + /** + * Additional details describing the stack's purpose or use-case. + */ + "stackDescription"?: string; + /** + * The version of the package associated with this schema. + */ + "packageVersion"?: string; + /** + * The version identifier for this schema document. + */ + "version"?: string; + /** + * The version of the schema definition format in use for this document. + */ + "schemaVersion": SchemaDocument.SchemaVersion; + /** + * The locale/language for the schema user interface (default is EN). + */ + "locale"?: SchemaDocument.Locale; + /** + * logo url. + */ + "logoUrl"?: string; + "source"?: model.StackSource; + /** + * Informational text or notes relevant to the stack or its use. + */ + "informationalText"?: string; + /** + * Setup or usage instructions for this stack. + */ + "instructions"?: string; + /** + * Troubleshooting tips, guidance, or steps for stack usage. + */ + "troubleshooting"?: string; + /** + * Indicates if the stack allows users to view state information. + */ + "canAllowViewState"?: boolean; + /** + * Key-value map of input variables defined for use by the stack. + */ + "variables": { [key: string]: model.BaseVariable }; + "groupings"?: model.VariableGroups; + /** + * An array of variable group definitions for organizing variables together. + */ + "variableGroups"?: Array; + /** + * A mapping of output variable names to their definitions. + */ + "outputs"?: { [key: string]: model.BaseOutput }; + /** + * Array of output group objects to group outputs for display or logical purposes. + */ + "outputGroups"?: Array; + /** + * primary output button value. + */ + "primaryOutputButton"?: string; +} + +export namespace SchemaDocument { + export enum SchemaVersion { + V100 = "V_1_0_0", + V110 = "V_1_1_0", + /** + * 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 Locale { + En = "EN", + /** + * 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: SchemaDocument): object { + const jsonObj = { + ...obj, + ...{ + "source": obj.source ? model.StackSource.getJsonObj(obj.source) : undefined, + + "variables": obj.variables + ? common.mapContainer(obj.variables, model.BaseVariable.getJsonObj) + : undefined, + "groupings": obj.groupings ? model.VariableGroups.getJsonObj(obj.groupings) : undefined, + "variableGroups": obj.variableGroups + ? obj.variableGroups.map(item => { + return model.VariableGroup.getJsonObj(item); + }) + : undefined, + "outputs": obj.outputs + ? common.mapContainer(obj.outputs, model.BaseOutput.getJsonObj) + : undefined, + "outputGroups": obj.outputGroups + ? obj.outputGroups.map(item => { + return model.OutputGroup.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SchemaDocument): object { + const jsonObj = { + ...obj, + ...{ + "source": obj.source ? model.StackSource.getDeserializedJsonObj(obj.source) : undefined, + + "variables": obj.variables + ? common.mapContainer(obj.variables, model.BaseVariable.getDeserializedJsonObj) + : undefined, + "groupings": obj.groupings + ? model.VariableGroups.getDeserializedJsonObj(obj.groupings) + : undefined, + "variableGroups": obj.variableGroups + ? obj.variableGroups.map(item => { + return model.VariableGroup.getDeserializedJsonObj(item); + }) + : undefined, + "outputs": obj.outputs + ? common.mapContainer(obj.outputs, model.BaseOutput.getDeserializedJsonObj) + : undefined, + "outputGroups": obj.outputGroups + ? obj.outputGroups.map(item => { + return model.OutputGroup.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts index 9a6c7edb7a..03e967217a 100644 --- a/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts @@ -40,6 +40,10 @@ export interface ScriptBasedExecutionDetails extends model.ExecutionDetails { * Is the Content an executable file? */ "isExecutableContent"?: boolean; + /** + * The list of system variables. + */ + "systemVariables"?: Array; "executionType": string; } diff --git a/lib/fleetappsmanagement/lib/model/service-gateway-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/service-gateway-variable-depends-on.ts new file mode 100644 index 0000000000..33e11ec2f4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/service-gateway-variable-depends-on.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface ServiceGatewayVariableDependsOn { + /** + * OCID of the VCN. + */ + "vcnId"?: string; + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace ServiceGatewayVariableDependsOn { + export function getJsonObj(obj: ServiceGatewayVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ServiceGatewayVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/service-gateway-variable.ts b/lib/fleetappsmanagement/lib/model/service-gateway-variable.ts new file mode 100644 index 0000000000..f28a6691c4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/service-gateway-variable.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Service gateway variable. + */ +export interface ServiceGatewayVariable extends model.BaseVariable { + "dependsOn"?: model.ServiceGatewayVariableDependsOn; + + "type": string; +} + +export namespace ServiceGatewayVariable { + export function getJsonObj(obj: ServiceGatewayVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as ServiceGatewayVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ServiceGatewayVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_SERVICEGATEWAY_ID"; + export function getDeserializedJsonObj( + obj: ServiceGatewayVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as ServiceGatewayVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.ServiceGatewayVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/single-value-filter.ts b/lib/fleetappsmanagement/lib/model/single-value-filter.ts new file mode 100644 index 0000000000..db64f1ac09 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/single-value-filter.ts @@ -0,0 +1,65 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface SingleValueFilter extends model.Filter { + /** + * Expression for Filter + * + */ + "expression": SingleValueFilter.Expression; + /** + * Value. + */ + "value": string; + + "filterType": string; +} + +export namespace SingleValueFilter { + export enum Expression { + Equal = "EQUAL", + NotEqual = "NOT_EQUAL", + LessThan = "LESS_THAN", + GreaterThan = "GREATER_THAN", + LessThanOrEqualTo = "LESS_THAN_OR_EQUAL_TO", + GreaterThanOrEqualTo = "GREATER_THAN_OR_EQUAL_TO" + } + + export function getJsonObj(obj: SingleValueFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Filter.getJsonObj(obj) as SingleValueFilter)), + ...{} + }; + + return jsonObj; + } + export const filterType = "SINGLE_VALUE"; + export function getDeserializedJsonObj( + obj: SingleValueFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Filter.getDeserializedJsonObj(obj) as SingleValueFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/ssh-public-key-variable.ts b/lib/fleetappsmanagement/lib/model/ssh-public-key-variable.ts new file mode 100644 index 0000000000..49f58a4059 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/ssh-public-key-variable.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * SSH public key variable. + */ +export interface SshPublicKeyVariable extends model.BaseVariable { + "type": string; +} + +export namespace SshPublicKeyVariable { + export function getJsonObj(obj: SshPublicKeyVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as SshPublicKeyVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_CORE_SSH_PUBLICKEY"; + export function getDeserializedJsonObj( + obj: SshPublicKeyVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as SshPublicKeyVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/stack-source.ts b/lib/fleetappsmanagement/lib/model/stack-source.ts new file mode 100644 index 0000000000..311f7d59d1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/stack-source.ts @@ -0,0 +1,54 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Object representing the source information for the stack, indicating origin type and a reference string. + */ +export interface StackSource { + /** + * The source type of the stack (e.g. MARKETPLACE, QUICKSTART, or WEB). + */ + "type"?: StackSource.Type; + /** + * Reference string providing a pointer or identifier for the source. + */ + "reference"?: string; +} + +export namespace StackSource { + export enum Type { + Marketplace = "MARKETPLACE", + Quickstart = "QUICKSTART", + Web = "WEB", + /** + * 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: StackSource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: StackSource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/string-output.ts b/lib/fleetappsmanagement/lib/model/string-output.ts new file mode 100644 index 0000000000..3fa66f205f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/string-output.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * String output. + */ +export interface StringOutput extends model.BaseOutput { + /** + * String output value. + */ + "value"?: string; + + "type": string; +} + +export namespace StringOutput { + export function getJsonObj(obj: StringOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getJsonObj(obj) as StringOutput)), + ...{} + }; + + return jsonObj; + } + export const type = "STRING"; + export function getDeserializedJsonObj(obj: StringOutput, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseOutput.getDeserializedJsonObj(obj) as StringOutput)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/string-variable.ts b/lib/fleetappsmanagement/lib/model/string-variable.ts new file mode 100644 index 0000000000..6b02b75961 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/string-variable.ts @@ -0,0 +1,62 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * String variable. + */ +export interface StringVariable extends model.BaseVariable { + /** + * The default string value. + */ + "defaultValue"?: string; + /** + * Regex pattern that the string must match. + */ + "pattern"?: string; + /** + * Maximum allowed length for the string. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "maxLength"?: number; + /** + * Minimum allowed length for the string. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "minLength"?: number; + + "type": string; +} + +export namespace StringVariable { + export function getJsonObj(obj: StringVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as StringVariable)), + ...{} + }; + + return jsonObj; + } + export const type = "STRING"; + export function getDeserializedJsonObj(obj: StringVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as StringVariable)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/subnet-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/subnet-variable-depends-on.ts new file mode 100644 index 0000000000..88e53c65da --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/subnet-variable-depends-on.ts @@ -0,0 +1,59 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object for Subnet Variables. + */ +export interface SubnetVariableDependsOn { + /** + * OCID of the VCN. + */ + "vcnId": string; + /** + * OCID of the compartment. + */ + "compartmentId": string; + /** + * If present, hides public subnets. + */ + "hidePublicSubnet"?: string; + /** + * If present, hides private subnets. + */ + "hidePrivateSubnet"?: string; + /** + * If present, hides regional subnets. + */ + "hideRegionalSubnet"?: string; + /** + * If present, hides AD subnet. + */ + "hideAdSubnet"?: string; +} + +export namespace SubnetVariableDependsOn { + export function getJsonObj(obj: SubnetVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SubnetVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/subnet-variable.ts b/lib/fleetappsmanagement/lib/model/subnet-variable.ts new file mode 100644 index 0000000000..1d274ab335 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/subnet-variable.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Subnet variable. + */ +export interface SubnetVariable extends model.BaseVariable { + "dependsOn"?: model.SubnetVariableDependsOn; + + "type": string; +} + +export namespace SubnetVariable { + export function getJsonObj(obj: SubnetVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as SubnetVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.SubnetVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_SUBNET_ID"; + export function getDeserializedJsonObj(obj: SubnetVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as SubnetVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.SubnetVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/tag-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/tag-variable-depends-on.ts new file mode 100644 index 0000000000..c8be1217ee --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/tag-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface TagVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace TagVariableDependsOn { + export function getJsonObj(obj: TagVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TagVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/tag-variable.ts b/lib/fleetappsmanagement/lib/model/tag-variable.ts new file mode 100644 index 0000000000..94fa1f4585 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/tag-variable.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * tag variable. + */ +export interface TagVariable extends model.BaseVariable { + "dependsOn"?: model.TagVariableDependsOn; + + "type": string; +} + +export namespace TagVariable { + export function getJsonObj(obj: TagVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as TagVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.TagVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_IDENTITY_TAG_VALUE"; + export function getDeserializedJsonObj(obj: TagVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as TagVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.TagVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/target-component-collection.ts b/lib/fleetappsmanagement/lib/model/target-component-collection.ts new file mode 100644 index 0000000000..d3e23ab22d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/target-component-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an target component search. + */ +export interface TargetComponentCollection { + /** + * List of target components. + */ + "items": Array; +} + +export namespace TargetComponentCollection { + export function getJsonObj(obj: TargetComponentCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TargetComponentSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TargetComponentCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TargetComponentSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/target-component-summary.ts b/lib/fleetappsmanagement/lib/model/target-component-summary.ts new file mode 100644 index 0000000000..123f4a0d71 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/target-component-summary.ts @@ -0,0 +1,69 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 target component. + */ +export interface TargetComponentSummary { + /** + * Name of the component + */ + "name": string; + /** + * Version of the component + */ + "version": string; + /** + * Path of the component + */ + "path": string; + /** + * List of properties. + */ + "properties"?: Array; +} + +export namespace TargetComponentSummary { + export function getJsonObj(obj: TargetComponentSummary): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.TargetPropertySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TargetComponentSummary): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.TargetPropertySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/target-property-collection.ts b/lib/fleetappsmanagement/lib/model/target-property-collection.ts new file mode 100644 index 0000000000..b1cfc3e44c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/target-property-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an target property search. + */ +export interface TargetPropertyCollection { + /** + * List of target properties. + */ + "items": Array; +} + +export namespace TargetPropertyCollection { + export function getJsonObj(obj: TargetPropertyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TargetPropertySummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TargetPropertyCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TargetPropertySummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/target-property-summary.ts b/lib/fleetappsmanagement/lib/model/target-property-summary.ts new file mode 100644 index 0000000000..ea031f681a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/target-property-summary.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 target property. + */ +export interface TargetPropertySummary { + /** + * Name of the property + */ + "name": string; + /** + * Value of the property + */ + "value": string; +} + +export namespace TargetPropertySummary { + export function getJsonObj(obj: TargetPropertySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TargetPropertySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/task.ts b/lib/fleetappsmanagement/lib/model/task.ts index 065c22784a..653b89e74a 100644 --- a/lib/fleetappsmanagement/lib/model/task.ts +++ b/lib/fleetappsmanagement/lib/model/task.ts @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The details of the task + * The details of the task. */ export interface Task { /** diff --git a/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts index 48141e1312..da70f6926a 100644 --- a/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts @@ -35,6 +35,10 @@ export interface TerraformBasedExecutionDetails extends model.ExecutionDetails { * Is read output variable enabled */ "isReadOutputVariableEnabled"?: boolean; + /** + * The list of system variables. + */ + "systemVariables"?: Array; "executionType": string; } diff --git a/lib/fleetappsmanagement/lib/model/transfer-runbook-content-details.ts b/lib/fleetappsmanagement/lib/model/transfer-runbook-content-details.ts new file mode 100644 index 0000000000..100f94b0d6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/transfer-runbook-content-details.ts @@ -0,0 +1,68 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface TransferRunbookContentDetails { + "sourceType": string; +} + +export namespace TransferRunbookContentDetails { + export function getJsonObj(obj: TransferRunbookContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.TransferRunbookObjectStorageBucketContentDetails.getJsonObj( + (jsonObj), + true + ); + case "PAR_URL": + return model.TransferRunbookParUrlContentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: TransferRunbookContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.TransferRunbookObjectStorageBucketContentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PAR_URL": + return model.TransferRunbookParUrlContentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/transfer-runbook-object-storage-bucket-content-details.ts b/lib/fleetappsmanagement/lib/model/transfer-runbook-object-storage-bucket-content-details.ts new file mode 100644 index 0000000000..0778504f52 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/transfer-runbook-object-storage-bucket-content-details.ts @@ -0,0 +1,77 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about Object Storage Bucket source. + * Restricted to the region this is called. + * + */ +export interface TransferRunbookObjectStorageBucketContentDetails + extends model.TransferRunbookContentDetails { + /** + * Namespace. + */ + "namespaceName": string; + /** + * Bucket Name. + */ + "bucketName": string; + /** + * Object Name. + */ + "objectName"?: string; + /** + * md5 checksum of the artifact. + */ + "checksum"?: string; + + "sourceType": string; +} + +export namespace TransferRunbookObjectStorageBucketContentDetails { + export function getJsonObj( + obj: TransferRunbookObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TransferRunbookContentDetails.getJsonObj( + obj + ) as TransferRunbookObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "OBJECT_STORAGE_BUCKET"; + export function getDeserializedJsonObj( + obj: TransferRunbookObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TransferRunbookContentDetails.getDeserializedJsonObj( + obj + ) as TransferRunbookObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/transfer-runbook-par-url-content-details.ts b/lib/fleetappsmanagement/lib/model/transfer-runbook-par-url-content-details.ts new file mode 100644 index 0000000000..abe0f10b78 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/transfer-runbook-par-url-content-details.ts @@ -0,0 +1,64 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about Object Storage Bucket source. + * Restricted to the region this is called. + * + */ +export interface TransferRunbookParUrlContentDetails extends model.TransferRunbookContentDetails { + /** + * PAR url. + */ + "url": string; + + "sourceType": string; +} + +export namespace TransferRunbookParUrlContentDetails { + export function getJsonObj( + obj: TransferRunbookParUrlContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TransferRunbookContentDetails.getJsonObj( + obj + ) as TransferRunbookParUrlContentDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "PAR_URL"; + export function getDeserializedJsonObj( + obj: TransferRunbookParUrlContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TransferRunbookContentDetails.getDeserializedJsonObj( + obj + ) as TransferRunbookParUrlContentDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts index 9ac9353d38..251250ca98 100644 --- a/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts @@ -36,6 +36,10 @@ export interface UpdateCatalogItemDetails { * The CatalogItem name. */ "displayName"?: string; + /** + * Indicates if the CatalogItem is immutable or not. + */ + "isItemLocked"?: boolean; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/update-fleet-details.ts b/lib/fleetappsmanagement/lib/model/update-fleet-details.ts index c2fce3e41e..978d32af06 100644 --- a/lib/fleetappsmanagement/lib/model/update-fleet-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-fleet-details.ts @@ -48,6 +48,8 @@ Example: {@code My new resource} "resourceSelection"?: model.DynamicResourceSelection | model.ManualResourceSelection; /** * Products associated with the Fleet. + * Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed. + * */ "products"?: Array; /** @@ -62,6 +64,12 @@ Example: {@code My new resource} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Environment Type associated with the Fleet. + * Applicable for ENVIRONMENT fleet types. + * + */ + "environmentType"?: string; } export namespace UpdateFleetDetails { diff --git a/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts b/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts index 6aa8de4dba..3e4e2b5121 100644 --- a/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts @@ -27,6 +27,18 @@ export interface UpdateOnboardingDetails { * A value determining if cost tracking tag is enabled or not */ "isCostTrackingTagEnabled"?: boolean; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateOnboardingDetails { diff --git a/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts b/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts index 37c1257e10..1a41e1c79c 100644 --- a/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts @@ -41,6 +41,18 @@ Example: {@code My new resource} | model.LifecycleOperationConfigCategoryDetails | model.ProductConfigCategoryDetails | model.SelfHostedInstanceConfigCategoryDetails; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace UpdatePlatformConfigurationDetails { diff --git a/lib/fleetappsmanagement/lib/model/update-property-details.ts b/lib/fleetappsmanagement/lib/model/update-property-details.ts index 4f6d7d21ff..fb730412a2 100644 --- a/lib/fleetappsmanagement/lib/model/update-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-property-details.ts @@ -39,6 +39,18 @@ Example: {@code My new resource} * Values of the property (must be a single value if selection = 'SINGLE_CHOICE'). */ "values"?: Array; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace UpdatePropertyDetails { diff --git a/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts index 8c79b015ed..dd5df9d1a2 100644 --- a/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts @@ -17,6 +17,8 @@ import common = require("oci-common"); /** * The information to be updated. + * Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time. + * */ export interface UpdateRunbookVersionDetails { /** @@ -24,7 +26,7 @@ export interface UpdateRunbookVersionDetails { */ "tasks"?: Array; /** - * The groups of the runbook. + * The groups of the runbook version. * */ "groups"?: Array; diff --git a/lib/fleetappsmanagement/lib/model/variable-group.ts b/lib/fleetappsmanagement/lib/model/variable-group.ts new file mode 100644 index 0000000000..96775bbfac --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/variable-group.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 organizational grouping of related variables within the schema. + */ +export interface VariableGroup { + /** + * Display title for the group of variables. + */ + "title": string; + /** + * Array of variable references assigned to this group. + */ + "variables": Array; + /** + * Hint controlling the group's visibility. + */ + "visible"?: string; +} + +export namespace VariableGroup { + export function getJsonObj(obj: VariableGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VariableGroup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/variable-groups.ts b/lib/fleetappsmanagement/lib/model/variable-groups.ts new file mode 100644 index 0000000000..63f2df242c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/variable-groups.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * variable groups object. + */ +export interface VariableGroups { + /** + * Map of group names to their respective VariableGroup objects. + */ + "array"?: { [key: string]: model.VariableGroup }; +} + +export namespace VariableGroups { + export function getJsonObj(obj: VariableGroups): object { + const jsonObj = { + ...obj, + ...{ + "array": obj.array + ? common.mapContainer(obj.array, model.VariableGroup.getJsonObj) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VariableGroups): object { + const jsonObj = { + ...obj, + ...{ + "array": obj.array + ? common.mapContainer(obj.array, model.VariableGroup.getDeserializedJsonObj) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/vcn-network-security-group-id.ts b/lib/fleetappsmanagement/lib/model/vcn-network-security-group-id.ts new file mode 100644 index 0000000000..47a9acd0e5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/vcn-network-security-group-id.ts @@ -0,0 +1,50 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * VCN network security group Id. + */ +export interface VcnNetworkSecurityGroupId extends model.BaseVariable { + "type": string; +} + +export namespace VcnNetworkSecurityGroupId { + export function getJsonObj(obj: VcnNetworkSecurityGroupId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as VcnNetworkSecurityGroupId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_CORE_VCN_NETWORKSECURITYGROUP_ID"; + export function getDeserializedJsonObj( + obj: VcnNetworkSecurityGroupId, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as VcnNetworkSecurityGroupId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/vcn-sec-list-id.ts b/lib/fleetappsmanagement/lib/model/vcn-sec-list-id.ts new file mode 100644 index 0000000000..db65daaf5c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/vcn-sec-list-id.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * VCN sec list Id. + */ +export interface VcnSecListId extends model.BaseVariable { + "type": string; +} + +export namespace VcnSecListId { + export function getJsonObj(obj: VcnSecListId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as VcnSecListId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_CORE_VCN_SECLIST_ID"; + export function getDeserializedJsonObj(obj: VcnSecListId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as VcnSecListId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/vcn-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/vcn-variable-depends-on.ts new file mode 100644 index 0000000000..f0f110dd2a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/vcn-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface VcnVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId": string; +} + +export namespace VcnVariableDependsOn { + export function getJsonObj(obj: VcnVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VcnVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/vcn-variable.ts b/lib/fleetappsmanagement/lib/model/vcn-variable.ts new file mode 100644 index 0000000000..1f6e867fc2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/vcn-variable.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * VCN variable. + */ +export interface VcnVariable extends model.BaseVariable { + "dependsOn"?: model.VcnVariableDependsOn; + + "type": string; +} + +export namespace VcnVariable { + export function getJsonObj(obj: VcnVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as VcnVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.VcnVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_CORE_VCN_ID"; + export function getDeserializedJsonObj(obj: VcnVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as VcnVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.VcnVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/version.ts b/lib/fleetappsmanagement/lib/model/version.ts index 2af5f27d02..568cdd8b0c 100644 --- a/lib/fleetappsmanagement/lib/model/version.ts +++ b/lib/fleetappsmanagement/lib/model/version.ts @@ -17,6 +17,8 @@ import common = require("oci-common"); /** * Version for the runbook. + * Versioning runbooks in Fleet Application Management involve assigning unique identifiers or version numbers to different iterations of the runbook to track changes, improvements, and updates over time. + * */ export interface Version { /** diff --git a/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable-depends-on.ts b/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable-depends-on.ts new file mode 100644 index 0000000000..a2224b6320 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable-depends-on.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Depends on object. + */ +export interface VolumeBackupPoliciesVariableDependsOn { + /** + * OCID of the compartment. + */ + "compartmentId"?: string; +} + +export namespace VolumeBackupPoliciesVariableDependsOn { + export function getJsonObj(obj: VolumeBackupPoliciesVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VolumeBackupPoliciesVariableDependsOn): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable.ts b/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable.ts new file mode 100644 index 0000000000..c9af936f42 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/volume-backup-policies-variable.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Volume backup policies variable. + */ +export interface VolumeBackupPoliciesVariable extends model.BaseVariable { + "dependsOn"?: model.VolumeBackupPoliciesVariableDependsOn; + + "type": string; +} + +export namespace VolumeBackupPoliciesVariable { + export function getJsonObj(obj: VolumeBackupPoliciesVariable, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getJsonObj(obj) as VolumeBackupPoliciesVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.VolumeBackupPoliciesVariableDependsOn.getJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } + export const type = "OCI_BLOCKSTORAGE_POLICIES_ID"; + export function getDeserializedJsonObj( + obj: VolumeBackupPoliciesVariable, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.BaseVariable.getDeserializedJsonObj(obj) as VolumeBackupPoliciesVariable)), + ...{ + "dependsOn": obj.dependsOn + ? model.VolumeBackupPoliciesVariableDependsOn.getDeserializedJsonObj(obj.dependsOn) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/volume-id.ts b/lib/fleetappsmanagement/lib/model/volume-id.ts new file mode 100644 index 0000000000..29847b8bb2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/volume-id.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Volume Id. + */ +export interface VolumeId extends model.BaseVariable { + "type": string; +} + +export namespace VolumeId { + export function getJsonObj(obj: VolumeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getJsonObj(obj) as VolumeId)), + ...{} + }; + + return jsonObj; + } + export const type = "OCI_CORE_VOLUME_ID"; + export function getDeserializedJsonObj(obj: VolumeId, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.BaseVariable.getDeserializedJsonObj(obj) as VolumeId)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/request/configure-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/configure-catalog-item-request.ts new file mode 100644 index 0000000000..e9fc968ca1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/configure-catalog-item-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ConfigureCatalogItem.ts.html |here} to see how to use ConfigureCatalogItemRequest. + */ +export interface ConfigureCatalogItemRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * The information to be updated. + */ + "configureCatalogItemDetails": model.ConfigureCatalogItemDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/export-runbook-request.ts b/lib/fleetappsmanagement/lib/request/export-runbook-request.ts new file mode 100644 index 0000000000..6099f2d638 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/export-runbook-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ExportRunbook.ts.html |here} to see how to use ExportRunbookRequest. + */ +export interface ExportRunbookRequest extends common.BaseRequest { + /** + * Details for publishing the specified version of runbook. + */ + "exportRunbookDetails": model.ExportRunbookDetails; + /** + * Unique Runbook identifier + */ + "runbookId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/export-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/export-runbook-version-request.ts new file mode 100644 index 0000000000..29b10c3e9f --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/export-runbook-version-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ExportRunbookVersion.ts.html |here} to see how to use ExportRunbookVersionRequest. + */ +export interface ExportRunbookVersionRequest extends common.BaseRequest { + /** + * Details for publishing the specified version of runbook. + */ + "exportRunbookVersionDetails": model.ExportRunbookVersionDetails; + /** + * Unique Runbook Version identifier + */ + "runbookVersionId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/find-runbook-export-dependency-request.ts b/lib/fleetappsmanagement/lib/request/find-runbook-export-dependency-request.ts new file mode 100644 index 0000000000..6008190a04 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/find-runbook-export-dependency-request.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/FindRunbookExportDependency.ts.html |here} to see how to use FindRunbookExportDependencyRequest. + */ +export interface FindRunbookExportDependencyRequest extends common.BaseRequest { + /** + * Details for finding runbook export dependencies. + */ + "findRunbookExportDependencyDetails": model.FindRunbookExportDependencyDetails; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/find-runbook-import-dependency-request.ts b/lib/fleetappsmanagement/lib/request/find-runbook-import-dependency-request.ts new file mode 100644 index 0000000000..dbb3aa29f4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/find-runbook-import-dependency-request.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/FindRunbookImportDependency.ts.html |here} to see how to use FindRunbookImportDependencyRequest. + */ +export interface FindRunbookImportDependencyRequest extends common.BaseRequest { + /** + * Details for finding runbook import dependencies. + */ + "findRunbookImportDependencyDetails": model.FindRunbookImportDependencyDetails; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-catalog-item-variables-definition-request.ts b/lib/fleetappsmanagement/lib/request/get-catalog-item-variables-definition-request.ts new file mode 100644 index 0000000000..f967f6eb47 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-catalog-item-variables-definition-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/GetCatalogItemVariablesDefinition.ts.html |here} to see how to use GetCatalogItemVariablesDefinitionRequest. + */ +export interface GetCatalogItemVariablesDefinitionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-compliance-request.ts b/lib/fleetappsmanagement/lib/request/get-compliance-request.ts new file mode 100644 index 0000000000..a43874cd59 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-compliance-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/GetCompliance.ts.html |here} to see how to use GetComplianceRequest. + */ +export interface GetComplianceRequest extends common.BaseRequest { + /** + * Unique Fleet identifier. + */ + "fleetId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts b/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts index 9366b400e2..82a5363b1c 100644 --- a/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts @@ -26,6 +26,11 @@ export interface GetJobActivityRequest extends common.BaseRequest { * unique jobActivity identifier */ "jobActivityId": string; + /** + * If set to true, inventory details will be returned. + * + */ + "isDetailsRequired"?: boolean; /** * The client request ID for tracing. */ diff --git a/lib/fleetappsmanagement/lib/request/get-runbook-export-request.ts b/lib/fleetappsmanagement/lib/request/get-runbook-export-request.ts new file mode 100644 index 0000000000..1e306da9c2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-runbook-export-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/GetRunbookExport.ts.html |here} to see how to use GetRunbookExportRequest. + */ +export interface GetRunbookExportRequest extends common.BaseRequest { + /** + * Unique Runbook identifier + */ + "runbookId": string; + /** + * Unique tracking identifier to fetch runbook export status + */ + "exportId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-runbook-import-request.ts b/lib/fleetappsmanagement/lib/request/get-runbook-import-request.ts new file mode 100644 index 0000000000..46d769d79c --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-runbook-import-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/GetRunbookImport.ts.html |here} to see how to use GetRunbookImportRequest. + */ +export interface GetRunbookImportRequest extends common.BaseRequest { + /** + * Unique Runbook identifier + */ + "runbookId": string; + /** + * Unique tracking identifier to fetch runbook import status + */ + "importId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/import-runbook-precheck-request.ts b/lib/fleetappsmanagement/lib/request/import-runbook-precheck-request.ts new file mode 100644 index 0000000000..d91e360ae5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/import-runbook-precheck-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ImportRunbookPrecheck.ts.html |here} to see how to use ImportRunbookPrecheckRequest. + */ +export interface ImportRunbookPrecheckRequest extends common.BaseRequest { + /** + * Details for precheck of specified runbook import. + */ + "importRunbookPrecheckDetails": model.ImportRunbookPrecheckDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/import-runbook-request.ts b/lib/fleetappsmanagement/lib/request/import-runbook-request.ts new file mode 100644 index 0000000000..0ed260a599 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/import-runbook-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ImportRunbook.ts.html |here} to see how to use ImportRunbookRequest. + */ +export interface ImportRunbookRequest extends common.BaseRequest { + /** + * Details for importing the specified runbook. + */ + "importRunbookDetails": model.ImportRunbookDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/import-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/import-runbook-version-request.ts new file mode 100644 index 0000000000..db029e8fb7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/import-runbook-version-request.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ImportRunbookVersion.ts.html |here} to see how to use ImportRunbookVersionRequest. + */ +export interface ImportRunbookVersionRequest extends common.BaseRequest { + /** + * Details for publishing the specified version of runbook. + */ + "importRunbookVersionDetails": model.ImportRunbookVersionDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/index.ts b/lib/fleetappsmanagement/lib/request/index.ts index 1ceda3dcef..f15e4965ad 100644 --- a/lib/fleetappsmanagement/lib/request/index.ts +++ b/lib/fleetappsmanagement/lib/request/index.ts @@ -36,6 +36,8 @@ import * as DeleteFleetResourceRequest from "./delete-fleet-resource-request"; export import DeleteFleetResourceRequest = DeleteFleetResourceRequest.DeleteFleetResourceRequest; import * as GenerateComplianceReportRequest from "./generate-compliance-report-request"; export import GenerateComplianceReportRequest = GenerateComplianceReportRequest.GenerateComplianceReportRequest; +import * as GetComplianceRequest from "./get-compliance-request"; +export import GetComplianceRequest = GetComplianceRequest.GetComplianceRequest; import * as GetComplianceReportRequest from "./get-compliance-report-request"; export import GetComplianceReportRequest = GetComplianceReportRequest.GetComplianceReportRequest; import * as GetFleetRequest from "./get-fleet-request"; @@ -134,12 +136,16 @@ import * as ChangeCatalogItemCompartmentRequest from "./change-catalog-item-comp export import ChangeCatalogItemCompartmentRequest = ChangeCatalogItemCompartmentRequest.ChangeCatalogItemCompartmentRequest; import * as CloneCatalogItemRequest from "./clone-catalog-item-request"; export import CloneCatalogItemRequest = CloneCatalogItemRequest.CloneCatalogItemRequest; +import * as ConfigureCatalogItemRequest from "./configure-catalog-item-request"; +export import ConfigureCatalogItemRequest = ConfigureCatalogItemRequest.ConfigureCatalogItemRequest; import * as CreateCatalogItemRequest from "./create-catalog-item-request"; export import CreateCatalogItemRequest = CreateCatalogItemRequest.CreateCatalogItemRequest; import * as DeleteCatalogItemRequest from "./delete-catalog-item-request"; export import DeleteCatalogItemRequest = DeleteCatalogItemRequest.DeleteCatalogItemRequest; import * as GetCatalogItemRequest from "./get-catalog-item-request"; export import GetCatalogItemRequest = GetCatalogItemRequest.GetCatalogItemRequest; +import * as GetCatalogItemVariablesDefinitionRequest from "./get-catalog-item-variables-definition-request"; +export import GetCatalogItemVariablesDefinitionRequest = GetCatalogItemVariablesDefinitionRequest.GetCatalogItemVariablesDefinitionRequest; import * as ListCatalogItemsRequest from "./list-catalog-items-request"; export import ListCatalogItemsRequest = ListCatalogItemsRequest.ListCatalogItemsRequest; import * as UpdateCatalogItemRequest from "./update-catalog-item-request"; @@ -182,10 +188,16 @@ import * as ListComplianceRecordsRequest from "./list-compliance-records-request export import ListComplianceRecordsRequest = ListComplianceRecordsRequest.ListComplianceRecordsRequest; import * as ListExecutionsRequest from "./list-executions-request"; export import ListExecutionsRequest = ListExecutionsRequest.ListExecutionsRequest; +import * as ListInstalledPatchesRequest from "./list-installed-patches-request"; +export import ListInstalledPatchesRequest = ListInstalledPatchesRequest.ListInstalledPatchesRequest; import * as ListInventoryRecordsRequest from "./list-inventory-records-request"; export import ListInventoryRecordsRequest = ListInventoryRecordsRequest.ListInventoryRecordsRequest; import * as ListPatchesRequest from "./list-patches-request"; export import ListPatchesRequest = ListPatchesRequest.ListPatchesRequest; +import * as ListRecommendedPatchesRequest from "./list-recommended-patches-request"; +export import ListRecommendedPatchesRequest = ListRecommendedPatchesRequest.ListRecommendedPatchesRequest; +import * as ListReportMetadataRequest from "./list-report-metadata-request"; +export import ListReportMetadataRequest = ListReportMetadataRequest.ListReportMetadataRequest; import * as ListResourcesRequest from "./list-resources-request"; export import ListResourcesRequest = ListResourcesRequest.ListResourcesRequest; import * as ListScheduledFleetsRequest from "./list-scheduled-fleets-request"; @@ -198,8 +210,14 @@ import * as ListSchedulerJobsRequest from "./list-scheduler-jobs-request"; export import ListSchedulerJobsRequest = ListSchedulerJobsRequest.ListSchedulerJobsRequest; import * as ListStepsRequest from "./list-steps-request"; export import ListStepsRequest = ListStepsRequest.ListStepsRequest; +import * as ListTargetComponentsRequest from "./list-target-components-request"; +export import ListTargetComponentsRequest = ListTargetComponentsRequest.ListTargetComponentsRequest; +import * as ListTargetPropertiesRequest from "./list-target-properties-request"; +export import ListTargetPropertiesRequest = ListTargetPropertiesRequest.ListTargetPropertiesRequest; import * as ManageJobExecutionRequest from "./manage-job-execution-request"; export import ManageJobExecutionRequest = ManageJobExecutionRequest.ManageJobExecutionRequest; +import * as ReportRequest from "./report-request"; +export import ReportRequest = ReportRequest.ReportRequest; import * as SummarizeComplianceRecordCountsRequest from "./summarize-compliance-record-counts-request"; export import SummarizeComplianceRecordCountsRequest = SummarizeComplianceRecordCountsRequest.SummarizeComplianceRecordCountsRequest; import * as SummarizeManagedEntityCountsRequest from "./summarize-managed-entity-counts-request"; @@ -240,12 +258,34 @@ import * as DeleteRunbookVersionRequest from "./delete-runbook-version-request"; export import DeleteRunbookVersionRequest = DeleteRunbookVersionRequest.DeleteRunbookVersionRequest; import * as DeleteTaskRecordRequest from "./delete-task-record-request"; export import DeleteTaskRecordRequest = DeleteTaskRecordRequest.DeleteTaskRecordRequest; +import * as ExportRunbookRequest from "./export-runbook-request"; +export import ExportRunbookRequest = ExportRunbookRequest.ExportRunbookRequest; +import * as ExportRunbookVersionRequest from "./export-runbook-version-request"; +export import ExportRunbookVersionRequest = ExportRunbookVersionRequest.ExportRunbookVersionRequest; +import * as FindRunbookExportDependencyRequest from "./find-runbook-export-dependency-request"; +export import FindRunbookExportDependencyRequest = FindRunbookExportDependencyRequest.FindRunbookExportDependencyRequest; +import * as FindRunbookImportDependencyRequest from "./find-runbook-import-dependency-request"; +export import FindRunbookImportDependencyRequest = FindRunbookImportDependencyRequest.FindRunbookImportDependencyRequest; import * as GetRunbookRequest from "./get-runbook-request"; export import GetRunbookRequest = GetRunbookRequest.GetRunbookRequest; +import * as GetRunbookExportRequest from "./get-runbook-export-request"; +export import GetRunbookExportRequest = GetRunbookExportRequest.GetRunbookExportRequest; +import * as GetRunbookImportRequest from "./get-runbook-import-request"; +export import GetRunbookImportRequest = GetRunbookImportRequest.GetRunbookImportRequest; import * as GetRunbookVersionRequest from "./get-runbook-version-request"; export import GetRunbookVersionRequest = GetRunbookVersionRequest.GetRunbookVersionRequest; import * as GetTaskRecordRequest from "./get-task-record-request"; export import GetTaskRecordRequest = GetTaskRecordRequest.GetTaskRecordRequest; +import * as ImportRunbookRequest from "./import-runbook-request"; +export import ImportRunbookRequest = ImportRunbookRequest.ImportRunbookRequest; +import * as ImportRunbookPrecheckRequest from "./import-runbook-precheck-request"; +export import ImportRunbookPrecheckRequest = ImportRunbookPrecheckRequest.ImportRunbookPrecheckRequest; +import * as ImportRunbookVersionRequest from "./import-runbook-version-request"; +export import ImportRunbookVersionRequest = ImportRunbookVersionRequest.ImportRunbookVersionRequest; +import * as ListRunbookExportStatusesRequest from "./list-runbook-export-statuses-request"; +export import ListRunbookExportStatusesRequest = ListRunbookExportStatusesRequest.ListRunbookExportStatusesRequest; +import * as ListRunbookImportStatusesRequest from "./list-runbook-import-statuses-request"; +export import ListRunbookImportStatusesRequest = ListRunbookImportStatusesRequest.ListRunbookImportStatusesRequest; import * as ListRunbookVersionsRequest from "./list-runbook-versions-request"; export import ListRunbookVersionsRequest = ListRunbookVersionsRequest.ListRunbookVersionsRequest; import * as ListRunbooksRequest from "./list-runbooks-request"; diff --git a/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts b/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts index aeed89ea8d..78cce0712a 100644 --- a/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts @@ -67,6 +67,12 @@ export interface ListCatalogItemsRequest extends common.BaseRequest { * Parameter to list all catalog items only with latest version or list all catalog items with all versions. */ "catalogListingVersionCriteria"?: model.CatalogListingVersionCriteriaEnum; + /** + * A filter to return only resources that match the given package type. The + * state value is case-insensitive. + * + */ + "packageType"?: string; /** * The indicator to append Public Items from the root compartment to any query, when set to TRUE. */ diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts index fa90e32bcb..0267b91adc 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts @@ -59,4 +59,8 @@ export interface ListFleetTargetsRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * A filter to return fleets whose lifecycleState matches the given lifecycleState. + */ + "lifecycleState"?: string; } diff --git a/lib/fleetappsmanagement/lib/request/list-installed-patches-request.ts b/lib/fleetappsmanagement/lib/request/list-installed-patches-request.ts new file mode 100644 index 0000000000..8657b3c318 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-installed-patches-request.ts @@ -0,0 +1,72 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListInstalledPatches.ts.html |here} to see how to use ListInstalledPatchesRequest. + */ +export interface ListInstalledPatchesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Target Id. + */ + "targetId"?: string; + /** + * Target name. + */ + "targetName"?: string; + /** + * Patch severity. + */ + "severity"?: model.PatchSeverity; + /** + * Patch level. + */ + "patchLevel"?: string; + /** + * Patch Type. + */ + "patchType"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The field to sort by. Only one sort order may be provided. + * + */ + "sortBy"?: ListInstalledPatchesRequest.SortBy; +} + +export namespace ListInstalledPatchesRequest { + export enum SortBy { + PatchName = "patchName" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts b/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts index 86785d1532..8a445dacd9 100644 --- a/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts @@ -52,6 +52,11 @@ export interface ListInventoryRecordsRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * If set to true, inventory details will be returned. + * + */ + "isDetailsRequired"?: boolean; /** * The field to sort by. Only one sort order may be provided. * diff --git a/lib/fleetappsmanagement/lib/request/list-recommended-patches-request.ts b/lib/fleetappsmanagement/lib/request/list-recommended-patches-request.ts new file mode 100644 index 0000000000..7b32a15d1c --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-recommended-patches-request.ts @@ -0,0 +1,82 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListRecommendedPatches.ts.html |here} to see how to use ListRecommendedPatchesRequest. + */ +export interface ListRecommendedPatchesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Target identifier. + */ + "targetId"?: string; + /** + * Unique target name + */ + "targetName"?: string; + /** + * Patch level. + */ + "patchLevel"?: ListRecommendedPatchesRequest.PatchLevel; + /** + * Patch severity. + */ + "severity"?: model.PatchSeverity; + /** + * Patch Type. + */ + "patchType"?: string; + /** + * Patch identifier. + */ + "patchId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The field to sort by. Only one sort order may be provided. + * + */ + "sortBy"?: ListRecommendedPatchesRequest.SortBy; +} + +export namespace ListRecommendedPatchesRequest { + export enum PatchLevel { + Latest = "LATEST", + LatestMinusOne = "LATEST_MINUS_ONE", + LatestMinusTwo = "LATEST_MINUS_TWO" + } + + export enum SortBy { + PatchName = "patchName" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-report-metadata-request.ts b/lib/fleetappsmanagement/lib/request/list-report-metadata-request.ts new file mode 100644 index 0000000000..55767215b5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-report-metadata-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListReportMetadata.ts.html |here} to see how to use ListReportMetadataRequest. + */ +export interface ListReportMetadataRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A filter to return data for given report name. + */ + "reportName"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: model.SortBy; +} diff --git a/lib/fleetappsmanagement/lib/request/list-runbook-export-statuses-request.ts b/lib/fleetappsmanagement/lib/request/list-runbook-export-statuses-request.ts new file mode 100644 index 0000000000..a9d4289cb1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-runbook-export-statuses-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListRunbookExportStatuses.ts.html |here} to see how to use ListRunbookExportStatusesRequest. + */ +export interface ListRunbookExportStatusesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Unique identifier or OCID for listing a single Runbook by id. + * Either compartmentId or id must be provided. + * + */ + "id"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: model.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/list-runbook-import-statuses-request.ts b/lib/fleetappsmanagement/lib/request/list-runbook-import-statuses-request.ts new file mode 100644 index 0000000000..1f291ab38a --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-runbook-import-statuses-request.ts @@ -0,0 +1,52 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListRunbookImportStatuses.ts.html |here} to see how to use ListRunbookImportStatusesRequest. + */ +export interface ListRunbookImportStatusesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Unique identifier or OCID for listing a single Runbook by id. + * Either compartmentId or id must be provided. + * + */ + "id"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: model.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts b/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts index 83af655806..425d2645e7 100644 --- a/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts @@ -63,11 +63,9 @@ export interface ListRunbooksRequest extends common.BaseRequest { */ "sortOrder"?: model.SortOrder; /** - * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. -*

- -* - */ + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ "sortBy"?: model.RunbookSortBy; /** * The client request ID for tracing. diff --git a/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts b/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts index 51c9690139..f6437cf5f3 100644 --- a/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts @@ -60,6 +60,16 @@ export interface ListSchedulerExecutionsRequest extends common.BaseRequest { * A filter to return only resources their subState matches the given subState. */ "substate"?: string; + /** + * A filter to return only resources their lifecycleOperation matches the given lifecycleOperation. + */ + "lifecycleOperation"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * The maximum number of items to return. */ diff --git a/lib/fleetappsmanagement/lib/request/list-target-components-request.ts b/lib/fleetappsmanagement/lib/request/list-target-components-request.ts new file mode 100644 index 0000000000..ee7338a211 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-target-components-request.ts @@ -0,0 +1,68 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListTargetComponents.ts.html |here} to see how to use ListTargetComponentsRequest. + */ +export interface ListTargetComponentsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Target Id. + */ + "targetId"?: string; + /** + * Target name. + */ + "targetName"?: string; + /** + * Patch severity. + */ + "severity"?: model.PatchSeverity; + /** + * Target Component Name. + */ + "name"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The field to sort by. Only one sort order may be provided. + * + */ + "sortBy"?: ListTargetComponentsRequest.SortBy; +} + +export namespace ListTargetComponentsRequest { + export enum SortBy { + ComponentName = "componentName" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-target-properties-request.ts b/lib/fleetappsmanagement/lib/request/list-target-properties-request.ts new file mode 100644 index 0000000000..610c8ddf96 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-target-properties-request.ts @@ -0,0 +1,64 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/ListTargetProperties.ts.html |here} to see how to use ListTargetPropertiesRequest. + */ +export interface ListTargetPropertiesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Target Id. + */ + "targetId"?: string; + /** + * Target name. + */ + "targetName"?: string; + /** + * Patch severity. + */ + "severity"?: model.PatchSeverity; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The field to sort by. Only one sort order may be provided. + * + */ + "sortBy"?: ListTargetPropertiesRequest.SortBy; +} + +export namespace ListTargetPropertiesRequest { + export enum SortBy { + PropertyName = "propertyName" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-targets-request.ts b/lib/fleetappsmanagement/lib/request/list-targets-request.ts index 2d56f3c952..923c7f7dfe 100644 --- a/lib/fleetappsmanagement/lib/request/list-targets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-targets-request.ts @@ -47,4 +47,9 @@ export interface ListTargetsRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * If set to true, confirmed targets will be returned. + * + */ + "isConfirmedTargets"?: boolean; } diff --git a/lib/fleetappsmanagement/lib/request/report-request.ts b/lib/fleetappsmanagement/lib/request/report-request.ts new file mode 100644 index 0000000000..c3baabcad9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/report-request.ts @@ -0,0 +1,65 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/fleetappsmanagement/Report.ts.html |here} to see how to use ReportRequest. + */ +export interface ReportRequest extends common.BaseRequest { + /** + * Details for generating report + */ + "reportDetails": model.ReportDetails; + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; +} diff --git a/lib/fleetappsmanagement/lib/response/configure-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/configure-catalog-item-response.ts new file mode 100644 index 0000000000..c28024cd47 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/configure-catalog-item-response.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ConfigureCatalogItemResponse { + /** + * URL for the created CatalogItem. The catalogItem 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; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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.CatalogItem instance. + */ + "catalogItem": model.CatalogItem; +} diff --git a/lib/fleetappsmanagement/lib/response/export-runbook-response.ts b/lib/fleetappsmanagement/lib/response/export-runbook-response.ts new file mode 100644 index 0000000000..80dc08c5c3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/export-runbook-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ExportRunbookResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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/fleetappsmanagement/lib/response/export-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/export-runbook-version-response.ts new file mode 100644 index 0000000000..6a91d67785 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/export-runbook-version-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ExportRunbookVersionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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/fleetappsmanagement/lib/response/find-runbook-export-dependency-response.ts b/lib/fleetappsmanagement/lib/response/find-runbook-export-dependency-response.ts new file mode 100644 index 0000000000..9a3baaeb2f --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/find-runbook-export-dependency-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 FindRunbookExportDependencyResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * A number representing the the total number of results available. + */ + "opcTotalItems": number; + /** + * The returned model.RunbookExportDependencyCollection instance. + */ + "runbookExportDependencyCollection": model.RunbookExportDependencyCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/find-runbook-import-dependency-response.ts b/lib/fleetappsmanagement/lib/response/find-runbook-import-dependency-response.ts new file mode 100644 index 0000000000..6be4ee7751 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/find-runbook-import-dependency-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 FindRunbookImportDependencyResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * A number representing the the total number of results available. + */ + "opcTotalItems": number; + /** + * The returned model.RunbookImportDependencyCollection instance. + */ + "runbookImportDependencyCollection": model.RunbookImportDependencyCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/get-catalog-item-variables-definition-response.ts b/lib/fleetappsmanagement/lib/response/get-catalog-item-variables-definition-response.ts new file mode 100644 index 0000000000..b3d547db24 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-catalog-item-variables-definition-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetCatalogItemVariablesDefinitionResponse { + /** + * 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.CatalogItemVariablesDefinition instance. + */ + "catalogItemVariablesDefinition": model.CatalogItemVariablesDefinition; +} diff --git a/lib/fleetappsmanagement/lib/response/get-compliance-response.ts b/lib/fleetappsmanagement/lib/response/get-compliance-response.ts new file mode 100644 index 0000000000..1586139f73 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-compliance-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetComplianceResponse { + /** + * 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.Compliance instance. + */ + "compliance": model.Compliance; +} diff --git a/lib/fleetappsmanagement/lib/response/get-runbook-export-response.ts b/lib/fleetappsmanagement/lib/response/get-runbook-export-response.ts new file mode 100644 index 0000000000..0ae48815c5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-runbook-export-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetRunbookExportResponse { + /** + * 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.RunbookExport instance. + */ + "runbookExport": model.RunbookExport; +} diff --git a/lib/fleetappsmanagement/lib/response/get-runbook-import-response.ts b/lib/fleetappsmanagement/lib/response/get-runbook-import-response.ts new file mode 100644 index 0000000000..0b1943ba77 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-runbook-import-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetRunbookImportResponse { + /** + * 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.RunbookImport instance. + */ + "runbookImport": model.RunbookImport; +} diff --git a/lib/fleetappsmanagement/lib/response/import-runbook-precheck-response.ts b/lib/fleetappsmanagement/lib/response/import-runbook-precheck-response.ts new file mode 100644 index 0000000000..1a0abc50f7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/import-runbook-precheck-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ImportRunbookPrecheckResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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/fleetappsmanagement/lib/response/import-runbook-response.ts b/lib/fleetappsmanagement/lib/response/import-runbook-response.ts new file mode 100644 index 0000000000..09d2aa9b2e --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/import-runbook-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ImportRunbookResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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/fleetappsmanagement/lib/response/import-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/import-runbook-version-response.ts new file mode 100644 index 0000000000..e6f5e6c892 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/import-runbook-version-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ImportRunbookVersionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "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/fleetappsmanagement/lib/response/index.ts b/lib/fleetappsmanagement/lib/response/index.ts index 32a587f42e..05cea349c9 100644 --- a/lib/fleetappsmanagement/lib/response/index.ts +++ b/lib/fleetappsmanagement/lib/response/index.ts @@ -36,6 +36,8 @@ import * as DeleteFleetResourceResponse from "./delete-fleet-resource-response"; export import DeleteFleetResourceResponse = DeleteFleetResourceResponse.DeleteFleetResourceResponse; import * as GenerateComplianceReportResponse from "./generate-compliance-report-response"; export import GenerateComplianceReportResponse = GenerateComplianceReportResponse.GenerateComplianceReportResponse; +import * as GetComplianceResponse from "./get-compliance-response"; +export import GetComplianceResponse = GetComplianceResponse.GetComplianceResponse; import * as GetComplianceReportResponse from "./get-compliance-report-response"; export import GetComplianceReportResponse = GetComplianceReportResponse.GetComplianceReportResponse; import * as GetFleetResponse from "./get-fleet-response"; @@ -134,12 +136,16 @@ import * as ChangeCatalogItemCompartmentResponse from "./change-catalog-item-com export import ChangeCatalogItemCompartmentResponse = ChangeCatalogItemCompartmentResponse.ChangeCatalogItemCompartmentResponse; import * as CloneCatalogItemResponse from "./clone-catalog-item-response"; export import CloneCatalogItemResponse = CloneCatalogItemResponse.CloneCatalogItemResponse; +import * as ConfigureCatalogItemResponse from "./configure-catalog-item-response"; +export import ConfigureCatalogItemResponse = ConfigureCatalogItemResponse.ConfigureCatalogItemResponse; import * as CreateCatalogItemResponse from "./create-catalog-item-response"; export import CreateCatalogItemResponse = CreateCatalogItemResponse.CreateCatalogItemResponse; import * as DeleteCatalogItemResponse from "./delete-catalog-item-response"; export import DeleteCatalogItemResponse = DeleteCatalogItemResponse.DeleteCatalogItemResponse; import * as GetCatalogItemResponse from "./get-catalog-item-response"; export import GetCatalogItemResponse = GetCatalogItemResponse.GetCatalogItemResponse; +import * as GetCatalogItemVariablesDefinitionResponse from "./get-catalog-item-variables-definition-response"; +export import GetCatalogItemVariablesDefinitionResponse = GetCatalogItemVariablesDefinitionResponse.GetCatalogItemVariablesDefinitionResponse; import * as ListCatalogItemsResponse from "./list-catalog-items-response"; export import ListCatalogItemsResponse = ListCatalogItemsResponse.ListCatalogItemsResponse; import * as UpdateCatalogItemResponse from "./update-catalog-item-response"; @@ -182,10 +188,16 @@ import * as ListComplianceRecordsResponse from "./list-compliance-records-respon export import ListComplianceRecordsResponse = ListComplianceRecordsResponse.ListComplianceRecordsResponse; import * as ListExecutionsResponse from "./list-executions-response"; export import ListExecutionsResponse = ListExecutionsResponse.ListExecutionsResponse; +import * as ListInstalledPatchesResponse from "./list-installed-patches-response"; +export import ListInstalledPatchesResponse = ListInstalledPatchesResponse.ListInstalledPatchesResponse; import * as ListInventoryRecordsResponse from "./list-inventory-records-response"; export import ListInventoryRecordsResponse = ListInventoryRecordsResponse.ListInventoryRecordsResponse; import * as ListPatchesResponse from "./list-patches-response"; export import ListPatchesResponse = ListPatchesResponse.ListPatchesResponse; +import * as ListRecommendedPatchesResponse from "./list-recommended-patches-response"; +export import ListRecommendedPatchesResponse = ListRecommendedPatchesResponse.ListRecommendedPatchesResponse; +import * as ListReportMetadataResponse from "./list-report-metadata-response"; +export import ListReportMetadataResponse = ListReportMetadataResponse.ListReportMetadataResponse; import * as ListResourcesResponse from "./list-resources-response"; export import ListResourcesResponse = ListResourcesResponse.ListResourcesResponse; import * as ListScheduledFleetsResponse from "./list-scheduled-fleets-response"; @@ -198,8 +210,14 @@ import * as ListSchedulerJobsResponse from "./list-scheduler-jobs-response"; export import ListSchedulerJobsResponse = ListSchedulerJobsResponse.ListSchedulerJobsResponse; import * as ListStepsResponse from "./list-steps-response"; export import ListStepsResponse = ListStepsResponse.ListStepsResponse; +import * as ListTargetComponentsResponse from "./list-target-components-response"; +export import ListTargetComponentsResponse = ListTargetComponentsResponse.ListTargetComponentsResponse; +import * as ListTargetPropertiesResponse from "./list-target-properties-response"; +export import ListTargetPropertiesResponse = ListTargetPropertiesResponse.ListTargetPropertiesResponse; import * as ManageJobExecutionResponse from "./manage-job-execution-response"; export import ManageJobExecutionResponse = ManageJobExecutionResponse.ManageJobExecutionResponse; +import * as ReportResponse from "./report-response"; +export import ReportResponse = ReportResponse.ReportResponse; import * as SummarizeComplianceRecordCountsResponse from "./summarize-compliance-record-counts-response"; export import SummarizeComplianceRecordCountsResponse = SummarizeComplianceRecordCountsResponse.SummarizeComplianceRecordCountsResponse; import * as SummarizeManagedEntityCountsResponse from "./summarize-managed-entity-counts-response"; @@ -240,12 +258,34 @@ import * as DeleteRunbookVersionResponse from "./delete-runbook-version-response export import DeleteRunbookVersionResponse = DeleteRunbookVersionResponse.DeleteRunbookVersionResponse; import * as DeleteTaskRecordResponse from "./delete-task-record-response"; export import DeleteTaskRecordResponse = DeleteTaskRecordResponse.DeleteTaskRecordResponse; +import * as ExportRunbookResponse from "./export-runbook-response"; +export import ExportRunbookResponse = ExportRunbookResponse.ExportRunbookResponse; +import * as ExportRunbookVersionResponse from "./export-runbook-version-response"; +export import ExportRunbookVersionResponse = ExportRunbookVersionResponse.ExportRunbookVersionResponse; +import * as FindRunbookExportDependencyResponse from "./find-runbook-export-dependency-response"; +export import FindRunbookExportDependencyResponse = FindRunbookExportDependencyResponse.FindRunbookExportDependencyResponse; +import * as FindRunbookImportDependencyResponse from "./find-runbook-import-dependency-response"; +export import FindRunbookImportDependencyResponse = FindRunbookImportDependencyResponse.FindRunbookImportDependencyResponse; import * as GetRunbookResponse from "./get-runbook-response"; export import GetRunbookResponse = GetRunbookResponse.GetRunbookResponse; +import * as GetRunbookExportResponse from "./get-runbook-export-response"; +export import GetRunbookExportResponse = GetRunbookExportResponse.GetRunbookExportResponse; +import * as GetRunbookImportResponse from "./get-runbook-import-response"; +export import GetRunbookImportResponse = GetRunbookImportResponse.GetRunbookImportResponse; import * as GetRunbookVersionResponse from "./get-runbook-version-response"; export import GetRunbookVersionResponse = GetRunbookVersionResponse.GetRunbookVersionResponse; import * as GetTaskRecordResponse from "./get-task-record-response"; export import GetTaskRecordResponse = GetTaskRecordResponse.GetTaskRecordResponse; +import * as ImportRunbookResponse from "./import-runbook-response"; +export import ImportRunbookResponse = ImportRunbookResponse.ImportRunbookResponse; +import * as ImportRunbookPrecheckResponse from "./import-runbook-precheck-response"; +export import ImportRunbookPrecheckResponse = ImportRunbookPrecheckResponse.ImportRunbookPrecheckResponse; +import * as ImportRunbookVersionResponse from "./import-runbook-version-response"; +export import ImportRunbookVersionResponse = ImportRunbookVersionResponse.ImportRunbookVersionResponse; +import * as ListRunbookExportStatusesResponse from "./list-runbook-export-statuses-response"; +export import ListRunbookExportStatusesResponse = ListRunbookExportStatusesResponse.ListRunbookExportStatusesResponse; +import * as ListRunbookImportStatusesResponse from "./list-runbook-import-statuses-response"; +export import ListRunbookImportStatusesResponse = ListRunbookImportStatusesResponse.ListRunbookImportStatusesResponse; import * as ListRunbookVersionsResponse from "./list-runbook-versions-response"; export import ListRunbookVersionsResponse = ListRunbookVersionsResponse.ListRunbookVersionsResponse; import * as ListRunbooksResponse from "./list-runbooks-response"; diff --git a/lib/fleetappsmanagement/lib/response/list-installed-patches-response.ts b/lib/fleetappsmanagement/lib/response/list-installed-patches-response.ts new file mode 100644 index 0000000000..36436aba34 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-installed-patches-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListInstalledPatchesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.InstalledPatchCollection instance. + */ + "installedPatchCollection": model.InstalledPatchCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-recommended-patches-response.ts b/lib/fleetappsmanagement/lib/response/list-recommended-patches-response.ts new file mode 100644 index 0000000000..1c799510b2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-recommended-patches-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListRecommendedPatchesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.RecommendedPatchCollection instance. + */ + "recommendedPatchCollection": model.RecommendedPatchCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-report-metadata-response.ts b/lib/fleetappsmanagement/lib/response/list-report-metadata-response.ts new file mode 100644 index 0000000000..78e6aa13df --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-report-metadata-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListReportMetadataResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.ReportMetadataCollection instance. + */ + "reportMetadataCollection": model.ReportMetadataCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-runbook-export-statuses-response.ts b/lib/fleetappsmanagement/lib/response/list-runbook-export-statuses-response.ts new file mode 100644 index 0000000000..5bfd26a82d --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-runbook-export-statuses-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListRunbookExportStatusesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.RunbookExportStatusCollection instance. + */ + "runbookExportStatusCollection": model.RunbookExportStatusCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-runbook-import-statuses-response.ts b/lib/fleetappsmanagement/lib/response/list-runbook-import-statuses-response.ts new file mode 100644 index 0000000000..cf0fb61371 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-runbook-import-statuses-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListRunbookImportStatusesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.RunbookImportStatusCollection instance. + */ + "runbookImportStatusCollection": model.RunbookImportStatusCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-target-components-response.ts b/lib/fleetappsmanagement/lib/response/list-target-components-response.ts new file mode 100644 index 0000000000..cfd37064c5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-target-components-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTargetComponentsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.TargetComponentCollection instance. + */ + "targetComponentCollection": model.TargetComponentCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-target-properties-response.ts b/lib/fleetappsmanagement/lib/response/list-target-properties-response.ts new file mode 100644 index 0000000000..f11f759273 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-target-properties-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTargetPropertiesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.TargetPropertyCollection instance. + */ + "targetPropertyCollection": model.TargetPropertyCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/report-response.ts b/lib/fleetappsmanagement/lib/response/report-response.ts new file mode 100644 index 0000000000..497d47f5b0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/report-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ReportResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * A number representing the the total number of results available. + */ + "opcTotalItems": number; + /** + * The returned model.ReportCollection instance. + */ + "reportCollection": model.ReportCollection; +} diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 4a80d19dff..88da186139 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.121.0", + "version": "2.121.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 fb44f8f44c..8205cd3303 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.121.0", + "version": "2.121.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 21eadf911b..914b388133 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 7acaceaf43..c4abee30ac 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/lib/client.ts b/lib/generativeai/lib/client.ts index a0b26d78fc..9d0b4a4d65 100644 --- a/lib/generativeai/lib/client.ts +++ b/lib/generativeai/lib/client.ts @@ -478,6 +478,80 @@ export class GenerativeAiClient { } } + /** + * Moves an imported model into a different compartment. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeImportedModelCompartmentRequest + * @return ChangeImportedModelCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ChangeImportedModelCompartment.ts.html |here} to see how to use ChangeImportedModelCompartment API. + */ + public async changeImportedModelCompartment( + changeImportedModelCompartmentRequest: requests.ChangeImportedModelCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation GenerativeAiClient#changeImportedModelCompartment."); + const operationName = "changeImportedModelCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{importedModelId}": changeImportedModelCompartmentRequest.importedModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeImportedModelCompartmentRequest.ifMatch, + "opc-request-id": changeImportedModelCompartmentRequest.opcRequestId, + "opc-retry-token": changeImportedModelCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeImportedModelCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels/{importedModelId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeImportedModelCompartmentRequest.changeImportedModelCompartmentDetails, + "ChangeImportedModelCompartmentDetails", + model.ChangeImportedModelCompartmentDetails.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; + } + } + /** * Moves a custom model into a different compartment. For information about moving resources between compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -820,6 +894,93 @@ The header contains an opc-work-request-id, which is the id for the WorkRequest } } + /** + * Import a model from ModelDataSource. +*

+The header contains an opc-work-request-id, which is the id for the WorkRequest that tracks the importedModel creation progress. +* + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateImportedModelRequest + * @return CreateImportedModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/CreateImportedModel.ts.html |here} to see how to use CreateImportedModel API. + */ + public async createImportedModel( + createImportedModelRequest: requests.CreateImportedModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GenerativeAiClient#createImportedModel."); + const operationName = "createImportedModel"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createImportedModelRequest.opcRetryToken, + "opc-request-id": createImportedModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createImportedModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createImportedModelRequest.createImportedModelDetails, + "CreateImportedModelDetails", + model.CreateImportedModelDetails.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: "importedModel", + bodyModel: model.ImportedModel, + type: "model.ImportedModel", + 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; + } + } + /** * Creates a custom model by fine-tuning a base model with your own dataset. You can create a new custom models or create a new version of existing custom model.. *

@@ -1135,6 +1296,78 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Deletes an imported model. An imported model shouldn't be deleted if there's one or more active endpoints associated with that imported model. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteImportedModelRequest + * @return DeleteImportedModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/DeleteImportedModel.ts.html |here} to see how to use DeleteImportedModel API. + */ + public async deleteImportedModel( + deleteImportedModelRequest: requests.DeleteImportedModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GenerativeAiClient#deleteImportedModel."); + const operationName = "deleteImportedModel"; + const apiReferenceLink = ""; + const pathParams = { + "{importedModelId}": deleteImportedModelRequest.importedModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteImportedModelRequest.ifMatch, + "opc-request-id": deleteImportedModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteImportedModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels/{importedModelId}", + 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 custom model. A model shouldn't be deleted if there's one or more active endpoints associated with that model. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1436,6 +1669,81 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Gets information about an imported model. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetImportedModelRequest + * @return GetImportedModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/GetImportedModel.ts.html |here} to see how to use GetImportedModel API. + */ + public async getImportedModel( + getImportedModelRequest: requests.GetImportedModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GenerativeAiClient#getImportedModel."); + const operationName = "getImportedModel"; + const apiReferenceLink = ""; + const pathParams = { + "{importedModelId}": getImportedModelRequest.importedModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getImportedModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getImportedModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels/{importedModelId}", + 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: "importedModel", + bodyModel: model.ImportedModel, + type: "model.ImportedModel", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets information about a custom model. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1841,6 +2149,90 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Lists imported models in a specific compartment. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListImportedModelsRequest + * @return ListImportedModelsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ListImportedModels.ts.html |here} to see how to use ListImportedModels API. + */ + public async listImportedModels( + listImportedModelsRequest: requests.ListImportedModelsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GenerativeAiClient#listImportedModels."); + const operationName = "listImportedModels"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "vendor": listImportedModelsRequest.vendor, + "capability": listImportedModelsRequest.capability, + "compartmentId": listImportedModelsRequest.compartmentId, + "lifecycleState": listImportedModelsRequest.lifecycleState, + "displayName": listImportedModelsRequest.displayName, + "id": listImportedModelsRequest.id, + "limit": listImportedModelsRequest.limit, + "page": listImportedModelsRequest.page, + "sortOrder": listImportedModelsRequest.sortOrder, + "sortBy": listImportedModelsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listImportedModelsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listImportedModelsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels", + 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: "importedModelCollection", + bodyModel: model.ImportedModelCollection, + type: "model.ImportedModelCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Lists the models in a specific compartment. Includes pretrained base models and fine-tuned custom models. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -2430,6 +2822,92 @@ You can only delete clusters without attached resources. Before you delete a hos } } + /** + * Updates the properties of an imported model such as name, description, freeform tags, and defined tags. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateImportedModelRequest + * @return UpdateImportedModelResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/UpdateImportedModel.ts.html |here} to see how to use UpdateImportedModel API. + */ + public async updateImportedModel( + updateImportedModelRequest: requests.UpdateImportedModelRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation GenerativeAiClient#updateImportedModel."); + const operationName = "updateImportedModel"; + const apiReferenceLink = ""; + const pathParams = { + "{importedModelId}": updateImportedModelRequest.importedModelId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateImportedModelRequest.ifMatch, + "opc-request-id": updateImportedModelRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateImportedModelRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/importedModels/{importedModelId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateImportedModelRequest.updateImportedModelDetails, + "UpdateImportedModelDetails", + model.UpdateImportedModelDetails.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: "importedModel", + bodyModel: model.ImportedModel, + type: "model.ImportedModel", + 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 the properties of a custom model such as name, description, version, freeform tags, and defined tags. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. diff --git a/lib/generativeai/lib/generativeai-waiter.ts b/lib/generativeai/lib/generativeai-waiter.ts index 94b87b9813..f78231e7a6 100644 --- a/lib/generativeai/lib/generativeai-waiter.ts +++ b/lib/generativeai/lib/generativeai-waiter.ts @@ -87,6 +87,25 @@ export class GenerativeAiWaiter { ); } + /** + * Waits forImportedModel 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 GetImportedModelResponse | null (null in case of 404 response) + */ + public async forImportedModel( + request: serviceRequests.GetImportedModelRequest, + ...targetStates: models.ImportedModel.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getImportedModel(request), + response => targetStates.includes(response.importedModel.lifecycleState!), + targetStates.includes(models.ImportedModel.LifecycleState.Deleted) + ); + } + /** * Waits forModel till it reaches any of the provided states * diff --git a/lib/generativeai/lib/model/change-imported-model-compartment-details.ts b/lib/generativeai/lib/model/change-imported-model-compartment-details.ts new file mode 100644 index 0000000000..8146acffc0 --- /dev/null +++ b/lib/generativeai/lib/model/change-imported-model-compartment-details.ts @@ -0,0 +1,46 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The details to move an imported model to another compartment. + * + */ +export interface ChangeImportedModelCompartmentDetails { + /** + * The destination compartment OCID + */ + "compartmentId": string; +} + +export namespace ChangeImportedModelCompartmentDetails { + export function getJsonObj(obj: ChangeImportedModelCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeImportedModelCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/create-dedicated-ai-cluster-details.ts b/lib/generativeai/lib/model/create-dedicated-ai-cluster-details.ts index eb1dc6de08..3b0d09a024 100644 --- a/lib/generativeai/lib/model/create-dedicated-ai-cluster-details.ts +++ b/lib/generativeai/lib/model/create-dedicated-ai-cluster-details.ts @@ -71,6 +71,32 @@ Allowed values are: * - SMALL_GENERIC_V1 * - MEDIUM_GENERIC_V1 * - LARGE_GENERIC_V1 +* - A10_X1 +* - A10_X2 +* - A10_X4 +* - A100_40G_X1 +* - A100_40G_X2 +* - A100_40G_X4 +* - A100_40G_X8 +* - A100_80G_X1 +* - A100_80G_X2 +* - A100_80G_X4 +* - A100_80G_X8 +* - H100_X1 +* - H100_X2 +* - H100_X4 +* - H100_X8 +* - H200_X1 +* - H200_X2 +* - H200_X4 +* - H200_X8 +*

+The following shapes can only be used to deploy imported models: +* - A10_X1, A10_X2, A10_X4 +* - A100_40G_X1, A100_40G_X2, A100_40G_X4, A100_40G_X8 +* - A100_80G_X1, A100_80G_X2, A100_80G_X4, A100_80G_X8 +* - H100_X1, H100_X2, H100_X4, H100_X8 +* - H200_X1, H200_X2, H200_X4, H200_X8 * */ "unitShape": string; diff --git a/lib/generativeai/lib/model/create-imported-model-details.ts b/lib/generativeai/lib/model/create-imported-model-details.ts new file mode 100644 index 0000000000..cbbe300f37 --- /dev/null +++ b/lib/generativeai/lib/model/create-imported-model-details.ts @@ -0,0 +1,101 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to import a model. + */ +export interface CreateImportedModelDetails { + /** + * A user-friendly name for the imported model. + */ + "displayName"?: string; + /** + * An optional description of the imported model. + */ + "description"?: string; + /** + * The compartment OCID from which the model is imported. + */ + "compartmentId": string; + /** + * The provider of the imported model. + */ + "vendor"?: string; + /** + * The version of the imported model. + */ + "version"?: string; + "dataSource": model.ObjectStorageObject | model.HuggingFaceModel; + /** + * Specifies the intended use or supported capabilities of the imported model. + */ + "capabilities"?: Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateImportedModelDetails { + export enum Capabilities { + TextToText = "TEXT_TO_TEXT", + ImageTextToText = "IMAGE_TEXT_TO_TEXT", + Embedding = "EMBEDDING", + Rerank = "RERANK" + } + + export function getJsonObj(obj: CreateImportedModelDetails): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource ? model.ModelDataSource.getJsonObj(obj.dataSource) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateImportedModelDetails): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource + ? model.ModelDataSource.getDeserializedJsonObj(obj.dataSource) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/dedicated-ai-cluster.ts b/lib/generativeai/lib/model/dedicated-ai-cluster.ts index f0acd7cebb..21d60400c5 100644 --- a/lib/generativeai/lib/model/dedicated-ai-cluster.ts +++ b/lib/generativeai/lib/model/dedicated-ai-cluster.ts @@ -145,6 +145,25 @@ export namespace DedicatedAiCluster { SmallGenericV1 = "SMALL_GENERIC_V1", MediumGenericV1 = "MEDIUM_GENERIC_V1", LargeGenericV1 = "LARGE_GENERIC_V1", + A10X1 = "A10_X1", + A10X2 = "A10_X2", + A10X4 = "A10_X4", + A10040GX1 = "A100_40G_X1", + A10040GX2 = "A100_40G_X2", + A10040GX4 = "A100_40G_X4", + A10040GX8 = "A100_40G_X8", + A10080GX1 = "A100_80G_X1", + A10080GX2 = "A100_80G_X2", + A10080GX4 = "A100_80G_X4", + A10080GX8 = "A100_80G_X8", + H100X1 = "H100_X1", + H100X2 = "H100_X2", + H100X4 = "H100_X4", + H100X8 = "H100_X8", + H200X1 = "H200_X1", + H200X2 = "H200_X2", + H200X4 = "H200_X4", + H200X8 = "H200_X8", /** * 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/generativeai/lib/model/hugging-face-model.ts b/lib/generativeai/lib/model/hugging-face-model.ts new file mode 100644 index 0000000000..e3cd76c8b8 --- /dev/null +++ b/lib/generativeai/lib/model/hugging-face-model.ts @@ -0,0 +1,79 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Configuration for importing a model from Hugging Face. Requires the model ID + * and a reference to the token stored in a vault for authenticated access. + * + */ +export interface HuggingFaceModel extends model.ModelDataSource { + /** + * The full model OCID from Hugging Face, typically in the format + * \"org/model-name\" (e.g., \"meta-llama/Llama-2-7b\"). + * + */ + "modelId": string; + /** + * Hugging Face access token to authenticate requests for restricted models. + * This token will be securely stored in OCI Vault. + * + */ + "accessToken"?: string; + /** + * The name of the branch in the Hugging Face repository to import the model from. + * If not specified, \"main\" will be used by default. + * If you provide both a branch and a commit hash, the model will be imported from the specified commit. + * + */ + "branch"?: string; + /** + * The commit hash in the Hugging Face repository to import the model from. + * If both a branch and a commit are provided, the commit hash will be used. + * + */ + "commit"?: string; + + "sourceType": string; +} + +export namespace HuggingFaceModel { + export function getJsonObj(obj: HuggingFaceModel, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ModelDataSource.getJsonObj(obj) as HuggingFaceModel)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "HUGGING_FACE_MODEL"; + export function getDeserializedJsonObj(obj: HuggingFaceModel, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ModelDataSource.getDeserializedJsonObj(obj) as HuggingFaceModel)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/imported-model-capability.ts b/lib/generativeai/lib/model/imported-model-capability.ts new file mode 100644 index 0000000000..03e21b4660 --- /dev/null +++ b/lib/generativeai/lib/model/imported-model-capability.ts @@ -0,0 +1,47 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Specifies the intended use or supported capabilities of the imported model. + **/ +export enum ImportedModelCapability { + TextToText = "TEXT_TO_TEXT", + ImageTextToText = "IMAGE_TEXT_TO_TEXT", + Embedding = "EMBEDDING", + Rerank = "RERANK", + + /** + * 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 ImportedModelCapability { + export function getJsonObj(obj: ImportedModelCapability): ImportedModelCapability { + return obj; + } + export function getDeserializedJsonObj(obj: ImportedModelCapability): ImportedModelCapability { + return obj; + } +} diff --git a/lib/generativeai/lib/model/imported-model-collection.ts b/lib/generativeai/lib/model/imported-model-collection.ts new file mode 100644 index 0000000000..6c0f1e1067 --- /dev/null +++ b/lib/generativeai/lib/model/imported-model-collection.ts @@ -0,0 +1,64 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Represents the result of a list operation for imported models. + * + */ +export interface ImportedModelCollection { + /** + * Represents the result of a list operation for imported models. + */ + "items": Array; +} + +export namespace ImportedModelCollection { + export function getJsonObj(obj: ImportedModelCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ImportedModelSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportedModelCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ImportedModelSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/imported-model-summary.ts b/lib/generativeai/lib/model/imported-model-summary.ts new file mode 100644 index 0000000000..73a5c30b80 --- /dev/null +++ b/lib/generativeai/lib/model/imported-model-summary.ts @@ -0,0 +1,143 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the importedModel. + * + */ +export interface ImportedModelSummary { + /** + * An OCID that uniquely identifies an imported model. + */ + "id": string; + /** + * A user-friendly name of the imported model. + */ + "displayName"?: string; + /** + * An optional description of the imported model. + */ + "description"?: string; + /** + * The compartment OCID from which the model is imported. + */ + "compartmentId": string; + /** + * Specifies the intended use or supported capabilities of the imported model. + */ + "capabilities"?: Array; + /** + * The lifecycle state of the imported model. +*

+Allowed values are: +* - ACTIVE +* - CREATING +* - UPDATING +* - DELETING +* - DELETED +* - FAILED +* + */ + "lifecycleState": string; + /** + * Additional information about the current state of the imported model, providing more detailed and actionable context. + */ + "lifecycleDetails"?: string; + /** + * The provider of the imported model. + */ + "vendor"?: string; + /** + * The version of the imported model. + */ + "version"?: string; + "dataSource": model.ObjectStorageObject | model.HuggingFaceModel; + /** + * The date and time that the imported model was created in the format of an RFC3339 datetime string. + */ + "timeCreated": Date; + /** + * The date and time that the imported model was updated in the format of an RFC3339 datetime string. + */ + "timeUpdated"?: Date; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

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

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ImportedModelSummary { + export enum Capabilities { + TextToText = "TEXT_TO_TEXT", + ImageTextToText = "IMAGE_TEXT_TO_TEXT", + Embedding = "EMBEDDING", + Rerank = "RERANK", + /** + * 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: ImportedModelSummary): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource ? model.ModelDataSource.getJsonObj(obj.dataSource) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportedModelSummary): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource + ? model.ModelDataSource.getDeserializedJsonObj(obj.dataSource) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/imported-model.ts b/lib/generativeai/lib/model/imported-model.ts new file mode 100644 index 0000000000..b8f41759c8 --- /dev/null +++ b/lib/generativeai/lib/model/imported-model.ts @@ -0,0 +1,160 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Represents a model imported into the system based on an external data source, such as Hugging Face or Object Storage. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator who gives OCI resource access to users. See +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm) and [Getting Access to Generative AI Resources](https://docs.oracle.com/iaas/Content/generative-ai/iam-policies.htm). +* +*/ +export interface ImportedModel { + /** + * An OCID that uniquely identifies an imported model. + */ + "id": string; + /** + * A user-friendly name. + */ + "displayName"?: string; + /** + * An optional description of the imported model. + */ + "description"?: string; + /** + * The compartment OCID from which the model is imported. + */ + "compartmentId": string; + /** + * Specifies the intended use or supported capabilities of the imported model. + */ + "capabilities"?: Array; + /** + * The lifecycle state of the imported model. + */ + "lifecycleState": ImportedModel.LifecycleState; + /** + * Additional information about the current state of the imported model, providing more detailed and actionable context. + */ + "lifecycleDetails"?: string; + /** + * The provider of the imported model. + */ + "vendor"?: string; + /** + * The version of the imported model. + */ + "version"?: string; + "dataSource": model.ObjectStorageObject | model.HuggingFaceModel; + /** + * The date and time that the imported model was created in the format of an RFC3339 datetime string. + */ + "timeCreated": Date; + /** + * The date and time that the imported model was updated in the format of an RFC3339 datetime string. + */ + "timeUpdated"?: Date; + "previousState"?: model.ImportedModel; + /** + * 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 ImportedModel { + export enum Capabilities { + TextToText = "TEXT_TO_TEXT", + ImageTextToText = "IMAGE_TEXT_TO_TEXT", + Embedding = "EMBEDDING", + Rerank = "RERANK", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum LifecycleState { + Active = "ACTIVE", + Creating = "CREATING", + Updating = "UPDATING", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ImportedModel): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource ? model.ModelDataSource.getJsonObj(obj.dataSource) : undefined, + + "previousState": obj.previousState + ? model.ImportedModel.getJsonObj(obj.previousState) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ImportedModel): object { + const jsonObj = { + ...obj, + ...{ + "dataSource": obj.dataSource + ? model.ModelDataSource.getDeserializedJsonObj(obj.dataSource) + : undefined, + + "previousState": obj.previousState + ? model.ImportedModel.getDeserializedJsonObj(obj.previousState) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/index.ts b/lib/generativeai/lib/model/index.ts index e099be0834..4d9b27a756 100644 --- a/lib/generativeai/lib/model/index.ts +++ b/lib/generativeai/lib/model/index.ts @@ -26,6 +26,8 @@ import * as ChangeEndpointCompartmentDetails from "./change-endpoint-compartment export import ChangeEndpointCompartmentDetails = ChangeEndpointCompartmentDetails.ChangeEndpointCompartmentDetails; import * as ChangeGenerativeAiPrivateEndpointCompartmentDetails from "./change-generative-ai-private-endpoint-compartment-details"; export import ChangeGenerativeAiPrivateEndpointCompartmentDetails = ChangeGenerativeAiPrivateEndpointCompartmentDetails.ChangeGenerativeAiPrivateEndpointCompartmentDetails; +import * as ChangeImportedModelCompartmentDetails from "./change-imported-model-compartment-details"; +export import ChangeImportedModelCompartmentDetails = ChangeImportedModelCompartmentDetails.ChangeImportedModelCompartmentDetails; import * as ChangeModelCompartmentDetails from "./change-model-compartment-details"; export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails; import * as ContentModerationConfig from "./content-moderation-config"; @@ -36,6 +38,8 @@ import * as CreateEndpointDetails from "./create-endpoint-details"; export import CreateEndpointDetails = CreateEndpointDetails.CreateEndpointDetails; import * as CreateGenerativeAiPrivateEndpointDetails from "./create-generative-ai-private-endpoint-details"; export import CreateGenerativeAiPrivateEndpointDetails = CreateGenerativeAiPrivateEndpointDetails.CreateGenerativeAiPrivateEndpointDetails; +import * as CreateImportedModelDetails from "./create-imported-model-details"; +export import CreateImportedModelDetails = CreateImportedModelDetails.CreateImportedModelDetails; import * as CreateModelDetails from "./create-model-details"; export import CreateModelDetails = CreateModelDetails.CreateModelDetails; import * as Dataset from "./dataset"; @@ -62,12 +66,22 @@ import * as GenerativeAiPrivateEndpointCollection from "./generative-ai-private- export import GenerativeAiPrivateEndpointCollection = GenerativeAiPrivateEndpointCollection.GenerativeAiPrivateEndpointCollection; import * as GenerativeAiPrivateEndpointSummary from "./generative-ai-private-endpoint-summary"; export import GenerativeAiPrivateEndpointSummary = GenerativeAiPrivateEndpointSummary.GenerativeAiPrivateEndpointSummary; +import * as ImportedModel from "./imported-model"; +export import ImportedModel = ImportedModel.ImportedModel; +import * as ImportedModelCapability from "./imported-model-capability"; +export import ImportedModelCapability = ImportedModelCapability.ImportedModelCapability; +import * as ImportedModelCollection from "./imported-model-collection"; +export import ImportedModelCollection = ImportedModelCollection.ImportedModelCollection; +import * as ImportedModelSummary from "./imported-model-summary"; +export import ImportedModelSummary = ImportedModelSummary.ImportedModelSummary; import * as Model from "./model"; export import Model = Model.Model; import * as ModelCapability from "./model-capability"; export import ModelCapability = ModelCapability.ModelCapability; import * as ModelCollection from "./model-collection"; export import ModelCollection = ModelCollection.ModelCollection; +import * as ModelDataSource from "./model-data-source"; +export import ModelDataSource = ModelDataSource.ModelDataSource; import * as ModelMetrics from "./model-metrics"; export import ModelMetrics = ModelMetrics.ModelMetrics; import * as ModelSummary from "./model-summary"; @@ -86,6 +100,8 @@ import * as UpdateEndpointDetails from "./update-endpoint-details"; export import UpdateEndpointDetails = UpdateEndpointDetails.UpdateEndpointDetails; import * as UpdateGenerativeAiPrivateEndpointDetails from "./update-generative-ai-private-endpoint-details"; export import UpdateGenerativeAiPrivateEndpointDetails = UpdateGenerativeAiPrivateEndpointDetails.UpdateGenerativeAiPrivateEndpointDetails; +import * as UpdateImportedModelDetails from "./update-imported-model-details"; +export import UpdateImportedModelDetails = UpdateImportedModelDetails.UpdateImportedModelDetails; import * as UpdateModelDetails from "./update-model-details"; export import UpdateModelDetails = UpdateModelDetails.UpdateModelDetails; import * as WorkRequest from "./work-request"; @@ -111,10 +127,14 @@ import * as ChatModelMetrics from "./chat-model-metrics"; export import ChatModelMetrics = ChatModelMetrics.ChatModelMetrics; import * as DedicatedAiClusterHostingCapacity from "./dedicated-ai-cluster-hosting-capacity"; export import DedicatedAiClusterHostingCapacity = DedicatedAiClusterHostingCapacity.DedicatedAiClusterHostingCapacity; +import * as HuggingFaceModel from "./hugging-face-model"; +export import HuggingFaceModel = HuggingFaceModel.HuggingFaceModel; import * as LoraTrainingConfig from "./lora-training-config"; export import LoraTrainingConfig = LoraTrainingConfig.LoraTrainingConfig; import * as ObjectStorageDataset from "./object-storage-dataset"; export import ObjectStorageDataset = ObjectStorageDataset.ObjectStorageDataset; +import * as ObjectStorageObject from "./object-storage-object"; +export import ObjectStorageObject = ObjectStorageObject.ObjectStorageObject; import * as TFewTrainingConfig from "./t-few-training-config"; export import TFewTrainingConfig = TFewTrainingConfig.TFewTrainingConfig; import * as TextGenerationModelMetrics from "./text-generation-model-metrics"; diff --git a/lib/generativeai/lib/model/model-data-source.ts b/lib/generativeai/lib/model/model-data-source.ts new file mode 100644 index 0000000000..62eef0445d --- /dev/null +++ b/lib/generativeai/lib/model/model-data-source.ts @@ -0,0 +1,73 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Defines the source location and method used to import the model. Supports importing from Hugging Face, + * an Object Storage location, or by referencing an already imported model. + * + */ +export interface ModelDataSource { + "sourceType": string; +} + +export namespace ModelDataSource { + export function getJsonObj(obj: ModelDataSource): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_OBJECT": + return model.ObjectStorageObject.getJsonObj( + (jsonObj), + true + ); + case "HUGGING_FACE_MODEL": + return model.HuggingFaceModel.getJsonObj((jsonObj), true); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: ModelDataSource): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_OBJECT": + return model.ObjectStorageObject.getDeserializedJsonObj( + (jsonObj), + true + ); + case "HUGGING_FACE_MODEL": + return model.HuggingFaceModel.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/object-storage-object.ts b/lib/generativeai/lib/model/object-storage-object.ts new file mode 100644 index 0000000000..5f4c25c09b --- /dev/null +++ b/lib/generativeai/lib/model/object-storage-object.ts @@ -0,0 +1,74 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about the object storage location. + * + */ +export interface ObjectStorageObject extends model.ModelDataSource { + /** + * The namespace of the Object Storage where the files are stored. + */ + "namespaceName": string; + /** + * The name of the Object Storage bucket. + */ + "bucketName": string; + /** + * The prefix path (or folder) within the bucket where files are located. + */ + "prefixName": string; + /** + * The full canonical Oracle Cloud region identifier (e.g., \"us-ashburn-1\") where the object storage bucket + * containing the files resides. + * + */ + "region"?: string; + + "sourceType": string; +} + +export namespace ObjectStorageObject { + export function getJsonObj(obj: ObjectStorageObject, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ModelDataSource.getJsonObj(obj) as ObjectStorageObject)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "OBJECT_STORAGE_OBJECT"; + export function getDeserializedJsonObj( + obj: ObjectStorageObject, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ModelDataSource.getDeserializedJsonObj(obj) as ObjectStorageObject)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/model/operation-type.ts b/lib/generativeai/lib/model/operation-type.ts index 20ac71f75f..2b96a162af 100644 --- a/lib/generativeai/lib/model/operation-type.ts +++ b/lib/generativeai/lib/model/operation-type.ts @@ -36,6 +36,9 @@ export enum OperationType { DeleteEndpoint = "DELETE_ENDPOINT", UpdateEndpoint = "UPDATE_ENDPOINT", MoveEndpoint = "MOVE_ENDPOINT", + CreateImportedModel = "CREATE_IMPORTED_MODEL", + UpdateImportedModel = "UPDATE_IMPORTED_MODEL", + DeleteImportedModel = "DELETE_IMPORTED_MODEL", CreatePrivateEndpoint = "CREATE_PRIVATE_ENDPOINT", DeletePrivateEndpoint = "DELETE_PRIVATE_ENDPOINT", UpdatePrivateEndpoint = "UPDATE_PRIVATE_ENDPOINT", diff --git a/lib/generativeai/lib/model/update-imported-model-details.ts b/lib/generativeai/lib/model/update-imported-model-details.ts new file mode 100644 index 0000000000..b51e6c3ee2 --- /dev/null +++ b/lib/generativeai/lib/model/update-imported-model-details.ts @@ -0,0 +1,74 @@ +/** + * Generative AI Service Management API + * OCI Generative AI is a fully managed service that provides a set of state-of-the-art, customizable large language models (LLMs) that cover a wide range of use cases for text generation, summarization, and text embeddings. + +Use the Generative AI service management API to create and manage {@link DedicatedAiCluster}, {@link Endpoint}, {@link Model}, and {@link WorkRequest} in the Generative AI service. For example, create a custom model by fine-tuning an out-of-the-box model using your own data, on a fine-tuning dedicated AI cluster. Then, create a hosting dedicated AI cluster with an endpoint to host your custom model. + +To access your custom model endpoints, or to try the out-of-the-box models to generate text, summarize, and create text embeddings see the [Generative AI Inference API](https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/latest/). + +To learn more about the service, see the [Generative AI documentation](https://docs.oracle.com/iaas/Content/generative-ai/home.htm). + + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update an imported model. + * + */ +export interface UpdateImportedModelDetails { + /** + * A user-friendly name. + */ + "displayName"?: string; + /** + * An optional description of the imported model. + */ + "description"?: string; + /** + * The provider of the imported model. + */ + "vendor"?: string; + /** + * The version of the imported model. + */ + "version"?: 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 UpdateImportedModelDetails { + export function getJsonObj(obj: UpdateImportedModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateImportedModelDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/generativeai/lib/request/change-imported-model-compartment-request.ts b/lib/generativeai/lib/request/change-imported-model-compartment-request.ts new file mode 100644 index 0000000000..e0ecec94be --- /dev/null +++ b/lib/generativeai/lib/request/change-imported-model-compartment-request.ts @@ -0,0 +1,54 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ChangeImportedModelCompartment.ts.html |here} to see how to use ChangeImportedModelCompartmentRequest. + */ +export interface ChangeImportedModelCompartmentRequest extends common.BaseRequest { + /** + * The importedModel OCID + */ + "importedModelId": string; + /** + * The information to be updated. + */ + "changeImportedModelCompartmentDetails": model.ChangeImportedModelCompartmentDetails; + /** + * 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/generativeai/lib/request/create-imported-model-request.ts b/lib/generativeai/lib/request/create-imported-model-request.ts new file mode 100644 index 0000000000..7320a7c027 --- /dev/null +++ b/lib/generativeai/lib/request/create-imported-model-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/CreateImportedModel.ts.html |here} to see how to use CreateImportedModelRequest. + */ +export interface CreateImportedModelRequest extends common.BaseRequest { + /** + * Details for importing a model. + */ + "createImportedModelDetails": model.CreateImportedModelDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/generativeai/lib/request/delete-imported-model-request.ts b/lib/generativeai/lib/request/delete-imported-model-request.ts new file mode 100644 index 0000000000..c7b404b75e --- /dev/null +++ b/lib/generativeai/lib/request/delete-imported-model-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/DeleteImportedModel.ts.html |here} to see how to use DeleteImportedModelRequest. + */ +export interface DeleteImportedModelRequest extends common.BaseRequest { + /** + * The importedModel OCID + */ + "importedModelId": 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/generativeai/lib/request/get-imported-model-request.ts b/lib/generativeai/lib/request/get-imported-model-request.ts new file mode 100644 index 0000000000..5410013ce3 --- /dev/null +++ b/lib/generativeai/lib/request/get-imported-model-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/GetImportedModel.ts.html |here} to see how to use GetImportedModelRequest. + */ +export interface GetImportedModelRequest extends common.BaseRequest { + /** + * The importedModel OCID + */ + "importedModelId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/generativeai/lib/request/index.ts b/lib/generativeai/lib/request/index.ts index 4f973d8833..bdafcc25b8 100644 --- a/lib/generativeai/lib/request/index.ts +++ b/lib/generativeai/lib/request/index.ts @@ -24,6 +24,8 @@ import * as ChangeEndpointCompartmentRequest from "./change-endpoint-compartment export import ChangeEndpointCompartmentRequest = ChangeEndpointCompartmentRequest.ChangeEndpointCompartmentRequest; import * as ChangeGenerativeAiPrivateEndpointCompartmentRequest from "./change-generative-ai-private-endpoint-compartment-request"; export import ChangeGenerativeAiPrivateEndpointCompartmentRequest = ChangeGenerativeAiPrivateEndpointCompartmentRequest.ChangeGenerativeAiPrivateEndpointCompartmentRequest; +import * as ChangeImportedModelCompartmentRequest from "./change-imported-model-compartment-request"; +export import ChangeImportedModelCompartmentRequest = ChangeImportedModelCompartmentRequest.ChangeImportedModelCompartmentRequest; import * as ChangeModelCompartmentRequest from "./change-model-compartment-request"; export import ChangeModelCompartmentRequest = ChangeModelCompartmentRequest.ChangeModelCompartmentRequest; import * as CreateDedicatedAiClusterRequest from "./create-dedicated-ai-cluster-request"; @@ -32,6 +34,8 @@ import * as CreateEndpointRequest from "./create-endpoint-request"; export import CreateEndpointRequest = CreateEndpointRequest.CreateEndpointRequest; import * as CreateGenerativeAiPrivateEndpointRequest from "./create-generative-ai-private-endpoint-request"; export import CreateGenerativeAiPrivateEndpointRequest = CreateGenerativeAiPrivateEndpointRequest.CreateGenerativeAiPrivateEndpointRequest; +import * as CreateImportedModelRequest from "./create-imported-model-request"; +export import CreateImportedModelRequest = CreateImportedModelRequest.CreateImportedModelRequest; import * as CreateModelRequest from "./create-model-request"; export import CreateModelRequest = CreateModelRequest.CreateModelRequest; import * as DeleteDedicatedAiClusterRequest from "./delete-dedicated-ai-cluster-request"; @@ -40,6 +44,8 @@ import * as DeleteEndpointRequest from "./delete-endpoint-request"; export import DeleteEndpointRequest = DeleteEndpointRequest.DeleteEndpointRequest; import * as DeleteGenerativeAiPrivateEndpointRequest from "./delete-generative-ai-private-endpoint-request"; export import DeleteGenerativeAiPrivateEndpointRequest = DeleteGenerativeAiPrivateEndpointRequest.DeleteGenerativeAiPrivateEndpointRequest; +import * as DeleteImportedModelRequest from "./delete-imported-model-request"; +export import DeleteImportedModelRequest = DeleteImportedModelRequest.DeleteImportedModelRequest; import * as DeleteModelRequest from "./delete-model-request"; export import DeleteModelRequest = DeleteModelRequest.DeleteModelRequest; import * as GetDedicatedAiClusterRequest from "./get-dedicated-ai-cluster-request"; @@ -48,6 +54,8 @@ import * as GetEndpointRequest from "./get-endpoint-request"; export import GetEndpointRequest = GetEndpointRequest.GetEndpointRequest; import * as GetGenerativeAiPrivateEndpointRequest from "./get-generative-ai-private-endpoint-request"; export import GetGenerativeAiPrivateEndpointRequest = GetGenerativeAiPrivateEndpointRequest.GetGenerativeAiPrivateEndpointRequest; +import * as GetImportedModelRequest from "./get-imported-model-request"; +export import GetImportedModelRequest = GetImportedModelRequest.GetImportedModelRequest; import * as GetModelRequest from "./get-model-request"; export import GetModelRequest = GetModelRequest.GetModelRequest; import * as GetWorkRequestRequest from "./get-work-request-request"; @@ -58,6 +66,8 @@ import * as ListEndpointsRequest from "./list-endpoints-request"; export import ListEndpointsRequest = ListEndpointsRequest.ListEndpointsRequest; import * as ListGenerativeAiPrivateEndpointsRequest from "./list-generative-ai-private-endpoints-request"; export import ListGenerativeAiPrivateEndpointsRequest = ListGenerativeAiPrivateEndpointsRequest.ListGenerativeAiPrivateEndpointsRequest; +import * as ListImportedModelsRequest from "./list-imported-models-request"; +export import ListImportedModelsRequest = ListImportedModelsRequest.ListImportedModelsRequest; import * as ListModelsRequest from "./list-models-request"; export import ListModelsRequest = ListModelsRequest.ListModelsRequest; import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; @@ -72,5 +82,7 @@ import * as UpdateEndpointRequest from "./update-endpoint-request"; export import UpdateEndpointRequest = UpdateEndpointRequest.UpdateEndpointRequest; import * as UpdateGenerativeAiPrivateEndpointRequest from "./update-generative-ai-private-endpoint-request"; export import UpdateGenerativeAiPrivateEndpointRequest = UpdateGenerativeAiPrivateEndpointRequest.UpdateGenerativeAiPrivateEndpointRequest; +import * as UpdateImportedModelRequest from "./update-imported-model-request"; +export import UpdateImportedModelRequest = UpdateImportedModelRequest.UpdateImportedModelRequest; import * as UpdateModelRequest from "./update-model-request"; export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest; diff --git a/lib/generativeai/lib/request/list-imported-models-request.ts b/lib/generativeai/lib/request/list-imported-models-request.ts new file mode 100644 index 0000000000..853f3e761b --- /dev/null +++ b/lib/generativeai/lib/request/list-imported-models-request.ts @@ -0,0 +1,84 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/ListImportedModels.ts.html |here} to see how to use ListImportedModelsRequest. + */ +export interface ListImportedModelsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * A filter to return only resources that match the entire vendor given. + */ + "vendor"?: string; + /** + * A filter to return only resources their capability matches the given capability. + */ + "capability"?: Array; + /** + * A filter to return only resources their lifecycleState matches the given lifecycleState. + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The ID of the importedModel. + */ + "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 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListImportedModelsRequest.SortBy; +} + +export namespace ListImportedModelsRequest { + export enum SortBy { + DisplayName = "displayName", + LifecycleState = "lifecycleState", + TimeCreated = "timeCreated" + } +} diff --git a/lib/generativeai/lib/request/update-imported-model-request.ts b/lib/generativeai/lib/request/update-imported-model-request.ts new file mode 100644 index 0000000000..cee50b5d99 --- /dev/null +++ b/lib/generativeai/lib/request/update-imported-model-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/generativeai/UpdateImportedModel.ts.html |here} to see how to use UpdateImportedModelRequest. + */ +export interface UpdateImportedModelRequest extends common.BaseRequest { + /** + * The importedModel OCID + */ + "importedModelId": string; + /** + * The model information to be updated. + */ + "updateImportedModelDetails": model.UpdateImportedModelDetails; + /** + * 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/generativeai/lib/response/change-imported-model-compartment-response.ts b/lib/generativeai/lib/response/change-imported-model-compartment-response.ts new file mode 100644 index 0000000000..b1ae93492a --- /dev/null +++ b/lib/generativeai/lib/response/change-imported-model-compartment-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeImportedModelCompartmentResponse { + /** + * 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/generativeai/lib/response/create-imported-model-response.ts b/lib/generativeai/lib/response/create-imported-model-response.ts new file mode 100644 index 0000000000..3d55364656 --- /dev/null +++ b/lib/generativeai/lib/response/create-imported-model-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateImportedModelResponse { + /** + * 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.ImportedModel instance. + */ + "importedModel": model.ImportedModel; +} diff --git a/lib/generativeai/lib/response/delete-imported-model-response.ts b/lib/generativeai/lib/response/delete-imported-model-response.ts new file mode 100644 index 0000000000..42689f1090 --- /dev/null +++ b/lib/generativeai/lib/response/delete-imported-model-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteImportedModelResponse { + /** + * 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/generativeai/lib/response/get-imported-model-response.ts b/lib/generativeai/lib/response/get-imported-model-response.ts new file mode 100644 index 0000000000..7402dbf2ba --- /dev/null +++ b/lib/generativeai/lib/response/get-imported-model-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetImportedModelResponse { + /** + * 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.ImportedModel instance. + */ + "importedModel": model.ImportedModel; +} diff --git a/lib/generativeai/lib/response/index.ts b/lib/generativeai/lib/response/index.ts index 27502de5f2..d6d4757a29 100644 --- a/lib/generativeai/lib/response/index.ts +++ b/lib/generativeai/lib/response/index.ts @@ -24,6 +24,8 @@ import * as ChangeEndpointCompartmentResponse from "./change-endpoint-compartmen export import ChangeEndpointCompartmentResponse = ChangeEndpointCompartmentResponse.ChangeEndpointCompartmentResponse; import * as ChangeGenerativeAiPrivateEndpointCompartmentResponse from "./change-generative-ai-private-endpoint-compartment-response"; export import ChangeGenerativeAiPrivateEndpointCompartmentResponse = ChangeGenerativeAiPrivateEndpointCompartmentResponse.ChangeGenerativeAiPrivateEndpointCompartmentResponse; +import * as ChangeImportedModelCompartmentResponse from "./change-imported-model-compartment-response"; +export import ChangeImportedModelCompartmentResponse = ChangeImportedModelCompartmentResponse.ChangeImportedModelCompartmentResponse; import * as ChangeModelCompartmentResponse from "./change-model-compartment-response"; export import ChangeModelCompartmentResponse = ChangeModelCompartmentResponse.ChangeModelCompartmentResponse; import * as CreateDedicatedAiClusterResponse from "./create-dedicated-ai-cluster-response"; @@ -32,6 +34,8 @@ import * as CreateEndpointResponse from "./create-endpoint-response"; export import CreateEndpointResponse = CreateEndpointResponse.CreateEndpointResponse; import * as CreateGenerativeAiPrivateEndpointResponse from "./create-generative-ai-private-endpoint-response"; export import CreateGenerativeAiPrivateEndpointResponse = CreateGenerativeAiPrivateEndpointResponse.CreateGenerativeAiPrivateEndpointResponse; +import * as CreateImportedModelResponse from "./create-imported-model-response"; +export import CreateImportedModelResponse = CreateImportedModelResponse.CreateImportedModelResponse; import * as CreateModelResponse from "./create-model-response"; export import CreateModelResponse = CreateModelResponse.CreateModelResponse; import * as DeleteDedicatedAiClusterResponse from "./delete-dedicated-ai-cluster-response"; @@ -40,6 +44,8 @@ import * as DeleteEndpointResponse from "./delete-endpoint-response"; export import DeleteEndpointResponse = DeleteEndpointResponse.DeleteEndpointResponse; import * as DeleteGenerativeAiPrivateEndpointResponse from "./delete-generative-ai-private-endpoint-response"; export import DeleteGenerativeAiPrivateEndpointResponse = DeleteGenerativeAiPrivateEndpointResponse.DeleteGenerativeAiPrivateEndpointResponse; +import * as DeleteImportedModelResponse from "./delete-imported-model-response"; +export import DeleteImportedModelResponse = DeleteImportedModelResponse.DeleteImportedModelResponse; import * as DeleteModelResponse from "./delete-model-response"; export import DeleteModelResponse = DeleteModelResponse.DeleteModelResponse; import * as GetDedicatedAiClusterResponse from "./get-dedicated-ai-cluster-response"; @@ -48,6 +54,8 @@ import * as GetEndpointResponse from "./get-endpoint-response"; export import GetEndpointResponse = GetEndpointResponse.GetEndpointResponse; import * as GetGenerativeAiPrivateEndpointResponse from "./get-generative-ai-private-endpoint-response"; export import GetGenerativeAiPrivateEndpointResponse = GetGenerativeAiPrivateEndpointResponse.GetGenerativeAiPrivateEndpointResponse; +import * as GetImportedModelResponse from "./get-imported-model-response"; +export import GetImportedModelResponse = GetImportedModelResponse.GetImportedModelResponse; import * as GetModelResponse from "./get-model-response"; export import GetModelResponse = GetModelResponse.GetModelResponse; import * as GetWorkRequestResponse from "./get-work-request-response"; @@ -58,6 +66,8 @@ import * as ListEndpointsResponse from "./list-endpoints-response"; export import ListEndpointsResponse = ListEndpointsResponse.ListEndpointsResponse; import * as ListGenerativeAiPrivateEndpointsResponse from "./list-generative-ai-private-endpoints-response"; export import ListGenerativeAiPrivateEndpointsResponse = ListGenerativeAiPrivateEndpointsResponse.ListGenerativeAiPrivateEndpointsResponse; +import * as ListImportedModelsResponse from "./list-imported-models-response"; +export import ListImportedModelsResponse = ListImportedModelsResponse.ListImportedModelsResponse; import * as ListModelsResponse from "./list-models-response"; export import ListModelsResponse = ListModelsResponse.ListModelsResponse; import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; @@ -72,5 +82,7 @@ import * as UpdateEndpointResponse from "./update-endpoint-response"; export import UpdateEndpointResponse = UpdateEndpointResponse.UpdateEndpointResponse; import * as UpdateGenerativeAiPrivateEndpointResponse from "./update-generative-ai-private-endpoint-response"; export import UpdateGenerativeAiPrivateEndpointResponse = UpdateGenerativeAiPrivateEndpointResponse.UpdateGenerativeAiPrivateEndpointResponse; +import * as UpdateImportedModelResponse from "./update-imported-model-response"; +export import UpdateImportedModelResponse = UpdateImportedModelResponse.UpdateImportedModelResponse; import * as UpdateModelResponse from "./update-model-response"; export import UpdateModelResponse = UpdateModelResponse.UpdateModelResponse; diff --git a/lib/generativeai/lib/response/list-imported-models-response.ts b/lib/generativeai/lib/response/list-imported-models-response.ts new file mode 100644 index 0000000000..59e39f05eb --- /dev/null +++ b/lib/generativeai/lib/response/list-imported-models-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListImportedModelsResponse { + /** + * 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.ImportedModelCollection instance. + */ + "importedModelCollection": model.ImportedModelCollection; +} diff --git a/lib/generativeai/lib/response/update-imported-model-response.ts b/lib/generativeai/lib/response/update-imported-model-response.ts new file mode 100644 index 0000000000..3cb471c453 --- /dev/null +++ b/lib/generativeai/lib/response/update-imported-model-response.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20231130 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateImportedModelResponse { + /** + * 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.ImportedModel instance. + */ + "importedModel": model.ImportedModel; +} diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index ff16eab0e4..543ac3e2de 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.121.0", + "version": "2.121.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 70dcf2b880..aa00358bcf 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.121.0", + "version": "2.121.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 1b15ce52a7..4248189247 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.121.0", + "version": "2.121.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 6ae28dbd18..c6e0e246c7 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.121.0", + "version": "2.121.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 7f8792aae6..c7ad07c905 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.121.0", + "version": "2.121.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 ef37fc6b4b..c53e3fe166 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index b057facfac..5b07aaceda 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.121.0", + "version": "2.121.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 ab08a8aed8..0b8f9118ab 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.121.0", + "version": "2.121.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 cb9f70909f..34b8ac8f79 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 8194141452..8a3c9d1bf6 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 25dbd35775..5ab026beb9 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.121.0", + "version": "2.121.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 913b3e7653..30ad1f37bf 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.121.0", + "version": "2.121.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 09f8295874..5efbd67579 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/iot/package.json b/lib/iot/package.json index 4e701213bc..e97b32db97 100644 --- a/lib/iot/package.json +++ b/lib/iot/package.json @@ -1,6 +1,6 @@ { "name": "oci-iot", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Iot Service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 1c830ea47e..2c3a89506b 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 648eee3164..739223a7e2 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/jmsutils/package.json b/lib/jmsutils/package.json index 84566533f4..6ec6cc040b 100644 --- a/lib/jmsutils/package.json +++ b/lib/jmsutils/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsutils", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Jms Utils Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 77647caa51..b1f933c16e 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 2ba17fcf19..516ac2b094 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/lib/client.ts b/lib/limits/lib/client.ts index 869a084a0b..267e8c2b47 100644 --- a/lib/limits/lib/client.ts +++ b/lib/limits/lib/client.ts @@ -216,7 +216,7 @@ export class LimitsClient { * For a given compartmentId, resource limit name, and scope, returns the following: * * The number of available resources associated with the given limit. * * The usage in the selected compartment for the given limit. - * If Subscription Id is provided, then usage for resource created in that subscription will be returned + * If the subscription ID is provided, then usage for resource created in that subscription will be returned. * Note that not all resource limits support this API. If the value is not available, the API returns a 404 response. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -240,7 +240,8 @@ export class LimitsClient { const queryParams = { "compartmentId": getResourceAvailabilityRequest.compartmentId, "availabilityDomain": getResourceAvailabilityRequest.availabilityDomain, - "subscriptionId": getResourceAvailabilityRequest.subscriptionId + "subscriptionId": getResourceAvailabilityRequest.subscriptionId, + "externalLocation": getResourceAvailabilityRequest.externalLocation }; let headerParams = { @@ -294,9 +295,9 @@ export class LimitsClient { } /** - * Includes a list of resource limits that are currently supported. If subscription Id is provided, then only resource limits supported by subscription will be returned - * If the 'areQuotasSupported' property is true, you can create quota policies on top of this limit at the - * compartment level. + * Includes a list of resource limits that are currently supported. + * If the subscription ID is provided, then only resource limits supported by the subscription will be returned. + * If the `areQuotasSupported` property is true, you can create quota policies on top of this limit at the compartment level. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListLimitDefinitionsRequest @@ -432,7 +433,8 @@ export class LimitsClient { } /** - * Includes a full list of resource limits belonging to a given service. If subscription Id is provided, limit value for subscription will be returned. + * Includes a full list of resource limits belonging to a given service. + * If the subscription ID is provided, the limit value for the subscription will be returned. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListLimitValuesRequest @@ -452,6 +454,7 @@ export class LimitsClient { const queryParams = { "compartmentId": listLimitValuesRequest.compartmentId, "subscriptionId": listLimitValuesRequest.subscriptionId, + "externalLocation": listLimitValuesRequest.externalLocation, "serviceName": listLimitValuesRequest.serviceName, "scopeType": listLimitValuesRequest.scopeType, "availabilityDomain": listLimitValuesRequest.availabilityDomain, diff --git a/lib/limits/lib/model/limit-definition-summary.ts b/lib/limits/lib/model/limit-definition-summary.ts index d114e18724..8aca3e70b1 100644 --- a/lib/limits/lib/model/limit-definition-summary.ts +++ b/lib/limits/lib/model/limit-definition-summary.ts @@ -63,7 +63,12 @@ export interface LimitDefinitionSummary { */ "isDynamic"?: boolean; /** - * An array of subscription types supported by the limit. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'. + * An array of subscription types that support ExternalLocations. + * + */ + "externalLocationSupportedSubscriptions"?: Array; + /** + * An array of subscription types supported by the limit. For example, the type of subscription, such as SAAS, ERP, or CRM. * */ "supportedSubscriptions"?: Array; diff --git a/lib/limits/lib/model/service-summary.ts b/lib/limits/lib/model/service-summary.ts index bfe934a0b5..3de1e50815 100644 --- a/lib/limits/lib/model/service-summary.ts +++ b/lib/limits/lib/model/service-summary.ts @@ -27,7 +27,7 @@ export interface ServiceSummary { */ "description"?: string; /** - * An array of subscription types supported by the service. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'. + * An array of subscription types supported by the service. For example, the type of subscription, such as SAAS, ERP, or CRM. * */ "supportedSubscriptions"?: Array; diff --git a/lib/limits/lib/request/get-resource-availability-request.ts b/lib/limits/lib/request/get-resource-availability-request.ts index adf8350f3f..08571ef6c1 100644 --- a/lib/limits/lib/request/get-resource-availability-request.ts +++ b/lib/limits/lib/request/get-resource-availability-request.ts @@ -44,8 +44,13 @@ export interface GetResourceAvailabilityRequest extends common.BaseRequest { */ "opcRequestId"?: string; /** - * The OCID of the subscription assigned to tenant + * The subscription OCID assigned to the tenant. * */ "subscriptionId"?: string; + /** + * External cloud provider location + * + */ + "externalLocation"?: string; } diff --git a/lib/limits/lib/request/list-limit-definitions-request.ts b/lib/limits/lib/request/list-limit-definitions-request.ts index d1bd0fb402..a23321262d 100644 --- a/lib/limits/lib/request/list-limit-definitions-request.ts +++ b/lib/limits/lib/request/list-limit-definitions-request.ts @@ -24,7 +24,7 @@ export interface ListLimitDefinitionsRequest extends common.BaseRequest { */ "compartmentId": string; /** - * The OCID of the subscription assigned to tenant + * The subscription OCID assigned to the tenant. * */ "subscriptionId"?: string; diff --git a/lib/limits/lib/request/list-limit-values-request.ts b/lib/limits/lib/request/list-limit-values-request.ts index 9ae1364933..0fcff5615b 100644 --- a/lib/limits/lib/request/list-limit-values-request.ts +++ b/lib/limits/lib/request/list-limit-values-request.ts @@ -28,10 +28,15 @@ export interface ListLimitValuesRequest extends common.BaseRequest { */ "serviceName": string; /** - * The OCID of the subscription assigned to tenant + * The subscription OCID assigned to the tenant. * */ "subscriptionId"?: string; + /** + * External cloud provider location + * + */ + "externalLocation"?: string; /** * Filter entries by scope type. */ diff --git a/lib/limits/lib/request/list-services-request.ts b/lib/limits/lib/request/list-services-request.ts index d5c991ab70..e373a65ef6 100644 --- a/lib/limits/lib/request/list-services-request.ts +++ b/lib/limits/lib/request/list-services-request.ts @@ -50,7 +50,7 @@ export interface ListServicesRequest extends common.BaseRequest { */ "opcRequestId"?: string; /** - * The OCID of the subscription assigned to tenant + * The subscription OCID assigned to the tenant. * */ "subscriptionId"?: string; diff --git a/lib/limits/package.json b/lib/limits/package.json index a3c49614c3..01e42d9549 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index c61e0394b9..2daf7763b3 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index f195bfc656..81c04e99e2 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 0f0cb13c51..971f35fa82 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.121.0", + "version": "2.121.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 85dc042a41..1e4ca2e04c 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 9b34f00d3e..3931a4a5f9 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 3f8b72018d..5023b6d916 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index 956cf015a9..ff61daf442 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managedkafka/package.json b/lib/managedkafka/package.json index ee6d6bfc42..33884481ff 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Managed Kafka Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index fe1fc549c9..5ed1a4b7c0 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.121.0", + "version": "2.121.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 6788ae3f57..8862ca34ce 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.121.0", + "version": "2.121.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 2e6d48f849..87d0866cc0 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index df256511b3..465722ac28 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.121.0", + "version": "2.121.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 8774c595e2..28239b6aa8 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.121.0", + "version": "2.121.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 5b11ffc6b9..5f608ae688 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.121.0", + "version": "2.121.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 c0882fcd19..59bdede808 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index c771f5a0d8..0d247b8096 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.121.0", + "version": "2.121.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 b90b362d91..484d132b80 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index a66c636e1e..ff31d47da8 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 99bbc7616f..fcacb8bdca 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index e4a3da2169..84b27947e3 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.121.0", + "version": "2.121.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 6e5276b042..a8453fafe6 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.121.0", + "version": "2.121.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 fff530bc01..e03ff9b365 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index c3f3a990b6..0850a9f2e6 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 5c8aa96609..a9f91be8cf 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index c6137857b1..22a5cef967 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.121.0", + "version": "2.121.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 70732370a3..aedc9dac02 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 00a5642e47..7f3fd559a5 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 2c9c551d56..27aa8889d5 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 98c5053fbf..d82b4dbb34 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 61eb93f2d7..d02757202b 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index e09ce91735..cf1ae390b2 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 948a5e324c..3d7e36df4e 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.121.0", + "version": "2.121.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 1da64238b4..5bcbdbce43 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 6b9aa7c3ae..5e98ea7f29 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 472ee1bc9e..250c37118f 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.121.0", + "version": "2.121.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 bfa7f75e88..76005a7804 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.121.0", + "version": "2.121.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 42e6d559e2..af67a2069b 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.121.0", + "version": "2.121.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 d1aad57102..8cbc3853aa 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.121.0", + "version": "2.121.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 de58e6f482..6ff030742a 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.121.0", + "version": "2.121.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 f3424fd781..8695b97d69 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psa/package.json b/lib/psa/package.json index 31fa6ac0a8..e103269c8d 100644 --- a/lib/psa/package.json +++ b/lib/psa/package.json @@ -1,6 +1,6 @@ { "name": "oci-psa", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Psa Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index caabb07f14..f95608c42e 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 2df26c8b42..2989e6433f 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 354e927a89..fb3eda768d 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index 46d38c32cb..0b3f16f0b6 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourceanalytics/package.json b/lib/resourceanalytics/package.json index cbdbf3c5f1..1152f4560e 100644 --- a/lib/resourceanalytics/package.json +++ b/lib/resourceanalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourceanalytics", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Resource Analytics Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index f319275157..c93a2a6ca1 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.121.0", + "version": "2.121.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 3197134137..011b340e81 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.121.0", + "version": "2.121.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 9815754bf7..ee5af968e0 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.121.0", + "version": "2.121.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 4c17f92110..394b30df09 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 476d906fb7..8a32a58ebd 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index d35f3ebae7..3d65c8d716 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index 81890d9563..daaf918845 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.121.0", + "version": "2.121.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 7730539f91..ff7291378c 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.121.0", + "version": "2.121.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 577b9bc3ac..8533bc82eb 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.121.0", + "version": "2.121.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 9e059fe8c2..6dd2d3887e 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.121.0", + "version": "2.121.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 ed87554244..3d49379b6f 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 9fd7d1b790..6a9162e0db 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.121.0", + "version": "2.121.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 67fa2be711..b7663ea28d 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.121.0", + "version": "2.121.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 c8cd18b1ea..228b6c0eb0 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 3611e2381f..561bd867e9 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.121.0", + "version": "2.121.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 e9f990255f..0cb8e60abf 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index 4cab6152a7..c959ea313e 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.121.0", + "version": "2.121.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 1450b8326f..c426309659 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.121.0", + "version": "2.121.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 8d2f89c231..565760143c 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.121.0", + "version": "2.121.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 1eae322a63..058b72d6a1 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.121.0", + "version": "2.121.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 0b623deb4a..193cc73aaf 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index f0fd44792c..61256186a3 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 7083adabfd..7b47e4b405 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index 81b975be46..bdbe40de9e 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index 4d601ce177..462538ad10 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index 099874cc3d..d3630e3c5a 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.121.0", + "version": "2.121.1", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index 90e4ebd197..aefd50d5f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.121.0", + "version": "2.121.1", "author": { "name": "Oracle Cloud Infrastructure", "email": "" From 3b6d82e5131a0b9687fa74dc43fa0e3ac3a01f75 Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 18 Nov 2025 17:25:01 +0000 Subject: [PATCH 3/4] Releasing version 2.122.0 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 33 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aidataplatform/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/package.json | 2 +- lib/aivision/package.json | 2 +- lib/analytics/package.json | 2 +- lib/announcementsservice/package.json | 2 +- lib/apiaccesscontrol/package.json | 2 +- .../lib/model/create-gateway-details.ts | 25 + lib/apigateway/lib/model/gateway-summary.ts | 9 + lib/apigateway/lib/model/gateway.ts | 36 + lib/apigateway/lib/model/index.ts | 4 + .../lib/model/ipv4-address-configuration.ts | 41 + .../lib/model/ipv6-address-configuration.ts | 45 + 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/lib/model/bastion-summary.ts | 7 + lib/bastion/lib/model/bastion.ts | 7 + .../lib/model/create-bastion-details.ts | 7 + .../lib/model/update-bastion-details.ts | 7 + 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/lib/region.ts | 1 + lib/common/package.json | 2 +- .../developer-tool-configuration.json | 6 + lib/common/tests/resources/regions.json | 6 + lib/computecloudatcustomer/package.json | 2 +- lib/computeinstanceagent/package.json | 2 +- lib/containerengine/package.json | 2 +- lib/containerinstances/package.json | 2 +- lib/core/lib/client.ts | 7 +- .../compute-gpu-memory-fabric-summary.ts | 57 +- .../lib/model/compute-gpu-memory-fabric.ts | 62 +- lib/core/lib/model/create-vcn-details.ts | 2 +- lib/core/lib/model/index.ts | 2 + .../memory-fabric-preferences-descriptor.ts | 63 + ...pdate-compute-gpu-memory-fabric-details.ts | 21 +- lib/core/lib/model/update-vcn-details.ts | 2 +- lib/core/lib/model/vcn.ts | 2 +- .../request/update-volume-kms-key-request.ts | 6 - lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- lib/database/lib/client.ts | 85 + lib/database/lib/database-waiter.ts | 31 + .../lib/model/aws-encryption-key-details.ts | 57 + lib/database/lib/model/backup-summary.ts | 3 +- lib/database/lib/model/backup.ts | 3 +- .../lib/model/cloud-vm-cluster-summary.ts | 1 + lib/database/lib/model/cloud-vm-cluster.ts | 1 + .../create-data-guard-association-details.ts | 3 +- .../lib/model/create-database-details.ts | 3 +- .../create-database-from-backup-details.ts | 3 +- .../lib/model/create-standby-details.ts | 3 +- .../lib/model/data-guard-group-member.ts | 55 + lib/database/lib/model/database-summary.ts | 3 +- lib/database/lib/model/database.ts | 3 +- .../model/encryption-key-location-details.ts | 10 + .../lib/model/identity-connector-details.ts | 1 + lib/database/lib/model/index.ts | 2 + .../register-cloud-vm-cluster-pkcs-details.ts | 3 +- ...nregister-cloud-vm-cluster-pkcs-details.ts | 3 +- .../change-encryption-key-location-request.ts | 3 +- lib/database/lib/request/index.ts | 2 + ...efresh-data-guard-health-status-request.ts | 46 + lib/database/lib/response/index.ts | 2 + ...fresh-data-guard-health-status-response.ts | 37 + lib/database/package.json | 2 +- lib/databasemanagement/package.json | 2 +- lib/databasemigration/package.json | 2 +- lib/databasetools/package.json | 2 +- .../model/catalog-private-endpoint-summary.ts | 8 + .../lib/model/catalog-private-endpoint.ts | 8 + ...create-catalog-private-endpoint-details.ts | 8 + ...update-catalog-private-endpoint-details.ts | 8 + 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/index.ts | 9 + lib/dbmulticloud/lib/client.ts | 1378 +++++++++++++++++ .../lib/dbmulticloudawsprovider-waiter.ts | 98 ++ .../lib/dbmulticloudgcpprovider-waiter.ts | 6 + lib/dbmulticloud/lib/model/action-type.ts | 6 + lib/dbmulticloud/lib/model/arc-agent-nodes.ts | 6 + lib/dbmulticloud/lib/model/aws-nodes.ts | 98 ++ ...-resource-discovery-compartment-details.ts | 6 + ...-identity-connector-compartment-details.ts | 75 + ...e-oracle-db-aws-key-compartment-details.ts | 73 + ...zure-blob-container-compartment-details.ts | 6 + ...db-azure-blob-mount-compartment-details.ts | 6 + ...-db-azure-connector-compartment-details.ts | 6 + ...e-vault-association-compartment-details.ts | 6 + ...acle-db-azure-vault-compartment-details.ts | 6 + ...-identity-connector-compartment-details.ts | 6 + ...cle-db-gcp-key-ring-compartment-details.ts | 6 + ...-multi-cloud-resource-discovery-details.ts | 6 + ...racle-db-aws-identity-connector-details.ts | 141 ++ .../model/create-oracle-db-aws-key-details.ts | 122 ++ ...-oracle-db-azure-blob-container-details.ts | 6 + ...eate-oracle-db-azure-blob-mount-details.ts | 6 + ...reate-oracle-db-azure-connector-details.ts | 6 + ...acle-db-azure-vault-association-details.ts | 6 + .../create-oracle-db-azure-vault-details.ts | 6 + ...racle-db-gcp-identity-connector-details.ts | 6 + .../create-oracle-db-gcp-key-ring-details.ts | 6 + lib/dbmulticloud/lib/model/gcp-nodes.ts | 6 + lib/dbmulticloud/lib/model/index.ts | 38 + ...d-resource-discovery-summary-collection.ts | 6 + .../multi-cloud-resource-discovery-summary.ts | 6 + .../model/multi-cloud-resource-discovery.ts | 7 + .../lib/model/operation-status.ts | 6 + lib/dbmulticloud/lib/model/operation-type.ts | 17 + ...s-identity-connector-summary-collection.ts | 93 ++ ...racle-db-aws-identity-connector-summary.ts | 170 ++ .../model/oracle-db-aws-identity-connector.ts | 184 +++ .../oracle-db-aws-key-summary-collection.ts | 91 ++ .../lib/model/oracle-db-aws-key-summary.ts | 151 ++ .../lib/model/oracle-db-aws-key.ts | 165 ++ ...azure-blob-container-summary-collection.ts | 6 + .../oracle-db-azure-blob-container-summary.ts | 6 + .../model/oracle-db-azure-blob-container.ts | 6 + ...-db-azure-blob-mount-summary-collection.ts | 6 + .../oracle-db-azure-blob-mount-summary.ts | 6 + .../lib/model/oracle-db-azure-blob-mount.ts | 6 + ...e-db-azure-connector-summary-collection.ts | 6 + .../oracle-db-azure-connector-summary.ts | 6 + .../lib/model/oracle-db-azure-connector.ts | 6 + .../oracle-db-azure-key-summary-collection.ts | 6 + .../lib/model/oracle-db-azure-key-summary.ts | 6 + .../lib/model/oracle-db-azure-key.ts | 6 + ...re-vault-association-summary-collection.ts | 6 + ...acle-db-azure-vault-association-summary.ts | 6 + .../oracle-db-azure-vault-association.ts | 6 + ...racle-db-azure-vault-summary-collection.ts | 6 + .../model/oracle-db-azure-vault-summary.ts | 6 + .../lib/model/oracle-db-azure-vault.ts | 6 + ...p-identity-connector-summary-collection.ts | 6 + ...racle-db-gcp-identity-connector-summary.ts | 6 + .../model/oracle-db-gcp-identity-connector.ts | 6 + ...acle-db-gcp-key-ring-summary-collection.ts | 6 + .../model/oracle-db-gcp-key-ring-summary.ts | 6 + .../lib/model/oracle-db-gcp-key-ring.ts | 6 + .../oracle-db-gcp-key-summary-collection.ts | 6 + .../lib/model/oracle-db-gcp-key-summary.ts | 6 + .../lib/model/oracle-db-gcp-key.ts | 6 + ...patch-oracle-db-azure-connector-details.ts | 6 + .../refresh-oracle-db-aws-key-details.ts | 73 + .../refresh-oracle-db-azure-vault-details.ts | 6 + .../refresh-oracle-db-gcp-key-ring-details.ts | 6 + lib/dbmulticloud/lib/model/resources.ts | 6 + .../lib/model/service-role-detail.ts | 85 + .../lib/model/service-role-details.ts | 128 ++ lib/dbmulticloud/lib/model/sort-order.ts | 6 + ...-multi-cloud-resource-discovery-details.ts | 6 + ...racle-db-aws-identity-connector-details.ts | 137 ++ .../model/update-oracle-db-aws-key-details.ts | 90 ++ ...-oracle-db-azure-blob-container-details.ts | 6 + ...date-oracle-db-azure-blob-mount-details.ts | 6 + ...pdate-oracle-db-azure-connector-details.ts | 6 + ...acle-db-azure-vault-association-details.ts | 6 + .../update-oracle-db-azure-vault-details.ts | 6 + ...racle-db-gcp-identity-connector-details.ts | 6 + .../update-oracle-db-gcp-key-ring-details.ts | 6 + .../model/work-request-error-collection.ts | 6 + .../lib/model/work-request-error.ts | 6 + .../work-request-log-entry-collection.ts | 6 + .../lib/model/work-request-log-entry.ts | 6 + .../work-request-resource-metadata-key.ts | 6 + .../lib/model/work-request-resource.ts | 6 + .../model/work-request-summary-collection.ts | 6 + .../lib/model/work-request-summary.ts | 6 + lib/dbmulticloud/lib/model/work-request.ts | 6 + .../lib/multicloudresourcediscovery-waiter.ts | 6 + .../lib/oracledbazureblobcontainer-waiter.ts | 6 + .../lib/oracledbazureblobmount-waiter.ts | 6 + .../lib/oracledbazureconnector-waiter.ts | 6 + .../lib/oracledbazurekey-waiter.ts | 6 + .../lib/oracledbazurevault-waiter.ts | 6 + .../oracledbazurevaultassociation-waiter.ts | 6 + ...-identity-connector-compartment-request.ts | 51 + ...e-oracle-db-aws-key-compartment-request.ts | 51 + ...racle-db-aws-identity-connector-request.ts | 39 + .../create-oracle-db-aws-key-request.ts | 47 + ...racle-db-aws-identity-connector-request.ts | 38 + .../delete-oracle-db-aws-key-request.ts | 38 + ...racle-db-aws-identity-connector-request.ts | 29 + .../request/get-oracle-db-aws-key-request.ts | 41 + lib/dbmulticloud/lib/request/index.ts | 34 + ...acle-db-aws-identity-connectors-request.ts | 66 + .../list-oracle-db-aws-keys-request.ts | 70 + ...acle-db-gcp-identity-connectors-request.ts | 2 +- ...racle-db-aws-identity-connector-request.ts | 47 + .../refresh-oracle-db-aws-key-request.ts | 51 + ...racle-db-aws-identity-connector-request.ts | 42 + .../update-oracle-db-aws-key-request.ts | 42 + ...identity-connector-compartment-response.ts | 30 + ...-oracle-db-aws-key-compartment-response.ts | 30 + ...acle-db-aws-identity-connector-response.ts | 47 + .../create-oracle-db-aws-key-response.ts | 47 + ...acle-db-aws-identity-connector-response.ts | 30 + .../delete-oracle-db-aws-key-response.ts | 30 + ...acle-db-aws-identity-connector-response.ts | 33 + .../get-oracle-db-aws-key-response.ts | 33 + lib/dbmulticloud/lib/response/index.ts | 34 + ...cle-db-aws-identity-connectors-response.ts | 34 + .../list-oracle-db-aws-keys-response.ts | 34 + ...acle-db-aws-identity-connector-response.ts | 30 + .../refresh-oracle-db-aws-key-response.ts | 30 + ...acle-db-aws-identity-connector-response.ts | 30 + .../update-oracle-db-aws-key-response.ts | 30 + lib/dbmulticloud/lib/workrequest-waiter.ts | 6 + lib/dbmulticloud/package.json | 2 +- lib/delegateaccesscontrol/package.json | 2 +- lib/demandsignal/package.json | 2 +- lib/desktops/package.json | 2 +- lib/devops/package.json | 2 +- lib/dif/package.json | 2 +- lib/disasterrecovery/package.json | 2 +- lib/distributeddatabase/package.json | 2 +- lib/dns/package.json | 2 +- lib/email/lib/client.ts | 1069 ++++++++++++- lib/email/lib/email-waiter.ts | 19 + .../model/add-email-outbound-ip-details.ts | 46 + ...hange-email-ip-pool-compartment-details.ts | 44 + .../lib/model/create-email-ip-pool-details.ts | 75 + lib/email/lib/model/create-sender-details.ts | 4 + .../lib/model/email-ip-pool-collection.ts | 61 + lib/email/lib/model/email-ip-pool-summary.ts | 125 ++ lib/email/lib/model/email-ip-pool.ts | 161 ++ .../lib/model/email-outbound-ip-collection.ts | 61 + .../lib/model/email-outbound-ip-summary.ts | 79 + lib/email/lib/model/index.ts | 20 + lib/email/lib/model/operation-type.ts | 4 + .../model/remove-email-outbound-ip-details.ts | 47 + lib/email/lib/model/sender-summary.ts | 4 + lib/email/lib/model/sender.ts | 5 + .../lib/model/update-email-ip-pool-details.ts | 59 + lib/email/lib/model/update-sender-details.ts | 4 + .../request/add-email-ip-pool-lock-request.ts | 40 + .../request/add-email-outbound-ip-request.ts | 49 + ...hange-email-ip-pool-compartment-request.ts | 53 + .../request/create-email-ip-pool-request.ts | 38 + .../request/delete-email-ip-pool-request.ts | 40 + .../lib/request/get-email-ip-pool-request.ts | 29 + lib/email/lib/request/index.ts | 22 + .../request/list-email-ip-pools-request.ts | 79 + .../list-email-outbound-ips-request.ts | 75 + lib/email/lib/request/list-senders-request.ts | 4 + .../remove-email-ip-pool-lock-request.ts | 40 + .../remove-email-outbound-ip-request.ts | 49 + .../request/update-email-ip-pool-request.ts | 44 + .../add-email-ip-pool-lock-response.ts | 33 + .../add-email-outbound-ip-response.ts | 29 + ...ange-email-ip-pool-compartment-response.ts | 29 + .../response/create-email-ip-pool-response.ts | 48 + .../response/delete-email-ip-pool-response.ts | 29 + .../response/get-email-ip-pool-response.ts | 33 + lib/email/lib/response/index.ts | 22 + .../response/list-email-ip-pools-response.ts | 34 + .../list-email-outbound-ips-response.ts | 34 + .../remove-email-ip-pool-lock-response.ts | 33 + .../remove-email-outbound-ip-response.ts | 29 + .../response/update-email-ip-pool-response.ts | 29 + 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/model/chat-choice.ts | 4 + .../lib/model/generic-chat-request.ts | 10 + .../lib/model/generic-chat-response.ts | 4 + lib/generativeaiinference/package.json | 2 +- lib/genericartifactscontent/package.json | 2 +- lib/globallydistributeddatabase/package.json | 2 +- lib/goldengate/lib/client.ts | 82 + .../lib/model/create-pipeline-details.ts | 6 + .../model/default-pause-pipeline-details.ts | 51 + lib/goldengate/lib/model/index.ts | 6 + lib/goldengate/lib/model/operation-type.ts | 1 + .../lib/model/pause-pipeline-details.ts | 59 + .../lib/model/pause-pipeline-type.ts | 33 + .../lib/model/pipeline-lifecycle-sub-state.ts | 5 + lib/goldengate/lib/model/pipeline-summary.ts | 6 + lib/goldengate/lib/model/pipeline.ts | 25 + .../lib/model/update-pipeline-details.ts | 6 + lib/goldengate/lib/request/index.ts | 2 + .../lib/request/pause-pipeline-request.ts | 56 + lib/goldengate/lib/response/index.ts | 2 + .../lib/response/pause-pipeline-response.ts | 30 + 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/iot/lib/client.ts | 4 +- lib/iot/lib/model/index.ts | 2 + .../model/invoke-raw-json-command-details.ts | 2 +- .../update-digital-twin-instance-details.ts | 8 + lib/iot/lib/model/vcn.ts | 35 + .../response/invoke-raw-command-response.ts | 2 +- lib/iot/package.json | 2 +- lib/jms/package.json | 2 +- lib/jmsjavadownloads/package.json | 2 +- lib/jmsutils/package.json | 2 +- lib/keymanagement/package.json | 2 +- lib/licensemanager/package.json | 2 +- lib/limits/package.json | 2 +- lib/loadbalancer/package.json | 2 +- lib/lockbox/package.json | 2 +- lib/loganalytics/package.json | 2 +- lib/logging/package.json | 2 +- lib/loggingingestion/package.json | 2 +- lib/loggingsearch/package.json | 2 +- lib/lustrefilestorage/package.json | 2 +- lib/managedkafka/package.json | 2 +- lib/managementagent/package.json | 2 +- lib/managementdashboard/package.json | 2 +- lib/marketplace/package.json | 2 +- lib/marketplaceprivateoffer/package.json | 2 +- lib/marketplacepublisher/package.json | 2 +- lib/mediaservices/package.json | 2 +- lib/mngdmac/package.json | 2 +- lib/modeldeployment/package.json | 2 +- lib/monitoring/package.json | 2 +- lib/multicloud/index.ts | 4 +- lib/multicloud/lib/client.ts | 761 ++++++--- .../cloud-service-provider-metadata-item.ts | 14 +- ...-service-provider-network-metadata-item.ts | 4 + .../lib/model/external-location-detail.ts | 4 + .../external-locations-metadatum-summary.ts | 18 +- lib/multicloud/lib/model/index.ts | 10 + .../model/multicloud-resource-collection.ts | 56 + .../lib/model/multicloud-resource-summary.ts | 128 ++ .../multicloud-subscription-collection.ts | 56 + .../model/multicloud-subscription-summary.ts | 123 ++ .../model/network-anchor-connection-status.ts | 59 + .../lib/model/network-anchor-summary.ts | 26 +- lib/multicloud/lib/model/network-anchor.ts | 8 +- .../lib/model/oci-network-metadata.ts | 33 +- lib/multicloud/lib/model/oci-vcn.ts | 4 + .../lib/model/resource-anchor-summary.ts | 30 + lib/multicloud/lib/model/resource-anchor.ts | 8 + .../lib/omhubnetworkanchor-waiter.ts | 44 - .../lib/request/get-network-anchor-request.ts | 10 +- .../request/get-resource-anchor-request.ts | 8 +- lib/multicloud/lib/request/index.ts | 4 + ...ernal-location-details-metadata-request.ts | 28 +- ...ernal-location-mapping-metadata-request.ts | 8 +- ...nal-location-summaries-metadata-request.ts | 8 +- .../list-multicloud-resources-request.ts | 80 + .../list-multicloud-subscriptions-request.ts | 68 + .../request/list-network-anchors-request.ts | 32 +- .../request/list-resource-anchors-request.ts | 26 +- lib/multicloud/lib/response/index.ts | 4 + .../list-multicloud-resources-response.ts | 34 + .../list-multicloud-subscriptions-response.ts | 34 + 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/lib/client.ts | 89 ++ .../model/batch-delete-object-identifier.ts | 50 + .../lib/model/batch-delete-objects-details.ts | 67 + .../lib/model/batch-delete-objects-result.ts | 76 + .../lib/model/deleted-object-result.ts | 48 + .../lib/model/failed-object-result.ts | 54 + lib/objectstorage/lib/model/index.ts | 10 + .../request/batch-delete-objects-request.ts | 39 + lib/objectstorage/lib/request/index.ts | 2 + .../response/batch-delete-objects-response.ts | 32 + lib/objectstorage/lib/response/index.ts | 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/psa/package.json | 2 +- lib/psql/package.json | 2 +- lib/queue/package.json | 2 +- lib/recovery/package.json | 2 +- lib/redis/package.json | 2 +- lib/resourceanalytics/package.json | 2 +- lib/resourcemanager/package.json | 2 +- lib/resourcescheduler/package.json | 2 +- lib/resourcesearch/package.json | 2 +- lib/rover/package.json | 2 +- lib/sch/package.json | 2 +- lib/secrets/package.json | 2 +- lib/securityattribute/package.json | 2 +- lib/servicecatalog/index.ts | 6 +- lib/servicecatalog/lib/client.ts | 271 +++- lib/servicecatalog/lib/model/action-type.ts | 6 +- .../lib/model/application-collection.ts | 6 +- .../lib/model/application-summary.ts | 16 +- ...ce-service-catalog-associations-details.ts | 6 +- ...private-application-compartment-details.ts | 6 +- ...nge-service-catalog-compartment-details.ts | 6 +- lib/servicecatalog/lib/model/configuration.ts | 40 + .../create-private-application-details.ts | 6 +- .../create-private-application-package.ts | 6 +- ...reate-private-application-stack-package.ts | 8 +- ...ate-service-catalog-association-details.ts | 6 +- .../model/create-service-catalog-details.ts | 10 +- lib/servicecatalog/lib/model/error-entity.ts | 6 +- lib/servicecatalog/lib/model/index.ts | 12 +- .../lib/model/operation-status.ts | 6 +- .../lib/model/operation-type.ts | 6 +- .../lib/model/package-type-enum.ts | 7 +- .../lib/model/pricing-type-enum.ts | 6 +- .../model/private-application-collection.ts | 6 +- .../private-application-package-collection.ts | 6 +- .../private-application-package-summary.ts | 12 +- .../lib/model/private-application-package.ts | 6 +- .../private-application-stack-package.ts | 6 +- .../lib/model/private-application-summary.ts | 24 +- .../lib/model/private-application.ts | 12 +- .../lib/model/publisher-summary.ts | 6 +- .../service-catalog-association-collection.ts | 6 +- .../service-catalog-association-summary.ts | 12 +- .../lib/model/service-catalog-association.ts | 6 +- .../lib/model/service-catalog-collection.ts | 6 +- .../lib/model/service-catalog-mode-enum.ts | 40 + .../lib/model/service-catalog-status-enum.ts | 40 + .../lib/model/service-catalog-summary.ts | 28 +- .../lib/model/service-catalog.ts | 16 +- .../update-private-application-details.ts | 6 +- .../model/update-service-catalog-details.ts | 10 +- lib/servicecatalog/lib/model/upload-data.ts | 6 +- .../model/work-request-error-collection.ts | 6 +- .../lib/model/work-request-error.ts | 6 +- .../work-request-log-entry-collection.ts | 6 +- .../lib/model/work-request-log-entry.ts | 6 +- .../lib/model/work-request-resource.ts | 6 +- .../model/work-request-summary-collection.ts | 6 +- .../lib/model/work-request-summary.ts | 6 +- lib/servicecatalog/lib/model/work-request.ts | 6 +- .../lib/request/get-configuration-request.ts | 31 + lib/servicecatalog/lib/request/index.ts | 10 +- .../request/list-all-applications-request.ts | 84 + .../request/list-service-catalogs-request.ts | 4 + .../response/get-configuration-response.ts | 28 + lib/servicecatalog/lib/response/index.ts | 10 +- .../list-all-applications-response.ts | 35 + .../lib/servicecatalog-waiter.ts | 6 +- lib/servicecatalog/package.json | 2 +- lib/servicemanagerproxy/package.json | 2 +- lib/stackmonitoring/package.json | 2 +- lib/streaming/package.json | 2 +- lib/tenantmanagercontrolplane/package.json | 2 +- lib/threatintelligence/package.json | 2 +- lib/usage/package.json | 2 +- lib/usageapi/package.json | 2 +- lib/vault/package.json | 2 +- lib/vbsinst/package.json | 2 +- lib/visualbuilder/package.json | 2 +- lib/vnmonitoring/package.json | 2 +- lib/vulnerabilityscanning/package.json | 2 +- lib/waa/package.json | 2 +- lib/waas/package.json | 2 +- lib/waf/package.json | 2 +- lib/wlms/package.json | 2 +- lib/workrequests/package.json | 2 +- lib/zpr/package.json | 2 +- package.json | 2 +- 512 files changed, 11940 insertions(+), 757 deletions(-) create mode 100644 lib/apigateway/lib/model/ipv4-address-configuration.ts create mode 100644 lib/apigateway/lib/model/ipv6-address-configuration.ts create mode 100644 lib/core/lib/model/memory-fabric-preferences-descriptor.ts create mode 100644 lib/database/lib/model/aws-encryption-key-details.ts create mode 100644 lib/database/lib/request/refresh-data-guard-health-status-request.ts create mode 100644 lib/database/lib/response/refresh-data-guard-health-status-response.ts create mode 100644 lib/dbmulticloud/lib/dbmulticloudawsprovider-waiter.ts create mode 100644 lib/dbmulticloud/lib/model/aws-nodes.ts create mode 100644 lib/dbmulticloud/lib/model/change-oracle-db-aws-identity-connector-compartment-details.ts create mode 100644 lib/dbmulticloud/lib/model/change-oracle-db-aws-key-compartment-details.ts create mode 100644 lib/dbmulticloud/lib/model/create-oracle-db-aws-identity-connector-details.ts create mode 100644 lib/dbmulticloud/lib/model/create-oracle-db-aws-key-details.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary-collection.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector-summary.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-identity-connector.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-key-summary-collection.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-key-summary.ts create mode 100644 lib/dbmulticloud/lib/model/oracle-db-aws-key.ts create mode 100644 lib/dbmulticloud/lib/model/refresh-oracle-db-aws-key-details.ts create mode 100644 lib/dbmulticloud/lib/model/service-role-detail.ts create mode 100644 lib/dbmulticloud/lib/model/service-role-details.ts create mode 100644 lib/dbmulticloud/lib/model/update-oracle-db-aws-identity-connector-details.ts create mode 100644 lib/dbmulticloud/lib/model/update-oracle-db-aws-key-details.ts create mode 100644 lib/dbmulticloud/lib/request/change-oracle-db-aws-identity-connector-compartment-request.ts create mode 100644 lib/dbmulticloud/lib/request/change-oracle-db-aws-key-compartment-request.ts create mode 100644 lib/dbmulticloud/lib/request/create-oracle-db-aws-identity-connector-request.ts create mode 100644 lib/dbmulticloud/lib/request/create-oracle-db-aws-key-request.ts create mode 100644 lib/dbmulticloud/lib/request/delete-oracle-db-aws-identity-connector-request.ts create mode 100644 lib/dbmulticloud/lib/request/delete-oracle-db-aws-key-request.ts create mode 100644 lib/dbmulticloud/lib/request/get-oracle-db-aws-identity-connector-request.ts create mode 100644 lib/dbmulticloud/lib/request/get-oracle-db-aws-key-request.ts create mode 100644 lib/dbmulticloud/lib/request/list-oracle-db-aws-identity-connectors-request.ts create mode 100644 lib/dbmulticloud/lib/request/list-oracle-db-aws-keys-request.ts create mode 100644 lib/dbmulticloud/lib/request/refresh-oracle-db-aws-identity-connector-request.ts create mode 100644 lib/dbmulticloud/lib/request/refresh-oracle-db-aws-key-request.ts create mode 100644 lib/dbmulticloud/lib/request/update-oracle-db-aws-identity-connector-request.ts create mode 100644 lib/dbmulticloud/lib/request/update-oracle-db-aws-key-request.ts create mode 100644 lib/dbmulticloud/lib/response/change-oracle-db-aws-identity-connector-compartment-response.ts create mode 100644 lib/dbmulticloud/lib/response/change-oracle-db-aws-key-compartment-response.ts create mode 100644 lib/dbmulticloud/lib/response/create-oracle-db-aws-identity-connector-response.ts create mode 100644 lib/dbmulticloud/lib/response/create-oracle-db-aws-key-response.ts create mode 100644 lib/dbmulticloud/lib/response/delete-oracle-db-aws-identity-connector-response.ts create mode 100644 lib/dbmulticloud/lib/response/delete-oracle-db-aws-key-response.ts create mode 100644 lib/dbmulticloud/lib/response/get-oracle-db-aws-identity-connector-response.ts create mode 100644 lib/dbmulticloud/lib/response/get-oracle-db-aws-key-response.ts create mode 100644 lib/dbmulticloud/lib/response/list-oracle-db-aws-identity-connectors-response.ts create mode 100644 lib/dbmulticloud/lib/response/list-oracle-db-aws-keys-response.ts create mode 100644 lib/dbmulticloud/lib/response/refresh-oracle-db-aws-identity-connector-response.ts create mode 100644 lib/dbmulticloud/lib/response/refresh-oracle-db-aws-key-response.ts create mode 100644 lib/dbmulticloud/lib/response/update-oracle-db-aws-identity-connector-response.ts create mode 100644 lib/dbmulticloud/lib/response/update-oracle-db-aws-key-response.ts create mode 100644 lib/email/lib/model/add-email-outbound-ip-details.ts create mode 100644 lib/email/lib/model/change-email-ip-pool-compartment-details.ts create mode 100644 lib/email/lib/model/create-email-ip-pool-details.ts create mode 100644 lib/email/lib/model/email-ip-pool-collection.ts create mode 100644 lib/email/lib/model/email-ip-pool-summary.ts create mode 100644 lib/email/lib/model/email-ip-pool.ts create mode 100644 lib/email/lib/model/email-outbound-ip-collection.ts create mode 100644 lib/email/lib/model/email-outbound-ip-summary.ts create mode 100644 lib/email/lib/model/remove-email-outbound-ip-details.ts create mode 100644 lib/email/lib/model/update-email-ip-pool-details.ts create mode 100644 lib/email/lib/request/add-email-ip-pool-lock-request.ts create mode 100644 lib/email/lib/request/add-email-outbound-ip-request.ts create mode 100644 lib/email/lib/request/change-email-ip-pool-compartment-request.ts create mode 100644 lib/email/lib/request/create-email-ip-pool-request.ts create mode 100644 lib/email/lib/request/delete-email-ip-pool-request.ts create mode 100644 lib/email/lib/request/get-email-ip-pool-request.ts create mode 100644 lib/email/lib/request/list-email-ip-pools-request.ts create mode 100644 lib/email/lib/request/list-email-outbound-ips-request.ts create mode 100644 lib/email/lib/request/remove-email-ip-pool-lock-request.ts create mode 100644 lib/email/lib/request/remove-email-outbound-ip-request.ts create mode 100644 lib/email/lib/request/update-email-ip-pool-request.ts create mode 100644 lib/email/lib/response/add-email-ip-pool-lock-response.ts create mode 100644 lib/email/lib/response/add-email-outbound-ip-response.ts create mode 100644 lib/email/lib/response/change-email-ip-pool-compartment-response.ts create mode 100644 lib/email/lib/response/create-email-ip-pool-response.ts create mode 100644 lib/email/lib/response/delete-email-ip-pool-response.ts create mode 100644 lib/email/lib/response/get-email-ip-pool-response.ts create mode 100644 lib/email/lib/response/list-email-ip-pools-response.ts create mode 100644 lib/email/lib/response/list-email-outbound-ips-response.ts create mode 100644 lib/email/lib/response/remove-email-ip-pool-lock-response.ts create mode 100644 lib/email/lib/response/remove-email-outbound-ip-response.ts create mode 100644 lib/email/lib/response/update-email-ip-pool-response.ts create mode 100644 lib/goldengate/lib/model/default-pause-pipeline-details.ts create mode 100644 lib/goldengate/lib/model/pause-pipeline-details.ts create mode 100644 lib/goldengate/lib/model/pause-pipeline-type.ts create mode 100644 lib/goldengate/lib/request/pause-pipeline-request.ts create mode 100644 lib/goldengate/lib/response/pause-pipeline-response.ts create mode 100644 lib/iot/lib/model/vcn.ts create mode 100644 lib/multicloud/lib/model/multicloud-resource-collection.ts create mode 100644 lib/multicloud/lib/model/multicloud-resource-summary.ts create mode 100644 lib/multicloud/lib/model/multicloud-subscription-collection.ts create mode 100644 lib/multicloud/lib/model/multicloud-subscription-summary.ts create mode 100644 lib/multicloud/lib/model/network-anchor-connection-status.ts delete mode 100644 lib/multicloud/lib/omhubnetworkanchor-waiter.ts create mode 100644 lib/multicloud/lib/request/list-multicloud-resources-request.ts create mode 100644 lib/multicloud/lib/request/list-multicloud-subscriptions-request.ts create mode 100644 lib/multicloud/lib/response/list-multicloud-resources-response.ts create mode 100644 lib/multicloud/lib/response/list-multicloud-subscriptions-response.ts create mode 100644 lib/objectstorage/lib/model/batch-delete-object-identifier.ts create mode 100644 lib/objectstorage/lib/model/batch-delete-objects-details.ts create mode 100644 lib/objectstorage/lib/model/batch-delete-objects-result.ts create mode 100644 lib/objectstorage/lib/model/deleted-object-result.ts create mode 100644 lib/objectstorage/lib/model/failed-object-result.ts create mode 100644 lib/objectstorage/lib/request/batch-delete-objects-request.ts create mode 100644 lib/objectstorage/lib/response/batch-delete-objects-response.ts create mode 100644 lib/servicecatalog/lib/model/configuration.ts create mode 100644 lib/servicecatalog/lib/model/service-catalog-mode-enum.ts create mode 100644 lib/servicecatalog/lib/model/service-catalog-status-enum.ts create mode 100644 lib/servicecatalog/lib/request/get-configuration-request.ts create mode 100644 lib/servicecatalog/lib/request/list-all-applications-request.ts create mode 100644 lib/servicecatalog/lib/response/get-configuration-response.ts create mode 100644 lib/servicecatalog/lib/response/list-all-applications-response.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a112b48e4..9623ead887 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,39 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.122.0 - 2025-11-18 +### Added +- Support for calling Oracle Cloud Infrastructure services in the eu-turin-1 region +- Support for security attributes in the Bastion service +- Support for DataGuard Health Status check in the Database service +- Support for DataGuard creation with AWS in the Database service +- Support for changing encryption key location to AWS in the Database service +- Support for registering and unregistering PKCS for AWS in the Database service +- Support for new service catalog access control on marketplace in the Service Catalog service +- Support for bring-your-own-certificate in the OpenSearch service +- Support for AWS KMS integration for DB@AWS in the Database MultiCloud service +- Support for multi-cloud subscriptions and multi-cloud resource management in the MultiCloud service +- Support for new GenericChatRequest parameters in the Generative AI Inference service +- Support for Self-Serve IP Pool API in the Email Delivery service +- Support for Object Batch Delete in the Object Storage service +- Support for IPv6 and Reserved IPs in the API Gateway service +- Support for Zero Trust Packet Routing (ZPR) security attributes in the Data Catalog service +- Support for pinning the firmware of a Compute GPU Memory Fabric in the Compute service +- Support for pausing ZeroETL pipelines in the GoldenGate service +- Support for shared connections for ZeroETL pipelines in the GoldenGate service +- Support for migrating digital twin instances from non-ingestible to ingestible in the IoT Service + +### Fixed +- Fixed InvokeRawCommand API by changing response header from "Content-Location" to "Location" in the OCI Internet of Things (OCI IoT) service +- Fixed UpdateDigitalTwinInstance API by adding missing model id and spec URI properties in the OCI Internet of Things (OCI IoT) service + +### Breaking Changes +- Support for default retries on the operations of the Service Catalog service +- The field `contentLocation` was changed to `location` in the model `InvokeRawCommandResponse` in the OCI Internet of Things (OCI IoT) service +- The model `OmhubNetworkAnchorWaiter` was removed in the MultiCloud service +- The field `lifecycleState` was changed to `networkAnchorLifecycleState` and its type was changed to `NetworkAnchor.NetworkAnchorLifecycleState` in the models `NetworkAnchor` and `NetworkAnchorSummary` in the MultiCloud service +- The type of field `networkAnchorConnectionStatus` has been changed to `model.NetworkAnchorConnectionStatus` in the model `OciNetworkMetadata` in the MultiCloud service + ## 2.121.1 - 2025-11-10 ### Added - Support for image lookup by URI in OCI Registry in the Generic Artifacts service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 3ca0c7ca74..cebe0fc851 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Access Governance Cp Service", "repository": { "type": "git", diff --git a/lib/adm/package.json b/lib/adm/package.json index ce538b5232..310b7ec081 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index 873a2d6de3..12a1e6e903 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Data Platform Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 32fb9863a7..11867ea46b 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index 60db4d2bce..933e3a8e6e 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index 084d6503be..6714d60878 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index 3dc343b286..e633f83c9c 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index 17c145466d..43abc2eecc 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 70e75667ae..856b9b5136 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 926a7a5065..4bbe749dc3 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/lib/model/create-gateway-details.ts b/lib/apigateway/lib/model/create-gateway-details.ts index 8af7d4376f..53c91b0c4e 100644 --- a/lib/apigateway/lib/model/create-gateway-details.ts +++ b/lib/apigateway/lib/model/create-gateway-details.ts @@ -87,6 +87,17 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * An array of CA bundles that should be used on the Gateway for TLS validation. */ "caBundles"?: Array; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: string; + "ipv6AddressConfiguration"?: model.Ipv6AddressConfiguration; + "ipv4AddressConfiguration"?: model.Ipv4AddressConfiguration; } export namespace CreateGatewayDetails { @@ -107,6 +118,13 @@ export namespace CreateGatewayDetails { ? obj.caBundles.map(item => { return model.CaBundle.getJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getJsonObj(obj.ipv4AddressConfiguration) : undefined } }; @@ -130,6 +148,13 @@ export namespace CreateGatewayDetails { ? obj.caBundles.map(item => { return model.CaBundle.getDeserializedJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getDeserializedJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getDeserializedJsonObj(obj.ipv4AddressConfiguration) : undefined } }; diff --git a/lib/apigateway/lib/model/gateway-summary.ts b/lib/apigateway/lib/model/gateway-summary.ts index 4ea4d96f46..bc82305a56 100644 --- a/lib/apigateway/lib/model/gateway-summary.ts +++ b/lib/apigateway/lib/model/gateway-summary.ts @@ -115,6 +115,15 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: string; } export namespace GatewaySummary { diff --git a/lib/apigateway/lib/model/gateway.ts b/lib/apigateway/lib/model/gateway.ts index 76a6b34c90..842ec2afad 100644 --- a/lib/apigateway/lib/model/gateway.ts +++ b/lib/apigateway/lib/model/gateway.ts @@ -126,6 +126,17 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * An array of CA bundles that should be used on the Gateway for TLS validation. */ "caBundles"?: Array; + /** + * Determines whether the gateway has an IPv4 or IPv6 address assigned to it, or both. + * {@code IPV4} means the gateway will only have an IPv4 address assigned to it, and {@code IPV6} means the gateway will + * only have an {@code IPv6} address assigned to it. {@code DUAL_STACK} means the gateway will have both an IPv4 and IPv6 + * address assigned to it. + * Example: {@code IPV4} or {@code IPV6} or {@code DUAL_STACK} + * + */ + "ipMode"?: Gateway.IpMode; + "ipv6AddressConfiguration"?: model.Ipv6AddressConfiguration; + "ipv4AddressConfiguration"?: model.Ipv4AddressConfiguration; } export namespace Gateway { @@ -153,6 +164,17 @@ export namespace Gateway { UnknownValue = "UNKNOWN_VALUE" } + export enum IpMode { + Ipv4 = "IPV4", + Ipv6 = "IPV6", + DualStack = "DUAL_STACK", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: Gateway): object { const jsonObj = { ...obj, @@ -176,6 +198,13 @@ export namespace Gateway { ? obj.caBundles.map(item => { return model.CaBundle.getJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getJsonObj(obj.ipv4AddressConfiguration) : undefined } }; @@ -205,6 +234,13 @@ export namespace Gateway { ? obj.caBundles.map(item => { return model.CaBundle.getDeserializedJsonObj(item); }) + : undefined, + + "ipv6AddressConfiguration": obj.ipv6AddressConfiguration + ? model.Ipv6AddressConfiguration.getDeserializedJsonObj(obj.ipv6AddressConfiguration) + : undefined, + "ipv4AddressConfiguration": obj.ipv4AddressConfiguration + ? model.Ipv4AddressConfiguration.getDeserializedJsonObj(obj.ipv4AddressConfiguration) : undefined } }; diff --git a/lib/apigateway/lib/model/index.ts b/lib/apigateway/lib/model/index.ts index 333fbf840f..b590612063 100644 --- a/lib/apigateway/lib/model/index.ts +++ b/lib/apigateway/lib/model/index.ts @@ -142,6 +142,10 @@ import * as HeaderValidationRequestPolicy from "./header-validation-request-poli export import HeaderValidationRequestPolicy = HeaderValidationRequestPolicy.HeaderValidationRequestPolicy; import * as IpAddress from "./ip-address"; export import IpAddress = IpAddress.IpAddress; +import * as Ipv4AddressConfiguration from "./ipv4-address-configuration"; +export import Ipv4AddressConfiguration = Ipv4AddressConfiguration.Ipv4AddressConfiguration; +import * as Ipv6AddressConfiguration from "./ipv6-address-configuration"; +export import Ipv6AddressConfiguration = Ipv6AddressConfiguration.Ipv6AddressConfiguration; import * as JsonWebTokenClaim from "./json-web-token-claim"; export import JsonWebTokenClaim = JsonWebTokenClaim.JsonWebTokenClaim; import * as MutualTlsDetails from "./mutual-tls-details"; diff --git a/lib/apigateway/lib/model/ipv4-address-configuration.ts b/lib/apigateway/lib/model/ipv4-address-configuration.ts new file mode 100644 index 0000000000..8ed15661e7 --- /dev/null +++ b/lib/apigateway/lib/model/ipv4-address-configuration.ts @@ -0,0 +1,41 @@ +/** + * API Gateway API + * API for the API Gateway service. Use this API to manage gateways, deployments, and related items. +For more information, see +[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm). + + * OpenAPI spec version: 20190501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * IPv4 address configuration details that should be used when creating the gateway. + */ +export interface Ipv4AddressConfiguration { + /** + * List of Reserved IP OCIDs created in VCN service. + */ + "reservedIpIds"?: Array; +} + +export namespace Ipv4AddressConfiguration { + export function getJsonObj(obj: Ipv4AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Ipv4AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apigateway/lib/model/ipv6-address-configuration.ts b/lib/apigateway/lib/model/ipv6-address-configuration.ts new file mode 100644 index 0000000000..b8a3d9388a --- /dev/null +++ b/lib/apigateway/lib/model/ipv6-address-configuration.ts @@ -0,0 +1,45 @@ +/** + * API Gateway API + * API for the API Gateway service. Use this API to manage gateways, deployments, and related items. +For more information, see +[Overview of API Gateway](https://docs.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayoverview.htm). + + * OpenAPI spec version: 20190501 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * IPv6 address configuration details that should be used when creating the gateway. + */ +export interface Ipv6AddressConfiguration { + /** + * List of IPv6 addresses that will be assigned to the gateway during creation. + */ + "addresses"?: Array; + /** + * List of IPv6 prefixes from which to provision IPv6 addresses from. This is required if more than one prefix exists on the subnet. + */ + "subnetCidrs"?: Array; +} + +export namespace Ipv6AddressConfiguration { + export function getJsonObj(obj: Ipv6AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Ipv6AddressConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index d00a5e12c2..ee7d3971f0 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apiplatform/package.json b/lib/apiplatform/package.json index cef51f27bd..7f6de499af 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Api Platform Service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 64667f32f3..6fdabc5582 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 69baaed847..cfa3082e94 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apm Control Plane Service", "repository": { "type": "git", diff --git a/lib/apmsynthetics/package.json b/lib/apmsynthetics/package.json index 1da646dfe2..2928d326c5 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index 0b751330a8..57c728a476 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index f84bbaa04a..f6a9bfa9f5 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index d06f2085b0..b687a72d68 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 83d6486ef7..7a348cdb81 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 290db768ff..5ef7a6a72a 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/lib/model/bastion-summary.ts b/lib/bastion/lib/model/bastion-summary.ts index 74019482d5..f797a6a7c0 100644 --- a/lib/bastion/lib/model/bastion-summary.ts +++ b/lib/bastion/lib/model/bastion-summary.ts @@ -84,6 +84,13 @@ export interface BastionSummary { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace BastionSummary { diff --git a/lib/bastion/lib/model/bastion.ts b/lib/bastion/lib/model/bastion.ts index 1440c68877..beff81db93 100644 --- a/lib/bastion/lib/model/bastion.ts +++ b/lib/bastion/lib/model/bastion.ts @@ -110,6 +110,13 @@ export interface Bastion { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace Bastion { diff --git a/lib/bastion/lib/model/create-bastion-details.ts b/lib/bastion/lib/model/create-bastion-details.ts index f8bc48bc9a..204d2187d8 100644 --- a/lib/bastion/lib/model/create-bastion-details.ts +++ b/lib/bastion/lib/model/create-bastion-details.ts @@ -69,6 +69,13 @@ export interface CreateBastionDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace CreateBastionDetails { diff --git a/lib/bastion/lib/model/update-bastion-details.ts b/lib/bastion/lib/model/update-bastion-details.ts index 64030e63d1..ff55be6c9b 100644 --- a/lib/bastion/lib/model/update-bastion-details.ts +++ b/lib/bastion/lib/model/update-bastion-details.ts @@ -43,6 +43,13 @@ export interface UpdateBastionDetails { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Security attributes for this resource. Each key is predefined and scoped to a namespace. + * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + * Example: {@code {\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}} + * + */ + "securityAttributes"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateBastionDetails { diff --git a/lib/bastion/package.json b/lib/bastion/package.json index d87791f74f..9f484e20aa 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 49c0c17efb..9bab64529b 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index ff381994e2..9963fc2395 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 33aaee291f..c112bbcd53 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 67e4832efd..db85d756fe 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index 5c3690b45b..62e054ef4b 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 9337d3d945..7e1d40f2bd 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index bcd817dd05..4a525612ff 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index d33d933d75..5ba0615bda 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 788769a9b7..798fc4c391 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index e522e64f88..150023e618 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 607df8aaf8..777c784266 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/lib/region.ts b/lib/common/lib/region.ts index 9504b1195d..38d13bfaad 100644 --- a/lib/common/lib/region.ts +++ b/lib/common/lib/region.ts @@ -117,6 +117,7 @@ export class Region { public static EU_MADRID_3: Region = Region.register("eu-madrid-3", Realm.OC1, "orf"); public static AP_CHENNAI_1: Region = Region.register("ap-chennai-1", Realm.OC1, "des"); public static US_COLUMBUS_1: Region = Region.register("us-columbus-1", Realm.OC1, "vkz"); + public static EU_TURIN_1: Region = Region.register("eu-turin-1", Realm.OC1, "nrq"); // OC2 public static US_LANGLEY_1: Region = Region.register("us-langley-1", Realm.OC2, "lfi"); diff --git a/lib/common/package.json b/lib/common/package.json index 4bc48be64b..b4c8240e66 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/common/tests/resources/developer-tool-configuration.json b/lib/common/tests/resources/developer-tool-configuration.json index 8430039a9f..ca888f0770 100644 --- a/lib/common/tests/resources/developer-tool-configuration.json +++ b/lib/common/tests/resources/developer-tool-configuration.json @@ -490,5 +490,11 @@ "realmKey": "oc1", "regionIdentifier": "us-columbus-1", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "nrq", + "realmKey": "oc1", + "regionIdentifier": "eu-turin-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/lib/common/tests/resources/regions.json b/lib/common/tests/resources/regions.json index 5c2455c8f1..b330520495 100644 --- a/lib/common/tests/resources/regions.json +++ b/lib/common/tests/resources/regions.json @@ -490,5 +490,11 @@ "realmKey": "oc1", "regionIdentifier": "us-columbus-1", "realmDomainComponent": "oraclecloud.com" + }, + { + "regionKey": "nrq", + "realmKey": "oc1", + "regionIdentifier": "eu-turin-1", + "realmDomainComponent": "oraclecloud.com" } ] \ No newline at end of file diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index e5d7abfcb5..6101c87f84 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Compute Cloud At Customer Service", "repository": { "type": "git", diff --git a/lib/computeinstanceagent/package.json b/lib/computeinstanceagent/package.json index 5f726da596..7e538b8066 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index b31f137001..1cf2729a10 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 1c4b080991..762b863291 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/lib/client.ts b/lib/core/lib/client.ts index 11a1029b4e..64fc527c74 100644 --- a/lib/core/lib/client.ts +++ b/lib/core/lib/client.ts @@ -5548,9 +5548,7 @@ For more information, see [Volume Groups](https://docs.oracle.com/iaas/Content/B let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVolumeKmsKeyRequest.ifMatch, - "opc-parent-resource-principal-token-url": - updateVolumeKmsKeyRequest.opcParentResourcePrincipalTokenUrl + "if-match": updateVolumeKmsKeyRequest.ifMatch }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -16455,7 +16453,8 @@ To delete instances from a compute cluster, use the {@link #terminateInstance(Te } /** - * Customer can update displayName, tags and for compute GPU memory fabric record + * Customer can update displayName, tags and desired firmware bundle, recycle level for + * compute GPU memory fabric record * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateComputeGpuMemoryFabricRequest diff --git a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts index 4deb31b42f..6f3736c1d6 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric-summary.ts @@ -74,6 +74,32 @@ export interface ComputeGpuMemoryFabricSummary { * The total number of healthy bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "healthyHostCount"?: number; + /** + * The host platform identifier used for bundle queries + * + */ + "hostPlatformName"?: string; + /** + * The switch platform identifier used for bundle queries + * + */ + "switchPlatformName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + * + */ + "currentFirmwareBundleId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + * + */ + "targetFirmwareBundleId"?: string; + /** + * The state of Memory Fabric Firmware update + * + */ + "firmwareUpdateState"?: ComputeGpuMemoryFabricSummary.FirmwareUpdateState; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; /** * The date and time that the compute GPU memory fabric record was created, in the format defined by [RFC3339] * (https://tools.ietf.org/html/rfc3339). @@ -113,13 +139,40 @@ Example: {@code {\"Department\": \"Finance\"}} } export namespace ComputeGpuMemoryFabricSummary { + export enum FirmwareUpdateState { + WillUpdate = "WILL_UPDATE", + NoUpdate = "NO_UPDATE", + SkipRecycleEnabled = "SKIP_RECYCLE_ENABLED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: ComputeGpuMemoryFabricSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ComputeGpuMemoryFabricSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/compute-gpu-memory-fabric.ts b/lib/core/lib/model/compute-gpu-memory-fabric.ts index 0d0d6ecc6d..3929553ca4 100644 --- a/lib/core/lib/model/compute-gpu-memory-fabric.ts +++ b/lib/core/lib/model/compute-gpu-memory-fabric.ts @@ -79,6 +79,37 @@ export interface ComputeGpuMemoryFabric { * The total number of bare metal hosts located in this compute GPU memory fabric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "totalHostCount": number; + /** + * The host platform identifier used for bundle queries + * + */ + "hostPlatformName"?: string; + /** + * The switch platform identifier used for bundle queries + * + */ + "switchPlatformName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for current firmware bundle + * + */ + "currentFirmwareBundleId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for targeted firmware bundle + * + */ + "targetFirmwareBundleId"?: string; + /** + * The state of Memory Fabric Firmware update + * + */ + "firmwareUpdateState"?: ComputeGpuMemoryFabric.FirmwareUpdateState; + /** + * The reason for updating firmware bundle version of the GPU memory fabric. + * + */ + "firmwareUpdateReason"?: string; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; /** * The date and time that the compute GPU memory fabric record was created, in the format defined by [RFC3339] * (https://tools.ietf.org/html/rfc3339). @@ -141,13 +172,40 @@ export namespace ComputeGpuMemoryFabric { UnknownValue = "UNKNOWN_VALUE" } + export enum FirmwareUpdateState { + WillUpdate = "WILL_UPDATE", + NoUpdate = "NO_UPDATE", + SkipRecycleEnabled = "SKIP_RECYCLE_ENABLED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: ComputeGpuMemoryFabric): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ComputeGpuMemoryFabric): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/create-vcn-details.ts b/lib/core/lib/model/create-vcn-details.ts index 06e3bfed3a..263ea2ae0c 100644 --- a/lib/core/lib/model/create-vcn-details.ts +++ b/lib/core/lib/model/create-vcn-details.ts @@ -124,7 +124,7 @@ Example: {@code true} */ "isIpv6Enabled"?: boolean; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/model/index.ts b/lib/core/lib/model/index.ts index f08a727091..b342a76485 100644 --- a/lib/core/lib/model/index.ts +++ b/lib/core/lib/model/index.ts @@ -800,6 +800,8 @@ import * as MeasuredBootReportMeasurements from "./measured-boot-report-measurem export import MeasuredBootReportMeasurements = MeasuredBootReportMeasurements.MeasuredBootReportMeasurements; import * as MemberReplica from "./member-replica"; export import MemberReplica = MemberReplica.MemberReplica; +import * as MemoryFabricPreferencesDescriptor from "./memory-fabric-preferences-descriptor"; +export import MemoryFabricPreferencesDescriptor = MemoryFabricPreferencesDescriptor.MemoryFabricPreferencesDescriptor; import * as ModifyIpv4SubnetCidrDetails from "./modify-ipv4-subnet-cidr-details"; export import ModifyIpv4SubnetCidrDetails = ModifyIpv4SubnetCidrDetails.ModifyIpv4SubnetCidrDetails; import * as ModifyVcnCidrDetails from "./modify-vcn-cidr-details"; diff --git a/lib/core/lib/model/memory-fabric-preferences-descriptor.ts b/lib/core/lib/model/memory-fabric-preferences-descriptor.ts new file mode 100644 index 0000000000..e96b1b7a51 --- /dev/null +++ b/lib/core/lib/model/memory-fabric-preferences-descriptor.ts @@ -0,0 +1,63 @@ +/** + * Core Services API + * Use the Core Services API to manage resources such as virtual cloud networks (VCNs), +compute instances, and block storage volumes. For more information, see the console +documentation for the [Networking](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm), +[Compute](https://docs.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and +[Block Volume](https://docs.oracle.com/iaas/Content/Block/Concepts/overview.htm) services. +The required permissions are documented in the +[Details for the Core Services](https://docs.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article. + + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The preference object specified by customer. Contains customerDesiredFirmwareBundleId, fabricRecycleLevel. + * + */ +export interface MemoryFabricPreferencesDescriptor { + /** + * The desired firmware bundle id on the GPU memory fabric. + * + */ + "customerDesiredFirmwareBundleId"?: string; + /** + * The recycle level of GPU memory fabric. + * + */ + "fabricRecycleLevel"?: MemoryFabricPreferencesDescriptor.FabricRecycleLevel; +} + +export namespace MemoryFabricPreferencesDescriptor { + export enum FabricRecycleLevel { + FullRecycle = "FULL_RECYCLE", + SkipRecycle = "SKIP_RECYCLE", + OpportunisticFullRecycle = "OPPORTUNISTIC_FULL_RECYCLE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: MemoryFabricPreferencesDescriptor): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MemoryFabricPreferencesDescriptor): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts b/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts index 302454b6f1..b66865b21d 100644 --- a/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts +++ b/lib/core/lib/model/update-compute-gpu-memory-fabric-details.ts @@ -48,16 +48,33 @@ Example: {@code {\"Department\": \"Finance\"}} * */ "displayName"?: string; + "memoryFabricPreferences"?: model.MemoryFabricPreferencesDescriptor; } export namespace UpdateComputeGpuMemoryFabricDetails { export function getJsonObj(obj: UpdateComputeGpuMemoryFabricDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getJsonObj(obj.memoryFabricPreferences) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateComputeGpuMemoryFabricDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "memoryFabricPreferences": obj.memoryFabricPreferences + ? model.MemoryFabricPreferencesDescriptor.getDeserializedJsonObj( + obj.memoryFabricPreferences + ) + : undefined + } + }; return jsonObj; } diff --git a/lib/core/lib/model/update-vcn-details.ts b/lib/core/lib/model/update-vcn-details.ts index 0a8a5a3f1c..86788dc225 100644 --- a/lib/core/lib/model/update-vcn-details.ts +++ b/lib/core/lib/model/update-vcn-details.ts @@ -54,7 +54,7 @@ Example: {@code {\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\" */ "securityAttributes"?: { [key: string]: { [key: string]: any } }; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/model/vcn.ts b/lib/core/lib/model/vcn.ts index 9f6b62d2b8..c38a026d89 100644 --- a/lib/core/lib/model/vcn.ts +++ b/lib/core/lib/model/vcn.ts @@ -151,7 +151,7 @@ Example: {@code vcn1.oraclevcn.com} */ "vcnDomainName"?: string; /** - * Indicates whether Zpr Only Mode is enforced. + * Indicates whether ZPR Only mode is enforced. * */ "isZprOnly"?: boolean; diff --git a/lib/core/lib/request/update-volume-kms-key-request.ts b/lib/core/lib/request/update-volume-kms-key-request.ts index a9b262f4d3..e801b26fcd 100644 --- a/lib/core/lib/request/update-volume-kms-key-request.ts +++ b/lib/core/lib/request/update-volume-kms-key-request.ts @@ -33,10 +33,4 @@ export interface UpdateVolumeKmsKeyRequest extends common.BaseRequest { * */ "ifMatch"?: string; - /** - * The endpoint that will be used to get the resource principal token - * of the parent resource. - * - */ - "opcParentResourcePrincipalTokenUrl"?: string; } diff --git a/lib/core/package.json b/lib/core/package.json index 4be1ed0d68..f6fc0a419e 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index a9d4a763da..ff8ad92d54 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.121.1", + "version": "2.122.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index dfed138ea6..ff38949d90 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -31958,6 +31958,91 @@ This operation should always be performed on primary. } } + /** + * Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RefreshDataGuardHealthStatusRequest + * @return RefreshDataGuardHealthStatusResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/RefreshDataGuardHealthStatus.ts.html |here} to see how to use RefreshDataGuardHealthStatus API. + */ + public async refreshDataGuardHealthStatus( + refreshDataGuardHealthStatusRequest: requests.RefreshDataGuardHealthStatusRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#refreshDataGuardHealthStatus."); + const operationName = "refreshDataGuardHealthStatus"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RefreshDataGuardHealthStatus"; + const pathParams = { + "{databaseId}": refreshDataGuardHealthStatusRequest.databaseId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": refreshDataGuardHealthStatusRequest.opcRetryToken, + "opc-request-id": refreshDataGuardHealthStatusRequest.opcRequestId, + "if-match": refreshDataGuardHealthStatusRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + refreshDataGuardHealthStatusRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/databases/{databaseId}/dataGuard/actions/refresh", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "database", + bodyModel: model.Database, + type: "model.Database", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Refreshes a pluggable database (PDB) Refreshable clone. * diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index 24e00e02bd..b764159a03 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -5791,6 +5791,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forRefreshDataGuardHealthStatus + * + * @param request the request to send + * @return response returns RefreshDataGuardHealthStatusResponse, GetWorkRequestResponse tuple + */ + public async forRefreshDataGuardHealthStatus( + request: serviceRequests.RefreshDataGuardHealthStatusRequest + ): Promise<{ + response: serviceResponses.RefreshDataGuardHealthStatusResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const refreshDataGuardHealthStatusResponse = await this.client.refreshDataGuardHealthStatus( + request + ); + if (refreshDataGuardHealthStatusResponse.opcWorkRequestId === undefined) + return { + response: refreshDataGuardHealthStatusResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + refreshDataGuardHealthStatusResponse.opcWorkRequestId + ); + return { + response: refreshDataGuardHealthStatusResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forRefreshPluggableDatabase * diff --git a/lib/database/lib/model/aws-encryption-key-details.ts b/lib/database/lib/model/aws-encryption-key-details.ts new file mode 100644 index 0000000000..896103dec2 --- /dev/null +++ b/lib/database/lib/model/aws-encryption-key-details.ts @@ -0,0 +1,57 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for AWS Input + */ +export interface AwsEncryptionKeyDetails extends model.EncryptionKeyLocationDetails { + /** + * Provide the key OCID of a registered AWS key. + */ + "awsEncryptionKeyId": string; + + "providerType": string; +} + +export namespace AwsEncryptionKeyDetails { + export function getJsonObj(obj: AwsEncryptionKeyDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getJsonObj(obj) as AwsEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } + export const providerType = "AWS"; + export function getDeserializedJsonObj( + obj: AwsEncryptionKeyDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.EncryptionKeyLocationDetails.getDeserializedJsonObj( + obj + ) as AwsEncryptionKeyDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/backup-summary.ts b/lib/database/lib/model/backup-summary.ts index 313c78635f..b4433b940f 100644 --- a/lib/database/lib/model/backup-summary.ts +++ b/lib/database/lib/model/backup-summary.ts @@ -130,7 +130,8 @@ export interface BackupSummary { "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; } export namespace BackupSummary { diff --git a/lib/database/lib/model/backup.ts b/lib/database/lib/model/backup.ts index c5b9041b85..765ec1f719 100644 --- a/lib/database/lib/model/backup.ts +++ b/lib/database/lib/model/backup.ts @@ -123,7 +123,8 @@ export interface Backup { "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; } export namespace Backup { diff --git a/lib/database/lib/model/cloud-vm-cluster-summary.ts b/lib/database/lib/model/cloud-vm-cluster-summary.ts index 8cf545a719..8708a34b9f 100644 --- a/lib/database/lib/model/cloud-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-vm-cluster-summary.ts @@ -382,6 +382,7 @@ export namespace CloudVmClusterSummary { Azure = "AZURE", Oci = "OCI", Gcp = "GCP", + Aws = "AWS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/cloud-vm-cluster.ts b/lib/database/lib/model/cloud-vm-cluster.ts index 541368404d..67731d7ce7 100644 --- a/lib/database/lib/model/cloud-vm-cluster.ts +++ b/lib/database/lib/model/cloud-vm-cluster.ts @@ -383,6 +383,7 @@ export namespace CloudVmCluster { Azure = "AZURE", Oci = "OCI", Gcp = "GCP", + Aws = "AWS", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/create-data-guard-association-details.ts b/lib/database/lib/model/create-data-guard-association-details.ts index 7f996c37f4..5124954c77 100644 --- a/lib/database/lib/model/create-data-guard-association-details.ts +++ b/lib/database/lib/model/create-data-guard-association-details.ts @@ -46,7 +46,8 @@ The password must contain no fewer than nine characters and include: "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * The protection mode to set up between the primary and standby databases. For more information, see * [Oracle Data Guard Protection Modes](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000) diff --git a/lib/database/lib/model/create-database-details.ts b/lib/database/lib/model/create-database-details.ts index 12e86c32a7..08b9360a9b 100644 --- a/lib/database/lib/model/create-database-details.ts +++ b/lib/database/lib/model/create-database-details.ts @@ -107,7 +107,8 @@ Example: {@code {\"Department\": \"Finance\"}} "encryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; "storageSizeDetails"?: model.DatabaseStorageSizeDetails; } diff --git a/lib/database/lib/model/create-database-from-backup-details.ts b/lib/database/lib/model/create-database-from-backup-details.ts index 7019f38921..f66d5edb8b 100644 --- a/lib/database/lib/model/create-database-from-backup-details.ts +++ b/lib/database/lib/model/create-database-from-backup-details.ts @@ -27,7 +27,8 @@ export interface CreateDatabaseFromBackupDetails { "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -. */ diff --git a/lib/database/lib/model/create-standby-details.ts b/lib/database/lib/model/create-standby-details.ts index 95550255c1..28c03b9f56 100644 --- a/lib/database/lib/model/create-standby-details.ts +++ b/lib/database/lib/model/create-standby-details.ts @@ -37,7 +37,8 @@ export interface CreateStandbyDetails { "sourceEncryptionKeyLocationDetails"?: | model.ExternalHsmEncryptionDetails | model.GoogleCloudProviderEncryptionKeyDetails - | model.AzureEncryptionKeyDetails; + | model.AzureEncryptionKeyDetails + | model.AwsEncryptionKeyDetails; /** * True if active Data Guard is enabled. */ diff --git a/lib/database/lib/model/data-guard-group-member.ts b/lib/database/lib/model/data-guard-group-member.ts index 402d0084b1..cdbc841449 100644 --- a/lib/database/lib/model/data-guard-group-member.ts +++ b/lib/database/lib/model/data-guard-group-member.ts @@ -76,6 +76,39 @@ For more information, see * True if active Data Guard is enabled. */ "isActiveDataGuardEnabled"?: boolean; + /** + * The switchover readiness status of the Data Guard member. + * + */ + "switchoverReadiness"?: DataGuardGroupMember.SwitchoverReadiness; + /** + * The message explaining switchover readiness status. + * Example: {@code Address failed checks to avoid extended downtime.} + * + */ + "switchoverReadinessMessage"?: string; + /** + * The failover readiness status of the Data Guard member. + * + */ + "failoverReadiness"?: DataGuardGroupMember.FailoverReadiness; + /** + * The message explaining failover readiness status. + * Example: {@code This standby database is not failover ready.} + * + */ + "failoverReadinessMessage"?: string; + /** + * The Data loss exposure is the redo transport lag between the primary and standby databases. +*

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateEmailIpPoolDetails { + export function getJsonObj(obj: CreateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/create-sender-details.ts b/lib/email/lib/model/create-sender-details.ts index 76f25f6892..7d3afc3ef8 100644 --- a/lib/email/lib/model/create-sender-details.ts +++ b/lib/email/lib/model/create-sender-details.ts @@ -32,6 +32,10 @@ export interface CreateSenderDetails { * The email address of the sender. */ "emailAddress": string; + /** + * An optional field. The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/email/lib/model/email-ip-pool-collection.ts b/lib/email/lib/model/email-ip-pool-collection.ts new file mode 100644 index 0000000000..7b9c9d9217 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool-collection.ts @@ -0,0 +1,61 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an IpPool search. Contains EmailIpPoolSummary items. + */ +export interface EmailIpPoolCollection { + /** + * List of IpPools. + */ + "items": Array; +} + +export namespace EmailIpPoolCollection { + export function getJsonObj(obj: EmailIpPoolCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailIpPoolSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPoolCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailIpPoolSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-ip-pool-summary.ts b/lib/email/lib/model/email-ip-pool-summary.ts new file mode 100644 index 0000000000..803f5b3186 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool-summary.ts @@ -0,0 +1,125 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The properties that define an IpPool. + */ +export interface EmailIpPoolSummary { + /** + * The unique [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool resource that is immutable on creation. + */ + "id": string; + /** + * The name of the IpPool. The name must be unique within a region. +* The name is case sensitive and supported characters include alphanumeric, hyphens (\"-\") and underscore (\"_\") characters. +*

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

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; +} + +export namespace EmailIpPoolSummary { + export function getJsonObj(obj: EmailIpPoolSummary): object { + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPoolSummary): object { + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-ip-pool.ts b/lib/email/lib/model/email-ip-pool.ts new file mode 100644 index 0000000000..6f84eeede9 --- /dev/null +++ b/lib/email/lib/model/email-ip-pool.ts @@ -0,0 +1,161 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A collection of IP addresses used by the Email Delivery service to submit an email. + */ +export interface EmailIpPool { + /** + * The unique [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool resource that is immutable on creation. + */ + "id": string; + /** + * The name of the IpPool. The name must be unique within a region. +* The name is case sensitive and supported characters include alphanumeric, hyphens (\"-\") and underscore (\"_\") characters. +*

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

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

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; +} + +export namespace EmailIpPool { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: EmailIpPool): object { + const jsonObj = { + ...obj, + ...{ + "outboundIps": obj.outboundIps + ? obj.outboundIps.map(item => { + return model.EmailOutboundIpSummary.getJsonObj(item); + }) + : undefined, + + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailIpPool): object { + const jsonObj = { + ...obj, + ...{ + "outboundIps": obj.outboundIps + ? obj.outboundIps.map(item => { + return model.EmailOutboundIpSummary.getDeserializedJsonObj(item); + }) + : undefined, + + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-outbound-ip-collection.ts b/lib/email/lib/model/email-outbound-ip-collection.ts new file mode 100644 index 0000000000..d51c1ab55d --- /dev/null +++ b/lib/email/lib/model/email-outbound-ip-collection.ts @@ -0,0 +1,61 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an outbound public IP search. Contains EmailOutboundIpSummary items. + */ +export interface EmailOutboundIpCollection { + /** + * List of public IPs. + */ + "items": Array; +} + +export namespace EmailOutboundIpCollection { + export function getJsonObj(obj: EmailOutboundIpCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailOutboundIpSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailOutboundIpCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.EmailOutboundIpSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-outbound-ip-summary.ts b/lib/email/lib/model/email-outbound-ip-summary.ts new file mode 100644 index 0000000000..a4cd64de19 --- /dev/null +++ b/lib/email/lib/model/email-outbound-ip-summary.ts @@ -0,0 +1,79 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Outbound IP address assigned to the tenancy. + */ +export interface EmailOutboundIpSummary { + /** + * The public IP address assigned to the tenancy. + */ + "outboundIp": string; + /** + * The current state of the Email Outbound Public IP. + */ + "lifecycleState"?: EmailOutboundIpSummary.LifecycleState; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a + * resource in 'DRAINING' state. + * + */ + "lifecycleDetails"?: string; + /** + * The assignment state of the public IP address. + */ + "assignmentState": EmailOutboundIpSummary.AssignmentState; +} + +export namespace EmailOutboundIpSummary { + export enum LifecycleState { + Updating = "UPDATING", + Active = "ACTIVE", + Failed = "FAILED", + Draining = "DRAINING", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum AssignmentState { + Available = "AVAILABLE", + Assigned = "ASSIGNED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: EmailOutboundIpSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: EmailOutboundIpSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/index.ts b/lib/email/lib/model/index.ts index 631de4caa2..2f0435955d 100644 --- a/lib/email/lib/model/index.ts +++ b/lib/email/lib/model/index.ts @@ -18,10 +18,14 @@ For more information, see [Overview of the Email Delivery Service](https://docs. import * as ActionType from "./action-type"; export import ActionType = ActionType.ActionType; +import * as AddEmailOutboundIpDetails from "./add-email-outbound-ip-details"; +export import AddEmailOutboundIpDetails = AddEmailOutboundIpDetails.AddEmailOutboundIpDetails; import * as AddLockDetails from "./add-lock-details"; export import AddLockDetails = AddLockDetails.AddLockDetails; import * as ChangeEmailDomainCompartmentDetails from "./change-email-domain-compartment-details"; export import ChangeEmailDomainCompartmentDetails = ChangeEmailDomainCompartmentDetails.ChangeEmailDomainCompartmentDetails; +import * as ChangeEmailIpPoolCompartmentDetails from "./change-email-ip-pool-compartment-details"; +export import ChangeEmailIpPoolCompartmentDetails = ChangeEmailIpPoolCompartmentDetails.ChangeEmailIpPoolCompartmentDetails; import * as ChangeSenderCompartmentDetails from "./change-sender-compartment-details"; export import ChangeSenderCompartmentDetails = ChangeSenderCompartmentDetails.ChangeSenderCompartmentDetails; import * as Configuration from "./configuration"; @@ -30,6 +34,8 @@ import * as CreateDkimDetails from "./create-dkim-details"; export import CreateDkimDetails = CreateDkimDetails.CreateDkimDetails; import * as CreateEmailDomainDetails from "./create-email-domain-details"; export import CreateEmailDomainDetails = CreateEmailDomainDetails.CreateEmailDomainDetails; +import * as CreateEmailIpPoolDetails from "./create-email-ip-pool-details"; +export import CreateEmailIpPoolDetails = CreateEmailIpPoolDetails.CreateEmailIpPoolDetails; import * as CreateEmailReturnPathDetails from "./create-email-return-path-details"; export import CreateEmailReturnPathDetails = CreateEmailReturnPathDetails.CreateEmailReturnPathDetails; import * as CreateSenderDetails from "./create-sender-details"; @@ -50,6 +56,16 @@ import * as EmailDomainCollection from "./email-domain-collection"; export import EmailDomainCollection = EmailDomainCollection.EmailDomainCollection; import * as EmailDomainSummary from "./email-domain-summary"; export import EmailDomainSummary = EmailDomainSummary.EmailDomainSummary; +import * as EmailIpPool from "./email-ip-pool"; +export import EmailIpPool = EmailIpPool.EmailIpPool; +import * as EmailIpPoolCollection from "./email-ip-pool-collection"; +export import EmailIpPoolCollection = EmailIpPoolCollection.EmailIpPoolCollection; +import * as EmailIpPoolSummary from "./email-ip-pool-summary"; +export import EmailIpPoolSummary = EmailIpPoolSummary.EmailIpPoolSummary; +import * as EmailOutboundIpCollection from "./email-outbound-ip-collection"; +export import EmailOutboundIpCollection = EmailOutboundIpCollection.EmailOutboundIpCollection; +import * as EmailOutboundIpSummary from "./email-outbound-ip-summary"; +export import EmailOutboundIpSummary = EmailOutboundIpSummary.EmailOutboundIpSummary; import * as EmailReturnPath from "./email-return-path"; export import EmailReturnPath = EmailReturnPath.EmailReturnPath; import * as EmailReturnPathCollection from "./email-return-path-collection"; @@ -60,6 +76,8 @@ import * as OperationStatus from "./operation-status"; export import OperationStatus = OperationStatus.OperationStatus; import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; +import * as RemoveEmailOutboundIpDetails from "./remove-email-outbound-ip-details"; +export import RemoveEmailOutboundIpDetails = RemoveEmailOutboundIpDetails.RemoveEmailOutboundIpDetails; import * as RemoveLockDetails from "./remove-lock-details"; export import RemoveLockDetails = RemoveLockDetails.RemoveLockDetails; import * as ResourceLock from "./resource-lock"; @@ -80,6 +98,8 @@ import * as UpdateDkimDetails from "./update-dkim-details"; export import UpdateDkimDetails = UpdateDkimDetails.UpdateDkimDetails; import * as UpdateEmailDomainDetails from "./update-email-domain-details"; export import UpdateEmailDomainDetails = UpdateEmailDomainDetails.UpdateEmailDomainDetails; +import * as UpdateEmailIpPoolDetails from "./update-email-ip-pool-details"; +export import UpdateEmailIpPoolDetails = UpdateEmailIpPoolDetails.UpdateEmailIpPoolDetails; import * as UpdateEmailReturnPathDetails from "./update-email-return-path-details"; export import UpdateEmailReturnPathDetails = UpdateEmailReturnPathDetails.UpdateEmailReturnPathDetails; import * as UpdateSenderDetails from "./update-sender-details"; diff --git a/lib/email/lib/model/operation-type.ts b/lib/email/lib/model/operation-type.ts index 1b658d0c14..afa36dcf71 100644 --- a/lib/email/lib/model/operation-type.ts +++ b/lib/email/lib/model/operation-type.ts @@ -34,6 +34,10 @@ export enum OperationType { CreateReturnPath = "CREATE_RETURN_PATH", DeleteReturnPath = "DELETE_RETURN_PATH", UpdateReturnPath = "UPDATE_RETURN_PATH", + CreateIpPool = "CREATE_IP_POOL", + UpdateIpPool = "UPDATE_IP_POOL", + DeleteIpPool = "DELETE_IP_POOL", + MoveIpPool = "MOVE_IP_POOL", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/email/lib/model/remove-email-outbound-ip-details.ts b/lib/email/lib/model/remove-email-outbound-ip-details.ts new file mode 100644 index 0000000000..ce222761a6 --- /dev/null +++ b/lib/email/lib/model/remove-email-outbound-ip-details.ts @@ -0,0 +1,47 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Outbound IP details to be unassigned from the IpPool. + * + */ +export interface RemoveEmailOutboundIpDetails { + /** + * List of public IPs to REMOVE from the IpPool. + * After a public IP is unassigned, it will be marked as AVAILABLE and can be assigned to another IpPool. + * The last IP removed from the Pool will be deleted from the IP Pool after 24 hours. + * + */ + "outboundIps": Array; +} + +export namespace RemoveEmailOutboundIpDetails { + export function getJsonObj(obj: RemoveEmailOutboundIpDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RemoveEmailOutboundIpDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/sender-summary.ts b/lib/email/lib/model/sender-summary.ts index b6c5de2d5b..7dee211ca2 100644 --- a/lib/email/lib/model/sender-summary.ts +++ b/lib/email/lib/model/sender-summary.ts @@ -35,6 +35,10 @@ export interface SenderSummary { * The unique ID of the sender. */ "id": string; + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * The current status of the approved sender. */ diff --git a/lib/email/lib/model/sender.ts b/lib/email/lib/model/sender.ts index 808f47a9a9..1341f09e70 100644 --- a/lib/email/lib/model/sender.ts +++ b/lib/email/lib/model/sender.ts @@ -56,6 +56,10 @@ export interface Sender { * */ "emailDomainId"?: string; + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). @@ -93,6 +97,7 @@ export namespace Sender { Failed = "FAILED", Deleting = "DELETING", Deleted = "DELETED", + Updating = "UPDATING", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/email/lib/model/update-email-ip-pool-details.ts b/lib/email/lib/model/update-email-ip-pool-details.ts new file mode 100644 index 0000000000..52fdffed8f --- /dev/null +++ b/lib/email/lib/model/update-email-ip-pool-details.ts @@ -0,0 +1,59 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The attributes to update an IpPool which will be used to route emails. + */ +export interface UpdateEmailIpPoolDetails { + /** + * The description of the IpPool. Avoid entering confidential information. + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

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

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateEmailIpPoolDetails { + export function getJsonObj(obj: UpdateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateEmailIpPoolDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/update-sender-details.ts b/lib/email/lib/model/update-sender-details.ts index ce02f4a808..791a67abac 100644 --- a/lib/email/lib/model/update-sender-details.ts +++ b/lib/email/lib/model/update-sender-details.ts @@ -24,6 +24,10 @@ import common = require("oci-common"); * */ export interface UpdateSenderDetails { + /** + * The IpPool [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used to submit an email by Email Delivery when sent from this sender. + */ + "emailIpPoolId"?: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). diff --git a/lib/email/lib/request/add-email-ip-pool-lock-request.ts b/lib/email/lib/request/add-email-ip-pool-lock-request.ts new file mode 100644 index 0000000000..6a069c6c93 --- /dev/null +++ b/lib/email/lib/request/add-email-ip-pool-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailIpPoolLock.ts.html |here} to see how to use AddEmailIpPoolLockRequest. + */ +export interface AddEmailIpPoolLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * Details for adding a lock to a resource. + */ + "addLockDetails": model.AddLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/add-email-outbound-ip-request.ts b/lib/email/lib/request/add-email-outbound-ip-request.ts new file mode 100644 index 0000000000..4135824b18 --- /dev/null +++ b/lib/email/lib/request/add-email-outbound-ip-request.ts @@ -0,0 +1,49 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailOutboundIp.ts.html |here} to see how to use AddEmailOutboundIpRequest. + */ +export interface AddEmailOutboundIpRequest extends common.BaseRequest { + /** + * Details to add IPs to EmailIpPool. + */ + "addEmailOutboundIpDetails": model.AddEmailOutboundIpDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/email/lib/request/change-email-ip-pool-compartment-request.ts b/lib/email/lib/request/change-email-ip-pool-compartment-request.ts new file mode 100644 index 0000000000..097e2a781a --- /dev/null +++ b/lib/email/lib/request/change-email-ip-pool-compartment-request.ts @@ -0,0 +1,53 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ChangeEmailIpPoolCompartment.ts.html |here} to see how to use ChangeEmailIpPoolCompartmentRequest. + */ +export interface ChangeEmailIpPoolCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * Details for the compartment move. + */ + "changeEmailIpPoolCompartmentDetails": model.ChangeEmailIpPoolCompartmentDetails; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; +} diff --git a/lib/email/lib/request/create-email-ip-pool-request.ts b/lib/email/lib/request/create-email-ip-pool-request.ts new file mode 100644 index 0000000000..cd7c82c4b1 --- /dev/null +++ b/lib/email/lib/request/create-email-ip-pool-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/CreateEmailIpPool.ts.html |here} to see how to use CreateEmailIpPoolRequest. + */ +export interface CreateEmailIpPoolRequest extends common.BaseRequest { + /** + * Details for the new EmailIpPool. + */ + "createEmailIpPoolDetails": model.CreateEmailIpPoolDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; +} diff --git a/lib/email/lib/request/delete-email-ip-pool-request.ts b/lib/email/lib/request/delete-email-ip-pool-request.ts new file mode 100644 index 0000000000..3501f69a33 --- /dev/null +++ b/lib/email/lib/request/delete-email-ip-pool-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/DeleteEmailIpPool.ts.html |here} to see how to use DeleteEmailIpPoolRequest. + */ +export interface DeleteEmailIpPoolRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; +} diff --git a/lib/email/lib/request/get-email-ip-pool-request.ts b/lib/email/lib/request/get-email-ip-pool-request.ts new file mode 100644 index 0000000000..4524267956 --- /dev/null +++ b/lib/email/lib/request/get-email-ip-pool-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/GetEmailIpPool.ts.html |here} to see how to use GetEmailIpPoolRequest. + */ +export interface GetEmailIpPoolRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IpPool. + */ + "emailIpPoolId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; +} diff --git a/lib/email/lib/request/index.ts b/lib/email/lib/request/index.ts index 81e8dc1d0a..cd9a8e735a 100644 --- a/lib/email/lib/request/index.ts +++ b/lib/email/lib/request/index.ts @@ -18,18 +18,26 @@ For more information, see [Overview of the Email Delivery Service](https://docs. import * as AddEmailDomainLockRequest from "./add-email-domain-lock-request"; export import AddEmailDomainLockRequest = AddEmailDomainLockRequest.AddEmailDomainLockRequest; +import * as AddEmailIpPoolLockRequest from "./add-email-ip-pool-lock-request"; +export import AddEmailIpPoolLockRequest = AddEmailIpPoolLockRequest.AddEmailIpPoolLockRequest; +import * as AddEmailOutboundIpRequest from "./add-email-outbound-ip-request"; +export import AddEmailOutboundIpRequest = AddEmailOutboundIpRequest.AddEmailOutboundIpRequest; import * as AddReturnPathLockRequest from "./add-return-path-lock-request"; export import AddReturnPathLockRequest = AddReturnPathLockRequest.AddReturnPathLockRequest; import * as AddSenderLockRequest from "./add-sender-lock-request"; export import AddSenderLockRequest = AddSenderLockRequest.AddSenderLockRequest; import * as ChangeEmailDomainCompartmentRequest from "./change-email-domain-compartment-request"; export import ChangeEmailDomainCompartmentRequest = ChangeEmailDomainCompartmentRequest.ChangeEmailDomainCompartmentRequest; +import * as ChangeEmailIpPoolCompartmentRequest from "./change-email-ip-pool-compartment-request"; +export import ChangeEmailIpPoolCompartmentRequest = ChangeEmailIpPoolCompartmentRequest.ChangeEmailIpPoolCompartmentRequest; import * as ChangeSenderCompartmentRequest from "./change-sender-compartment-request"; export import ChangeSenderCompartmentRequest = ChangeSenderCompartmentRequest.ChangeSenderCompartmentRequest; import * as CreateDkimRequest from "./create-dkim-request"; export import CreateDkimRequest = CreateDkimRequest.CreateDkimRequest; import * as CreateEmailDomainRequest from "./create-email-domain-request"; export import CreateEmailDomainRequest = CreateEmailDomainRequest.CreateEmailDomainRequest; +import * as CreateEmailIpPoolRequest from "./create-email-ip-pool-request"; +export import CreateEmailIpPoolRequest = CreateEmailIpPoolRequest.CreateEmailIpPoolRequest; import * as CreateEmailReturnPathRequest from "./create-email-return-path-request"; export import CreateEmailReturnPathRequest = CreateEmailReturnPathRequest.CreateEmailReturnPathRequest; import * as CreateSenderRequest from "./create-sender-request"; @@ -40,6 +48,8 @@ import * as DeleteDkimRequest from "./delete-dkim-request"; export import DeleteDkimRequest = DeleteDkimRequest.DeleteDkimRequest; import * as DeleteEmailDomainRequest from "./delete-email-domain-request"; export import DeleteEmailDomainRequest = DeleteEmailDomainRequest.DeleteEmailDomainRequest; +import * as DeleteEmailIpPoolRequest from "./delete-email-ip-pool-request"; +export import DeleteEmailIpPoolRequest = DeleteEmailIpPoolRequest.DeleteEmailIpPoolRequest; import * as DeleteEmailReturnPathRequest from "./delete-email-return-path-request"; export import DeleteEmailReturnPathRequest = DeleteEmailReturnPathRequest.DeleteEmailReturnPathRequest; import * as DeleteSenderRequest from "./delete-sender-request"; @@ -52,6 +62,8 @@ import * as GetEmailConfigurationRequest from "./get-email-configuration-request export import GetEmailConfigurationRequest = GetEmailConfigurationRequest.GetEmailConfigurationRequest; import * as GetEmailDomainRequest from "./get-email-domain-request"; export import GetEmailDomainRequest = GetEmailDomainRequest.GetEmailDomainRequest; +import * as GetEmailIpPoolRequest from "./get-email-ip-pool-request"; +export import GetEmailIpPoolRequest = GetEmailIpPoolRequest.GetEmailIpPoolRequest; import * as GetEmailReturnPathRequest from "./get-email-return-path-request"; export import GetEmailReturnPathRequest = GetEmailReturnPathRequest.GetEmailReturnPathRequest; import * as GetSenderRequest from "./get-sender-request"; @@ -64,6 +76,10 @@ import * as ListDkimsRequest from "./list-dkims-request"; export import ListDkimsRequest = ListDkimsRequest.ListDkimsRequest; import * as ListEmailDomainsRequest from "./list-email-domains-request"; export import ListEmailDomainsRequest = ListEmailDomainsRequest.ListEmailDomainsRequest; +import * as ListEmailIpPoolsRequest from "./list-email-ip-pools-request"; +export import ListEmailIpPoolsRequest = ListEmailIpPoolsRequest.ListEmailIpPoolsRequest; +import * as ListEmailOutboundIpsRequest from "./list-email-outbound-ips-request"; +export import ListEmailOutboundIpsRequest = ListEmailOutboundIpsRequest.ListEmailOutboundIpsRequest; import * as ListEmailReturnPathsRequest from "./list-email-return-paths-request"; export import ListEmailReturnPathsRequest = ListEmailReturnPathsRequest.ListEmailReturnPathsRequest; import * as ListSendersRequest from "./list-senders-request"; @@ -78,6 +94,10 @@ import * as ListWorkRequestsRequest from "./list-work-requests-request"; export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; import * as RemoveEmailDomainLockRequest from "./remove-email-domain-lock-request"; export import RemoveEmailDomainLockRequest = RemoveEmailDomainLockRequest.RemoveEmailDomainLockRequest; +import * as RemoveEmailIpPoolLockRequest from "./remove-email-ip-pool-lock-request"; +export import RemoveEmailIpPoolLockRequest = RemoveEmailIpPoolLockRequest.RemoveEmailIpPoolLockRequest; +import * as RemoveEmailOutboundIpRequest from "./remove-email-outbound-ip-request"; +export import RemoveEmailOutboundIpRequest = RemoveEmailOutboundIpRequest.RemoveEmailOutboundIpRequest; import * as RemoveReturnPathLockRequest from "./remove-return-path-lock-request"; export import RemoveReturnPathLockRequest = RemoveReturnPathLockRequest.RemoveReturnPathLockRequest; import * as RemoveSenderLockRequest from "./remove-sender-lock-request"; @@ -86,6 +106,8 @@ import * as UpdateDkimRequest from "./update-dkim-request"; export import UpdateDkimRequest = UpdateDkimRequest.UpdateDkimRequest; import * as UpdateEmailDomainRequest from "./update-email-domain-request"; export import UpdateEmailDomainRequest = UpdateEmailDomainRequest.UpdateEmailDomainRequest; +import * as UpdateEmailIpPoolRequest from "./update-email-ip-pool-request"; +export import UpdateEmailIpPoolRequest = UpdateEmailIpPoolRequest.UpdateEmailIpPoolRequest; import * as UpdateEmailReturnPathRequest from "./update-email-return-path-request"; export import UpdateEmailReturnPathRequest = UpdateEmailReturnPathRequest.UpdateEmailReturnPathRequest; import * as UpdateSenderRequest from "./update-sender-request"; diff --git a/lib/email/lib/request/list-email-ip-pools-request.ts b/lib/email/lib/request/list-email-ip-pools-request.ts new file mode 100644 index 0000000000..d0e4c10db2 --- /dev/null +++ b/lib/email/lib/request/list-email-ip-pools-request.ts @@ -0,0 +1,79 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/ListEmailIpPools.ts.html |here} to see how to use ListEmailIpPoolsRequest. + */ +export interface ListEmailIpPoolsRequest extends common.BaseRequest { + /** + * The OCID for the compartment. + */ + "compartmentId": string; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * A filter to only return resources that match the given id exactly. + * + */ + "id"?: string; + /** + * A filter to only return resources that match the given name exactly. + * + */ + "name"?: string; + /** + * Filter returned list by specified lifecycle state. This parameter is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. {@code 1} is the minimum, {@code 1000} is the maximum. For important details about + * how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous \"List\" call. + * For important details about how pagination works, + * see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending or descending order. + * + */ + "sortOrder"?: model.SortOrder; + /** + * Specifies the attribute with which to sort the Email IpPools. +*

+Default: {@code TIMECREATED} +*

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

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

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

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

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

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

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

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

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