From e00d10b8fc2b1ee161cdd984b4dc70aaed46c4ae Mon Sep 17 00:00:00 2001 From: Yash Chandra Date: Tue, 19 Aug 2025 13:39:50 -0700 Subject: [PATCH 1/2] Removed deprecated services --- lib/aianomalydetection/README.md | 22 - lib/aianomalydetection/index.ts | 27 - .../lib/anomalydetection-waiter.ts | 138 - lib/aianomalydetection/lib/client.ts | 3085 ------- .../lib/model/action-type.ts | 44 - .../model/ai-private-endpoint-collection.ts | 59 - .../lib/model/ai-private-endpoint-summary.ts | 93 - .../lib/model/ai-private-endpoint.ts | 111 - .../lib/model/anomaly-detect-result.ts | 59 - lib/aianomalydetection/lib/model/anomaly.ts | 57 - ...ai-private-endpoint-compartment-details.ts | 41 - .../change-data-asset-compartment-details.ts | 41 - ...-detect-anomaly-job-compartment-details.ts | 43 - .../model/change-model-compartment-details.ts | 43 - .../change-project-compartment-details.ts | 43 - .../create-ai-private-endpoint-details.ts | 68 - .../lib/model/create-data-asset-details.ts | 88 - .../create-detect-anomaly-job-details.ts | 88 - .../lib/model/create-model-details.ts | 80 - .../lib/model/create-project-details.ts | 62 - .../lib/model/data-asset-collection.ts | 59 - .../lib/model/data-asset-summary.ts | 95 - .../lib/model/data-asset.ts | 119 - lib/aianomalydetection/lib/model/data-item.ts | 45 - .../lib/model/data-source-details-at-p.ts | 97 - .../lib/model/data-source-details-influx.ts | 78 - .../data-source-details-object-storage.ts | 68 - .../lib/model/data-source-details.ts | 80 - .../lib/model/data-source-type.ts | 42 - .../lib/model/detect-anomalies-details.ts | 81 - .../model/detect-anomaly-job-collection.ts | 59 - .../lib/model/detect-anomaly-job-summary.ts | 101 - .../lib/model/detect-anomaly-job.ts | 143 - .../lib/model/detection-result-item.ts | 71 - .../embedded-detect-anomalies-request.ts | 67 - .../lib/model/embedded-input-details.ts | 60 - lib/aianomalydetection/lib/model/index.ts | 165 - .../lib/model/influx-details-v1v8.ts | 59 - .../lib/model/influx-details-v2v0.ts | 59 - .../lib/model/influx-details.ts | 70 - .../lib/model/influx-version.ts | 41 - .../model/inline-detect-anomalies-request.ts | 78 - .../lib/model/inline-input-details.ts | 74 - .../lib/model/inline-input-job-details.ts | 57 - .../lib/model/input-details.ts | 80 - .../lib/model/input-job-details.ts | 70 - .../lib/model/model-collection.ts | 59 - .../lib/model/model-summary.ts | 105 - .../lib/model/model-training-details.ts | 67 - .../lib/model/model-training-results.ts | 100 - lib/aianomalydetection/lib/model/model.ts | 127 - .../lib/model/object-list-input-details.ts | 67 - .../model/object-list-input-job-details.ts | 69 - .../lib/model/object-location.ts | 49 - .../lib/model/object-storage-location.ts | 67 - .../lib/model/object-store-output-details.ts | 65 - .../lib/model/operation-status.ts | 46 - .../lib/model/operation-type.ts | 46 - .../lib/model/output-details.ts | 60 - .../lib/model/output-job-details.ts | 60 - .../lib/model/per-signal-details.ts | 88 - .../lib/model/project-collection.ts | 59 - .../lib/model/project-summary.ts | 83 - lib/aianomalydetection/lib/model/project.ts | 97 - .../lib/model/row-reduction-details.ts | 62 - .../lib/model/sort-order.ts | 35 - .../update-ai-private-endpoint-details.ts | 59 - .../lib/model/update-data-asset-details.ts | 57 - .../update-detect-anomaly-job-details.ts | 46 - .../lib/model/update-model-details.ts | 57 - .../lib/model/update-project-details.ts | 57 - .../model/work-request-error-collection.ts | 59 - .../lib/model/work-request-error.ts | 51 - .../work-request-log-entry-collection.ts | 59 - .../lib/model/work-request-log-entry.ts | 45 - .../lib/model/work-request-resource.ts | 57 - .../model/work-request-summary-collection.ts | 59 - .../lib/model/work-request-summary.ts | 100 - .../lib/model/work-request.ts | 100 - .../request/cancel-work-request-request.ts | 38 - ...ai-private-endpoint-compartment-request.ts | 51 - .../change-data-asset-compartment-request.ts | 51 - ...-detect-anomaly-job-compartment-request.ts | 42 - .../change-model-compartment-request.ts | 51 - .../change-project-compartment-request.ts | 51 - .../create-ai-private-endpoint-request.ts | 38 - .../lib/request/create-data-asset-request.ts | 38 - .../create-detect-anomaly-job-request.ts | 47 - .../lib/request/create-model-request.ts | 38 - .../lib/request/create-project-request.ts | 38 - .../delete-ai-private-endpoint-request.ts | 38 - .../lib/request/delete-data-asset-request.ts | 38 - .../delete-detect-anomaly-job-request.ts | 38 - .../lib/request/delete-model-request.ts | 38 - .../lib/request/delete-project-request.ts | 38 - .../lib/request/detect-anomalies-request.ts | 58 - .../get-ai-private-endpoint-request.ts | 29 - .../lib/request/get-data-asset-request.ts | 29 - .../request/get-detect-anomaly-job-request.ts | 29 - .../lib/request/get-model-request.ts | 29 - .../lib/request/get-project-request.ts | 29 - .../lib/request/get-work-request-request.ts | 29 - lib/aianomalydetection/lib/request/index.ts | 88 - .../list-ai-private-endpoints-request.ts | 67 - .../lib/request/list-data-assets-request.ts | 67 - .../list-detect-anomaly-jobs-request.ts | 75 - .../lib/request/list-models-request.ts | 70 - .../lib/request/list-projects-request.ts | 66 - .../list-work-request-errors-request.ts | 37 - .../request/list-work-request-logs-request.ts | 37 - .../lib/request/list-work-requests-request.ts | 41 - .../update-ai-private-endpoint-request.ts | 42 - .../lib/request/update-data-asset-request.ts | 42 - .../update-detect-anomaly-job-request.ts | 42 - .../lib/request/update-model-request.ts | 42 - .../lib/request/update-project-request.ts | 42 - .../response/cancel-work-request-response.ts | 24 - ...i-private-endpoint-compartment-response.ts | 29 - .../change-data-asset-compartment-response.ts | 33 - ...detect-anomaly-job-compartment-response.ts | 24 - .../change-model-compartment-response.ts | 24 - .../change-project-compartment-response.ts | 24 - .../create-ai-private-endpoint-response.ts | 29 - .../response/create-data-asset-response.ts | 33 - .../create-detect-anomaly-job-response.ts | 33 - .../lib/response/create-model-response.ts | 43 - .../lib/response/create-project-response.ts | 33 - .../delete-ai-private-endpoint-response.ts | 29 - .../response/delete-data-asset-response.ts | 24 - .../delete-detect-anomaly-job-response.ts | 24 - .../lib/response/delete-model-response.ts | 29 - .../lib/response/delete-project-response.ts | 29 - .../lib/response/detect-anomalies-response.ts | 28 - .../get-ai-private-endpoint-response.ts | 33 - .../lib/response/get-data-asset-response.ts | 33 - .../get-detect-anomaly-job-response.ts | 33 - .../lib/response/get-model-response.ts | 33 - .../lib/response/get-project-response.ts | 33 - .../lib/response/get-work-request-response.ts | 37 - lib/aianomalydetection/lib/response/index.ts | 88 - .../list-ai-private-endpoints-response.ts | 35 - .../lib/response/list-data-assets-response.ts | 35 - .../list-detect-anomaly-jobs-response.ts | 42 - .../lib/response/list-models-response.ts | 35 - .../lib/response/list-projects-response.ts | 35 - .../list-work-request-errors-response.ts | 35 - .../list-work-request-logs-response.ts | 35 - .../response/list-work-requests-response.ts | 35 - .../update-ai-private-endpoint-response.ts | 29 - .../response/update-data-asset-response.ts | 33 - .../update-detect-anomaly-job-response.ts | 33 - .../lib/response/update-model-response.ts | 29 - .../lib/response/update-project-response.ts | 33 - lib/aianomalydetection/package.json | 28 - lib/aianomalydetection/tsconfig.json | 12 - lib/dts/README.md | 21 - lib/dts/index.ts | 40 - lib/dts/lib/applianceexportjob-waiter.ts | 44 - lib/dts/lib/client.ts | 4342 --------- .../lib/model/appliance-export-job-summary.ts | 71 - lib/dts/lib/model/appliance-export-job.ts | 172 - lib/dts/lib/model/attach-devices-details.ts | 35 - ...ppliance-export-job-compartment-details.ts | 36 - ...change-transfer-job-compartment-details.ts | 36 - .../create-appliance-export-job-details.ts | 77 - .../create-transfer-appliance-details.ts | 50 - ...-transfer-appliance-entitlement-details.ts | 51 - .../model/create-transfer-device-details.ts | 33 - .../lib/model/create-transfer-job-details.ts | 56 - .../model/create-transfer-package-details.ts | 34 - lib/dts/lib/model/detach-devices-details.ts | 35 - lib/dts/lib/model/index.ts | 85 - .../lib/model/multiple-transfer-appliances.ts | 53 - .../lib/model/multiple-transfer-devices.ts | 53 - .../lib/model/multiple-transfer-packages.ts | 53 - lib/dts/lib/model/new-transfer-device.ts | 47 - lib/dts/lib/model/shipping-address.ts | 43 - lib/dts/lib/model/shipping-vendors.ts | 35 - .../model/transfer-appliance-certificate.ts | 32 - ...ransfer-appliance-encryption-passphrase.ts | 32 - .../transfer-appliance-entitlement-summary.ts | 57 - .../model/transfer-appliance-entitlement.ts | 71 - .../model/transfer-appliance-public-key.ts | 32 - .../lib/model/transfer-appliance-summary.ts | 66 - lib/dts/lib/model/transfer-appliance.ts | 111 - lib/dts/lib/model/transfer-device-summary.ts | 56 - lib/dts/lib/model/transfer-device.ts | 57 - lib/dts/lib/model/transfer-job-summary.ts | 77 - lib/dts/lib/model/transfer-job.ts | 90 - lib/dts/lib/model/transfer-package-summary.ts | 51 - lib/dts/lib/model/transfer-package.ts | 60 - .../update-appliance-export-job-details.ts | 131 - .../update-transfer-appliance-details.ts | 74 - .../model/update-transfer-device-details.ts | 38 - .../lib/model/update-transfer-job-details.ts | 59 - .../model/update-transfer-package-details.ts | 40 - ...ach-devices-to-transfer-package-request.ts | 42 - ...ppliance-export-job-compartment-request.ts | 50 - ...change-transfer-job-compartment-request.ts | 50 - .../create-appliance-export-job-request.ts | 40 - ...fer-appliance-admin-credentials-request.ts | 42 - ...-transfer-appliance-entitlement-request.ts | 40 - .../create-transfer-appliance-request.ts | 38 - .../request/create-transfer-device-request.ts | 38 - .../request/create-transfer-job-request.ts | 40 - .../create-transfer-package-request.ts | 38 - .../delete-appliance-export-job-request.ts | 46 - .../delete-transfer-appliance-request.ts | 38 - .../request/delete-transfer-device-request.ts | 38 - .../request/delete-transfer-job-request.ts | 40 - .../delete-transfer-package-request.ts | 38 - ...h-devices-from-transfer-package-request.ts | 42 - .../get-appliance-export-job-request.ts | 31 - ...rtificate-authority-certificate-request.ts | 30 - ...appliance-encryption-passphrase-request.ts | 29 - ...-transfer-appliance-entitlement-request.ts | 40 - .../request/get-transfer-appliance-request.ts | 29 - .../request/get-transfer-device-request.ts | 29 - .../lib/request/get-transfer-job-request.ts | 31 - .../request/get-transfer-package-request.ts | 29 - lib/dts/lib/request/index.ts | 85 - .../list-appliance-export-jobs-request.ts | 67 - .../request/list-shipping-vendors-request.ts | 20 - ...-transfer-appliance-entitlement-request.ts | 39 - .../list-transfer-appliances-request.ts | 57 - .../request/list-transfer-devices-request.ts | 48 - .../lib/request/list-transfer-jobs-request.ts | 65 - .../request/list-transfer-packages-request.ts | 47 - .../update-appliance-export-job-request.ts | 41 - .../update-transfer-appliance-request.ts | 39 - .../request/update-transfer-device-request.ts | 39 - .../request/update-transfer-job-request.ts | 41 - .../update-transfer-package-request.ts | 39 - ...ch-devices-to-transfer-package-response.ts | 26 - ...pliance-export-job-compartment-response.ts | 22 - ...hange-transfer-job-compartment-response.ts | 26 - .../create-appliance-export-job-response.ts | 30 - ...er-appliance-admin-credentials-response.ts | 30 - ...transfer-appliance-entitlement-response.ts | 30 - .../create-transfer-appliance-response.ts | 30 - .../create-transfer-device-response.ts | 30 - .../response/create-transfer-job-response.ts | 30 - .../create-transfer-package-response.ts | 30 - .../delete-appliance-export-job-response.ts | 22 - .../delete-transfer-appliance-response.ts | 22 - .../delete-transfer-device-response.ts | 22 - .../response/delete-transfer-job-response.ts | 24 - .../delete-transfer-package-response.ts | 22 - ...-devices-from-transfer-package-response.ts | 26 - .../get-appliance-export-job-response.ts | 30 - ...tificate-authority-certificate-response.ts | 30 - ...ppliance-encryption-passphrase-response.ts | 30 - ...transfer-appliance-entitlement-response.ts | 26 - .../get-transfer-appliance-response.ts | 30 - .../response/get-transfer-device-response.ts | 30 - .../lib/response/get-transfer-job-response.ts | 30 - .../response/get-transfer-package-response.ts | 30 - lib/dts/lib/response/index.ts | 85 - .../list-appliance-export-jobs-response.ts | 35 - .../list-shipping-vendors-response.ts | 26 - ...transfer-appliance-entitlement-response.ts | 26 - .../list-transfer-appliances-response.ts | 26 - .../list-transfer-devices-response.ts | 26 - .../response/list-transfer-jobs-response.ts | 35 - .../list-transfer-packages-response.ts | 26 - .../update-appliance-export-job-response.ts | 30 - .../update-transfer-appliance-response.ts | 30 - .../update-transfer-device-response.ts | 30 - .../response/update-transfer-job-response.ts | 30 - .../update-transfer-package-response.ts | 30 - lib/dts/lib/transferappliance-waiter.ts | 44 - .../transferapplianceentitlement-waiter.ts | 44 - lib/dts/lib/transferdevice-waiter.ts | 44 - lib/dts/lib/transferjob-waiter.ts | 44 - lib/dts/lib/transferpackage-waiter.ts | 44 - lib/dts/package.json | 28 - lib/dts/tsconfig.json | 12 - lib/osmanagement/README.md | 21 - lib/osmanagement/index.ts | 27 - lib/osmanagement/lib/client.ts | 8056 ----------------- ...add-packages-to-software-source-details.ts | 40 - lib/osmanagement/lib/model/api-error.ts | 46 - lib/osmanagement/lib/model/arch-types.ts | 43 - ...ware-source-to-managed-instance-details.ts | 42 - ...ware-source-to-managed-instance-details.ts | 42 - .../lib/model/autonomous-settings.ts | 40 - .../available-software-source-summary.ts | 56 - .../lib/model/available-update-summary.ts | 106 - .../model/available-windows-update-summary.ts | 59 - ...aged-instance-group-compartment-details.ts | 44 - ...hange-scheduled-job-compartment-details.ts | 42 - ...nge-software-source-compartment-details.ts | 42 - lib/osmanagement/lib/model/checksum-types.ts | 42 - .../lib/model/content-availability.ts | 49 - .../model/crash-event-system-information.ts | 64 - .../create-managed-instance-group-details.ts | 66 - .../lib/model/create-scheduled-job-details.ts | 154 - .../model/create-software-source-details.ts | 84 - ...re-source-from-managed-instance-details.ts | 42 - ...re-source-from-managed-instance-details.ts | 42 - lib/osmanagement/lib/model/erratum-summary.ts | 68 - lib/osmanagement/lib/model/erratum.ts | 136 - .../lib/model/event-collection.ts | 58 - lib/osmanagement/lib/model/event-content.ts | 48 - lib/osmanagement/lib/model/event-report.ts | 40 - lib/osmanagement/lib/model/event-summary.ts | 78 - lib/osmanagement/lib/model/event-type.ts | 59 - lib/osmanagement/lib/model/event.ts | 116 - lib/osmanagement/lib/model/id.ts | 44 - lib/osmanagement/lib/model/index.ts | 192 - .../lib/model/installable-package-summary.ts | 78 - .../lib/model/installed-package-summary.ts | 86 - .../model/installed-windows-update-summary.ts | 51 - lib/osmanagement/lib/model/interval-types.ts | 42 - .../lib/model/is-eligible-for-installation.ts | 43 - .../lib/model/kernel-crash-event.ts | 68 - .../lib/model/kernel-oops-event.ts | 68 - .../lib/model/kernel-vm-core-information.ts | 44 - .../lib/model/lifecycle-states.ts | 44 - ...ule-streams-on-managed-instance-details.ts | 109 - .../model/managed-instance-group-summary.ts | 76 - .../lib/model/managed-instance-group.ts | 94 - .../lib/model/managed-instance-summary.ts | 88 - .../lib/model/managed-instance.ts | 196 - .../lib/model/module-stream-details.ts | 44 - ...dule-stream-on-managed-instance-summary.ts | 108 - .../model/module-stream-profile-details.ts | 48 - ...eam-profile-on-managed-instance-summary.ts | 76 - .../model/module-stream-profile-summary.ts | 48 - .../lib/model/module-stream-profile.ts | 64 - .../lib/model/module-stream-summary.ts | 50 - lib/osmanagement/lib/model/module-stream.ts | 76 - .../lib/model/operation-status.ts | 44 - lib/osmanagement/lib/model/operation-types.ts | 48 - lib/osmanagement/lib/model/os-families.ts | 41 - lib/osmanagement/lib/model/package-name.ts | 40 - .../lib/model/package-update-types.ts | 44 - lib/osmanagement/lib/model/recurrence.ts | 51 - .../lib/model/related-event-collection.ts | 58 - .../lib/model/related-event-summary.ts | 48 - ...e-packages-from-software-source-details.ts | 40 - lib/osmanagement/lib/model/schedule-types.ts | 40 - .../lib/model/scheduled-job-summary.ts | 124 - lib/osmanagement/lib/model/scheduled-job.ts | 176 - .../lib/model/software-package-dependency.ts | 48 - .../lib/model/software-package-file.ts | 62 - .../model/software-package-search-summary.ts | 100 - .../lib/model/software-package-summary.ts | 64 - .../lib/model/software-package.ts | 126 - .../lib/model/software-source-id.ts | 44 - .../lib/model/software-source-summary.ts | 100 - lib/osmanagement/lib/model/software-source.ts | 158 - .../lib/model/update-event-details.ts | 48 - .../model/update-managed-instance-details.ts | 44 - .../update-managed-instance-group-details.ts | 56 - .../lib/model/update-module-details.ts | 62 - .../lib/model/update-module-stream-details.ts | 105 - .../update-module-stream-profile-details.ts | 67 - .../update-module-stream-state-details.ts | 58 - .../lib/model/update-scheduled-job-details.ts | 108 - .../model/update-software-source-details.ts | 72 - lib/osmanagement/lib/model/update-types.ts | 42 - .../lib/model/windows-update-summary.ts | 59 - lib/osmanagement/lib/model/windows-update.ts | 86 - .../lib/model/work-request-error.ts | 50 - .../lib/model/work-request-log-entry.ts | 46 - .../lib/model/work-request-resource.ts | 76 - .../lib/model/work-request-summary.ts | 78 - lib/osmanagement/lib/model/work-request.ts | 126 - lib/osmanagement/lib/osmanagement-waiter.ts | 100 - ...add-packages-to-software-source-request.ts | 33 - ...ware-source-to-managed-instance-request.ts | 42 - ...tance-to-managed-instance-group-request.ts | 42 - ...ware-source-to-managed-instance-request.ts | 42 - ...aged-instance-group-compartment-request.ts | 51 - ...hange-scheduled-job-compartment-request.ts | 51 - ...nge-software-source-compartment-request.ts | 51 - .../create-managed-instance-group-request.ts | 38 - .../request/create-scheduled-job-request.ts | 38 - .../request/create-software-source-request.ts | 38 - .../request/delete-event-content-request.ts | 55 - .../delete-managed-instance-group-request.ts | 38 - .../request/delete-scheduled-job-request.ts | 38 - .../request/delete-software-source-request.ts | 38 - ...re-source-from-managed-instance-request.ts | 42 - ...nce-from-managed-instance-group-request.ts | 42 - ...re-source-from-managed-instance-request.ts | 42 - ...dule-stream-on-managed-instance-request.ts | 57 - ...dule-stream-on-managed-instance-request.ts | 57 - .../lib/request/get-erratum-request.ts | 29 - .../lib/request/get-event-content-request.ts | 37 - .../lib/request/get-event-report-request.ts | 45 - .../lib/request/get-event-request.ts | 37 - .../get-managed-instance-group-request.ts | 29 - .../request/get-managed-instance-request.ts | 29 - .../get-module-stream-profile-request.ts | 41 - .../lib/request/get-module-stream-request.ts | 37 - .../lib/request/get-scheduled-job-request.ts | 29 - .../request/get-software-package-request.ts | 33 - .../request/get-software-source-request.ts | 29 - .../lib/request/get-windows-update-request.ts | 29 - .../lib/request/get-work-request-request.ts | 29 - lib/osmanagement/lib/request/index.ts | 169 - ...age-updates-on-managed-instance-request.ts | 42 - ...dates-on-managed-instance-group-request.ts | 42 - ...ows-updates-on-managed-instance-request.ts | 42 - ...eam-profile-on-managed-instance-request.ts | 61 - ...all-package-on-managed-instance-request.ts | 42 - ...kage-update-on-managed-instance-request.ts | 42 - ...dows-update-on-managed-instance-request.ts | 45 - ...e-packages-for-managed-instance-request.ts | 69 - ...re-sources-for-managed-instance-request.ts | 69 - ...le-updates-for-managed-instance-request.ts | 69 - ...ws-updates-for-managed-instance-request.ts | 73 - .../lib/request/list-errata-request.ts | 83 - .../lib/request/list-events-request.ts | 82 - .../list-managed-instance-errata-request.ts | 69 - .../list-managed-instance-groups-request.ts | 73 - .../request/list-managed-instances-request.ts | 69 - ...am-profiles-on-managed-instance-request.ts | 94 - .../list-module-stream-profiles-request.ts | 78 - ...ule-streams-on-managed-instance-request.ts | 98 - .../request/list-module-streams-request.ts | 74 - ...s-installed-on-managed-instance-request.ts | 69 - .../request/list-related-events-request.ts | 75 - .../request/list-scheduled-jobs-request.ts | 89 - .../list-software-source-packages-request.ts | 69 - .../request/list-software-sources-request.ts | 69 - .../list-upcoming-scheduled-jobs-request.ts | 88 - ...s-installed-on-managed-instance-request.ts | 69 - .../request/list-windows-updates-request.ts | 65 - .../list-work-request-errors-request.ts | 58 - .../request/list-work-request-logs-request.ts | 58 - .../lib/request/list-work-requests-request.ts | 73 - ...ule-streams-on-managed-instance-request.ts | 51 - ...m-profile-from-managed-instance-request.ts | 61 - ...e-package-from-managed-instance-request.ts | 42 - ...e-packages-from-software-source-request.ts | 33 - .../request/run-scheduled-job-now-request.ts | 47 - .../search-software-packages-request.ts | 71 - ...ip-next-scheduled-job-execution-request.ts | 47 - ...dule-stream-on-managed-instance-request.ts | 57 - .../lib/request/update-event-request.ts | 50 - .../update-managed-instance-group-request.ts | 42 - .../update-managed-instance-request.ts | 42 - .../request/update-scheduled-job-request.ts | 42 - .../request/update-software-source-request.ts | 42 - .../request/upload-event-content-request.ts | 55 - ...dd-packages-to-software-source-response.ts | 24 - ...are-source-to-managed-instance-response.ts | 24 - ...ance-to-managed-instance-group-response.ts | 24 - ...are-source-to-managed-instance-response.ts | 24 - ...ged-instance-group-compartment-response.ts | 24 - ...ange-scheduled-job-compartment-response.ts | 24 - ...ge-software-source-compartment-response.ts | 24 - .../create-managed-instance-group-response.ts | 37 - .../response/create-scheduled-job-response.ts | 37 - .../create-software-source-response.ts | 37 - .../response/delete-event-content-response.ts | 24 - .../delete-managed-instance-group-response.ts | 24 - .../response/delete-scheduled-job-response.ts | 24 - .../delete-software-source-response.ts | 24 - ...e-source-from-managed-instance-response.ts | 24 - ...ce-from-managed-instance-group-response.ts | 24 - ...e-source-from-managed-instance-response.ts | 24 - ...ule-stream-on-managed-instance-response.ts | 30 - ...ule-stream-on-managed-instance-response.ts | 30 - .../lib/response/get-erratum-response.ts | 28 - .../response/get-event-content-response.ts | 34 - .../lib/response/get-event-report-response.ts | 26 - .../lib/response/get-event-response.ts | 33 - .../get-managed-instance-group-response.ts | 39 - .../response/get-managed-instance-response.ts | 33 - .../get-module-stream-profile-response.ts | 34 - .../response/get-module-stream-response.ts | 34 - .../response/get-scheduled-job-response.ts | 39 - .../response/get-software-package-response.ts | 28 - .../response/get-software-source-response.ts | 39 - .../response/get-windows-update-response.ts | 28 - .../lib/response/get-work-request-response.ts | 39 - lib/osmanagement/lib/response/index.ts | 169 - ...ge-updates-on-managed-instance-response.ts | 30 - ...ates-on-managed-instance-group-response.ts | 30 - ...ws-updates-on-managed-instance-response.ts | 30 - ...am-profile-on-managed-instance-response.ts | 30 - ...ll-package-on-managed-instance-response.ts | 30 - ...age-update-on-managed-instance-response.ts | 30 - ...ows-update-on-managed-instance-response.ts | 30 - ...-packages-for-managed-instance-response.ts | 36 - ...e-sources-for-managed-instance-response.ts | 36 - ...e-updates-for-managed-instance-response.ts | 36 - ...s-updates-for-managed-instance-response.ts | 36 - .../lib/response/list-errata-response.ts | 36 - .../lib/response/list-events-response.ts | 36 - .../list-managed-instance-errata-response.ts | 36 - .../list-managed-instance-groups-response.ts | 36 - .../list-managed-instances-response.ts | 36 - ...m-profiles-on-managed-instance-response.ts | 42 - .../list-module-stream-profiles-response.ts | 42 - ...le-streams-on-managed-instance-response.ts | 42 - .../response/list-module-streams-response.ts | 42 - ...-installed-on-managed-instance-response.ts | 36 - .../response/list-related-events-response.ts | 36 - .../response/list-scheduled-jobs-response.ts | 36 - .../list-software-source-packages-response.ts | 36 - .../list-software-sources-response.ts | 36 - .../list-upcoming-scheduled-jobs-response.ts | 36 - ...-installed-on-managed-instance-response.ts | 36 - .../response/list-windows-updates-response.ts | 36 - .../list-work-request-errors-response.ts | 42 - .../list-work-request-logs-response.ts | 42 - .../response/list-work-requests-response.ts | 36 - ...le-streams-on-managed-instance-response.ts | 30 - ...-profile-from-managed-instance-response.ts | 30 - ...-package-from-managed-instance-response.ts | 30 - ...-packages-from-software-source-response.ts | 24 - .../run-scheduled-job-now-response.ts | 29 - .../search-software-packages-response.ts | 36 - ...p-next-scheduled-job-execution-response.ts | 29 - ...ule-stream-on-managed-instance-response.ts | 30 - .../lib/response/update-event-response.ts | 33 - .../update-managed-instance-group-response.ts | 33 - .../update-managed-instance-response.ts | 33 - .../response/update-scheduled-job-response.ts | 33 - .../update-software-source-response.ts | 33 - .../response/upload-event-content-response.ts | 24 - lib/osmanagement/package.json | 28 - lib/osmanagement/tsconfig.json | 12 - lib/servicemesh/README.md | 22 - lib/servicemesh/index.ts | 24 - lib/servicemesh/lib/client.ts | 4117 --------- .../lib/model/access-logging-configuration.ts | 38 - .../lib/model/access-policy-collection.ts | 56 - .../lib/model/access-policy-rule-details.ts | 70 - .../lib/model/access-policy-rule.ts | 75 - .../lib/model/access-policy-summary.ts | 97 - .../lib/model/access-policy-target-details.ts | 87 - .../lib/model/access-policy-target.ts | 87 - lib/servicemesh/lib/model/access-policy.ts | 133 - lib/servicemesh/lib/model/action-type.ts | 42 - ...l-services-access-policy-target-details.ts | 57 - ...l-virtual-services-access-policy-target.ts | 54 - lib/servicemesh/lib/model/ca-bundle.ts | 64 - .../lib/model/certificate-authority.ts | 38 - ...hange-access-policy-compartment-details.ts | 39 - ...nge-ingress-gateway-compartment-details.ts | 39 - ...gateway-route-table-compartment-details.ts | 41 - .../model/change-mesh-compartment-details.ts | 39 - ...-virtual-deployment-compartment-details.ts | 39 - ...nge-virtual-service-compartment-details.ts | 39 - ...service-route-table-compartment-details.ts | 41 - .../lib/model/create-access-policy-details.ts | 93 - .../model/create-ingress-gateway-details.ts | 107 - ...ate-ingress-gateway-route-table-details.ts | 97 - .../lib/model/create-mesh-details.ts | 94 - .../create-virtual-deployment-details.ts | 109 - .../model/create-virtual-service-details.ts | 105 - ...ate-virtual-service-route-table-details.ts | 97 - .../default-virtual-service-routing-policy.ts | 48 - ...isabled-service-discovery-configuration.ts | 56 - .../dns-service-discovery-configuration.ts | 61 - ...al-service-access-policy-target-details.ts | 86 - .../external-service-access-policy-target.ts | 89 - ...ress-gateway-traffic-route-rule-details.ts | 94 - ...http-ingress-gateway-traffic-route-rule.ts | 98 - ...tual-service-traffic-route-rule-details.ts | 84 - ...http-virtual-service-traffic-route-rule.ts | 88 - lib/servicemesh/lib/model/index.ts | 238 - ...ss-gateway-access-policy-target-details.ts | 61 - .../ingress-gateway-access-policy-target.ts | 59 - .../lib/model/ingress-gateway-collection.ts | 56 - .../lib/model/ingress-gateway-host-ref.ts | 45 - .../lib/model/ingress-gateway-host.ts | 71 - .../lib/model/ingress-gateway-listener.ts | 64 - ...mutual-transport-layer-security-details.ts | 45 - ...gateway-mutual-transport-layer-security.ts | 48 - .../ingress-gateway-route-table-collection.ts | 56 - .../ingress-gateway-route-table-summary.ts | 101 - .../lib/model/ingress-gateway-route-table.ts | 137 - .../lib/model/ingress-gateway-summary.ts | 97 - ...ress-gateway-traffic-route-rule-details.ts | 107 - .../ingress-gateway-traffic-route-rule.ts | 107 - lib/servicemesh/lib/model/ingress-gateway.ts | 147 - ...gress-listener-client-validation-config.ts | 55 - .../lib/model/ingress-listener-tls-config.ts | 76 - .../lib/model/local-file-ca-bundle.ts | 55 - .../lib/model/local-file-tls-certificate.ts | 57 - lib/servicemesh/lib/model/mesh-collection.ts | 56 - .../mesh-mutual-transport-layer-security.ts | 41 - lib/servicemesh/lib/model/mesh-summary.ts | 106 - lib/servicemesh/lib/model/mesh.ts | 138 - .../model/mutual-transport-layer-security.ts | 66 - lib/servicemesh/lib/model/oci-ca-bundle.ts | 47 - .../lib/model/oci-tls-certificate.ts | 52 - lib/servicemesh/lib/model/operation-status.ts | 44 - lib/servicemesh/lib/model/operation-type.ts | 64 - lib/servicemesh/lib/model/proxy-details.ts | 38 - .../model/service-discovery-configuration.ts | 67 - lib/servicemesh/lib/model/sort-order.ts | 32 - ...ress-gateway-traffic-route-rule-details.ts | 57 - .../tcp-ingress-gateway-traffic-route-rule.ts | 56 - ...tual-service-traffic-route-rule-details.ts | 57 - .../tcp-virtual-service-traffic-route-rule.ts | 56 - lib/servicemesh/lib/model/tls-certificate.ts | 67 - ...ress-gateway-traffic-route-rule-details.ts | 57 - ...ough-ingress-gateway-traffic-route-rule.ts | 57 - ...tual-service-traffic-route-rule-details.ts | 57 - ...ough-virtual-service-traffic-route-rule.ts | 57 - .../lib/model/traffic-rule-target-details.ts | 67 - .../lib/model/traffic-rule-target.ts | 67 - .../lib/model/update-access-policy-details.ts | 76 - .../model/update-ingress-gateway-details.ts | 90 - ...ate-ingress-gateway-route-table-details.ts | 80 - .../lib/model/update-mesh-details.ts | 75 - .../update-virtual-deployment-details.ts | 92 - .../model/update-virtual-service-details.ts | 88 - ...ate-virtual-service-route-table-details.ts | 80 - .../model/virtual-deployment-collection.ts | 56 - .../lib/model/virtual-deployment-listener.ts | 67 - .../lib/model/virtual-deployment-summary.ts | 97 - ...-deployment-traffic-rule-target-details.ts | 71 - .../virtual-deployment-traffic-rule-target.ts | 69 - .../lib/model/virtual-deployment.ts | 149 - ...al-service-access-policy-target-details.ts | 61 - .../virtual-service-access-policy-target.ts | 59 - .../lib/model/virtual-service-collection.ts | 56 - ...mutual-transport-layer-security-details.ts | 52 - .../virtual-service-route-table-collection.ts | 56 - .../virtual-service-route-table-summary.ts | 101 - .../lib/model/virtual-service-route-table.ts | 137 - .../lib/model/virtual-service-summary.ts | 97 - ...tual-service-traffic-route-rule-details.ts | 100 - .../virtual-service-traffic-route-rule.ts | 100 - ...ual-service-traffic-rule-target-details.ts | 71 - .../virtual-service-traffic-rule-target.ts | 67 - lib/servicemesh/lib/model/virtual-service.ts | 143 - .../lib/model/work-request-collection.ts | 56 - .../model/work-request-error-collection.ts | 56 - .../lib/model/work-request-error.ts | 48 - .../work-request-log-entry-collection.ts | 56 - .../lib/model/work-request-log-entry.ts | 42 - .../lib/model/work-request-resource.ts | 54 - .../lib/model/work-request-summary.ts | 95 - lib/servicemesh/lib/model/work-request.ts | 93 - .../request/cancel-work-request-request.ts | 38 - ...hange-access-policy-compartment-request.ts | 51 - ...nge-ingress-gateway-compartment-request.ts | 51 - ...gateway-route-table-compartment-request.ts | 51 - .../change-mesh-compartment-request.ts | 51 - ...-virtual-deployment-compartment-request.ts | 51 - ...nge-virtual-service-compartment-request.ts | 51 - ...service-route-table-compartment-request.ts | 51 - .../request/create-access-policy-request.ts | 38 - .../request/create-ingress-gateway-request.ts | 38 - ...ate-ingress-gateway-route-table-request.ts | 38 - .../lib/request/create-mesh-request.ts | 38 - .../create-virtual-deployment-request.ts | 38 - .../request/create-virtual-service-request.ts | 38 - ...ate-virtual-service-route-table-request.ts | 38 - .../request/delete-access-policy-request.ts | 38 - .../request/delete-ingress-gateway-request.ts | 38 - ...ete-ingress-gateway-route-table-request.ts | 38 - .../lib/request/delete-mesh-request.ts | 38 - .../delete-virtual-deployment-request.ts | 38 - .../request/delete-virtual-service-request.ts | 38 - ...ete-virtual-service-route-table-request.ts | 38 - .../lib/request/get-access-policy-request.ts | 29 - .../request/get-ingress-gateway-request.ts | 29 - ...get-ingress-gateway-route-table-request.ts | 29 - .../lib/request/get-mesh-request.ts | 29 - .../lib/request/get-proxy-details-request.ts | 25 - .../request/get-virtual-deployment-request.ts | 29 - .../request/get-virtual-service-request.ts | 29 - ...get-virtual-service-route-table-request.ts | 29 - .../lib/request/get-work-request-request.ts | 29 - lib/servicemesh/lib/request/index.ts | 109 - .../request/list-access-policies-request.ts | 70 - ...st-ingress-gateway-route-tables-request.ts | 70 - .../request/list-ingress-gateways-request.ts | 70 - .../lib/request/list-meshes-request.ts | 66 - .../list-virtual-deployments-request.ts | 70 - ...st-virtual-service-route-tables-request.ts | 70 - .../request/list-virtual-services-request.ts | 70 - .../list-work-request-errors-request.ts | 52 - .../request/list-work-request-logs-request.ts | 52 - .../lib/request/list-work-requests-request.ts | 64 - .../request/update-access-policy-request.ts | 51 - .../request/update-ingress-gateway-request.ts | 51 - ...ate-ingress-gateway-route-table-request.ts | 51 - .../lib/request/update-mesh-request.ts | 51 - .../update-virtual-deployment-request.ts | 51 - .../request/update-virtual-service-request.ts | 51 - ...ate-virtual-service-route-table-request.ts | 51 - .../response/cancel-work-request-response.ts | 24 - ...ange-access-policy-compartment-response.ts | 29 - ...ge-ingress-gateway-compartment-response.ts | 29 - ...ateway-route-table-compartment-response.ts | 29 - .../change-mesh-compartment-response.ts | 29 - ...virtual-deployment-compartment-response.ts | 29 - ...ge-virtual-service-compartment-response.ts | 29 - ...ervice-route-table-compartment-response.ts | 29 - .../response/create-access-policy-response.ts | 43 - .../create-ingress-gateway-response.ts | 43 - ...te-ingress-gateway-route-table-response.ts | 43 - .../lib/response/create-mesh-response.ts | 43 - .../create-virtual-deployment-response.ts | 43 - .../create-virtual-service-response.ts | 43 - ...te-virtual-service-route-table-response.ts | 43 - .../response/delete-access-policy-response.ts | 29 - .../delete-ingress-gateway-response.ts | 29 - ...te-ingress-gateway-route-table-response.ts | 29 - .../lib/response/delete-mesh-response.ts | 29 - .../delete-virtual-deployment-response.ts | 29 - .../delete-virtual-service-response.ts | 29 - ...te-virtual-service-route-table-response.ts | 29 - .../response/get-access-policy-response.ts | 33 - .../response/get-ingress-gateway-response.ts | 33 - ...et-ingress-gateway-route-table-response.ts | 33 - .../lib/response/get-mesh-response.ts | 33 - .../response/get-proxy-details-response.ts | 28 - .../get-virtual-deployment-response.ts | 33 - .../response/get-virtual-service-response.ts | 33 - ...et-virtual-service-route-table-response.ts | 33 - .../lib/response/get-work-request-response.ts | 37 - lib/servicemesh/lib/response/index.ts | 109 - .../response/list-access-policies-response.ts | 35 - ...t-ingress-gateway-route-tables-response.ts | 35 - .../list-ingress-gateways-response.ts | 35 - .../lib/response/list-meshes-response.ts | 35 - .../list-virtual-deployments-response.ts | 35 - ...t-virtual-service-route-tables-response.ts | 35 - .../list-virtual-services-response.ts | 35 - .../list-work-request-errors-response.ts | 35 - .../list-work-request-logs-response.ts | 35 - .../response/list-work-requests-response.ts | 35 - .../response/update-access-policy-response.ts | 29 - .../update-ingress-gateway-response.ts | 29 - ...te-ingress-gateway-route-table-response.ts | 29 - .../lib/response/update-mesh-response.ts | 29 - .../update-virtual-deployment-response.ts | 29 - .../update-virtual-service-response.ts | 29 - ...te-virtual-service-route-table-response.ts | 29 - lib/servicemesh/lib/servicemesh-waiter.ts | 174 - lib/servicemesh/package.json | 28 - lib/servicemesh/tsconfig.json | 12 - 745 files changed, 59041 deletions(-) delete mode 100644 lib/aianomalydetection/README.md delete mode 100644 lib/aianomalydetection/index.ts delete mode 100644 lib/aianomalydetection/lib/anomalydetection-waiter.ts delete mode 100644 lib/aianomalydetection/lib/client.ts delete mode 100644 lib/aianomalydetection/lib/model/action-type.ts delete mode 100644 lib/aianomalydetection/lib/model/ai-private-endpoint-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/ai-private-endpoint-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/ai-private-endpoint.ts delete mode 100644 lib/aianomalydetection/lib/model/anomaly-detect-result.ts delete mode 100644 lib/aianomalydetection/lib/model/anomaly.ts delete mode 100644 lib/aianomalydetection/lib/model/change-ai-private-endpoint-compartment-details.ts delete mode 100644 lib/aianomalydetection/lib/model/change-data-asset-compartment-details.ts delete mode 100644 lib/aianomalydetection/lib/model/change-detect-anomaly-job-compartment-details.ts delete mode 100644 lib/aianomalydetection/lib/model/change-model-compartment-details.ts delete mode 100644 lib/aianomalydetection/lib/model/change-project-compartment-details.ts delete mode 100644 lib/aianomalydetection/lib/model/create-ai-private-endpoint-details.ts delete mode 100644 lib/aianomalydetection/lib/model/create-data-asset-details.ts delete mode 100644 lib/aianomalydetection/lib/model/create-detect-anomaly-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/create-model-details.ts delete mode 100644 lib/aianomalydetection/lib/model/create-project-details.ts delete mode 100644 lib/aianomalydetection/lib/model/data-asset-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/data-asset-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/data-asset.ts delete mode 100644 lib/aianomalydetection/lib/model/data-item.ts delete mode 100644 lib/aianomalydetection/lib/model/data-source-details-at-p.ts delete mode 100644 lib/aianomalydetection/lib/model/data-source-details-influx.ts delete mode 100644 lib/aianomalydetection/lib/model/data-source-details-object-storage.ts delete mode 100644 lib/aianomalydetection/lib/model/data-source-details.ts delete mode 100644 lib/aianomalydetection/lib/model/data-source-type.ts delete mode 100644 lib/aianomalydetection/lib/model/detect-anomalies-details.ts delete mode 100644 lib/aianomalydetection/lib/model/detect-anomaly-job-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/detect-anomaly-job-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/detect-anomaly-job.ts delete mode 100644 lib/aianomalydetection/lib/model/detection-result-item.ts delete mode 100644 lib/aianomalydetection/lib/model/embedded-detect-anomalies-request.ts delete mode 100644 lib/aianomalydetection/lib/model/embedded-input-details.ts delete mode 100644 lib/aianomalydetection/lib/model/index.ts delete mode 100644 lib/aianomalydetection/lib/model/influx-details-v1v8.ts delete mode 100644 lib/aianomalydetection/lib/model/influx-details-v2v0.ts delete mode 100644 lib/aianomalydetection/lib/model/influx-details.ts delete mode 100644 lib/aianomalydetection/lib/model/influx-version.ts delete mode 100644 lib/aianomalydetection/lib/model/inline-detect-anomalies-request.ts delete mode 100644 lib/aianomalydetection/lib/model/inline-input-details.ts delete mode 100644 lib/aianomalydetection/lib/model/inline-input-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/input-details.ts delete mode 100644 lib/aianomalydetection/lib/model/input-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/model-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/model-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/model-training-details.ts delete mode 100644 lib/aianomalydetection/lib/model/model-training-results.ts delete mode 100644 lib/aianomalydetection/lib/model/model.ts delete mode 100644 lib/aianomalydetection/lib/model/object-list-input-details.ts delete mode 100644 lib/aianomalydetection/lib/model/object-list-input-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/object-location.ts delete mode 100644 lib/aianomalydetection/lib/model/object-storage-location.ts delete mode 100644 lib/aianomalydetection/lib/model/object-store-output-details.ts delete mode 100644 lib/aianomalydetection/lib/model/operation-status.ts delete mode 100644 lib/aianomalydetection/lib/model/operation-type.ts delete mode 100644 lib/aianomalydetection/lib/model/output-details.ts delete mode 100644 lib/aianomalydetection/lib/model/output-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/per-signal-details.ts delete mode 100644 lib/aianomalydetection/lib/model/project-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/project-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/project.ts delete mode 100644 lib/aianomalydetection/lib/model/row-reduction-details.ts delete mode 100644 lib/aianomalydetection/lib/model/sort-order.ts delete mode 100644 lib/aianomalydetection/lib/model/update-ai-private-endpoint-details.ts delete mode 100644 lib/aianomalydetection/lib/model/update-data-asset-details.ts delete mode 100644 lib/aianomalydetection/lib/model/update-detect-anomaly-job-details.ts delete mode 100644 lib/aianomalydetection/lib/model/update-model-details.ts delete mode 100644 lib/aianomalydetection/lib/model/update-project-details.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-error-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-error.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-log-entry-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-log-entry.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-resource.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-summary-collection.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request-summary.ts delete mode 100644 lib/aianomalydetection/lib/model/work-request.ts delete mode 100644 lib/aianomalydetection/lib/request/cancel-work-request-request.ts delete mode 100644 lib/aianomalydetection/lib/request/change-ai-private-endpoint-compartment-request.ts delete mode 100644 lib/aianomalydetection/lib/request/change-data-asset-compartment-request.ts delete mode 100644 lib/aianomalydetection/lib/request/change-detect-anomaly-job-compartment-request.ts delete mode 100644 lib/aianomalydetection/lib/request/change-model-compartment-request.ts delete mode 100644 lib/aianomalydetection/lib/request/change-project-compartment-request.ts delete mode 100644 lib/aianomalydetection/lib/request/create-ai-private-endpoint-request.ts delete mode 100644 lib/aianomalydetection/lib/request/create-data-asset-request.ts delete mode 100644 lib/aianomalydetection/lib/request/create-detect-anomaly-job-request.ts delete mode 100644 lib/aianomalydetection/lib/request/create-model-request.ts delete mode 100644 lib/aianomalydetection/lib/request/create-project-request.ts delete mode 100644 lib/aianomalydetection/lib/request/delete-ai-private-endpoint-request.ts delete mode 100644 lib/aianomalydetection/lib/request/delete-data-asset-request.ts delete mode 100644 lib/aianomalydetection/lib/request/delete-detect-anomaly-job-request.ts delete mode 100644 lib/aianomalydetection/lib/request/delete-model-request.ts delete mode 100644 lib/aianomalydetection/lib/request/delete-project-request.ts delete mode 100644 lib/aianomalydetection/lib/request/detect-anomalies-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-ai-private-endpoint-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-data-asset-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-detect-anomaly-job-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-model-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-project-request.ts delete mode 100644 lib/aianomalydetection/lib/request/get-work-request-request.ts delete mode 100644 lib/aianomalydetection/lib/request/index.ts delete mode 100644 lib/aianomalydetection/lib/request/list-ai-private-endpoints-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-data-assets-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-detect-anomaly-jobs-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-models-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-projects-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-work-request-errors-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-work-request-logs-request.ts delete mode 100644 lib/aianomalydetection/lib/request/list-work-requests-request.ts delete mode 100644 lib/aianomalydetection/lib/request/update-ai-private-endpoint-request.ts delete mode 100644 lib/aianomalydetection/lib/request/update-data-asset-request.ts delete mode 100644 lib/aianomalydetection/lib/request/update-detect-anomaly-job-request.ts delete mode 100644 lib/aianomalydetection/lib/request/update-model-request.ts delete mode 100644 lib/aianomalydetection/lib/request/update-project-request.ts delete mode 100644 lib/aianomalydetection/lib/response/cancel-work-request-response.ts delete mode 100644 lib/aianomalydetection/lib/response/change-ai-private-endpoint-compartment-response.ts delete mode 100644 lib/aianomalydetection/lib/response/change-data-asset-compartment-response.ts delete mode 100644 lib/aianomalydetection/lib/response/change-detect-anomaly-job-compartment-response.ts delete mode 100644 lib/aianomalydetection/lib/response/change-model-compartment-response.ts delete mode 100644 lib/aianomalydetection/lib/response/change-project-compartment-response.ts delete mode 100644 lib/aianomalydetection/lib/response/create-ai-private-endpoint-response.ts delete mode 100644 lib/aianomalydetection/lib/response/create-data-asset-response.ts delete mode 100644 lib/aianomalydetection/lib/response/create-detect-anomaly-job-response.ts delete mode 100644 lib/aianomalydetection/lib/response/create-model-response.ts delete mode 100644 lib/aianomalydetection/lib/response/create-project-response.ts delete mode 100644 lib/aianomalydetection/lib/response/delete-ai-private-endpoint-response.ts delete mode 100644 lib/aianomalydetection/lib/response/delete-data-asset-response.ts delete mode 100644 lib/aianomalydetection/lib/response/delete-detect-anomaly-job-response.ts delete mode 100644 lib/aianomalydetection/lib/response/delete-model-response.ts delete mode 100644 lib/aianomalydetection/lib/response/delete-project-response.ts delete mode 100644 lib/aianomalydetection/lib/response/detect-anomalies-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-ai-private-endpoint-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-data-asset-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-detect-anomaly-job-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-model-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-project-response.ts delete mode 100644 lib/aianomalydetection/lib/response/get-work-request-response.ts delete mode 100644 lib/aianomalydetection/lib/response/index.ts delete mode 100644 lib/aianomalydetection/lib/response/list-ai-private-endpoints-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-data-assets-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-detect-anomaly-jobs-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-models-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-projects-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-work-request-errors-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-work-request-logs-response.ts delete mode 100644 lib/aianomalydetection/lib/response/list-work-requests-response.ts delete mode 100644 lib/aianomalydetection/lib/response/update-ai-private-endpoint-response.ts delete mode 100644 lib/aianomalydetection/lib/response/update-data-asset-response.ts delete mode 100644 lib/aianomalydetection/lib/response/update-detect-anomaly-job-response.ts delete mode 100644 lib/aianomalydetection/lib/response/update-model-response.ts delete mode 100644 lib/aianomalydetection/lib/response/update-project-response.ts delete mode 100644 lib/aianomalydetection/package.json delete mode 100644 lib/aianomalydetection/tsconfig.json delete mode 100644 lib/dts/README.md delete mode 100644 lib/dts/index.ts delete mode 100644 lib/dts/lib/applianceexportjob-waiter.ts delete mode 100644 lib/dts/lib/client.ts delete mode 100644 lib/dts/lib/model/appliance-export-job-summary.ts delete mode 100644 lib/dts/lib/model/appliance-export-job.ts delete mode 100644 lib/dts/lib/model/attach-devices-details.ts delete mode 100644 lib/dts/lib/model/change-appliance-export-job-compartment-details.ts delete mode 100644 lib/dts/lib/model/change-transfer-job-compartment-details.ts delete mode 100644 lib/dts/lib/model/create-appliance-export-job-details.ts delete mode 100644 lib/dts/lib/model/create-transfer-appliance-details.ts delete mode 100644 lib/dts/lib/model/create-transfer-appliance-entitlement-details.ts delete mode 100644 lib/dts/lib/model/create-transfer-device-details.ts delete mode 100644 lib/dts/lib/model/create-transfer-job-details.ts delete mode 100644 lib/dts/lib/model/create-transfer-package-details.ts delete mode 100644 lib/dts/lib/model/detach-devices-details.ts delete mode 100644 lib/dts/lib/model/index.ts delete mode 100644 lib/dts/lib/model/multiple-transfer-appliances.ts delete mode 100644 lib/dts/lib/model/multiple-transfer-devices.ts delete mode 100644 lib/dts/lib/model/multiple-transfer-packages.ts delete mode 100644 lib/dts/lib/model/new-transfer-device.ts delete mode 100644 lib/dts/lib/model/shipping-address.ts delete mode 100644 lib/dts/lib/model/shipping-vendors.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-certificate.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-encryption-passphrase.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-entitlement-summary.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-entitlement.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-public-key.ts delete mode 100644 lib/dts/lib/model/transfer-appliance-summary.ts delete mode 100644 lib/dts/lib/model/transfer-appliance.ts delete mode 100644 lib/dts/lib/model/transfer-device-summary.ts delete mode 100644 lib/dts/lib/model/transfer-device.ts delete mode 100644 lib/dts/lib/model/transfer-job-summary.ts delete mode 100644 lib/dts/lib/model/transfer-job.ts delete mode 100644 lib/dts/lib/model/transfer-package-summary.ts delete mode 100644 lib/dts/lib/model/transfer-package.ts delete mode 100644 lib/dts/lib/model/update-appliance-export-job-details.ts delete mode 100644 lib/dts/lib/model/update-transfer-appliance-details.ts delete mode 100644 lib/dts/lib/model/update-transfer-device-details.ts delete mode 100644 lib/dts/lib/model/update-transfer-job-details.ts delete mode 100644 lib/dts/lib/model/update-transfer-package-details.ts delete mode 100644 lib/dts/lib/request/attach-devices-to-transfer-package-request.ts delete mode 100644 lib/dts/lib/request/change-appliance-export-job-compartment-request.ts delete mode 100644 lib/dts/lib/request/change-transfer-job-compartment-request.ts delete mode 100644 lib/dts/lib/request/create-appliance-export-job-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-appliance-admin-credentials-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-appliance-entitlement-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-appliance-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-device-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-job-request.ts delete mode 100644 lib/dts/lib/request/create-transfer-package-request.ts delete mode 100644 lib/dts/lib/request/delete-appliance-export-job-request.ts delete mode 100644 lib/dts/lib/request/delete-transfer-appliance-request.ts delete mode 100644 lib/dts/lib/request/delete-transfer-device-request.ts delete mode 100644 lib/dts/lib/request/delete-transfer-job-request.ts delete mode 100644 lib/dts/lib/request/delete-transfer-package-request.ts delete mode 100644 lib/dts/lib/request/detach-devices-from-transfer-package-request.ts delete mode 100644 lib/dts/lib/request/get-appliance-export-job-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-appliance-certificate-authority-certificate-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-appliance-encryption-passphrase-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-appliance-entitlement-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-appliance-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-device-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-job-request.ts delete mode 100644 lib/dts/lib/request/get-transfer-package-request.ts delete mode 100644 lib/dts/lib/request/index.ts delete mode 100644 lib/dts/lib/request/list-appliance-export-jobs-request.ts delete mode 100644 lib/dts/lib/request/list-shipping-vendors-request.ts delete mode 100644 lib/dts/lib/request/list-transfer-appliance-entitlement-request.ts delete mode 100644 lib/dts/lib/request/list-transfer-appliances-request.ts delete mode 100644 lib/dts/lib/request/list-transfer-devices-request.ts delete mode 100644 lib/dts/lib/request/list-transfer-jobs-request.ts delete mode 100644 lib/dts/lib/request/list-transfer-packages-request.ts delete mode 100644 lib/dts/lib/request/update-appliance-export-job-request.ts delete mode 100644 lib/dts/lib/request/update-transfer-appliance-request.ts delete mode 100644 lib/dts/lib/request/update-transfer-device-request.ts delete mode 100644 lib/dts/lib/request/update-transfer-job-request.ts delete mode 100644 lib/dts/lib/request/update-transfer-package-request.ts delete mode 100644 lib/dts/lib/response/attach-devices-to-transfer-package-response.ts delete mode 100644 lib/dts/lib/response/change-appliance-export-job-compartment-response.ts delete mode 100644 lib/dts/lib/response/change-transfer-job-compartment-response.ts delete mode 100644 lib/dts/lib/response/create-appliance-export-job-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-appliance-admin-credentials-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-appliance-entitlement-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-appliance-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-device-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-job-response.ts delete mode 100644 lib/dts/lib/response/create-transfer-package-response.ts delete mode 100644 lib/dts/lib/response/delete-appliance-export-job-response.ts delete mode 100644 lib/dts/lib/response/delete-transfer-appliance-response.ts delete mode 100644 lib/dts/lib/response/delete-transfer-device-response.ts delete mode 100644 lib/dts/lib/response/delete-transfer-job-response.ts delete mode 100644 lib/dts/lib/response/delete-transfer-package-response.ts delete mode 100644 lib/dts/lib/response/detach-devices-from-transfer-package-response.ts delete mode 100644 lib/dts/lib/response/get-appliance-export-job-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-appliance-certificate-authority-certificate-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-appliance-encryption-passphrase-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-appliance-entitlement-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-appliance-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-device-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-job-response.ts delete mode 100644 lib/dts/lib/response/get-transfer-package-response.ts delete mode 100644 lib/dts/lib/response/index.ts delete mode 100644 lib/dts/lib/response/list-appliance-export-jobs-response.ts delete mode 100644 lib/dts/lib/response/list-shipping-vendors-response.ts delete mode 100644 lib/dts/lib/response/list-transfer-appliance-entitlement-response.ts delete mode 100644 lib/dts/lib/response/list-transfer-appliances-response.ts delete mode 100644 lib/dts/lib/response/list-transfer-devices-response.ts delete mode 100644 lib/dts/lib/response/list-transfer-jobs-response.ts delete mode 100644 lib/dts/lib/response/list-transfer-packages-response.ts delete mode 100644 lib/dts/lib/response/update-appliance-export-job-response.ts delete mode 100644 lib/dts/lib/response/update-transfer-appliance-response.ts delete mode 100644 lib/dts/lib/response/update-transfer-device-response.ts delete mode 100644 lib/dts/lib/response/update-transfer-job-response.ts delete mode 100644 lib/dts/lib/response/update-transfer-package-response.ts delete mode 100644 lib/dts/lib/transferappliance-waiter.ts delete mode 100644 lib/dts/lib/transferapplianceentitlement-waiter.ts delete mode 100644 lib/dts/lib/transferdevice-waiter.ts delete mode 100644 lib/dts/lib/transferjob-waiter.ts delete mode 100644 lib/dts/lib/transferpackage-waiter.ts delete mode 100644 lib/dts/package.json delete mode 100644 lib/dts/tsconfig.json delete mode 100644 lib/osmanagement/README.md delete mode 100644 lib/osmanagement/index.ts delete mode 100644 lib/osmanagement/lib/client.ts delete mode 100644 lib/osmanagement/lib/model/add-packages-to-software-source-details.ts delete mode 100644 lib/osmanagement/lib/model/api-error.ts delete mode 100644 lib/osmanagement/lib/model/arch-types.ts delete mode 100644 lib/osmanagement/lib/model/attach-child-software-source-to-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/attach-parent-software-source-to-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/autonomous-settings.ts delete mode 100644 lib/osmanagement/lib/model/available-software-source-summary.ts delete mode 100644 lib/osmanagement/lib/model/available-update-summary.ts delete mode 100644 lib/osmanagement/lib/model/available-windows-update-summary.ts delete mode 100644 lib/osmanagement/lib/model/change-managed-instance-group-compartment-details.ts delete mode 100644 lib/osmanagement/lib/model/change-scheduled-job-compartment-details.ts delete mode 100644 lib/osmanagement/lib/model/change-software-source-compartment-details.ts delete mode 100644 lib/osmanagement/lib/model/checksum-types.ts delete mode 100644 lib/osmanagement/lib/model/content-availability.ts delete mode 100644 lib/osmanagement/lib/model/crash-event-system-information.ts delete mode 100644 lib/osmanagement/lib/model/create-managed-instance-group-details.ts delete mode 100644 lib/osmanagement/lib/model/create-scheduled-job-details.ts delete mode 100644 lib/osmanagement/lib/model/create-software-source-details.ts delete mode 100644 lib/osmanagement/lib/model/detach-child-software-source-from-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/detach-parent-software-source-from-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/erratum-summary.ts delete mode 100644 lib/osmanagement/lib/model/erratum.ts delete mode 100644 lib/osmanagement/lib/model/event-collection.ts delete mode 100644 lib/osmanagement/lib/model/event-content.ts delete mode 100644 lib/osmanagement/lib/model/event-report.ts delete mode 100644 lib/osmanagement/lib/model/event-summary.ts delete mode 100644 lib/osmanagement/lib/model/event-type.ts delete mode 100644 lib/osmanagement/lib/model/event.ts delete mode 100644 lib/osmanagement/lib/model/id.ts delete mode 100644 lib/osmanagement/lib/model/index.ts delete mode 100644 lib/osmanagement/lib/model/installable-package-summary.ts delete mode 100644 lib/osmanagement/lib/model/installed-package-summary.ts delete mode 100644 lib/osmanagement/lib/model/installed-windows-update-summary.ts delete mode 100644 lib/osmanagement/lib/model/interval-types.ts delete mode 100644 lib/osmanagement/lib/model/is-eligible-for-installation.ts delete mode 100644 lib/osmanagement/lib/model/kernel-crash-event.ts delete mode 100644 lib/osmanagement/lib/model/kernel-oops-event.ts delete mode 100644 lib/osmanagement/lib/model/kernel-vm-core-information.ts delete mode 100644 lib/osmanagement/lib/model/lifecycle-states.ts delete mode 100644 lib/osmanagement/lib/model/manage-module-streams-on-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/managed-instance-group-summary.ts delete mode 100644 lib/osmanagement/lib/model/managed-instance-group.ts delete mode 100644 lib/osmanagement/lib/model/managed-instance-summary.ts delete mode 100644 lib/osmanagement/lib/model/managed-instance.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-details.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-on-managed-instance-summary.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-profile-details.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-profile-on-managed-instance-summary.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-profile-summary.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-profile.ts delete mode 100644 lib/osmanagement/lib/model/module-stream-summary.ts delete mode 100644 lib/osmanagement/lib/model/module-stream.ts delete mode 100644 lib/osmanagement/lib/model/operation-status.ts delete mode 100644 lib/osmanagement/lib/model/operation-types.ts delete mode 100644 lib/osmanagement/lib/model/os-families.ts delete mode 100644 lib/osmanagement/lib/model/package-name.ts delete mode 100644 lib/osmanagement/lib/model/package-update-types.ts delete mode 100644 lib/osmanagement/lib/model/recurrence.ts delete mode 100644 lib/osmanagement/lib/model/related-event-collection.ts delete mode 100644 lib/osmanagement/lib/model/related-event-summary.ts delete mode 100644 lib/osmanagement/lib/model/remove-packages-from-software-source-details.ts delete mode 100644 lib/osmanagement/lib/model/schedule-types.ts delete mode 100644 lib/osmanagement/lib/model/scheduled-job-summary.ts delete mode 100644 lib/osmanagement/lib/model/scheduled-job.ts delete mode 100644 lib/osmanagement/lib/model/software-package-dependency.ts delete mode 100644 lib/osmanagement/lib/model/software-package-file.ts delete mode 100644 lib/osmanagement/lib/model/software-package-search-summary.ts delete mode 100644 lib/osmanagement/lib/model/software-package-summary.ts delete mode 100644 lib/osmanagement/lib/model/software-package.ts delete mode 100644 lib/osmanagement/lib/model/software-source-id.ts delete mode 100644 lib/osmanagement/lib/model/software-source-summary.ts delete mode 100644 lib/osmanagement/lib/model/software-source.ts delete mode 100644 lib/osmanagement/lib/model/update-event-details.ts delete mode 100644 lib/osmanagement/lib/model/update-managed-instance-details.ts delete mode 100644 lib/osmanagement/lib/model/update-managed-instance-group-details.ts delete mode 100644 lib/osmanagement/lib/model/update-module-details.ts delete mode 100644 lib/osmanagement/lib/model/update-module-stream-details.ts delete mode 100644 lib/osmanagement/lib/model/update-module-stream-profile-details.ts delete mode 100644 lib/osmanagement/lib/model/update-module-stream-state-details.ts delete mode 100644 lib/osmanagement/lib/model/update-scheduled-job-details.ts delete mode 100644 lib/osmanagement/lib/model/update-software-source-details.ts delete mode 100644 lib/osmanagement/lib/model/update-types.ts delete mode 100644 lib/osmanagement/lib/model/windows-update-summary.ts delete mode 100644 lib/osmanagement/lib/model/windows-update.ts delete mode 100644 lib/osmanagement/lib/model/work-request-error.ts delete mode 100644 lib/osmanagement/lib/model/work-request-log-entry.ts delete mode 100644 lib/osmanagement/lib/model/work-request-resource.ts delete mode 100644 lib/osmanagement/lib/model/work-request-summary.ts delete mode 100644 lib/osmanagement/lib/model/work-request.ts delete mode 100644 lib/osmanagement/lib/osmanagement-waiter.ts delete mode 100644 lib/osmanagement/lib/request/add-packages-to-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/attach-child-software-source-to-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/attach-managed-instance-to-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/attach-parent-software-source-to-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/change-managed-instance-group-compartment-request.ts delete mode 100644 lib/osmanagement/lib/request/change-scheduled-job-compartment-request.ts delete mode 100644 lib/osmanagement/lib/request/change-software-source-compartment-request.ts delete mode 100644 lib/osmanagement/lib/request/create-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/create-scheduled-job-request.ts delete mode 100644 lib/osmanagement/lib/request/create-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/delete-event-content-request.ts delete mode 100644 lib/osmanagement/lib/request/delete-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/delete-scheduled-job-request.ts delete mode 100644 lib/osmanagement/lib/request/delete-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/detach-child-software-source-from-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/detach-managed-instance-from-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/detach-parent-software-source-from-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/disable-module-stream-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/enable-module-stream-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/get-erratum-request.ts delete mode 100644 lib/osmanagement/lib/request/get-event-content-request.ts delete mode 100644 lib/osmanagement/lib/request/get-event-report-request.ts delete mode 100644 lib/osmanagement/lib/request/get-event-request.ts delete mode 100644 lib/osmanagement/lib/request/get-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/get-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/get-module-stream-profile-request.ts delete mode 100644 lib/osmanagement/lib/request/get-module-stream-request.ts delete mode 100644 lib/osmanagement/lib/request/get-scheduled-job-request.ts delete mode 100644 lib/osmanagement/lib/request/get-software-package-request.ts delete mode 100644 lib/osmanagement/lib/request/get-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/get-windows-update-request.ts delete mode 100644 lib/osmanagement/lib/request/get-work-request-request.ts delete mode 100644 lib/osmanagement/lib/request/index.ts delete mode 100644 lib/osmanagement/lib/request/install-all-package-updates-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/install-all-updates-on-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/install-all-windows-updates-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/install-module-stream-profile-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/install-package-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/install-package-update-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/install-windows-update-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-available-packages-for-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-available-software-sources-for-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-available-updates-for-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-available-windows-updates-for-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-errata-request.ts delete mode 100644 lib/osmanagement/lib/request/list-events-request.ts delete mode 100644 lib/osmanagement/lib/request/list-managed-instance-errata-request.ts delete mode 100644 lib/osmanagement/lib/request/list-managed-instance-groups-request.ts delete mode 100644 lib/osmanagement/lib/request/list-managed-instances-request.ts delete mode 100644 lib/osmanagement/lib/request/list-module-stream-profiles-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-module-stream-profiles-request.ts delete mode 100644 lib/osmanagement/lib/request/list-module-streams-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-module-streams-request.ts delete mode 100644 lib/osmanagement/lib/request/list-packages-installed-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-related-events-request.ts delete mode 100644 lib/osmanagement/lib/request/list-scheduled-jobs-request.ts delete mode 100644 lib/osmanagement/lib/request/list-software-source-packages-request.ts delete mode 100644 lib/osmanagement/lib/request/list-software-sources-request.ts delete mode 100644 lib/osmanagement/lib/request/list-upcoming-scheduled-jobs-request.ts delete mode 100644 lib/osmanagement/lib/request/list-windows-updates-installed-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/list-windows-updates-request.ts delete mode 100644 lib/osmanagement/lib/request/list-work-request-errors-request.ts delete mode 100644 lib/osmanagement/lib/request/list-work-request-logs-request.ts delete mode 100644 lib/osmanagement/lib/request/list-work-requests-request.ts delete mode 100644 lib/osmanagement/lib/request/manage-module-streams-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/remove-module-stream-profile-from-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/remove-package-from-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/remove-packages-from-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/run-scheduled-job-now-request.ts delete mode 100644 lib/osmanagement/lib/request/search-software-packages-request.ts delete mode 100644 lib/osmanagement/lib/request/skip-next-scheduled-job-execution-request.ts delete mode 100644 lib/osmanagement/lib/request/switch-module-stream-on-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/update-event-request.ts delete mode 100644 lib/osmanagement/lib/request/update-managed-instance-group-request.ts delete mode 100644 lib/osmanagement/lib/request/update-managed-instance-request.ts delete mode 100644 lib/osmanagement/lib/request/update-scheduled-job-request.ts delete mode 100644 lib/osmanagement/lib/request/update-software-source-request.ts delete mode 100644 lib/osmanagement/lib/request/upload-event-content-request.ts delete mode 100644 lib/osmanagement/lib/response/add-packages-to-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/attach-child-software-source-to-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/attach-managed-instance-to-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/attach-parent-software-source-to-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/change-managed-instance-group-compartment-response.ts delete mode 100644 lib/osmanagement/lib/response/change-scheduled-job-compartment-response.ts delete mode 100644 lib/osmanagement/lib/response/change-software-source-compartment-response.ts delete mode 100644 lib/osmanagement/lib/response/create-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/create-scheduled-job-response.ts delete mode 100644 lib/osmanagement/lib/response/create-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/delete-event-content-response.ts delete mode 100644 lib/osmanagement/lib/response/delete-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/delete-scheduled-job-response.ts delete mode 100644 lib/osmanagement/lib/response/delete-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/detach-child-software-source-from-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/detach-managed-instance-from-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/detach-parent-software-source-from-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/disable-module-stream-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/enable-module-stream-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/get-erratum-response.ts delete mode 100644 lib/osmanagement/lib/response/get-event-content-response.ts delete mode 100644 lib/osmanagement/lib/response/get-event-report-response.ts delete mode 100644 lib/osmanagement/lib/response/get-event-response.ts delete mode 100644 lib/osmanagement/lib/response/get-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/get-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/get-module-stream-profile-response.ts delete mode 100644 lib/osmanagement/lib/response/get-module-stream-response.ts delete mode 100644 lib/osmanagement/lib/response/get-scheduled-job-response.ts delete mode 100644 lib/osmanagement/lib/response/get-software-package-response.ts delete mode 100644 lib/osmanagement/lib/response/get-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/get-windows-update-response.ts delete mode 100644 lib/osmanagement/lib/response/get-work-request-response.ts delete mode 100644 lib/osmanagement/lib/response/index.ts delete mode 100644 lib/osmanagement/lib/response/install-all-package-updates-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/install-all-updates-on-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/install-all-windows-updates-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/install-module-stream-profile-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/install-package-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/install-package-update-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/install-windows-update-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-available-packages-for-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-available-software-sources-for-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-available-updates-for-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-available-windows-updates-for-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-errata-response.ts delete mode 100644 lib/osmanagement/lib/response/list-events-response.ts delete mode 100644 lib/osmanagement/lib/response/list-managed-instance-errata-response.ts delete mode 100644 lib/osmanagement/lib/response/list-managed-instance-groups-response.ts delete mode 100644 lib/osmanagement/lib/response/list-managed-instances-response.ts delete mode 100644 lib/osmanagement/lib/response/list-module-stream-profiles-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-module-stream-profiles-response.ts delete mode 100644 lib/osmanagement/lib/response/list-module-streams-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-module-streams-response.ts delete mode 100644 lib/osmanagement/lib/response/list-packages-installed-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-related-events-response.ts delete mode 100644 lib/osmanagement/lib/response/list-scheduled-jobs-response.ts delete mode 100644 lib/osmanagement/lib/response/list-software-source-packages-response.ts delete mode 100644 lib/osmanagement/lib/response/list-software-sources-response.ts delete mode 100644 lib/osmanagement/lib/response/list-upcoming-scheduled-jobs-response.ts delete mode 100644 lib/osmanagement/lib/response/list-windows-updates-installed-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/list-windows-updates-response.ts delete mode 100644 lib/osmanagement/lib/response/list-work-request-errors-response.ts delete mode 100644 lib/osmanagement/lib/response/list-work-request-logs-response.ts delete mode 100644 lib/osmanagement/lib/response/list-work-requests-response.ts delete mode 100644 lib/osmanagement/lib/response/manage-module-streams-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/remove-module-stream-profile-from-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/remove-package-from-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/remove-packages-from-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/run-scheduled-job-now-response.ts delete mode 100644 lib/osmanagement/lib/response/search-software-packages-response.ts delete mode 100644 lib/osmanagement/lib/response/skip-next-scheduled-job-execution-response.ts delete mode 100644 lib/osmanagement/lib/response/switch-module-stream-on-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/update-event-response.ts delete mode 100644 lib/osmanagement/lib/response/update-managed-instance-group-response.ts delete mode 100644 lib/osmanagement/lib/response/update-managed-instance-response.ts delete mode 100644 lib/osmanagement/lib/response/update-scheduled-job-response.ts delete mode 100644 lib/osmanagement/lib/response/update-software-source-response.ts delete mode 100644 lib/osmanagement/lib/response/upload-event-content-response.ts delete mode 100644 lib/osmanagement/package.json delete mode 100644 lib/osmanagement/tsconfig.json delete mode 100644 lib/servicemesh/README.md delete mode 100644 lib/servicemesh/index.ts delete mode 100644 lib/servicemesh/lib/client.ts delete mode 100644 lib/servicemesh/lib/model/access-logging-configuration.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-collection.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-rule.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-summary.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-target-details.ts delete mode 100644 lib/servicemesh/lib/model/access-policy-target.ts delete mode 100644 lib/servicemesh/lib/model/access-policy.ts delete mode 100644 lib/servicemesh/lib/model/action-type.ts delete mode 100644 lib/servicemesh/lib/model/all-virtual-services-access-policy-target-details.ts delete mode 100644 lib/servicemesh/lib/model/all-virtual-services-access-policy-target.ts delete mode 100644 lib/servicemesh/lib/model/ca-bundle.ts delete mode 100644 lib/servicemesh/lib/model/certificate-authority.ts delete mode 100644 lib/servicemesh/lib/model/change-access-policy-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-ingress-gateway-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-ingress-gateway-route-table-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-mesh-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-virtual-deployment-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-virtual-service-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/change-virtual-service-route-table-compartment-details.ts delete mode 100644 lib/servicemesh/lib/model/create-access-policy-details.ts delete mode 100644 lib/servicemesh/lib/model/create-ingress-gateway-details.ts delete mode 100644 lib/servicemesh/lib/model/create-ingress-gateway-route-table-details.ts delete mode 100644 lib/servicemesh/lib/model/create-mesh-details.ts delete mode 100644 lib/servicemesh/lib/model/create-virtual-deployment-details.ts delete mode 100644 lib/servicemesh/lib/model/create-virtual-service-details.ts delete mode 100644 lib/servicemesh/lib/model/create-virtual-service-route-table-details.ts delete mode 100644 lib/servicemesh/lib/model/default-virtual-service-routing-policy.ts delete mode 100644 lib/servicemesh/lib/model/disabled-service-discovery-configuration.ts delete mode 100644 lib/servicemesh/lib/model/dns-service-discovery-configuration.ts delete mode 100644 lib/servicemesh/lib/model/external-service-access-policy-target-details.ts delete mode 100644 lib/servicemesh/lib/model/external-service-access-policy-target.ts delete mode 100644 lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/index.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-access-policy-target-details.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-access-policy-target.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-collection.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-host-ref.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-host.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-listener.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security-details.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-route-table-collection.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-route-table-summary.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-route-table.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-summary.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/ingress-gateway.ts delete mode 100644 lib/servicemesh/lib/model/ingress-listener-client-validation-config.ts delete mode 100644 lib/servicemesh/lib/model/ingress-listener-tls-config.ts delete mode 100644 lib/servicemesh/lib/model/local-file-ca-bundle.ts delete mode 100644 lib/servicemesh/lib/model/local-file-tls-certificate.ts delete mode 100644 lib/servicemesh/lib/model/mesh-collection.ts delete mode 100644 lib/servicemesh/lib/model/mesh-mutual-transport-layer-security.ts delete mode 100644 lib/servicemesh/lib/model/mesh-summary.ts delete mode 100644 lib/servicemesh/lib/model/mesh.ts delete mode 100644 lib/servicemesh/lib/model/mutual-transport-layer-security.ts delete mode 100644 lib/servicemesh/lib/model/oci-ca-bundle.ts delete mode 100644 lib/servicemesh/lib/model/oci-tls-certificate.ts delete mode 100644 lib/servicemesh/lib/model/operation-status.ts delete mode 100644 lib/servicemesh/lib/model/operation-type.ts delete mode 100644 lib/servicemesh/lib/model/proxy-details.ts delete mode 100644 lib/servicemesh/lib/model/service-discovery-configuration.ts delete mode 100644 lib/servicemesh/lib/model/sort-order.ts delete mode 100644 lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/tls-certificate.ts delete mode 100644 lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/traffic-rule-target-details.ts delete mode 100644 lib/servicemesh/lib/model/traffic-rule-target.ts delete mode 100644 lib/servicemesh/lib/model/update-access-policy-details.ts delete mode 100644 lib/servicemesh/lib/model/update-ingress-gateway-details.ts delete mode 100644 lib/servicemesh/lib/model/update-ingress-gateway-route-table-details.ts delete mode 100644 lib/servicemesh/lib/model/update-mesh-details.ts delete mode 100644 lib/servicemesh/lib/model/update-virtual-deployment-details.ts delete mode 100644 lib/servicemesh/lib/model/update-virtual-service-details.ts delete mode 100644 lib/servicemesh/lib/model/update-virtual-service-route-table-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment-collection.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment-listener.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment-summary.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target.ts delete mode 100644 lib/servicemesh/lib/model/virtual-deployment.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-access-policy-target-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-access-policy-target.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-collection.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-mutual-transport-layer-security-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-route-table-collection.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-route-table-summary.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-route-table.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-summary.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-traffic-route-rule-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-traffic-route-rule.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-traffic-rule-target-details.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service-traffic-rule-target.ts delete mode 100644 lib/servicemesh/lib/model/virtual-service.ts delete mode 100644 lib/servicemesh/lib/model/work-request-collection.ts delete mode 100644 lib/servicemesh/lib/model/work-request-error-collection.ts delete mode 100644 lib/servicemesh/lib/model/work-request-error.ts delete mode 100644 lib/servicemesh/lib/model/work-request-log-entry-collection.ts delete mode 100644 lib/servicemesh/lib/model/work-request-log-entry.ts delete mode 100644 lib/servicemesh/lib/model/work-request-resource.ts delete mode 100644 lib/servicemesh/lib/model/work-request-summary.ts delete mode 100644 lib/servicemesh/lib/model/work-request.ts delete mode 100644 lib/servicemesh/lib/request/cancel-work-request-request.ts delete mode 100644 lib/servicemesh/lib/request/change-access-policy-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-ingress-gateway-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-ingress-gateway-route-table-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-mesh-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-virtual-deployment-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-virtual-service-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/change-virtual-service-route-table-compartment-request.ts delete mode 100644 lib/servicemesh/lib/request/create-access-policy-request.ts delete mode 100644 lib/servicemesh/lib/request/create-ingress-gateway-request.ts delete mode 100644 lib/servicemesh/lib/request/create-ingress-gateway-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/create-mesh-request.ts delete mode 100644 lib/servicemesh/lib/request/create-virtual-deployment-request.ts delete mode 100644 lib/servicemesh/lib/request/create-virtual-service-request.ts delete mode 100644 lib/servicemesh/lib/request/create-virtual-service-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-access-policy-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-ingress-gateway-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-ingress-gateway-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-mesh-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-virtual-deployment-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-virtual-service-request.ts delete mode 100644 lib/servicemesh/lib/request/delete-virtual-service-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/get-access-policy-request.ts delete mode 100644 lib/servicemesh/lib/request/get-ingress-gateway-request.ts delete mode 100644 lib/servicemesh/lib/request/get-ingress-gateway-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/get-mesh-request.ts delete mode 100644 lib/servicemesh/lib/request/get-proxy-details-request.ts delete mode 100644 lib/servicemesh/lib/request/get-virtual-deployment-request.ts delete mode 100644 lib/servicemesh/lib/request/get-virtual-service-request.ts delete mode 100644 lib/servicemesh/lib/request/get-virtual-service-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/get-work-request-request.ts delete mode 100644 lib/servicemesh/lib/request/index.ts delete mode 100644 lib/servicemesh/lib/request/list-access-policies-request.ts delete mode 100644 lib/servicemesh/lib/request/list-ingress-gateway-route-tables-request.ts delete mode 100644 lib/servicemesh/lib/request/list-ingress-gateways-request.ts delete mode 100644 lib/servicemesh/lib/request/list-meshes-request.ts delete mode 100644 lib/servicemesh/lib/request/list-virtual-deployments-request.ts delete mode 100644 lib/servicemesh/lib/request/list-virtual-service-route-tables-request.ts delete mode 100644 lib/servicemesh/lib/request/list-virtual-services-request.ts delete mode 100644 lib/servicemesh/lib/request/list-work-request-errors-request.ts delete mode 100644 lib/servicemesh/lib/request/list-work-request-logs-request.ts delete mode 100644 lib/servicemesh/lib/request/list-work-requests-request.ts delete mode 100644 lib/servicemesh/lib/request/update-access-policy-request.ts delete mode 100644 lib/servicemesh/lib/request/update-ingress-gateway-request.ts delete mode 100644 lib/servicemesh/lib/request/update-ingress-gateway-route-table-request.ts delete mode 100644 lib/servicemesh/lib/request/update-mesh-request.ts delete mode 100644 lib/servicemesh/lib/request/update-virtual-deployment-request.ts delete mode 100644 lib/servicemesh/lib/request/update-virtual-service-request.ts delete mode 100644 lib/servicemesh/lib/request/update-virtual-service-route-table-request.ts delete mode 100644 lib/servicemesh/lib/response/cancel-work-request-response.ts delete mode 100644 lib/servicemesh/lib/response/change-access-policy-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-ingress-gateway-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-ingress-gateway-route-table-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-mesh-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-virtual-deployment-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-virtual-service-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/change-virtual-service-route-table-compartment-response.ts delete mode 100644 lib/servicemesh/lib/response/create-access-policy-response.ts delete mode 100644 lib/servicemesh/lib/response/create-ingress-gateway-response.ts delete mode 100644 lib/servicemesh/lib/response/create-ingress-gateway-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/create-mesh-response.ts delete mode 100644 lib/servicemesh/lib/response/create-virtual-deployment-response.ts delete mode 100644 lib/servicemesh/lib/response/create-virtual-service-response.ts delete mode 100644 lib/servicemesh/lib/response/create-virtual-service-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-access-policy-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-ingress-gateway-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-ingress-gateway-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-mesh-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-virtual-deployment-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-virtual-service-response.ts delete mode 100644 lib/servicemesh/lib/response/delete-virtual-service-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/get-access-policy-response.ts delete mode 100644 lib/servicemesh/lib/response/get-ingress-gateway-response.ts delete mode 100644 lib/servicemesh/lib/response/get-ingress-gateway-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/get-mesh-response.ts delete mode 100644 lib/servicemesh/lib/response/get-proxy-details-response.ts delete mode 100644 lib/servicemesh/lib/response/get-virtual-deployment-response.ts delete mode 100644 lib/servicemesh/lib/response/get-virtual-service-response.ts delete mode 100644 lib/servicemesh/lib/response/get-virtual-service-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/get-work-request-response.ts delete mode 100644 lib/servicemesh/lib/response/index.ts delete mode 100644 lib/servicemesh/lib/response/list-access-policies-response.ts delete mode 100644 lib/servicemesh/lib/response/list-ingress-gateway-route-tables-response.ts delete mode 100644 lib/servicemesh/lib/response/list-ingress-gateways-response.ts delete mode 100644 lib/servicemesh/lib/response/list-meshes-response.ts delete mode 100644 lib/servicemesh/lib/response/list-virtual-deployments-response.ts delete mode 100644 lib/servicemesh/lib/response/list-virtual-service-route-tables-response.ts delete mode 100644 lib/servicemesh/lib/response/list-virtual-services-response.ts delete mode 100644 lib/servicemesh/lib/response/list-work-request-errors-response.ts delete mode 100644 lib/servicemesh/lib/response/list-work-request-logs-response.ts delete mode 100644 lib/servicemesh/lib/response/list-work-requests-response.ts delete mode 100644 lib/servicemesh/lib/response/update-access-policy-response.ts delete mode 100644 lib/servicemesh/lib/response/update-ingress-gateway-response.ts delete mode 100644 lib/servicemesh/lib/response/update-ingress-gateway-route-table-response.ts delete mode 100644 lib/servicemesh/lib/response/update-mesh-response.ts delete mode 100644 lib/servicemesh/lib/response/update-virtual-deployment-response.ts delete mode 100644 lib/servicemesh/lib/response/update-virtual-service-response.ts delete mode 100644 lib/servicemesh/lib/response/update-virtual-service-route-table-response.ts delete mode 100644 lib/servicemesh/lib/servicemesh-waiter.ts delete mode 100644 lib/servicemesh/package.json delete mode 100644 lib/servicemesh/tsconfig.json diff --git a/lib/aianomalydetection/README.md b/lib/aianomalydetection/README.md deleted file mode 100644 index 8439b959bf..0000000000 --- a/lib/aianomalydetection/README.md +++ /dev/null @@ -1,22 +0,0 @@ - -# OCI NodeJS client for Ai Anomaly Detection Service - -This module enables you to write code to manage resources for Ai Anomaly Detection Service. - -## Requirements - -To use this module, you must have the following: - -- An Oracle Cloud Infrastructure account. -- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). -- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) - -## Installing - -Use the following command to install this module: - -``` -npm install oci-aianomalydetection -``` - -Alternatively you can git clone this repo. diff --git a/lib/aianomalydetection/index.ts b/lib/aianomalydetection/index.ts deleted file mode 100644 index c83b2aa427..0000000000 --- a/lib/aianomalydetection/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as requests from "./lib/request"; -import * as models from "./lib/model"; -import * as responses from "./lib/response"; -import * as client from "./lib/client"; -import * as anomalydetection_waiter from "./lib/anomalydetection-waiter"; - -export { models }; -export { requests }; -export { responses }; -export import AnomalyDetectionClient = client.AnomalyDetectionClient; -export import AnomalyDetectionWaiter = anomalydetection_waiter.AnomalyDetectionWaiter; diff --git a/lib/aianomalydetection/lib/anomalydetection-waiter.ts b/lib/aianomalydetection/lib/anomalydetection-waiter.ts deleted file mode 100644 index 81ff520575..0000000000 --- a/lib/aianomalydetection/lib/anomalydetection-waiter.ts +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { AnomalyDetectionClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class AnomalyDetectionWaiter { - public constructor( - private client: AnomalyDetectionClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forAiPrivateEndpoint 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 GetAiPrivateEndpointResponse | null (null in case of 404 response) - */ - public async forAiPrivateEndpoint( - request: serviceRequests.GetAiPrivateEndpointRequest, - ...targetStates: models.AiPrivateEndpoint.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getAiPrivateEndpoint(request), - response => targetStates.includes(response.aiPrivateEndpoint.lifecycleState!), - targetStates.includes(models.AiPrivateEndpoint.LifecycleState.Deleted) - ); - } - - /** - * Waits forDataAsset 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 GetDataAssetResponse | null (null in case of 404 response) - */ - public async forDataAsset( - request: serviceRequests.GetDataAssetRequest, - ...targetStates: models.DataAsset.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getDataAsset(request), - response => targetStates.includes(response.dataAsset.lifecycleState!), - targetStates.includes(models.DataAsset.LifecycleState.Deleted) - ); - } - - /** - * Waits forDetectAnomalyJob 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 GetDetectAnomalyJobResponse - */ - public async forDetectAnomalyJob( - request: serviceRequests.GetDetectAnomalyJobRequest, - ...targetStates: models.DetectAnomalyJob.LifecycleState[] - ): Promise { - return genericWaiter( - this.config, - () => this.client.getDetectAnomalyJob(request), - response => targetStates.includes(response.detectAnomalyJob.lifecycleState!) - ); - } - - /** - * Waits forModel 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 GetModelResponse | null (null in case of 404 response) - */ - public async forModel( - request: serviceRequests.GetModelRequest, - ...targetStates: models.Model.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getModel(request), - response => targetStates.includes(response.model.lifecycleState!), - targetStates.includes(models.Model.LifecycleState.Deleted) - ); - } - - /** - * Waits forProject 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 GetProjectResponse | null (null in case of 404 response) - */ - public async forProject( - request: serviceRequests.GetProjectRequest, - ...targetStates: models.Project.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getProject(request), - response => targetStates.includes(response.project.lifecycleState!), - targetStates.includes(models.Project.LifecycleState.Deleted) - ); - } - - /** - * Waits forWorkRequest - * - * @param request the request to send - * @return response returns GetWorkRequestResponse - */ - public async forWorkRequest( - request: serviceRequests.GetWorkRequestRequest - ): Promise { - return genericWaiter( - this.config, - () => this.client.getWorkRequest(request), - response => (response.workRequest.timeFinished ? true : false) - ); - } -} diff --git a/lib/aianomalydetection/lib/client.ts b/lib/aianomalydetection/lib/client.ts deleted file mode 100644 index 33061d7fe4..0000000000 --- a/lib/aianomalydetection/lib/client.ts +++ /dev/null @@ -1,3085 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import common = require("oci-common"); -import * as requests from "./request"; -import * as model from "./model"; -import * as responses from "./response"; -import { AnomalyDetectionWaiter } from "./anomalydetection-waiter"; -import { - composeResponse, - composeRequest, - GenericRetrier, - developerToolConfiguration -} from "oci-common"; -const Breaker = require("opossum"); - -// =============================================== -// This file is autogenerated - Please do not edit -// =============================================== - -export enum AnomalyDetectionApiKeys {} -/** - * 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 AnomalyDetectionClient { - protected static serviceEndpointTemplate = - "https://anomalydetection.aiservice.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": AnomalyDetectionWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "AnomalyDetection"; - 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("aianomalydetection")) { - 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("aianomalydetection"); - } - - // 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 + "/20210101"; - if (this.logger) this.logger.info(`AnomalyDetectionClient 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( - AnomalyDetectionClient.serviceEndpointTemplate, - this._region, - AnomalyDetectionClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - AnomalyDetectionClient.serviceEndpointTemplate, - this._regionId, - AnomalyDetectionClient.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( - AnomalyDetectionClient.serviceEndpointTemplate, - region, - AnomalyDetectionClient.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( - AnomalyDetectionClient.serviceEndpointTemplate, - regionId, - AnomalyDetectionClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new AnomalyDetectionWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): AnomalyDetectionWaiter { - this._waiters = new AnomalyDetectionWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): AnomalyDetectionWaiter { - 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(); - } - - /** - * Cancel work request with the given ID. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CancelWorkRequestRequest - * @return CancelWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. - */ - public async cancelWorkRequest( - cancelWorkRequestRequest: requests.CancelWorkRequestRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#cancelWorkRequest."); - const operationName = "cancelWorkRequest"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/WorkRequest/CancelWorkRequest"; - const pathParams = { - "{workRequestId}": cancelWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": cancelWorkRequestRequest.ifMatch, - "opc-request-id": cancelWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - cancelWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Moves a 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 ChangeAiPrivateEndpointCompartmentRequest - * @return ChangeAiPrivateEndpointCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ChangeAiPrivateEndpointCompartment.ts.html |here} to see how to use ChangeAiPrivateEndpointCompartment API. - */ - public async changeAiPrivateEndpointCompartment( - changeAiPrivateEndpointCompartmentRequest: requests.ChangeAiPrivateEndpointCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation AnomalyDetectionClient#changeAiPrivateEndpointCompartment." - ); - const operationName = "changeAiPrivateEndpointCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpoint/ChangeAiPrivateEndpointCompartment"; - const pathParams = { - "{aiPrivateEndpointId}": changeAiPrivateEndpointCompartmentRequest.aiPrivateEndpointId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeAiPrivateEndpointCompartmentRequest.ifMatch, - "opc-request-id": changeAiPrivateEndpointCompartmentRequest.opcRequestId, - "opc-retry-token": changeAiPrivateEndpointCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeAiPrivateEndpointCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints/{aiPrivateEndpointId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeAiPrivateEndpointCompartmentRequest.changeAiPrivateEndpointCompartmentDetails, - "ChangeAiPrivateEndpointCompartmentDetails", - model.ChangeAiPrivateEndpointCompartmentDetails.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; - } - } - - /** - * Changing the compartment of a data asset. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ChangeDataAssetCompartmentRequest - * @return ChangeDataAssetCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ChangeDataAssetCompartment.ts.html |here} to see how to use ChangeDataAssetCompartment API. - */ - public async changeDataAssetCompartment( - changeDataAssetCompartmentRequest: requests.ChangeDataAssetCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#changeDataAssetCompartment."); - const operationName = "changeDataAssetCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAsset/ChangeDataAssetCompartment"; - const pathParams = { - "{dataAssetId}": changeDataAssetCompartmentRequest.dataAssetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeDataAssetCompartmentRequest.ifMatch, - "opc-request-id": changeDataAssetCompartmentRequest.opcRequestId, - "opc-retry-token": changeDataAssetCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeDataAssetCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets/{dataAssetId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeDataAssetCompartmentRequest.changeDataAssetCompartmentDetails, - "ChangeDataAssetCompartmentDetails", - model.ChangeDataAssetCompartmentDetails.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: "dataAsset", - bodyModel: model.DataAsset, - type: "model.DataAsset", - 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; - } - } - - /** - * Moves a asynchronous anomaly detect job resource from one compartment to another. 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 ChangeDetectAnomalyJobCompartmentRequest - * @return ChangeDetectAnomalyJobCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ChangeDetectAnomalyJobCompartment.ts.html |here} to see how to use ChangeDetectAnomalyJobCompartment API. - */ - public async changeDetectAnomalyJobCompartment( - changeDetectAnomalyJobCompartmentRequest: requests.ChangeDetectAnomalyJobCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation AnomalyDetectionClient#changeDetectAnomalyJobCompartment." - ); - const operationName = "changeDetectAnomalyJobCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJob/ChangeDetectAnomalyJobCompartment"; - const pathParams = { - "{detectAnomalyJobId}": changeDetectAnomalyJobCompartmentRequest.detectAnomalyJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeDetectAnomalyJobCompartmentRequest.ifMatch, - "opc-request-id": changeDetectAnomalyJobCompartmentRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeDetectAnomalyJobCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs/{detectAnomalyJobId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeDetectAnomalyJobCompartmentRequest.changeDetectAnomalyJobCompartmentDetails, - "ChangeDetectAnomalyJobCompartmentDetails", - model.ChangeDetectAnomalyJobCompartmentDetails.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 Model resource from one compartment to another. 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 ChangeModelCompartmentRequest - * @return ChangeModelCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartment API. - */ - public async changeModelCompartment( - changeModelCompartmentRequest: requests.ChangeModelCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#changeModelCompartment."); - const operationName = "changeModelCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/ChangeModelCompartment"; - const pathParams = { - "{modelId}": changeModelCompartmentRequest.modelId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeModelCompartmentRequest.ifMatch, - "opc-request-id": changeModelCompartmentRequest.opcRequestId, - "opc-retry-token": changeModelCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeModelCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models/{modelId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeModelCompartmentRequest.changeModelCompartmentDetails, - "ChangeModelCompartmentDetails", - model.ChangeModelCompartmentDetails.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 Project resource from one compartment to another. 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 ChangeProjectCompartmentRequest - * @return ChangeProjectCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartment API. - */ - public async changeProjectCompartment( - changeProjectCompartmentRequest: requests.ChangeProjectCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#changeProjectCompartment."); - const operationName = "changeProjectCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/ChangeProjectCompartment"; - const pathParams = { - "{projectId}": changeProjectCompartmentRequest.projectId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeProjectCompartmentRequest.ifMatch, - "opc-request-id": changeProjectCompartmentRequest.opcRequestId, - "opc-retry-token": changeProjectCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeProjectCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects/{projectId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeProjectCompartmentRequest.changeProjectCompartmentDetails, - "ChangeProjectCompartmentDetails", - model.ChangeProjectCompartmentDetails.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; - } - } - - /** - * Create a new private reverse connection endpoint. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateAiPrivateEndpointRequest - * @return CreateAiPrivateEndpointResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CreateAiPrivateEndpoint.ts.html |here} to see how to use CreateAiPrivateEndpoint API. - */ - public async createAiPrivateEndpoint( - createAiPrivateEndpointRequest: requests.CreateAiPrivateEndpointRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#createAiPrivateEndpoint."); - const operationName = "createAiPrivateEndpoint"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpoint/CreateAiPrivateEndpoint"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createAiPrivateEndpointRequest.opcRequestId, - "opc-retry-token": createAiPrivateEndpointRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createAiPrivateEndpointRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createAiPrivateEndpointRequest.createAiPrivateEndpointDetails, - "CreateAiPrivateEndpointDetails", - model.CreateAiPrivateEndpointDetails.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 a new DataAsset. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateDataAssetRequest - * @return CreateDataAssetResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CreateDataAsset.ts.html |here} to see how to use CreateDataAsset API. - */ - public async createDataAsset( - createDataAssetRequest: requests.CreateDataAssetRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#createDataAsset."); - const operationName = "createDataAsset"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAsset/CreateDataAsset"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createDataAssetRequest.opcRetryToken, - "opc-request-id": createDataAssetRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createDataAssetRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createDataAssetRequest.createDataAssetDetails, - "CreateDataAssetDetails", - model.CreateDataAssetDetails.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: "dataAsset", - bodyModel: model.DataAsset, - type: "model.DataAsset", - 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; - } - } - - /** - * Creates a job to perform anomaly detection. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateDetectAnomalyJobRequest - * @return CreateDetectAnomalyJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CreateDetectAnomalyJob.ts.html |here} to see how to use CreateDetectAnomalyJob API. - */ - public async createDetectAnomalyJob( - createDetectAnomalyJobRequest: requests.CreateDetectAnomalyJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#createDetectAnomalyJob."); - const operationName = "createDetectAnomalyJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJob/CreateDetectAnomalyJob"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createDetectAnomalyJobRequest.opcRequestId, - "opc-retry-token": createDetectAnomalyJobRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createDetectAnomalyJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createDetectAnomalyJobRequest.createDetectAnomalyJobDetails, - "CreateDetectAnomalyJobDetails", - model.CreateDetectAnomalyJobDetails.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: "detectAnomalyJob", - bodyModel: model.DetectAnomalyJob, - type: "model.DetectAnomalyJob", - 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; - } - } - - /** - * Creates a new Model. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateModelRequest - * @return CreateModelResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CreateModel.ts.html |here} to see how to use CreateModel API. - */ - public async createModel( - createModelRequest: requests.CreateModelRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#createModel."); - const operationName = "createModel"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/CreateModel"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createModelRequest.opcRetryToken, - "opc-request-id": createModelRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createModelRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createModelRequest.createModelDetails, - "CreateModelDetails", - model.CreateModelDetails.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: "model", - bodyModel: model.Model, - type: "model.Model", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("location"), - key: "location", - 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 new Project. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateProjectRequest - * @return CreateProjectResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/CreateProject.ts.html |here} to see how to use CreateProject API. - */ - public async createProject( - createProjectRequest: requests.CreateProjectRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#createProject."); - const operationName = "createProject"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/CreateProject"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createProjectRequest.opcRetryToken, - "opc-request-id": createProjectRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createProjectRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createProjectRequest.createProjectDetails, - "CreateProjectDetails", - model.CreateProjectDetails.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: "project", - bodyModel: model.Project, - type: "model.Project", - 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; - } - } - - /** - * Deletes a private reverse connection endpoint by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteAiPrivateEndpointRequest - * @return DeleteAiPrivateEndpointResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DeleteAiPrivateEndpoint.ts.html |here} to see how to use DeleteAiPrivateEndpoint API. - */ - public async deleteAiPrivateEndpoint( - deleteAiPrivateEndpointRequest: requests.DeleteAiPrivateEndpointRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#deleteAiPrivateEndpoint."); - const operationName = "deleteAiPrivateEndpoint"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpoint/DeleteAiPrivateEndpoint"; - const pathParams = { - "{aiPrivateEndpointId}": deleteAiPrivateEndpointRequest.aiPrivateEndpointId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteAiPrivateEndpointRequest.ifMatch, - "opc-request-id": deleteAiPrivateEndpointRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteAiPrivateEndpointRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints/{aiPrivateEndpointId}", - 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 DataAsset resource by identifier - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteDataAssetRequest - * @return DeleteDataAssetResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DeleteDataAsset.ts.html |here} to see how to use DeleteDataAsset API. - */ - public async deleteDataAsset( - deleteDataAssetRequest: requests.DeleteDataAssetRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#deleteDataAsset."); - const operationName = "deleteDataAsset"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAsset/DeleteDataAsset"; - const pathParams = { - "{dataAssetId}": deleteDataAssetRequest.dataAssetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteDataAssetRequest.ifMatch, - "opc-request-id": deleteDataAssetRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteDataAssetRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets/{dataAssetId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Deletes an accepted, but not started detect anomaly asynchronous job. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteDetectAnomalyJobRequest - * @return DeleteDetectAnomalyJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DeleteDetectAnomalyJob.ts.html |here} to see how to use DeleteDetectAnomalyJob API. - */ - public async deleteDetectAnomalyJob( - deleteDetectAnomalyJobRequest: requests.DeleteDetectAnomalyJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#deleteDetectAnomalyJob."); - const operationName = "deleteDetectAnomalyJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJob/DeleteDetectAnomalyJob"; - const pathParams = { - "{detectAnomalyJobId}": deleteDetectAnomalyJobRequest.detectAnomalyJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteDetectAnomalyJobRequest.ifMatch, - "opc-request-id": deleteDetectAnomalyJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteDetectAnomalyJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs/{detectAnomalyJobId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Deletes an ai model resource by identifier. This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a project. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteModelRequest - * @return DeleteModelResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DeleteModel.ts.html |here} to see how to use DeleteModel API. - */ - public async deleteModel( - deleteModelRequest: requests.DeleteModelRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#deleteModel."); - const operationName = "deleteModel"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/DeleteModel"; - const pathParams = { - "{modelId}": deleteModelRequest.modelId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteModelRequest.ifMatch, - "opc-request-id": deleteModelRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteModelRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models/{modelId}", - 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 Project resource by identifier. This operation fails with a 409 error unless all associated resources (models deployments or data assets) are in a DELETED state. You must delete all associated resources before deleting a project. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteProjectRequest - * @return DeleteProjectResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DeleteProject.ts.html |here} to see how to use DeleteProject API. - */ - public async deleteProject( - deleteProjectRequest: requests.DeleteProjectRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#deleteProject."); - const operationName = "deleteProject"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/DeleteProject"; - const pathParams = { - "{projectId}": deleteProjectRequest.projectId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteProjectRequest.ifMatch, - "opc-request-id": deleteProjectRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteProjectRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects/{projectId}", - 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; - } - } - - /** - * Make a detect call with an anomaly model and detection data - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DetectAnomaliesRequest - * @return DetectAnomaliesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/DetectAnomalies.ts.html |here} to see how to use DetectAnomalies API. - */ - public async detectAnomalies( - detectAnomaliesRequest: requests.DetectAnomaliesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#detectAnomalies."); - const operationName = "detectAnomalies"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/DetectAnomalies"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": detectAnomaliesRequest.opcRequestId, - "if-match": detectAnomaliesRequest.ifMatch, - "opc-retry-token": detectAnomaliesRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - detectAnomaliesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/actions/detectAnomalies", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - detectAnomaliesRequest.detectAnomaliesDetails, - "DetectAnomaliesDetails", - model.DetectAnomaliesDetails.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: "anomalyDetectResult", - bodyModel: model.AnomalyDetectResult, - type: "model.AnomalyDetectResult", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets a specific private reverse connection by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetAiPrivateEndpointRequest - * @return GetAiPrivateEndpointResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetAiPrivateEndpoint.ts.html |here} to see how to use GetAiPrivateEndpoint API. - */ - public async getAiPrivateEndpoint( - getAiPrivateEndpointRequest: requests.GetAiPrivateEndpointRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#getAiPrivateEndpoint."); - const operationName = "getAiPrivateEndpoint"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpoint/GetAiPrivateEndpoint"; - const pathParams = { - "{aiPrivateEndpointId}": getAiPrivateEndpointRequest.aiPrivateEndpointId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getAiPrivateEndpointRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getAiPrivateEndpointRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints/{aiPrivateEndpointId}", - 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: "aiPrivateEndpoint", - bodyModel: model.AiPrivateEndpoint, - type: "model.AiPrivateEndpoint", - 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; - } - } - - /** - * Gets a DataAsset by identifier - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetDataAssetRequest - * @return GetDataAssetResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetDataAsset.ts.html |here} to see how to use GetDataAsset API. - */ - public async getDataAsset( - getDataAssetRequest: requests.GetDataAssetRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#getDataAsset."); - const operationName = "getDataAsset"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAsset/GetDataAsset"; - const pathParams = { - "{dataAssetId}": getDataAssetRequest.dataAssetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getDataAssetRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getDataAssetRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets/{dataAssetId}", - 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: "dataAsset", - bodyModel: model.DataAsset, - type: "model.DataAsset", - 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 detect anomaly asynchronous job by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetDetectAnomalyJobRequest - * @return GetDetectAnomalyJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetDetectAnomalyJob.ts.html |here} to see how to use GetDetectAnomalyJob API. - */ - public async getDetectAnomalyJob( - getDetectAnomalyJobRequest: requests.GetDetectAnomalyJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#getDetectAnomalyJob."); - const operationName = "getDetectAnomalyJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJob/GetDetectAnomalyJob"; - const pathParams = { - "{detectAnomalyJobId}": getDetectAnomalyJobRequest.detectAnomalyJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getDetectAnomalyJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getDetectAnomalyJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs/{detectAnomalyJobId}", - 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: "detectAnomalyJob", - bodyModel: model.DetectAnomalyJob, - type: "model.DetectAnomalyJob", - 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 Model by identifier - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetModelRequest - * @return GetModelResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetModel.ts.html |here} to see how to use GetModel API. - */ - public async getModel( - getModelRequest: requests.GetModelRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#getModel."); - const operationName = "getModel"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/GetModel"; - const pathParams = { - "{modelId}": getModelRequest.modelId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getModelRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getModelRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models/{modelId}", - 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: "model", - bodyModel: model.Model, - type: "model.Model", - 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 Project by identifier - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetProjectRequest - * @return GetProjectResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetProject.ts.html |here} to see how to use GetProject API. - */ - public async getProject( - getProjectRequest: requests.GetProjectRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#getProject."); - const operationName = "getProject"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/GetProject"; - const pathParams = { - "{projectId}": getProjectRequest.projectId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getProjectRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getProjectRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects/{projectId}", - 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: "project", - bodyModel: model.Project, - type: "model.Project", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets the status of the work request with the given ID. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetWorkRequestRequest - * @return GetWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. - */ - public async getWorkRequest( - getWorkRequestRequest: requests.GetWorkRequestRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#getWorkRequest."); - const operationName = "getWorkRequest"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/WorkRequest/GetWorkRequest"; - const pathParams = { - "{workRequestId}": getWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequest", - bodyModel: model.WorkRequest, - type: "model.WorkRequest", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a list of all the AI private endpoints in the specified compartment. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListAiPrivateEndpointsRequest - * @return ListAiPrivateEndpointsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListAiPrivateEndpoints.ts.html |here} to see how to use ListAiPrivateEndpoints API. - */ - public async listAiPrivateEndpoints( - listAiPrivateEndpointsRequest: requests.ListAiPrivateEndpointsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#listAiPrivateEndpoints."); - const operationName = "listAiPrivateEndpoints"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpointCollection/ListAiPrivateEndpoints"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listAiPrivateEndpointsRequest.compartmentId, - "lifecycleState": listAiPrivateEndpointsRequest.lifecycleState, - "displayName": listAiPrivateEndpointsRequest.displayName, - "id": listAiPrivateEndpointsRequest.id, - "limit": listAiPrivateEndpointsRequest.limit, - "page": listAiPrivateEndpointsRequest.page, - "sortOrder": listAiPrivateEndpointsRequest.sortOrder, - "sortBy": listAiPrivateEndpointsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAiPrivateEndpointsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAiPrivateEndpointsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints", - 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: "aiPrivateEndpointCollection", - bodyModel: model.AiPrivateEndpointCollection, - type: "model.AiPrivateEndpointCollection", - 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 DataAssets. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListDataAssetsRequest - * @return ListDataAssetsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListDataAssets.ts.html |here} to see how to use ListDataAssets API. - */ - public async listDataAssets( - listDataAssetsRequest: requests.ListDataAssetsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#listDataAssets."); - const operationName = "listDataAssets"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAssetCollection/ListDataAssets"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listDataAssetsRequest.compartmentId, - "projectId": listDataAssetsRequest.projectId, - "displayName": listDataAssetsRequest.displayName, - "limit": listDataAssetsRequest.limit, - "page": listDataAssetsRequest.page, - "lifecycleState": listDataAssetsRequest.lifecycleState, - "sortOrder": listDataAssetsRequest.sortOrder, - "sortBy": listDataAssetsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listDataAssetsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listDataAssetsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets", - 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: "dataAssetCollection", - bodyModel: model.DataAssetCollection, - type: "model.DataAssetCollection", - 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 Anomaly Detection jobs in the specified compartment. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListDetectAnomalyJobsRequest - * @return ListDetectAnomalyJobsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListDetectAnomalyJobs.ts.html |here} to see how to use ListDetectAnomalyJobs API. - */ - public async listDetectAnomalyJobs( - listDetectAnomalyJobsRequest: requests.ListDetectAnomalyJobsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#listDetectAnomalyJobs."); - const operationName = "listDetectAnomalyJobs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJobCollection/ListDetectAnomalyJobs"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listDetectAnomalyJobsRequest.compartmentId, - "modelId": listDetectAnomalyJobsRequest.modelId, - "projectId": listDetectAnomalyJobsRequest.projectId, - "detectAnomalyJobId": listDetectAnomalyJobsRequest.detectAnomalyJobId, - "lifecycleState": listDetectAnomalyJobsRequest.lifecycleState, - "displayName": listDetectAnomalyJobsRequest.displayName, - "limit": listDetectAnomalyJobsRequest.limit, - "page": listDetectAnomalyJobsRequest.page, - "sortOrder": listDetectAnomalyJobsRequest.sortOrder, - "sortBy": listDetectAnomalyJobsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listDetectAnomalyJobsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listDetectAnomalyJobsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs", - 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: "detectAnomalyJobCollection", - bodyModel: model.DetectAnomalyJobCollection, - type: "model.DetectAnomalyJobCollection", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-prev-page"), - key: "opcPrevPage", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a list of Models. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListModelsRequest - * @return ListModelsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListModels.ts.html |here} to see how to use ListModels API. - */ - public async listModels( - listModelsRequest: requests.ListModelsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#listModels."); - const operationName = "listModels"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/ListModels"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listModelsRequest.compartmentId, - "projectId": listModelsRequest.projectId, - "lifecycleState": listModelsRequest.lifecycleState, - "displayName": listModelsRequest.displayName, - "limit": listModelsRequest.limit, - "page": listModelsRequest.page, - "sortOrder": listModelsRequest.sortOrder, - "sortBy": listModelsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listModelsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listModelsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models", - 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: "modelCollection", - bodyModel: model.ModelCollection, - type: "model.ModelCollection", - 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 Projects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListProjectsRequest - * @return ListProjectsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListProjects.ts.html |here} to see how to use ListProjects API. - */ - public async listProjects( - listProjectsRequest: requests.ListProjectsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#listProjects."); - const operationName = "listProjects"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/ListProjects"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listProjectsRequest.compartmentId, - "lifecycleState": listProjectsRequest.lifecycleState, - "displayName": listProjectsRequest.displayName, - "limit": listProjectsRequest.limit, - "page": listProjectsRequest.page, - "sortOrder": listProjectsRequest.sortOrder, - "sortBy": listProjectsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listProjectsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listProjectsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects", - 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: "projectCollection", - bodyModel: model.ProjectCollection, - type: "model.ProjectCollection", - 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; - } - } - - /** - * Return a (paginated) list of errors for a given work request. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestErrorsRequest - * @return ListWorkRequestErrorsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. - */ - public async listWorkRequestErrors( - listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#listWorkRequestErrors."); - const operationName = "listWorkRequestErrors"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/WorkRequestError/ListWorkRequestErrors"; - const pathParams = { - "{workRequestId}": listWorkRequestErrorsRequest.workRequestId - }; - - const queryParams = { - "page": listWorkRequestErrorsRequest.page, - "limit": listWorkRequestErrorsRequest.limit - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestErrorsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestErrorsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/errors", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestErrorCollection", - bodyModel: model.WorkRequestErrorCollection, - type: "model.WorkRequestErrorCollection", - responseHeaders: [ - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Return a (paginated) list of logs for a given work request. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestLogsRequest - * @return ListWorkRequestLogsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. - */ - public async listWorkRequestLogs( - listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#listWorkRequestLogs."); - const operationName = "listWorkRequestLogs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/WorkRequestLogEntry/ListWorkRequestLogs"; - const pathParams = { - "{workRequestId}": listWorkRequestLogsRequest.workRequestId - }; - - const queryParams = { - "page": listWorkRequestLogsRequest.page, - "limit": listWorkRequestLogsRequest.limit - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestLogsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestLogsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/logs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestLogEntryCollection", - bodyModel: model.WorkRequestLogEntryCollection, - type: "model.WorkRequestLogEntryCollection", - responseHeaders: [ - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Lists the work requests in a compartment. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestsRequest - * @return ListWorkRequestsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. - */ - public async listWorkRequests( - listWorkRequestsRequest: requests.ListWorkRequestsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#listWorkRequests."); - const operationName = "listWorkRequests"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/WorkRequest/ListWorkRequests"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listWorkRequestsRequest.compartmentId, - "workRequestId": listWorkRequestsRequest.workRequestId, - "page": listWorkRequestsRequest.page, - "limit": listWorkRequestsRequest.limit - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestSummaryCollection", - bodyModel: model.WorkRequestSummaryCollection, - type: "model.WorkRequestSummaryCollection", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates the private reverse connection endpoint. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateAiPrivateEndpointRequest - * @return UpdateAiPrivateEndpointResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/UpdateAiPrivateEndpoint.ts.html |here} to see how to use UpdateAiPrivateEndpoint API. - */ - public async updateAiPrivateEndpoint( - updateAiPrivateEndpointRequest: requests.UpdateAiPrivateEndpointRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#updateAiPrivateEndpoint."); - const operationName = "updateAiPrivateEndpoint"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/AiPrivateEndpoint/UpdateAiPrivateEndpoint"; - const pathParams = { - "{aiPrivateEndpointId}": updateAiPrivateEndpointRequest.aiPrivateEndpointId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateAiPrivateEndpointRequest.ifMatch, - "opc-request-id": updateAiPrivateEndpointRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateAiPrivateEndpointRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/aiPrivateEndpoints/{aiPrivateEndpointId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateAiPrivateEndpointRequest.updateAiPrivateEndpointDetails, - "UpdateAiPrivateEndpointDetails", - model.UpdateAiPrivateEndpointDetails.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; - } - } - - /** - * Updates the DataAsset - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateDataAssetRequest - * @return UpdateDataAssetResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/UpdateDataAsset.ts.html |here} to see how to use UpdateDataAsset API. - */ - public async updateDataAsset( - updateDataAssetRequest: requests.UpdateDataAssetRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#updateDataAsset."); - const operationName = "updateDataAsset"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DataAsset/UpdateDataAsset"; - const pathParams = { - "{dataAssetId}": updateDataAssetRequest.dataAssetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateDataAssetRequest.ifMatch, - "opc-request-id": updateDataAssetRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateDataAssetRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/dataAssets/{dataAssetId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateDataAssetRequest.updateDataAssetDetails, - "UpdateDataAssetDetails", - model.UpdateDataAssetDetails.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: "dataAsset", - bodyModel: model.DataAsset, - type: "model.DataAsset", - 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; - } - } - - /** - * Updates the detect anomaly asynchronous job by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateDetectAnomalyJobRequest - * @return UpdateDetectAnomalyJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/UpdateDetectAnomalyJob.ts.html |here} to see how to use UpdateDetectAnomalyJob API. - */ - public async updateDetectAnomalyJob( - updateDetectAnomalyJobRequest: requests.UpdateDetectAnomalyJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation AnomalyDetectionClient#updateDetectAnomalyJob."); - const operationName = "updateDetectAnomalyJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/DetectAnomalyJob/UpdateDetectAnomalyJob"; - const pathParams = { - "{detectAnomalyJobId}": updateDetectAnomalyJobRequest.detectAnomalyJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateDetectAnomalyJobRequest.ifMatch, - "opc-request-id": updateDetectAnomalyJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateDetectAnomalyJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/detectAnomalyJobs/{detectAnomalyJobId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateDetectAnomalyJobRequest.updateDetectAnomalyJobDetails, - "UpdateDetectAnomalyJobDetails", - model.UpdateDetectAnomalyJobDetails.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: "detectAnomalyJob", - bodyModel: model.DetectAnomalyJob, - type: "model.DetectAnomalyJob", - 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; - } - } - - /** - * Updates the Model - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateModelRequest - * @return UpdateModelResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/UpdateModel.ts.html |here} to see how to use UpdateModel API. - */ - public async updateModel( - updateModelRequest: requests.UpdateModelRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#updateModel."); - const operationName = "updateModel"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Model/UpdateModel"; - const pathParams = { - "{modelId}": updateModelRequest.modelId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateModelRequest.ifMatch, - "opc-request-id": updateModelRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateModelRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/models/{modelId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateModelRequest.updateModelDetails, - "UpdateModelDetails", - model.UpdateModelDetails.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; - } - } - - /** - * Updates the Project - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateProjectRequest - * @return UpdateProjectResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/aianomalydetection/UpdateProject.ts.html |here} to see how to use UpdateProject API. - */ - public async updateProject( - updateProjectRequest: requests.UpdateProjectRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation AnomalyDetectionClient#updateProject."); - const operationName = "updateProject"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/anomalydetection/20210101/Project/UpdateProject"; - const pathParams = { - "{projectId}": updateProjectRequest.projectId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateProjectRequest.ifMatch, - "opc-request-id": updateProjectRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateProjectRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/projects/{projectId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateProjectRequest.updateProjectDetails, - "UpdateProjectDetails", - model.UpdateProjectDetails.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: "project", - bodyModel: model.Project, - type: "model.Project", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} diff --git a/lib/aianomalydetection/lib/model/action-type.ts b/lib/aianomalydetection/lib/model/action-type.ts deleted file mode 100644 index 817912441a..0000000000 --- a/lib/aianomalydetection/lib/model/action-type.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Possible types of actions. - **/ -export enum ActionType { - Created = "CREATED", - Updated = "UPDATED", - Deleted = "DELETED", - InProgress = "IN_PROGRESS", - Related = "RELATED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace ActionType { - export function getJsonObj(obj: ActionType): ActionType { - return obj; - } - export function getDeserializedJsonObj(obj: ActionType): ActionType { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/ai-private-endpoint-collection.ts b/lib/aianomalydetection/lib/model/ai-private-endpoint-collection.ts deleted file mode 100644 index 3feb6a16b2..0000000000 --- a/lib/aianomalydetection/lib/model/ai-private-endpoint-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AI Service PrivateEndpoints Each item is a AI Service PrivateEndpoint Summary object. - */ -export interface AiPrivateEndpointCollection { - /** - * List of AI Service PrivateEndpoint. - */ - "items": Array; -} - -export namespace AiPrivateEndpointCollection { - export function getJsonObj(obj: AiPrivateEndpointCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AiPrivateEndpointSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AiPrivateEndpointCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AiPrivateEndpointSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/ai-private-endpoint-summary.ts b/lib/aianomalydetection/lib/model/ai-private-endpoint-summary.ts deleted file mode 100644 index 7b7b34b215..0000000000 --- a/lib/aianomalydetection/lib/model/ai-private-endpoint-summary.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 private network reverse connection creates a connection from service to customer subnet over a private network. - */ -export interface AiPrivateEndpointSummary { - /** - * Unique identifier that is immutable. - */ - "id": string; - /** - * Subnet Identifier. - */ - "subnetId": string; - /** - * List of DNS zones to be used by the data assets. - * Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com - * - */ - "dnsZones": Array; - /** - * Identifier of the compartment this private endpoint belongs to. - */ - "compartmentId": string; - /** - * The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. - */ - "timeCreated"?: Date; - /** - * The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. - */ - "timeUpdated"?: Date; - /** - * Mutable name of the Private Reverse Connection Endpoint. - */ - "displayName"?: string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; - /** - * The current state of the private endpoint resource. - */ - "lifecycleState"?: string; -} - -export namespace AiPrivateEndpointSummary { - export function getJsonObj(obj: AiPrivateEndpointSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AiPrivateEndpointSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/ai-private-endpoint.ts b/lib/aianomalydetection/lib/model/ai-private-endpoint.ts deleted file mode 100644 index 3533ddc3b2..0000000000 --- a/lib/aianomalydetection/lib/model/ai-private-endpoint.ts +++ /dev/null @@ -1,111 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 private network reverse connection creates a connection from service to customer subnet over a private network. - */ -export interface AiPrivateEndpoint { - /** - * Unique identifier that is immutable. - */ - "id": string; - /** - * Compartment Identifier. - */ - "compartmentId": string; - /** - * Subnet Identifier - */ - "subnetId": string; - /** - * Private Reverse Connection Endpoint display name. - */ - "displayName"?: string; - /** - * List of DNS zones to be used by the data assets. - * Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com - * - */ - "dnsZones": Array; - /** - * The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. - */ - "timeCreated"?: Date; - /** - * The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. - */ - "timeUpdated"?: Date; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; - /** - * The current state of the private endpoint resource. - */ - "lifecycleState"?: AiPrivateEndpoint.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. - */ - "lifecycleDetails"?: string; - /** - * The list of dataAssets using the private reverse connection endpoint. - */ - "attachedDataAssets"?: Array; -} - -export namespace AiPrivateEndpoint { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: AiPrivateEndpoint): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AiPrivateEndpoint): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/anomaly-detect-result.ts b/lib/aianomalydetection/lib/model/anomaly-detect-result.ts deleted file mode 100644 index d4f598a5a2..0000000000 --- a/lib/aianomalydetection/lib/model/anomaly-detect-result.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 the detect anomalies call. - */ -export interface AnomalyDetectResult { - /** - * A list to hold anomaly points grouped by timestamp/row. - */ - "detectionResults": Array; -} - -export namespace AnomalyDetectResult { - export function getJsonObj(obj: AnomalyDetectResult): object { - const jsonObj = { - ...obj, - ...{ - "detectionResults": obj.detectionResults - ? obj.detectionResults.map(item => { - return model.DetectionResultItem.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AnomalyDetectResult): object { - const jsonObj = { - ...obj, - ...{ - "detectionResults": obj.detectionResults - ? obj.detectionResults.map(item => { - return model.DetectionResultItem.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/anomaly.ts b/lib/aianomalydetection/lib/model/anomaly.ts deleted file mode 100644 index a8bc8fdeb0..0000000000 --- a/lib/aianomalydetection/lib/model/anomaly.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An object to hold value information for each anomaly point - */ -export interface Anomaly { - /** - * Name of a signal where current anomaly point belongs to - */ - "signalName": string; - /** - * The actual value for the anomaly point at given signal and timestamp/row Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "actualValue": number; - /** - * The estimated value for the anomaly point at given signal and timestamp/row Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "estimatedValue": number; - /** - * The value imputed by an IDP step for missing values in origin data. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "imputedValue"?: number; - /** - * A significant score ranged from 0 to 1 to each anomaly point. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "anomalyScore": number; -} - -export namespace Anomaly { - export function getJsonObj(obj: Anomaly): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Anomaly): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/change-ai-private-endpoint-compartment-details.ts b/lib/aianomalydetection/lib/model/change-ai-private-endpoint-compartment-details.ts deleted file mode 100644 index eb8a322b91..0000000000 --- a/lib/aianomalydetection/lib/model/change-ai-private-endpoint-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 private endpoint resource. - */ -export interface ChangeAiPrivateEndpointCompartmentDetails { - /** - * The identifier of the compartment where the resource should be moved. - */ - "compartmentId": string; -} - -export namespace ChangeAiPrivateEndpointCompartmentDetails { - export function getJsonObj(obj: ChangeAiPrivateEndpointCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeAiPrivateEndpointCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/change-data-asset-compartment-details.ts b/lib/aianomalydetection/lib/model/change-data-asset-compartment-details.ts deleted file mode 100644 index 4c3d4d3ede..0000000000 --- a/lib/aianomalydetection/lib/model/change-data-asset-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 changing the compartment of a data asset. - */ -export interface ChangeDataAssetCompartmentDetails { - /** - * 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 ChangeDataAssetCompartmentDetails { - export function getJsonObj(obj: ChangeDataAssetCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeDataAssetCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/change-detect-anomaly-job-compartment-details.ts b/lib/aianomalydetection/lib/model/change-detect-anomaly-job-compartment-details.ts deleted file mode 100644 index d5b8ade00a..0000000000 --- a/lib/aianomalydetection/lib/model/change-detect-anomaly-job-compartment-details.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 changing the compartment of the DetectAnomalyJob. - */ -export interface ChangeDetectAnomalyJobCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment - * the resource should be moved to. - * - */ - "compartmentId": string; -} - -export namespace ChangeDetectAnomalyJobCompartmentDetails { - export function getJsonObj(obj: ChangeDetectAnomalyJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeDetectAnomalyJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/change-model-compartment-details.ts b/lib/aianomalydetection/lib/model/change-model-compartment-details.ts deleted file mode 100644 index c0eff3f640..0000000000 --- a/lib/aianomalydetection/lib/model/change-model-compartment-details.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 changing the compartment of a model. - */ -export interface ChangeModelCompartmentDetails { - /** - * 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 ChangeModelCompartmentDetails { - export function getJsonObj(obj: ChangeModelCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeModelCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/change-project-compartment-details.ts b/lib/aianomalydetection/lib/model/change-project-compartment-details.ts deleted file mode 100644 index 53c5c59075..0000000000 --- a/lib/aianomalydetection/lib/model/change-project-compartment-details.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 changing the compartment of a project. - */ -export interface ChangeProjectCompartmentDetails { - /** - * 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 ChangeProjectCompartmentDetails { - export function getJsonObj(obj: ChangeProjectCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeProjectCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/create-ai-private-endpoint-details.ts b/lib/aianomalydetection/lib/model/create-ai-private-endpoint-details.ts deleted file mode 100644 index 1f5536ae8c..0000000000 --- a/lib/aianomalydetection/lib/model/create-ai-private-endpoint-details.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 new private endpoint resource. - */ -export interface CreateAiPrivateEndpointDetails { - /** - * List of DNS zones to be used by the data assets. - * Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com - * - */ - "dnsZones": Array; - /** - * The OCID of subnet to which the reverse connection is to be created. - * - */ - "subnetId": string; - /** - * Compartment identifier. - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Display name of the private endpoint resource being created. - */ - "displayName"?: string; -} - -export namespace CreateAiPrivateEndpointDetails { - export function getJsonObj(obj: CreateAiPrivateEndpointDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateAiPrivateEndpointDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/create-data-asset-details.ts b/lib/aianomalydetection/lib/model/create-data-asset-details.ts deleted file mode 100644 index 5d59d09e8e..0000000000 --- a/lib/aianomalydetection/lib/model/create-data-asset-details.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Parameters needed to create a new data asset. - * - */ -export interface CreateDataAssetDetails { - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName"?: string; - /** - * The OCID for the data asset's compartment. - */ - "compartmentId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the data asset. - */ - "projectId": string; - /** - * A short description of the Ai data asset - */ - "description"?: string; - "dataSourceDetails": - | model.DataSourceDetailsObjectStorage - | model.DataSourceDetailsInflux - | model.DataSourceDetailsATP; - /** - * OCID of Private Endpoint. - */ - "privateEndpointId"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateDataAssetDetails { - export function getJsonObj(obj: CreateDataAssetDetails): object { - const jsonObj = { - ...obj, - ...{ - "dataSourceDetails": obj.dataSourceDetails - ? model.DataSourceDetails.getJsonObj(obj.dataSourceDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateDataAssetDetails): object { - const jsonObj = { - ...obj, - ...{ - "dataSourceDetails": obj.dataSourceDetails - ? model.DataSourceDetails.getDeserializedJsonObj(obj.dataSourceDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/create-detect-anomaly-job-details.ts b/lib/aianomalydetection/lib/model/create-detect-anomaly-job-details.ts deleted file mode 100644 index fb4536228f..0000000000 --- a/lib/aianomalydetection/lib/model/create-detect-anomaly-job-details.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 class for the DetectAnomalies async call. It contains the identifier that is - * used for deciding what type of request this is. - * - */ -export interface CreateDetectAnomalyJobDetails { - /** - * The OCID of the compartment that starts the job. - */ - "compartmentId": string; - /** - * A short description of the detect anomaly job. - */ - "description"?: string; - /** - * Detect anomaly job display name. - */ - "displayName"?: string; - /** - * The OCID of the trained model. - */ - "modelId": string; - /** - * The value that customer can adjust to control the sensitivity of anomaly detection Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sensitivity"?: number; - /** - * Flag to enable the service to return estimates for all data points rather than just the anomalous data points. - */ - "areAllEstimatesRequired"?: boolean; - "inputDetails": - | model.EmbeddedInputDetails - | model.ObjectListInputDetails - | model.InlineInputDetails; - "outputDetails": model.ObjectStoreOutputDetails; -} - -export namespace CreateDetectAnomalyJobDetails { - export function getJsonObj(obj: CreateDetectAnomalyJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "inputDetails": obj.inputDetails - ? model.InputDetails.getJsonObj(obj.inputDetails) - : undefined, - "outputDetails": obj.outputDetails - ? model.OutputDetails.getJsonObj(obj.outputDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateDetectAnomalyJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "inputDetails": obj.inputDetails - ? model.InputDetails.getDeserializedJsonObj(obj.inputDetails) - : undefined, - "outputDetails": obj.outputDetails - ? model.OutputDetails.getDeserializedJsonObj(obj.outputDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/create-model-details.ts b/lib/aianomalydetection/lib/model/create-model-details.ts deleted file mode 100644 index 0d9d6341eb..0000000000 --- a/lib/aianomalydetection/lib/model/create-model-details.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information needed to train a new model - */ -export interface CreateModelDetails { - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName"?: string; - /** - * A short description of the ai model. - */ - "description"?: string; - /** - * The OCID for the ai model's compartment. - */ - "compartmentId": string; - "modelTrainingDetails": model.ModelTrainingDetails; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. - */ - "projectId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateModelDetails { - export function getJsonObj(obj: CreateModelDetails): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getJsonObj(obj.modelTrainingDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateModelDetails): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getDeserializedJsonObj(obj.modelTrainingDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/create-project-details.ts b/lib/aianomalydetection/lib/model/create-project-details.ts deleted file mode 100644 index 47a984b870..0000000000 --- a/lib/aianomalydetection/lib/model/create-project-details.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Parameters needed to create a new project. Projects enable users to organize their work. - * - */ -export interface CreateProjectDetails { - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName"?: string; - /** - * A short description of the project. - */ - "description"?: string; - /** - * The OCID for the project's compartment. - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateProjectDetails { - export function getJsonObj(obj: CreateProjectDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateProjectDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-asset-collection.ts b/lib/aianomalydetection/lib/model/data-asset-collection.ts deleted file mode 100644 index 734a705984..0000000000 --- a/lib/aianomalydetection/lib/model/data-asset-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 dataAsset search. Contains both DataAssetSummary items and other data. - */ -export interface DataAssetCollection { - /** - * List of dataAssets. - */ - "items": Array; -} - -export namespace DataAssetCollection { - export function getJsonObj(obj: DataAssetCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.DataAssetSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DataAssetCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.DataAssetSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-asset-summary.ts b/lib/aianomalydetection/lib/model/data-asset-summary.ts deleted file mode 100644 index 5ce15bd17c..0000000000 --- a/lib/aianomalydetection/lib/model/data-asset-summary.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DataAsset. - */ -export interface DataAssetSummary { - /** - * Unique identifier that is immutable on creation - */ - "id": string; - /** - * Compartment Identifier - */ - "compartmentId": string; - /** - * DataAsset Identifier, can be renamed - */ - "displayName": string; - /** - * A short description of the Ai data asset - */ - "description"?: string; - /** - * The time the the DataAsset was created. An RFC3339 formatted datetime string - */ - "timeCreated": Date; - /** - * The time the the DataAsset was updated. An RFC3339 formatted datetime string - */ - "timeUpdated"?: Date; - /** - * The current state of the data asset. - */ - "lifecycleState"?: string; - /** - * Unique identifier for a project that is immutable on creation - */ - "projectId": string; - /** - * Data source type where actually data asset is being stored - */ - "dataSourceType": model.DataSourceType; - /** - * OCID of Private Endpoint. - */ - "privateEndpointId"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace DataAssetSummary { - export function getJsonObj(obj: DataAssetSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DataAssetSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-asset.ts b/lib/aianomalydetection/lib/model/data-asset.ts deleted file mode 100644 index 5ffed3db23..0000000000 --- a/lib/aianomalydetection/lib/model/data-asset.ts +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of DataAsset. - */ -export interface DataAsset { - /** - * The Unique Oracle ID (OCID) that is immutable on creation. - */ - "id": string; - /** - * The OCID of the compartment containing the DataAsset. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ - "displayName": string; - /** - * A short description of the data asset. - */ - "description"?: string; - /** - * The time the the DataAsset was created. An RFC3339 formatted datetime string - */ - "timeCreated": Date; - /** - * The time the the DataAsset was updated. An RFC3339 formatted datetime string - */ - "timeUpdated"?: Date; - /** - * The lifecycle state of the Data Asset. - */ - "lifecycleState": DataAsset.LifecycleState; - /** - * The Unique project id which is created at project creation that is immutable on creation. - */ - "projectId": string; - "dataSourceDetails": - | model.DataSourceDetailsObjectStorage - | model.DataSourceDetailsInflux - | model.DataSourceDetailsATP; - /** - * OCID of Private Endpoint. - */ - "privateEndpointId"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace DataAsset { - export enum LifecycleState { - Active = "ACTIVE", - Deleted = "DELETED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: DataAsset): object { - const jsonObj = { - ...obj, - ...{ - "dataSourceDetails": obj.dataSourceDetails - ? model.DataSourceDetails.getJsonObj(obj.dataSourceDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DataAsset): object { - const jsonObj = { - ...obj, - ...{ - "dataSourceDetails": obj.dataSourceDetails - ? model.DataSourceDetails.getDeserializedJsonObj(obj.dataSourceDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-item.ts b/lib/aianomalydetection/lib/model/data-item.ts deleted file mode 100644 index afa3815a1a..0000000000 --- a/lib/aianomalydetection/lib/model/data-item.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Simple object representing signal values at a certain point in time. - */ -export interface DataItem { - /** - * Nullable string representing timestamp. - */ - "timestamp"?: Date; - /** - * Array of double precision values. - */ - "values": Array; -} - -export namespace DataItem { - export function getJsonObj(obj: DataItem): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DataItem): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-source-details-at-p.ts b/lib/aianomalydetection/lib/model/data-source-details-at-p.ts deleted file mode 100644 index 281d551103..0000000000 --- a/lib/aianomalydetection/lib/model/data-source-details-at-p.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Data Source details for ATP - */ -export interface DataSourceDetailsATP extends model.DataSourceDetails { - /** - * wallet password Secret ID in String format - */ - "walletPasswordSecretId"?: string; - /** - * atp db user name - */ - "atpUserName"?: string; - /** - * atp db password Secret Id - */ - "atpPasswordSecretId"?: string; - /** - * OCID of the secret containing the containers certificates of ATP wallet - */ - "cwalletFileSecretId"?: string; - /** - * OCID of the secret containing the PDB'S certificates of ATP wallet - */ - "ewalletFileSecretId"?: string; - /** - * OCID of the secret containing Keystore.jks file of the ATP wallet - */ - "keyStoreFileSecretId"?: string; - /** - * OCID of the secret that contains jdbc properties file of ATP wallet - */ - "ojdbcFileSecretId"?: string; - /** - * OCID of the secret that contains the tnsnames file of ATP wallet - */ - "tnsnamesFileSecretId"?: string; - /** - * OCID of the secret containing truststore.jks file of the ATP wallet - */ - "truststoreFileSecretId"?: string; - /** - * atp database name - */ - "databaseName"?: string; - /** - * atp database table name - */ - "tableName"?: string; - - "dataSourceType": string; -} - -export namespace DataSourceDetailsATP { - export function getJsonObj(obj: DataSourceDetailsATP, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getJsonObj(obj) as DataSourceDetailsATP)), - ...{} - }; - - return jsonObj; - } - export const dataSourceType = "ORACLE_ATP"; - export function getDeserializedJsonObj( - obj: DataSourceDetailsATP, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getDeserializedJsonObj(obj) as DataSourceDetailsATP)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-source-details-influx.ts b/lib/aianomalydetection/lib/model/data-source-details-influx.ts deleted file mode 100644 index 2c3f87533a..0000000000 --- a/lib/aianomalydetection/lib/model/data-source-details-influx.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Data Source details for influx. - */ -export interface DataSourceDetailsInflux extends model.DataSourceDetails { - "versionSpecificDetails": model.InfluxDetailsV1v8 | model.InfluxDetailsV2v0; - /** - * Username for connection to Influx - */ - "userName": string; - /** - * Password Secret Id for the influx connection - */ - "passwordSecretId": string; - /** - * Measurement name for influx - */ - "measurementName": string; - /** - * public IP address and port to influx DB - */ - "url": string; - - "dataSourceType": string; -} - -export namespace DataSourceDetailsInflux { - export function getJsonObj(obj: DataSourceDetailsInflux, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getJsonObj(obj) as DataSourceDetailsInflux)), - ...{ - "versionSpecificDetails": obj.versionSpecificDetails - ? model.InfluxDetails.getJsonObj(obj.versionSpecificDetails) - : undefined - } - }; - - return jsonObj; - } - export const dataSourceType = "INFLUX"; - export function getDeserializedJsonObj( - obj: DataSourceDetailsInflux, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getDeserializedJsonObj(obj) as DataSourceDetailsInflux)), - ...{ - "versionSpecificDetails": obj.versionSpecificDetails - ? model.InfluxDetails.getDeserializedJsonObj(obj.versionSpecificDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-source-details-object-storage.ts b/lib/aianomalydetection/lib/model/data-source-details-object-storage.ts deleted file mode 100644 index 7bf54548f7..0000000000 --- a/lib/aianomalydetection/lib/model/data-source-details-object-storage.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Data Source details for object storage - */ -export interface DataSourceDetailsObjectStorage extends model.DataSourceDetails { - /** - * Object storage namespace - */ - "namespace"?: string; - /** - * Object storage bucket name - */ - "bucketName"?: string; - /** - * File name - */ - "objectName"?: string; - - "dataSourceType": string; -} - -export namespace DataSourceDetailsObjectStorage { - export function getJsonObj( - obj: DataSourceDetailsObjectStorage, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getJsonObj(obj) as DataSourceDetailsObjectStorage)), - ...{} - }; - - return jsonObj; - } - export const dataSourceType = "ORACLE_OBJECT_STORAGE"; - export function getDeserializedJsonObj( - obj: DataSourceDetailsObjectStorage, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DataSourceDetails.getDeserializedJsonObj(obj) as DataSourceDetailsObjectStorage)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-source-details.ts b/lib/aianomalydetection/lib/model/data-source-details.ts deleted file mode 100644 index c4de330cf3..0000000000 --- a/lib/aianomalydetection/lib/model/data-source-details.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 data sources - */ -export interface DataSourceDetails { - "dataSourceType": string; -} - -export namespace DataSourceDetails { - export function getJsonObj(obj: DataSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "dataSourceType" in obj && obj.dataSourceType) { - switch (obj.dataSourceType) { - case "ORACLE_OBJECT_STORAGE": - return model.DataSourceDetailsObjectStorage.getJsonObj( - (jsonObj), - true - ); - case "INFLUX": - return model.DataSourceDetailsInflux.getJsonObj( - (jsonObj), - true - ); - case "ORACLE_ATP": - return model.DataSourceDetailsATP.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.dataSourceType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: DataSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "dataSourceType" in obj && obj.dataSourceType) { - switch (obj.dataSourceType) { - case "ORACLE_OBJECT_STORAGE": - return model.DataSourceDetailsObjectStorage.getDeserializedJsonObj( - (jsonObj), - true - ); - case "INFLUX": - return model.DataSourceDetailsInflux.getDeserializedJsonObj( - (jsonObj), - true - ); - case "ORACLE_ATP": - return model.DataSourceDetailsATP.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.dataSourceType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/data-source-type.ts b/lib/aianomalydetection/lib/model/data-source-type.ts deleted file mode 100644 index b84b95bbe6..0000000000 --- a/lib/aianomalydetection/lib/model/data-source-type.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 data sources - **/ -export enum DataSourceType { - OracleObjectStorage = "ORACLE_OBJECT_STORAGE", - OracleAtp = "ORACLE_ATP", - Influx = "INFLUX", - - /** - * 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 DataSourceType { - export function getJsonObj(obj: DataSourceType): DataSourceType { - return obj; - } - export function getDeserializedJsonObj(obj: DataSourceType): DataSourceType { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/detect-anomalies-details.ts b/lib/aianomalydetection/lib/model/detect-anomalies-details.ts deleted file mode 100644 index 25e108d8a3..0000000000 --- a/lib/aianomalydetection/lib/model/detect-anomalies-details.ts +++ /dev/null @@ -1,81 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 class for the DetectAnomalies call. It contains the identifier that is - * used for deciding what type of request this is. - * - */ -export interface DetectAnomaliesDetails { - /** - * The OCID of the trained model. - */ - "modelId": string; - /** - * Sensitivity of the algorithm to detect anomalies - higher the value, more anomalies get flagged. The value estimated during training is used by default. You can choose to provide a custom value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sensitivity"?: number; - - "requestType": string; -} - -export namespace DetectAnomaliesDetails { - export function getJsonObj(obj: DetectAnomaliesDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "requestType" in obj && obj.requestType) { - switch (obj.requestType) { - case "INLINE": - return model.InlineDetectAnomaliesRequest.getJsonObj( - (jsonObj), - true - ); - case "BASE64_ENCODED": - return model.EmbeddedDetectAnomaliesRequest.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.requestType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetectAnomaliesDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "requestType" in obj && obj.requestType) { - switch (obj.requestType) { - case "INLINE": - return model.InlineDetectAnomaliesRequest.getDeserializedJsonObj( - (jsonObj), - true - ); - case "BASE64_ENCODED": - return model.EmbeddedDetectAnomaliesRequest.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.requestType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/detect-anomaly-job-collection.ts b/lib/aianomalydetection/lib/model/detect-anomaly-job-collection.ts deleted file mode 100644 index 386aa2da34..0000000000 --- a/lib/aianomalydetection/lib/model/detect-anomaly-job-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 anomaly jobs. Each item is a DetectAnomalyJob summary object. - */ -export interface DetectAnomalyJobCollection { - /** - * List of Anomaly Detection jobs. - */ - "items": Array; -} - -export namespace DetectAnomalyJobCollection { - export function getJsonObj(obj: DetectAnomalyJobCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.DetectAnomalyJobSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetectAnomalyJobCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.DetectAnomalyJobSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/detect-anomaly-job-summary.ts b/lib/aianomalydetection/lib/model/detect-anomaly-job-summary.ts deleted file mode 100644 index 3f6f3d8007..0000000000 --- a/lib/aianomalydetection/lib/model/detect-anomaly-job-summary.ts +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Anomaly Job summary contains minimal information for asynchronous inference of anomalies - * returned in list response. - * - */ -export interface DetectAnomalyJobSummary { - /** - * Id of the job. - */ - "id": string; - /** - * The OCID of the compartment that starts the job. - */ - "compartmentId": string; - /** - * Detect anomaly job display name. - */ - "displayName"?: string; - /** - * Detect anomaly job description. - */ - "description"?: string; - /** - * The OCID of the trained model. - */ - "modelId": string; - /** - * The OCID of the project. - */ - "projectId"?: string; - /** - * Job accepted time - */ - "timeAccepted": Date; - /** - * Job started time - */ - "timeStarted"?: Date; - /** - * Job finished time - */ - "timeFinished"?: Date; - /** - * The current state of the batch document job. - */ - "lifecycleState": string; - /** - * The current state details of the batch document job. - */ - "lifecycleStateDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace DetectAnomalyJobSummary { - export function getJsonObj(obj: DetectAnomalyJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetectAnomalyJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/detect-anomaly-job.ts b/lib/aianomalydetection/lib/model/detect-anomaly-job.ts deleted file mode 100644 index 14b8fcd6d7..0000000000 --- a/lib/aianomalydetection/lib/model/detect-anomaly-job.ts +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Anomaly Job contains information for asynchronous detection of anomalies. - */ -export interface DetectAnomalyJob { - /** - * Id of the job. - */ - "id": string; - /** - * The OCID of the compartment that starts the job. - */ - "compartmentId": string; - /** - * Detect anomaly job display name. - */ - "displayName"?: string; - /** - * Detect anomaly job description. - */ - "description"?: string; - /** - * The OCID of the trained model. - */ - "modelId": string; - /** - * The OCID of the project. - */ - "projectId"?: string; - /** - * The value that customer can adjust to control the sensitivity of anomaly detection Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sensitivity"?: number; - /** - * Flag to enable the service to return estimates for all data points rather than just the anomalous data points - */ - "areAllEstimatesRequired"?: boolean; - "inputDetails": model.InlineInputJobDetails | model.ObjectListInputJobDetails; - "outputDetails": model.ObjectStorageLocation; - /** - * Job accepted time - */ - "timeAccepted": Date; - /** - * Job started time - */ - "timeStarted"?: Date; - /** - * Job finished time - */ - "timeFinished"?: Date; - /** - * The current state of the batch document job. - */ - "lifecycleState": DetectAnomalyJob.LifecycleState; - /** - * The current state details of the batch document job. - */ - "lifecycleStateDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace DetectAnomalyJob { - export enum LifecycleState { - Succeeded = "SUCCEEDED", - PartiallySucceeded = "PARTIALLY_SUCCEEDED", - Failed = "FAILED", - Accepted = "ACCEPTED", - Canceled = "CANCELED", - InProgress = "IN_PROGRESS", - /** - * 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: DetectAnomalyJob): object { - const jsonObj = { - ...obj, - ...{ - "inputDetails": obj.inputDetails - ? model.InputJobDetails.getJsonObj(obj.inputDetails) - : undefined, - "outputDetails": obj.outputDetails - ? model.OutputJobDetails.getJsonObj(obj.outputDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetectAnomalyJob): object { - const jsonObj = { - ...obj, - ...{ - "inputDetails": obj.inputDetails - ? model.InputJobDetails.getDeserializedJsonObj(obj.inputDetails) - : undefined, - "outputDetails": obj.outputDetails - ? model.OutputJobDetails.getDeserializedJsonObj(obj.outputDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/detection-result-item.ts b/lib/aianomalydetection/lib/model/detection-result-item.ts deleted file mode 100644 index fbfb99f2ea..0000000000 --- a/lib/aianomalydetection/lib/model/detection-result-item.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An object to hold detection result for one timestamp/row. - */ -export interface DetectionResultItem { - /** - * The time stamp associated with a list of anomaly points, format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). - */ - "timestamp"?: Date; - /** - * The index number to indicate where anomaly points are located among all rows when there are no timestamps provided. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "rowIndex"?: number; - /** - * A significant score across multiple signals at timestamp/row level Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "score"?: number; - /** - * An array of anomalies associated with a given timestamp/row. - */ - "anomalies": Array; -} - -export namespace DetectionResultItem { - export function getJsonObj(obj: DetectionResultItem): object { - const jsonObj = { - ...obj, - ...{ - "anomalies": obj.anomalies - ? obj.anomalies.map(item => { - return model.Anomaly.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetectionResultItem): object { - const jsonObj = { - ...obj, - ...{ - "anomalies": obj.anomalies - ? obj.anomalies.map(item => { - return model.Anomaly.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/embedded-detect-anomalies-request.ts b/lib/aianomalydetection/lib/model/embedded-detect-anomalies-request.ts deleted file mode 100644 index 825cc3a0cb..0000000000 --- a/lib/aianomalydetection/lib/model/embedded-detect-anomalies-request.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 request body when the user selects to provide byte data in detect call which is Base64 encoded. - * The default type of the data is CSV and can be JSON by setting the 'contentType'. - * - */ -export interface EmbeddedDetectAnomaliesRequest extends model.DetectAnomaliesDetails { - "contentType"?: EmbeddedDetectAnomaliesRequest.ContentType; - "content": string; - - "requestType": string; -} - -export namespace EmbeddedDetectAnomaliesRequest { - export enum ContentType { - Csv = "CSV", - Json = "JSON" - } - - export function getJsonObj( - obj: EmbeddedDetectAnomaliesRequest, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DetectAnomaliesDetails.getJsonObj(obj) as EmbeddedDetectAnomaliesRequest)), - ...{} - }; - - return jsonObj; - } - export const requestType = "BASE64_ENCODED"; - export function getDeserializedJsonObj( - obj: EmbeddedDetectAnomaliesRequest, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DetectAnomaliesDetails.getDeserializedJsonObj( - obj - ) as EmbeddedDetectAnomaliesRequest)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/embedded-input-details.ts b/lib/aianomalydetection/lib/model/embedded-input-details.ts deleted file mode 100644 index 7c0551f57f..0000000000 --- a/lib/aianomalydetection/lib/model/embedded-input-details.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 request body when byte data is provided in detect call, which is Base64 encoded. - * The default type of the data is CSV and can be JSON by setting the 'contentType'. - * - */ -export interface EmbeddedInputDetails extends model.InputDetails { - "contentType": EmbeddedInputDetails.ContentType; - "content": string; - - "inputType": string; -} - -export namespace EmbeddedInputDetails { - export enum ContentType { - Csv = "CSV", - Json = "JSON" - } - - export function getJsonObj(obj: EmbeddedInputDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InputDetails.getJsonObj(obj) as EmbeddedInputDetails)), - ...{} - }; - - return jsonObj; - } - export const inputType = "BASE64_ENCODED"; - export function getDeserializedJsonObj( - obj: EmbeddedInputDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputDetails.getDeserializedJsonObj(obj) as EmbeddedInputDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/index.ts b/lib/aianomalydetection/lib/model/index.ts deleted file mode 100644 index b921497cc1..0000000000 --- a/lib/aianomalydetection/lib/model/index.ts +++ /dev/null @@ -1,165 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as ActionType from "./action-type"; -export import ActionType = ActionType.ActionType; -import * as AiPrivateEndpoint from "./ai-private-endpoint"; -export import AiPrivateEndpoint = AiPrivateEndpoint.AiPrivateEndpoint; -import * as AiPrivateEndpointCollection from "./ai-private-endpoint-collection"; -export import AiPrivateEndpointCollection = AiPrivateEndpointCollection.AiPrivateEndpointCollection; -import * as AiPrivateEndpointSummary from "./ai-private-endpoint-summary"; -export import AiPrivateEndpointSummary = AiPrivateEndpointSummary.AiPrivateEndpointSummary; -import * as Anomaly from "./anomaly"; -export import Anomaly = Anomaly.Anomaly; -import * as AnomalyDetectResult from "./anomaly-detect-result"; -export import AnomalyDetectResult = AnomalyDetectResult.AnomalyDetectResult; -import * as ChangeAiPrivateEndpointCompartmentDetails from "./change-ai-private-endpoint-compartment-details"; -export import ChangeAiPrivateEndpointCompartmentDetails = ChangeAiPrivateEndpointCompartmentDetails.ChangeAiPrivateEndpointCompartmentDetails; -import * as ChangeDataAssetCompartmentDetails from "./change-data-asset-compartment-details"; -export import ChangeDataAssetCompartmentDetails = ChangeDataAssetCompartmentDetails.ChangeDataAssetCompartmentDetails; -import * as ChangeDetectAnomalyJobCompartmentDetails from "./change-detect-anomaly-job-compartment-details"; -export import ChangeDetectAnomalyJobCompartmentDetails = ChangeDetectAnomalyJobCompartmentDetails.ChangeDetectAnomalyJobCompartmentDetails; -import * as ChangeModelCompartmentDetails from "./change-model-compartment-details"; -export import ChangeModelCompartmentDetails = ChangeModelCompartmentDetails.ChangeModelCompartmentDetails; -import * as ChangeProjectCompartmentDetails from "./change-project-compartment-details"; -export import ChangeProjectCompartmentDetails = ChangeProjectCompartmentDetails.ChangeProjectCompartmentDetails; -import * as CreateAiPrivateEndpointDetails from "./create-ai-private-endpoint-details"; -export import CreateAiPrivateEndpointDetails = CreateAiPrivateEndpointDetails.CreateAiPrivateEndpointDetails; -import * as CreateDataAssetDetails from "./create-data-asset-details"; -export import CreateDataAssetDetails = CreateDataAssetDetails.CreateDataAssetDetails; -import * as CreateDetectAnomalyJobDetails from "./create-detect-anomaly-job-details"; -export import CreateDetectAnomalyJobDetails = CreateDetectAnomalyJobDetails.CreateDetectAnomalyJobDetails; -import * as CreateModelDetails from "./create-model-details"; -export import CreateModelDetails = CreateModelDetails.CreateModelDetails; -import * as CreateProjectDetails from "./create-project-details"; -export import CreateProjectDetails = CreateProjectDetails.CreateProjectDetails; -import * as DataAsset from "./data-asset"; -export import DataAsset = DataAsset.DataAsset; -import * as DataAssetCollection from "./data-asset-collection"; -export import DataAssetCollection = DataAssetCollection.DataAssetCollection; -import * as DataAssetSummary from "./data-asset-summary"; -export import DataAssetSummary = DataAssetSummary.DataAssetSummary; -import * as DataItem from "./data-item"; -export import DataItem = DataItem.DataItem; -import * as DataSourceDetails from "./data-source-details"; -export import DataSourceDetails = DataSourceDetails.DataSourceDetails; -import * as DataSourceType from "./data-source-type"; -export import DataSourceType = DataSourceType.DataSourceType; -import * as DetectAnomaliesDetails from "./detect-anomalies-details"; -export import DetectAnomaliesDetails = DetectAnomaliesDetails.DetectAnomaliesDetails; -import * as DetectAnomalyJob from "./detect-anomaly-job"; -export import DetectAnomalyJob = DetectAnomalyJob.DetectAnomalyJob; -import * as DetectAnomalyJobCollection from "./detect-anomaly-job-collection"; -export import DetectAnomalyJobCollection = DetectAnomalyJobCollection.DetectAnomalyJobCollection; -import * as DetectAnomalyJobSummary from "./detect-anomaly-job-summary"; -export import DetectAnomalyJobSummary = DetectAnomalyJobSummary.DetectAnomalyJobSummary; -import * as DetectionResultItem from "./detection-result-item"; -export import DetectionResultItem = DetectionResultItem.DetectionResultItem; -import * as InfluxDetails from "./influx-details"; -export import InfluxDetails = InfluxDetails.InfluxDetails; -import * as InfluxVersion from "./influx-version"; -export import InfluxVersion = InfluxVersion.InfluxVersion; -import * as InputDetails from "./input-details"; -export import InputDetails = InputDetails.InputDetails; -import * as InputJobDetails from "./input-job-details"; -export import InputJobDetails = InputJobDetails.InputJobDetails; -import * as Model from "./model"; -export import Model = Model.Model; -import * as ModelCollection from "./model-collection"; -export import ModelCollection = ModelCollection.ModelCollection; -import * as ModelSummary from "./model-summary"; -export import ModelSummary = ModelSummary.ModelSummary; -import * as ModelTrainingDetails from "./model-training-details"; -export import ModelTrainingDetails = ModelTrainingDetails.ModelTrainingDetails; -import * as ModelTrainingResults from "./model-training-results"; -export import ModelTrainingResults = ModelTrainingResults.ModelTrainingResults; -import * as ObjectLocation from "./object-location"; -export import ObjectLocation = ObjectLocation.ObjectLocation; -import * as OperationStatus from "./operation-status"; -export import OperationStatus = OperationStatus.OperationStatus; -import * as OperationType from "./operation-type"; -export import OperationType = OperationType.OperationType; -import * as OutputDetails from "./output-details"; -export import OutputDetails = OutputDetails.OutputDetails; -import * as OutputJobDetails from "./output-job-details"; -export import OutputJobDetails = OutputJobDetails.OutputJobDetails; -import * as PerSignalDetails from "./per-signal-details"; -export import PerSignalDetails = PerSignalDetails.PerSignalDetails; -import * as Project from "./project"; -export import Project = Project.Project; -import * as ProjectCollection from "./project-collection"; -export import ProjectCollection = ProjectCollection.ProjectCollection; -import * as ProjectSummary from "./project-summary"; -export import ProjectSummary = ProjectSummary.ProjectSummary; -import * as RowReductionDetails from "./row-reduction-details"; -export import RowReductionDetails = RowReductionDetails.RowReductionDetails; -import * as SortOrder from "./sort-order"; -export import SortOrder = SortOrder.SortOrder; -import * as UpdateAiPrivateEndpointDetails from "./update-ai-private-endpoint-details"; -export import UpdateAiPrivateEndpointDetails = UpdateAiPrivateEndpointDetails.UpdateAiPrivateEndpointDetails; -import * as UpdateDataAssetDetails from "./update-data-asset-details"; -export import UpdateDataAssetDetails = UpdateDataAssetDetails.UpdateDataAssetDetails; -import * as UpdateDetectAnomalyJobDetails from "./update-detect-anomaly-job-details"; -export import UpdateDetectAnomalyJobDetails = UpdateDetectAnomalyJobDetails.UpdateDetectAnomalyJobDetails; -import * as UpdateModelDetails from "./update-model-details"; -export import UpdateModelDetails = UpdateModelDetails.UpdateModelDetails; -import * as UpdateProjectDetails from "./update-project-details"; -export import UpdateProjectDetails = UpdateProjectDetails.UpdateProjectDetails; -import * as WorkRequest from "./work-request"; -export import WorkRequest = WorkRequest.WorkRequest; -import * as WorkRequestError from "./work-request-error"; -export import WorkRequestError = WorkRequestError.WorkRequestError; -import * as WorkRequestErrorCollection from "./work-request-error-collection"; -export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; -import * as WorkRequestLogEntry from "./work-request-log-entry"; -export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; -import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; -export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; -import * as WorkRequestResource from "./work-request-resource"; -export import WorkRequestResource = WorkRequestResource.WorkRequestResource; -import * as WorkRequestSummary from "./work-request-summary"; -export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; -import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; -export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; - -import * as DataSourceDetailsATP from "./data-source-details-at-p"; -export import DataSourceDetailsATP = DataSourceDetailsATP.DataSourceDetailsATP; -import * as DataSourceDetailsInflux from "./data-source-details-influx"; -export import DataSourceDetailsInflux = DataSourceDetailsInflux.DataSourceDetailsInflux; -import * as DataSourceDetailsObjectStorage from "./data-source-details-object-storage"; -export import DataSourceDetailsObjectStorage = DataSourceDetailsObjectStorage.DataSourceDetailsObjectStorage; -import * as EmbeddedDetectAnomaliesRequest from "./embedded-detect-anomalies-request"; -export import EmbeddedDetectAnomaliesRequest = EmbeddedDetectAnomaliesRequest.EmbeddedDetectAnomaliesRequest; -import * as EmbeddedInputDetails from "./embedded-input-details"; -export import EmbeddedInputDetails = EmbeddedInputDetails.EmbeddedInputDetails; -import * as InfluxDetailsV1v8 from "./influx-details-v1v8"; -export import InfluxDetailsV1v8 = InfluxDetailsV1v8.InfluxDetailsV1v8; -import * as InfluxDetailsV2v0 from "./influx-details-v2v0"; -export import InfluxDetailsV2v0 = InfluxDetailsV2v0.InfluxDetailsV2v0; -import * as InlineDetectAnomaliesRequest from "./inline-detect-anomalies-request"; -export import InlineDetectAnomaliesRequest = InlineDetectAnomaliesRequest.InlineDetectAnomaliesRequest; -import * as InlineInputDetails from "./inline-input-details"; -export import InlineInputDetails = InlineInputDetails.InlineInputDetails; -import * as InlineInputJobDetails from "./inline-input-job-details"; -export import InlineInputJobDetails = InlineInputJobDetails.InlineInputJobDetails; -import * as ObjectListInputDetails from "./object-list-input-details"; -export import ObjectListInputDetails = ObjectListInputDetails.ObjectListInputDetails; -import * as ObjectListInputJobDetails from "./object-list-input-job-details"; -export import ObjectListInputJobDetails = ObjectListInputJobDetails.ObjectListInputJobDetails; -import * as ObjectStorageLocation from "./object-storage-location"; -export import ObjectStorageLocation = ObjectStorageLocation.ObjectStorageLocation; -import * as ObjectStoreOutputDetails from "./object-store-output-details"; -export import ObjectStoreOutputDetails = ObjectStoreOutputDetails.ObjectStoreOutputDetails; diff --git a/lib/aianomalydetection/lib/model/influx-details-v1v8.ts b/lib/aianomalydetection/lib/model/influx-details-v1v8.ts deleted file mode 100644 index b24a8047d7..0000000000 --- a/lib/aianomalydetection/lib/model/influx-details-v1v8.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Influx details for V_1_8. - */ -export interface InfluxDetailsV1v8 extends model.InfluxDetails { - /** - * DB Name for influx connection - */ - "databaseName": string; - /** - * retention policy is how long the bucket would last - */ - "retentionPolicyName"?: string; - - "influxVersion": string; -} - -export namespace InfluxDetailsV1v8 { - export function getJsonObj(obj: InfluxDetailsV1v8, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InfluxDetails.getJsonObj(obj) as InfluxDetailsV1v8)), - ...{} - }; - - return jsonObj; - } - export const influxVersion = "V_1_8"; - export function getDeserializedJsonObj( - obj: InfluxDetailsV1v8, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InfluxDetails.getDeserializedJsonObj(obj) as InfluxDetailsV1v8)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/influx-details-v2v0.ts b/lib/aianomalydetection/lib/model/influx-details-v2v0.ts deleted file mode 100644 index 71eb930b57..0000000000 --- a/lib/aianomalydetection/lib/model/influx-details-v2v0.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Influx details for V_2_0. - */ -export interface InfluxDetailsV2v0 extends model.InfluxDetails { - /** - * Bucket Name for influx connection - */ - "bucketName": string; - /** - * Org name for the influx db - */ - "organizationName": string; - - "influxVersion": string; -} - -export namespace InfluxDetailsV2v0 { - export function getJsonObj(obj: InfluxDetailsV2v0, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InfluxDetails.getJsonObj(obj) as InfluxDetailsV2v0)), - ...{} - }; - - return jsonObj; - } - export const influxVersion = "V_2_0"; - export function getDeserializedJsonObj( - obj: InfluxDetailsV2v0, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InfluxDetails.getDeserializedJsonObj(obj) as InfluxDetailsV2v0)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/influx-details.ts b/lib/aianomalydetection/lib/model/influx-details.ts deleted file mode 100644 index 6415bed96d..0000000000 --- a/lib/aianomalydetection/lib/model/influx-details.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 data sources - */ -export interface InfluxDetails { - "influxVersion": string; -} - -export namespace InfluxDetails { - export function getJsonObj(obj: InfluxDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "influxVersion" in obj && obj.influxVersion) { - switch (obj.influxVersion) { - case "V_1_8": - return model.InfluxDetailsV1v8.getJsonObj( - (jsonObj), - true - ); - case "V_2_0": - return model.InfluxDetailsV2v0.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.influxVersion}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: InfluxDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "influxVersion" in obj && obj.influxVersion) { - switch (obj.influxVersion) { - case "V_1_8": - return model.InfluxDetailsV1v8.getDeserializedJsonObj( - (jsonObj), - true - ); - case "V_2_0": - return model.InfluxDetailsV2v0.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.influxVersion}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/influx-version.ts b/lib/aianomalydetection/lib/model/influx-version.ts deleted file mode 100644 index 1fe05d93c4..0000000000 --- a/lib/aianomalydetection/lib/model/influx-version.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 data sources - **/ -export enum InfluxVersion { - V18 = "V_1_8", - V20 = "V_2_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 namespace InfluxVersion { - export function getJsonObj(obj: InfluxVersion): InfluxVersion { - return obj; - } - export function getDeserializedJsonObj(obj: InfluxVersion): InfluxVersion { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/inline-detect-anomalies-request.ts b/lib/aianomalydetection/lib/model/inline-detect-anomalies-request.ts deleted file mode 100644 index 7163dd0f48..0000000000 --- a/lib/aianomalydetection/lib/model/inline-detect-anomalies-request.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This is the specialised JSON format that is accepted as training data, with an additional - * field for 'requestType'. This is a required field used deciding whether it is an inline - * request or contains embedded data. - * - */ -export interface InlineDetectAnomaliesRequest extends model.DetectAnomaliesDetails { - /** - * List of signal names. - */ - "signalNames": Array; - /** - * Array containing data. - */ - "data": Array; - - "requestType": string; -} - -export namespace InlineDetectAnomaliesRequest { - export function getJsonObj(obj: InlineDetectAnomaliesRequest, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DetectAnomaliesDetails.getJsonObj(obj) as InlineDetectAnomaliesRequest)), - ...{ - "data": obj.data - ? obj.data.map(item => { - return model.DataItem.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export const requestType = "INLINE"; - export function getDeserializedJsonObj( - obj: InlineDetectAnomaliesRequest, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.DetectAnomaliesDetails.getDeserializedJsonObj( - obj - ) as InlineDetectAnomaliesRequest)), - ...{ - "data": obj.data - ? obj.data.map(item => { - return model.DataItem.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/inline-input-details.ts b/lib/aianomalydetection/lib/model/inline-input-details.ts deleted file mode 100644 index 1e15eb682a..0000000000 --- a/lib/aianomalydetection/lib/model/inline-input-details.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This is the specialized JSON format that is accepted as training data, with an additional - * field for 'requestType'. This is a required field used deciding whether it is an inline - * request or contains embedded data. - * - */ -export interface InlineInputDetails extends model.InputDetails { - /** - * List of signal names. - */ - "signalNames": Array; - /** - * Array containing data. - */ - "data": Array; - - "inputType": string; -} - -export namespace InlineInputDetails { - export function getJsonObj(obj: InlineInputDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InputDetails.getJsonObj(obj) as InlineInputDetails)), - ...{ - "data": obj.data - ? obj.data.map(item => { - return model.DataItem.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export const inputType = "INLINE"; - export function getDeserializedJsonObj( - obj: InlineInputDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputDetails.getDeserializedJsonObj(obj) as InlineInputDetails)), - ...{ - "data": obj.data - ? obj.data.map(item => { - return model.DataItem.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/inline-input-job-details.ts b/lib/aianomalydetection/lib/model/inline-input-job-details.ts deleted file mode 100644 index e8c200a984..0000000000 --- a/lib/aianomalydetection/lib/model/inline-input-job-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This is the specialized JSON format with an additional field for 'locationType'. This is a required field - * used for deciding if it is an inline location or contains object-storage location. - * - */ -export interface InlineInputJobDetails extends model.InputJobDetails { - /** - * Inline input details. - */ - "message": string; - - "inputType": string; -} - -export namespace InlineInputJobDetails { - export function getJsonObj(obj: InlineInputJobDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InputJobDetails.getJsonObj(obj) as InlineInputJobDetails)), - ...{} - }; - - return jsonObj; - } - export const inputType = "INLINE"; - export function getDeserializedJsonObj( - obj: InlineInputJobDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputJobDetails.getDeserializedJsonObj(obj) as InlineInputJobDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/input-details.ts b/lib/aianomalydetection/lib/model/input-details.ts deleted file mode 100644 index a7b0982ccc..0000000000 --- a/lib/aianomalydetection/lib/model/input-details.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detect anomaly asynchronous job details. - */ -export interface InputDetails { - "inputType": string; -} - -export namespace InputDetails { - export function getJsonObj(obj: InputDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "inputType" in obj && obj.inputType) { - switch (obj.inputType) { - case "BASE64_ENCODED": - return model.EmbeddedInputDetails.getJsonObj( - (jsonObj), - true - ); - case "OBJECT_LIST": - return model.ObjectListInputDetails.getJsonObj( - (jsonObj), - true - ); - case "INLINE": - return model.InlineInputDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.inputType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: InputDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "inputType" in obj && obj.inputType) { - switch (obj.inputType) { - case "BASE64_ENCODED": - return model.EmbeddedInputDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "OBJECT_LIST": - return model.ObjectListInputDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "INLINE": - return model.InlineInputDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.inputType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/input-job-details.ts b/lib/aianomalydetection/lib/model/input-job-details.ts deleted file mode 100644 index 7781d071d5..0000000000 --- a/lib/aianomalydetection/lib/model/input-job-details.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Input details for detect anomaly job. - */ -export interface InputJobDetails { - "inputType": string; -} - -export namespace InputJobDetails { - export function getJsonObj(obj: InputJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "inputType" in obj && obj.inputType) { - switch (obj.inputType) { - case "INLINE": - return model.InlineInputJobDetails.getJsonObj( - (jsonObj), - true - ); - case "OBJECT_LIST": - return model.ObjectListInputJobDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.inputType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: InputJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "inputType" in obj && obj.inputType) { - switch (obj.inputType) { - case "INLINE": - return model.InlineInputJobDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "OBJECT_LIST": - return model.ObjectListInputJobDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.inputType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/model-collection.ts b/lib/aianomalydetection/lib/model/model-collection.ts deleted file mode 100644 index bcc560c066..0000000000 --- a/lib/aianomalydetection/lib/model/model-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 model search. Contains ModelSummary items. - */ -export interface ModelCollection { - /** - * List of models - */ - "items": Array; -} - -export namespace ModelCollection { - export function getJsonObj(obj: ModelCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ModelSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModelCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ModelSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/model-summary.ts b/lib/aianomalydetection/lib/model/model-summary.ts deleted file mode 100644 index 01180b1064..0000000000 --- a/lib/aianomalydetection/lib/model/model-summary.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Model. - */ -export interface ModelSummary { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the model. - */ - "id": string; - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName": string; - /** - * A short description of the Model. - */ - "description"?: string; - /** - * The OCID for the model's compartment. - */ - "compartmentId": string; - "modelTrainingDetails"?: model.ModelTrainingDetails; - "modelTrainingResults"?: model.ModelTrainingResults; - /** - * The time the the Model was created. An RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The state of the model. - */ - "lifecycleState": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. - */ - "projectId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace ModelSummary { - export function getJsonObj(obj: ModelSummary): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getJsonObj(obj.modelTrainingDetails) - : undefined, - "modelTrainingResults": obj.modelTrainingResults - ? model.ModelTrainingResults.getJsonObj(obj.modelTrainingResults) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModelSummary): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getDeserializedJsonObj(obj.modelTrainingDetails) - : undefined, - "modelTrainingResults": obj.modelTrainingResults - ? model.ModelTrainingResults.getDeserializedJsonObj(obj.modelTrainingResults) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/model-training-details.ts b/lib/aianomalydetection/lib/model/model-training-details.ts deleted file mode 100644 index dd26075de4..0000000000 --- a/lib/aianomalydetection/lib/model/model-training-details.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 details of the MSET model during the create call. - */ -export interface ModelTrainingDetails { - /** - * User can choose specific algorithm for training. - */ - "algorithmHint"?: ModelTrainingDetails.AlgorithmHint; - /** - * A target model accuracy metric user provides as their requirement Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "targetFap"?: number; - /** - * Fraction of total data that is used for training the model. The remaining is used for validation of the model. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "trainingFraction"?: number; - /** - * This value would determine the window size of the training algorithm. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "windowSize"?: number; - /** - * The list of OCIDs of the data assets to train the model. The dataAssets have to be in the same project where the ai model would reside. - */ - "dataAssetIds": Array; -} - -export namespace ModelTrainingDetails { - export enum AlgorithmHint { - MultivariateMset = "MULTIVARIATE_MSET", - UnivariateOcsvm = "UNIVARIATE_OCSVM", - /** - * 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: ModelTrainingDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModelTrainingDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/model-training-results.ts b/lib/aianomalydetection/lib/model/model-training-results.ts deleted file mode 100644 index f4c851aa6f..0000000000 --- a/lib/aianomalydetection/lib/model/model-training-results.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 details for an Anomaly Detection model trained with MSET. - */ -export interface ModelTrainingResults { - /** - * The final-achieved model accuracy metric on individual value level Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "fap": number; - /** - * The model accuracy metric on timestamp level. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "multivariateFap"?: number; - /** - * Actual algorithm used to train the model - */ - "algorithm"?: ModelTrainingResults.Algorithm; - /** - * Window size defined during training or deduced by the algorithm. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "windowSize"?: number; - /** - * A boolean value to indicate if train goal/targetFap is achieved for trained model - */ - "isTrainingGoalAchieved"?: boolean; - /** - * A warning message to explain the reason when targetFap cannot be achieved for trained model - */ - "warning"?: string; - /** - * The list of signal details. - */ - "signalDetails"?: Array; - "rowReductionDetails"?: model.RowReductionDetails; -} - -export namespace ModelTrainingResults { - export enum Algorithm { - MultivariateMset = "MULTIVARIATE_MSET", - UnivariateOcsvm = "UNIVARIATE_OCSVM", - /** - * 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: ModelTrainingResults): object { - const jsonObj = { - ...obj, - ...{ - "signalDetails": obj.signalDetails - ? obj.signalDetails.map(item => { - return model.PerSignalDetails.getJsonObj(item); - }) - : undefined, - "rowReductionDetails": obj.rowReductionDetails - ? model.RowReductionDetails.getJsonObj(obj.rowReductionDetails) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModelTrainingResults): object { - const jsonObj = { - ...obj, - ...{ - "signalDetails": obj.signalDetails - ? obj.signalDetails.map(item => { - return model.PerSignalDetails.getDeserializedJsonObj(item); - }) - : undefined, - "rowReductionDetails": obj.rowReductionDetails - ? model.RowReductionDetails.getDeserializedJsonObj(obj.rowReductionDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/model.ts b/lib/aianomalydetection/lib/model/model.ts deleted file mode 100644 index 1dfc99369a..0000000000 --- a/lib/aianomalydetection/lib/model/model.ts +++ /dev/null @@ -1,127 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of Model. - */ -export interface Model { - /** - * The OCID of the model that is immutable on creation. - */ - "id": string; - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName": string; - /** - * The OCID for the model's compartment. - */ - "compartmentId": string; - "modelTrainingDetails": model.ModelTrainingDetails; - "modelTrainingResults": model.ModelTrainingResults; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate with the model. - */ - "projectId": string; - /** - * A short description of the Model. - */ - "description"?: string; - /** - * The time the the Model was created. An RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time the Model was updated. An RFC3339 formatted datetime string. - */ - "timeUpdated"?: Date; - /** - * The state of the model. - */ - "lifecycleState": Model.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace Model { - export enum LifecycleState { - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - Creating = "CREATING", - Active = "ACTIVE", - Updating = "UPDATING", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: Model): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getJsonObj(obj.modelTrainingDetails) - : undefined, - "modelTrainingResults": obj.modelTrainingResults - ? model.ModelTrainingResults.getJsonObj(obj.modelTrainingResults) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Model): object { - const jsonObj = { - ...obj, - ...{ - "modelTrainingDetails": obj.modelTrainingDetails - ? model.ModelTrainingDetails.getDeserializedJsonObj(obj.modelTrainingDetails) - : undefined, - "modelTrainingResults": obj.modelTrainingResults - ? model.ModelTrainingResults.getDeserializedJsonObj(obj.modelTrainingResults) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/object-list-input-details.ts b/lib/aianomalydetection/lib/model/object-list-input-details.ts deleted file mode 100644 index 5e48b21946..0000000000 --- a/lib/aianomalydetection/lib/model/object-list-input-details.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A list of object locations in Object Storage. - */ -export interface ObjectListInputDetails extends model.InputDetails { - /** - * List of ObjectLocations. - */ - "objectLocations": Array; - - "inputType": string; -} - -export namespace ObjectListInputDetails { - export function getJsonObj(obj: ObjectListInputDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.InputDetails.getJsonObj(obj) as ObjectListInputDetails)), - ...{ - "objectLocations": obj.objectLocations - ? obj.objectLocations.map(item => { - return model.ObjectLocation.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export const inputType = "OBJECT_LIST"; - export function getDeserializedJsonObj( - obj: ObjectListInputDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputDetails.getDeserializedJsonObj(obj) as ObjectListInputDetails)), - ...{ - "objectLocations": obj.objectLocations - ? obj.objectLocations.map(item => { - return model.ObjectLocation.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/object-list-input-job-details.ts b/lib/aianomalydetection/lib/model/object-list-input-job-details.ts deleted file mode 100644 index 1ae461d4e8..0000000000 --- a/lib/aianomalydetection/lib/model/object-list-input-job-details.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A list of object locations in Object Storage. - */ -export interface ObjectListInputJobDetails extends model.InputJobDetails { - /** - * List of ObjectLocations. - */ - "objectLocations": Array; - - "inputType": string; -} - -export namespace ObjectListInputJobDetails { - export function getJsonObj(obj: ObjectListInputJobDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputJobDetails.getJsonObj(obj) as ObjectListInputJobDetails)), - ...{ - "objectLocations": obj.objectLocations - ? obj.objectLocations.map(item => { - return model.ObjectLocation.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export const inputType = "OBJECT_LIST"; - export function getDeserializedJsonObj( - obj: ObjectListInputJobDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.InputJobDetails.getDeserializedJsonObj(obj) as ObjectListInputJobDetails)), - ...{ - "objectLocations": obj.objectLocations - ? obj.objectLocations.map(item => { - return model.ObjectLocation.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/object-location.ts b/lib/aianomalydetection/lib/model/object-location.ts deleted file mode 100644 index 0f5c4e93d6..0000000000 --- a/lib/aianomalydetection/lib/model/object-location.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 location in Object Storage that is uniquely identified by namespace name, bucket name, and object name. - */ -export interface ObjectLocation { - /** - * Object Storage namespace name. - */ - "namespaceName": string; - /** - * Object Storage bucket name. - */ - "bucketName": string; - /** - * Object Storage object name. - */ - "objectName": string; -} - -export namespace ObjectLocation { - export function getJsonObj(obj: ObjectLocation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ObjectLocation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/object-storage-location.ts b/lib/aianomalydetection/lib/model/object-storage-location.ts deleted file mode 100644 index f050a318fc..0000000000 --- a/lib/aianomalydetection/lib/model/object-storage-location.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This is the specialised JSON format with an additional field for 'locationType'. This is a required field - * used for deciding if it is an object-storage location. - * - */ -export interface ObjectStorageLocation extends model.OutputJobDetails { - /** - * Object Storage namespace. - */ - "namespaceName": string; - /** - * Object Storage bucket name. - */ - "bucketName": string; - /** - * Object Storage folder name. - */ - "prefix": string; - - "outputType": string; -} - -export namespace ObjectStorageLocation { - export function getJsonObj(obj: ObjectStorageLocation, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.OutputJobDetails.getJsonObj(obj) as ObjectStorageLocation)), - ...{} - }; - - return jsonObj; - } - export const outputType = "OBJECT_STORAGE"; - export function getDeserializedJsonObj( - obj: ObjectStorageLocation, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.OutputJobDetails.getDeserializedJsonObj(obj) as ObjectStorageLocation)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/object-store-output-details.ts b/lib/aianomalydetection/lib/model/object-store-output-details.ts deleted file mode 100644 index d5f39a73d4..0000000000 --- a/lib/aianomalydetection/lib/model/object-store-output-details.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * OCI Object Storage Location. - */ -export interface ObjectStoreOutputDetails extends model.OutputDetails { - /** - * Object Storage namespace. - */ - "namespaceName": string; - /** - * Object Storage bucket name. - */ - "bucketName": string; - /** - * Object Storage folder name. - */ - "prefix"?: string; - - "outputType": string; -} - -export namespace ObjectStoreOutputDetails { - export function getJsonObj(obj: ObjectStoreOutputDetails, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.OutputDetails.getJsonObj(obj) as ObjectStoreOutputDetails)), - ...{} - }; - - return jsonObj; - } - export const outputType = "OBJECT_STORAGE"; - export function getDeserializedJsonObj( - obj: ObjectStoreOutputDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.OutputDetails.getDeserializedJsonObj(obj) as ObjectStoreOutputDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/operation-status.ts b/lib/aianomalydetection/lib/model/operation-status.ts deleted file mode 100644 index 1333f0f84b..0000000000 --- a/lib/aianomalydetection/lib/model/operation-status.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 operation status. - **/ -export enum OperationStatus { - Accepted = "ACCEPTED", - InProgress = "IN_PROGRESS", - Failed = "FAILED", - Waiting = "WAITING", - Succeeded = "SUCCEEDED", - Canceling = "CANCELING", - Canceled = "CANCELED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace OperationStatus { - export function getJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } - export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/operation-type.ts b/lib/aianomalydetection/lib/model/operation-type.ts deleted file mode 100644 index 80b179adda..0000000000 --- a/lib/aianomalydetection/lib/model/operation-type.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 operation types. - **/ -export enum OperationType { - CreateModel = "CREATE_MODEL", - UpdateModel = "UPDATE_MODEL", - DeleteModel = "DELETE_MODEL", - CreatePrivateEndpoint = "CREATE_PRIVATE_ENDPOINT", - DeletePrivateEndpoint = "DELETE_PRIVATE_ENDPOINT", - UpdatePrivateEndpoint = "UPDATE_PRIVATE_ENDPOINT", - MovePrivateEndpoint = "MOVE_PRIVATE_ENDPOINT", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace OperationType { - export function getJsonObj(obj: OperationType): OperationType { - return obj; - } - export function getDeserializedJsonObj(obj: OperationType): OperationType { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/output-details.ts b/lib/aianomalydetection/lib/model/output-details.ts deleted file mode 100644 index 7c9dfba018..0000000000 --- a/lib/aianomalydetection/lib/model/output-details.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detect anomaly job output details. - */ -export interface OutputDetails { - "outputType": string; -} - -export namespace OutputDetails { - export function getJsonObj(obj: OutputDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "OBJECT_STORAGE": - return model.ObjectStoreOutputDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: OutputDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "OBJECT_STORAGE": - return model.ObjectStoreOutputDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/output-job-details.ts b/lib/aianomalydetection/lib/model/output-job-details.ts deleted file mode 100644 index 81cafa51f6..0000000000 --- a/lib/aianomalydetection/lib/model/output-job-details.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 details for detect anomaly job. - */ -export interface OutputJobDetails { - "outputType": string; -} - -export namespace OutputJobDetails { - export function getJsonObj(obj: OutputJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "OBJECT_STORAGE": - return model.ObjectStorageLocation.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: OutputJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "OBJECT_STORAGE": - return model.ObjectStorageLocation.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/per-signal-details.ts b/lib/aianomalydetection/lib/model/per-signal-details.ts deleted file mode 100644 index ce54f63d3f..0000000000 --- a/lib/aianomalydetection/lib/model/per-signal-details.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detailed information like statistics, metrics and status for a signal - */ -export interface PerSignalDetails { - /** - * The name of a signal. - */ - "signalName": string; - /** - * The ratio of missing values in a signal filled/imputed by the IDP algorithm. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "mviRatio"?: number; - /** - * A boolean value to indicate if a signal is quantized or not. - */ - "isQuantized"?: boolean; - /** - * Accuracy metric for a signal. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "fap"?: number; - /** - * Min value within a signal. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "min": number; - /** - * Max value within a signal. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "max": number; - /** - * Standard deviation of values within a signal. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "std": number; - /** - * Status of the signal: - * * ACCEPTED - the signal is used for training the model - * * DROPPED - the signal does not meet requirement, and is dropped before training the model. - * * OTHER - placeholder for other status - * - */ - "status": PerSignalDetails.Status; - /** - * detailed information for a signal. - */ - "details"?: string; -} - -export namespace PerSignalDetails { - export enum Status { - Accepted = "ACCEPTED", - Dropped = "DROPPED", - Other = "OTHER", - /** - * 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: PerSignalDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: PerSignalDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/project-collection.ts b/lib/aianomalydetection/lib/model/project-collection.ts deleted file mode 100644 index d68aa24fca..0000000000 --- a/lib/aianomalydetection/lib/model/project-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 projects list search. Contains Project objects. - */ -export interface ProjectCollection { - /** - * List of projects - */ - "items": Array; -} - -export namespace ProjectCollection { - export function getJsonObj(obj: ProjectCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ProjectSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ProjectCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.ProjectSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/project-summary.ts b/lib/aianomalydetection/lib/model/project-summary.ts deleted file mode 100644 index c64218f7f1..0000000000 --- a/lib/aianomalydetection/lib/model/project-summary.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Project. - */ -export interface ProjectSummary { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project. - */ - "id": string; - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName": string; - /** - * The OCID for the project's compartment. - */ - "compartmentId": string; - /** - * A short description of the project. - */ - "description"?: string; - /** - * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). - */ - "timeCreated": Date; - /** - * The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). - */ - "timeUpdated"?: Date; - /** - * The state of the project. - */ - "lifecycleState": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace ProjectSummary { - export function getJsonObj(obj: ProjectSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ProjectSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/project.ts b/lib/aianomalydetection/lib/model/project.ts deleted file mode 100644 index ade202deed..0000000000 --- a/lib/aianomalydetection/lib/model/project.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Project enable users to organize their resources. - */ -export interface Project { - /** - * The OCID of the project that is immutable on creation. - */ - "id": string; - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName": string; - /** - * The OCID for the project's compartment. - */ - "compartmentId": string; - /** - * A short description of the project. - */ - "description"?: string; - /** - * The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). - */ - "timeCreated": Date; - /** - * The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). - */ - "timeUpdated"?: Date; - /** - * The lifecycle state of the Project. - */ - "lifecycleState": Project.LifecycleState; - /** - * 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 } }; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. - * Example: {@code { \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }} - * - */ - "systemTags"?: { [key: string]: any }; -} - -export namespace Project { - export enum LifecycleState { - Active = "ACTIVE", - Creating = "CREATING", - 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. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: Project): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Project): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/row-reduction-details.ts b/lib/aianomalydetection/lib/model/row-reduction-details.ts deleted file mode 100644 index 9e5d5aabec..0000000000 --- a/lib/aianomalydetection/lib/model/row-reduction-details.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 regarding how/what row reduction methods will be applied. If this property is not present or is null, then it means row reduction is not applied. - */ -export interface RowReductionDetails { - /** - * A boolean value to indicate if row reduction is applied - */ - "isReductionEnabled": boolean; - /** - * A percentage to reduce data size down to on top of original data Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "reductionPercentage": number; - /** - * Method for row reduction: - * * DELETE_ROW - delete rows with equal intervals - * * AVERAGE_ROW - average multiple rows to one row - * - */ - "reductionMethod": RowReductionDetails.ReductionMethod; -} - -export namespace RowReductionDetails { - export enum ReductionMethod { - DeleteRow = "DELETE_ROW", - AverageRow = "AVERAGE_ROW", - /** - * 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: RowReductionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RowReductionDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/sort-order.ts b/lib/aianomalydetection/lib/model/sort-order.ts deleted file mode 100644 index db47e49bf4..0000000000 --- a/lib/aianomalydetection/lib/model/sort-order.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Sort orders. - **/ -export enum SortOrder { - Asc = "ASC", - Desc = "DESC" -} - -export namespace SortOrder { - export function getJsonObj(obj: SortOrder): SortOrder { - return obj; - } - export function getDeserializedJsonObj(obj: SortOrder): SortOrder { - return obj; - } -} diff --git a/lib/aianomalydetection/lib/model/update-ai-private-endpoint-details.ts b/lib/aianomalydetection/lib/model/update-ai-private-endpoint-details.ts deleted file mode 100644 index 52a2a4be80..0000000000 --- a/lib/aianomalydetection/lib/model/update-ai-private-endpoint-details.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 modified private endpoint resource. - */ -export interface UpdateAiPrivateEndpointDetails { - /** - * List of DNS zones to be used by the data assets. - * Example: custpvtsubnet.oraclevcn.com for data asset: db.custpvtsubnet.oraclevcn.com - * - */ - "dnsZones"?: 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 } }; - /** - * Display name of the private endpoint resource. - */ - "displayName"?: string; -} - -export namespace UpdateAiPrivateEndpointDetails { - export function getJsonObj(obj: UpdateAiPrivateEndpointDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateAiPrivateEndpointDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/update-data-asset-details.ts b/lib/aianomalydetection/lib/model/update-data-asset-details.ts deleted file mode 100644 index 2e93ebcf2d..0000000000 --- a/lib/aianomalydetection/lib/model/update-data-asset-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateDataAssetDetails { - /** - * DataAsset Identifier - */ - "displayName"?: string; - /** - * DataAsset description - */ - "description"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 UpdateDataAssetDetails { - export function getJsonObj(obj: UpdateDataAssetDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateDataAssetDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/update-detect-anomaly-job-details.ts b/lib/aianomalydetection/lib/model/update-detect-anomaly-job-details.ts deleted file mode 100644 index d2d5502668..0000000000 --- a/lib/aianomalydetection/lib/model/update-detect-anomaly-job-details.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated for the DetectAnomalyJob. - * - */ -export interface UpdateDetectAnomalyJobDetails { - /** - * A short description of the detect anomaly job. - */ - "description"?: string; - /** - * Detect anomaly job display name. - */ - "displayName"?: string; -} - -export namespace UpdateDetectAnomalyJobDetails { - export function getJsonObj(obj: UpdateDetectAnomalyJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateDetectAnomalyJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/update-model-details.ts b/lib/aianomalydetection/lib/model/update-model-details.ts deleted file mode 100644 index 58f6970dec..0000000000 --- a/lib/aianomalydetection/lib/model/update-model-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateModelDetails { - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName"?: string; - /** - * A short description of the ai model. - */ - "description"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 UpdateModelDetails { - export function getJsonObj(obj: UpdateModelDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateModelDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/update-project-details.ts b/lib/aianomalydetection/lib/model/update-project-details.ts deleted file mode 100644 index 3a20ffcfe1..0000000000 --- a/lib/aianomalydetection/lib/model/update-project-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated for the project. - */ -export interface UpdateProjectDetails { - /** - * A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. - */ - "displayName"?: string; - /** - * A short description of the project. - */ - "description"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 UpdateProjectDetails { - export function getJsonObj(obj: UpdateProjectDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateProjectDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-error-collection.ts b/lib/aianomalydetection/lib/model/work-request-error-collection.ts deleted file mode 100644 index f99b4019cd..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-error-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequestError search. Contains both WorkRequestError items and other information, such as metadata. - */ -export interface WorkRequestErrorCollection { - /** - * List of workRequestError objects. - */ - "items": Array; -} - -export namespace WorkRequestErrorCollection { - export function getJsonObj(obj: WorkRequestErrorCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestError.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestError.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-error.ts b/lib/aianomalydetection/lib/model/work-request-error.ts deleted file mode 100644 index b88130f992..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-error.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An error encountered while executing a work request. - */ -export interface WorkRequestError { - /** - * A machine-usable code for the error that occured. Error codes are listed on - * (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) - * - */ - "code": string; - /** - * A human readable description of the issue encountered. - */ - "message": string; - /** - * The time the error occured. An RFC3339 formatted datetime string. - */ - "timestamp": Date; -} - -export namespace WorkRequestError { - export function getJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-log-entry-collection.ts b/lib/aianomalydetection/lib/model/work-request-log-entry-collection.ts deleted file mode 100644 index 779597aca8..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-log-entry-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequestLog search. Contains both workRequestLog items and other information, such as metadata. - */ -export interface WorkRequestLogEntryCollection { - /** - * List of workRequestLogEntries. - */ - "items": Array; -} - -export namespace WorkRequestLogEntryCollection { - export function getJsonObj(obj: WorkRequestLogEntryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestLogEntry.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestLogEntry.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-log-entry.ts b/lib/aianomalydetection/lib/model/work-request-log-entry.ts deleted file mode 100644 index 911c6bd057..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-log-entry.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A log message from the execution of a work request. - */ -export interface WorkRequestLogEntry { - /** - * Human-readable log message. - */ - "message": string; - /** - * The time the log message was written. An RFC3339 formatted datetime string - */ - "timestamp": Date; -} - -export namespace WorkRequestLogEntry { - export function getJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-resource.ts b/lib/aianomalydetection/lib/model/work-request-resource.ts deleted file mode 100644 index e10d9e5f97..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-resource.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A resource created or operated on by a work request. - */ -export interface WorkRequestResource { - /** - * The resource type the work request affects. - */ - "entityType": string; - /** - * The way in which this resource is affected by the work tracked in the work request. - * A resource being created, updated, or deleted will remain in the IN_PROGRESS state until - * work is complete for that resource at which point it will transition to CREATED, UPDATED, - * or DELETED, respectively. - * - */ - "actionType": model.ActionType; - /** - * The identifier of the resource the work request affects. - */ - "identifier": string; - /** - * The URI path that the user can do a GET on to access the resource metadata - */ - "entityUri"?: string; -} - -export namespace WorkRequestResource { - export function getJsonObj(obj: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-summary-collection.ts b/lib/aianomalydetection/lib/model/work-request-summary-collection.ts deleted file mode 100644 index bea8bcb8b5..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-summary-collection.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequest search. Contains both WorkRequest items and other information, such as metadata. - */ -export interface WorkRequestSummaryCollection { - /** - * List of workRequestSummary objects. - */ - "items": Array; -} - -export namespace WorkRequestSummaryCollection { - export function getJsonObj(obj: WorkRequestSummaryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request-summary.ts b/lib/aianomalydetection/lib/model/work-request-summary.ts deleted file mode 100644 index 3a5f9becae..0000000000 --- a/lib/aianomalydetection/lib/model/work-request-summary.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A summary of the status of a work request. - */ -export interface WorkRequestSummary { - /** - * Type of the work request - */ - "operationType": model.OperationType; - /** - * Status of current work request. - */ - "status": model.OperationStatus; - /** - * The id of the work request. - */ - "id": string; - /** - * The ocid of the compartment that contains the work request. Work requests should be scoped to - * the same compartment as the resource the work request affects. If the work request affects multiple resources, - * and those resources are not in the same compartment, it is up to the service team to pick the primary - * resource whose compartment should be used - * - */ - "compartmentId": string; - /** - * The resources affected by this work request. - */ - "resources": Array; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete": number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeStarted"?: Date; - /** - * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). - * - */ - "timeFinished"?: Date; -} - -export namespace WorkRequestSummary { - export function getJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/model/work-request.ts b/lib/aianomalydetection/lib/model/work-request.ts deleted file mode 100644 index 268a79ca3e..0000000000 --- a/lib/aianomalydetection/lib/model/work-request.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 description of workrequest status - */ -export interface WorkRequest { - /** - * Type of the work request - */ - "operationType": model.OperationType; - /** - * Status of current work request. - */ - "status": model.OperationStatus; - /** - * The id of the work request. - */ - "id": string; - /** - * The ocid of the compartment that contains the work request. Work requests should be scoped to - * the same compartment as the resource the work request affects. If the work request affects multiple resources, - * and those resources are not in the same compartment, it is up to the service team to pick the primary - * resource whose compartment should be used - * - */ - "compartmentId": string; - /** - * The resources affected by this work request. - */ - "resources": Array; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete": number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeStarted"?: Date; - /** - * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). - * - */ - "timeFinished"?: Date; -} - -export namespace WorkRequest { - export function getJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/aianomalydetection/lib/request/cancel-work-request-request.ts b/lib/aianomalydetection/lib/request/cancel-work-request-request.ts deleted file mode 100644 index ed969b4a0d..0000000000 --- a/lib/aianomalydetection/lib/request/cancel-work-request-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. - */ -export interface CancelWorkRequestRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/change-ai-private-endpoint-compartment-request.ts b/lib/aianomalydetection/lib/request/change-ai-private-endpoint-compartment-request.ts deleted file mode 100644 index 74f87f1d6c..0000000000 --- a/lib/aianomalydetection/lib/request/change-ai-private-endpoint-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ChangeAiPrivateEndpointCompartment.ts.html |here} to see how to use ChangeAiPrivateEndpointCompartmentRequest. - */ -export interface ChangeAiPrivateEndpointCompartmentRequest extends common.BaseRequest { - /** - * Unique private reverse connection identifier. - */ - "aiPrivateEndpointId": string; - /** - * Details for the target compartment. - */ - "changeAiPrivateEndpointCompartmentDetails": model.ChangeAiPrivateEndpointCompartmentDetails; - /** - * 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/aianomalydetection/lib/request/change-data-asset-compartment-request.ts b/lib/aianomalydetection/lib/request/change-data-asset-compartment-request.ts deleted file mode 100644 index 041a58630e..0000000000 --- a/lib/aianomalydetection/lib/request/change-data-asset-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ChangeDataAssetCompartment.ts.html |here} to see how to use ChangeDataAssetCompartmentRequest. - */ -export interface ChangeDataAssetCompartmentRequest extends common.BaseRequest { - /** - * The OCID of the Data Asset. - */ - "dataAssetId": string; - /** - * The information to be updated. - */ - "changeDataAssetCompartmentDetails": model.ChangeDataAssetCompartmentDetails; - /** - * 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/aianomalydetection/lib/request/change-detect-anomaly-job-compartment-request.ts b/lib/aianomalydetection/lib/request/change-detect-anomaly-job-compartment-request.ts deleted file mode 100644 index 53d6cddcc8..0000000000 --- a/lib/aianomalydetection/lib/request/change-detect-anomaly-job-compartment-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ChangeDetectAnomalyJobCompartment.ts.html |here} to see how to use ChangeDetectAnomalyJobCompartmentRequest. - */ -export interface ChangeDetectAnomalyJobCompartmentRequest extends common.BaseRequest { - /** - * Unique asynchronous job identifier. - */ - "detectAnomalyJobId": string; - /** - * The details to change the compartment of the async anomaly detect job. - */ - "changeDetectAnomalyJobCompartmentDetails": model.ChangeDetectAnomalyJobCompartmentDetails; - /** - * 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/aianomalydetection/lib/request/change-model-compartment-request.ts b/lib/aianomalydetection/lib/request/change-model-compartment-request.ts deleted file mode 100644 index c8a7a4582a..0000000000 --- a/lib/aianomalydetection/lib/request/change-model-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ChangeModelCompartment.ts.html |here} to see how to use ChangeModelCompartmentRequest. - */ -export interface ChangeModelCompartmentRequest extends common.BaseRequest { - /** - * The OCID of the Model. - */ - "modelId": string; - /** - * The information to be updated. - */ - "changeModelCompartmentDetails": model.ChangeModelCompartmentDetails; - /** - * 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/aianomalydetection/lib/request/change-project-compartment-request.ts b/lib/aianomalydetection/lib/request/change-project-compartment-request.ts deleted file mode 100644 index f7ace0d3ad..0000000000 --- a/lib/aianomalydetection/lib/request/change-project-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ChangeProjectCompartment.ts.html |here} to see how to use ChangeProjectCompartmentRequest. - */ -export interface ChangeProjectCompartmentRequest extends common.BaseRequest { - /** - * The OCID of the Project. - */ - "projectId": string; - /** - * The details to change the compartment of the project. - */ - "changeProjectCompartmentDetails": model.ChangeProjectCompartmentDetails; - /** - * 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/aianomalydetection/lib/request/create-ai-private-endpoint-request.ts b/lib/aianomalydetection/lib/request/create-ai-private-endpoint-request.ts deleted file mode 100644 index 9ae4a467e6..0000000000 --- a/lib/aianomalydetection/lib/request/create-ai-private-endpoint-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CreateAiPrivateEndpoint.ts.html |here} to see how to use CreateAiPrivateEndpointRequest. - */ -export interface CreateAiPrivateEndpointRequest extends common.BaseRequest { - /** - * The information used to create the private reverse connection. - */ - "createAiPrivateEndpointDetails": model.CreateAiPrivateEndpointDetails; - /** - * 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/aianomalydetection/lib/request/create-data-asset-request.ts b/lib/aianomalydetection/lib/request/create-data-asset-request.ts deleted file mode 100644 index 03907e2916..0000000000 --- a/lib/aianomalydetection/lib/request/create-data-asset-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CreateDataAsset.ts.html |here} to see how to use CreateDataAssetRequest. - */ -export interface CreateDataAssetRequest extends common.BaseRequest { - /** - * Details for the new DataAsset. - */ - "createDataAssetDetails": model.CreateDataAssetDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/create-detect-anomaly-job-request.ts b/lib/aianomalydetection/lib/request/create-detect-anomaly-job-request.ts deleted file mode 100644 index 0fbfad03e3..0000000000 --- a/lib/aianomalydetection/lib/request/create-detect-anomaly-job-request.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CreateDetectAnomalyJob.ts.html |here} to see how to use CreateDetectAnomalyJobRequest. - */ -export interface CreateDetectAnomalyJobRequest extends common.BaseRequest { - /** - * The input is either: - * - JSON object in the request. This object is defined, and the SDK generates the - * object for it. - * - Data embedded as Base64 string in format of either: - * - CSV - * - JSON - * If this option is used, then you must provide the content of specified - * CSV or JSON in Base64 encoded string. The Embedded JSON has to be - * in the same format as the inline request JSON. - * - */ - "createDetectAnomalyJobDetails": model.CreateDetectAnomalyJobDetails; - /** - * 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/aianomalydetection/lib/request/create-model-request.ts b/lib/aianomalydetection/lib/request/create-model-request.ts deleted file mode 100644 index d5be5d3e33..0000000000 --- a/lib/aianomalydetection/lib/request/create-model-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CreateModel.ts.html |here} to see how to use CreateModelRequest. - */ -export interface CreateModelRequest extends common.BaseRequest { - /** - * Details for the new Model. - */ - "createModelDetails": model.CreateModelDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/create-project-request.ts b/lib/aianomalydetection/lib/request/create-project-request.ts deleted file mode 100644 index 76441822a1..0000000000 --- a/lib/aianomalydetection/lib/request/create-project-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/CreateProject.ts.html |here} to see how to use CreateProjectRequest. - */ -export interface CreateProjectRequest extends common.BaseRequest { - /** - * Details for the new Project. - */ - "createProjectDetails": model.CreateProjectDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/delete-ai-private-endpoint-request.ts b/lib/aianomalydetection/lib/request/delete-ai-private-endpoint-request.ts deleted file mode 100644 index 3f641e2d0b..0000000000 --- a/lib/aianomalydetection/lib/request/delete-ai-private-endpoint-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DeleteAiPrivateEndpoint.ts.html |here} to see how to use DeleteAiPrivateEndpointRequest. - */ -export interface DeleteAiPrivateEndpointRequest extends common.BaseRequest { - /** - * Unique private reverse connection identifier. - */ - "aiPrivateEndpointId": 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/aianomalydetection/lib/request/delete-data-asset-request.ts b/lib/aianomalydetection/lib/request/delete-data-asset-request.ts deleted file mode 100644 index f727fa0a95..0000000000 --- a/lib/aianomalydetection/lib/request/delete-data-asset-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DeleteDataAsset.ts.html |here} to see how to use DeleteDataAssetRequest. - */ -export interface DeleteDataAssetRequest extends common.BaseRequest { - /** - * The OCID of the Data Asset. - */ - "dataAssetId": 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/aianomalydetection/lib/request/delete-detect-anomaly-job-request.ts b/lib/aianomalydetection/lib/request/delete-detect-anomaly-job-request.ts deleted file mode 100644 index ef91b1e0f2..0000000000 --- a/lib/aianomalydetection/lib/request/delete-detect-anomaly-job-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DeleteDetectAnomalyJob.ts.html |here} to see how to use DeleteDetectAnomalyJobRequest. - */ -export interface DeleteDetectAnomalyJobRequest extends common.BaseRequest { - /** - * Unique asynchronous job identifier. - */ - "detectAnomalyJobId": 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/aianomalydetection/lib/request/delete-model-request.ts b/lib/aianomalydetection/lib/request/delete-model-request.ts deleted file mode 100644 index 0ab53cddc6..0000000000 --- a/lib/aianomalydetection/lib/request/delete-model-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DeleteModel.ts.html |here} to see how to use DeleteModelRequest. - */ -export interface DeleteModelRequest extends common.BaseRequest { - /** - * The OCID of the Model. - */ - "modelId": 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/aianomalydetection/lib/request/delete-project-request.ts b/lib/aianomalydetection/lib/request/delete-project-request.ts deleted file mode 100644 index 33d5dacfe0..0000000000 --- a/lib/aianomalydetection/lib/request/delete-project-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DeleteProject.ts.html |here} to see how to use DeleteProjectRequest. - */ -export interface DeleteProjectRequest extends common.BaseRequest { - /** - * The OCID of the Project. - */ - "projectId": 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/aianomalydetection/lib/request/detect-anomalies-request.ts b/lib/aianomalydetection/lib/request/detect-anomalies-request.ts deleted file mode 100644 index bfb83ec24a..0000000000 --- a/lib/aianomalydetection/lib/request/detect-anomalies-request.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/DetectAnomalies.ts.html |here} to see how to use DetectAnomaliesRequest. - */ -export interface DetectAnomaliesRequest extends common.BaseRequest { - /** - * The input is either: - * - JSON object in the request. This object is defined and SDK will generate the - * object for it - * - Data embedded as Base64 string in format of either - * - CSV - * - JSON - * If this option is chosen then customer has to provide the content of specified - * CSV or JSON in Base64 encoded string. The Embedded JSON will still has to be - * in same format as inline request JSON - * - */ - "detectAnomaliesDetails": - | model.InlineDetectAnomaliesRequest - | model.EmbeddedDetectAnomaliesRequest; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-ai-private-endpoint-request.ts b/lib/aianomalydetection/lib/request/get-ai-private-endpoint-request.ts deleted file mode 100644 index aa69952632..0000000000 --- a/lib/aianomalydetection/lib/request/get-ai-private-endpoint-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetAiPrivateEndpoint.ts.html |here} to see how to use GetAiPrivateEndpointRequest. - */ -export interface GetAiPrivateEndpointRequest extends common.BaseRequest { - /** - * Unique private reverse connection identifier. - */ - "aiPrivateEndpointId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-data-asset-request.ts b/lib/aianomalydetection/lib/request/get-data-asset-request.ts deleted file mode 100644 index 8d8a34220b..0000000000 --- a/lib/aianomalydetection/lib/request/get-data-asset-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetDataAsset.ts.html |here} to see how to use GetDataAssetRequest. - */ -export interface GetDataAssetRequest extends common.BaseRequest { - /** - * The OCID of the Data Asset. - */ - "dataAssetId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-detect-anomaly-job-request.ts b/lib/aianomalydetection/lib/request/get-detect-anomaly-job-request.ts deleted file mode 100644 index 5e11994e86..0000000000 --- a/lib/aianomalydetection/lib/request/get-detect-anomaly-job-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetDetectAnomalyJob.ts.html |here} to see how to use GetDetectAnomalyJobRequest. - */ -export interface GetDetectAnomalyJobRequest extends common.BaseRequest { - /** - * Unique asynchronous job identifier. - */ - "detectAnomalyJobId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-model-request.ts b/lib/aianomalydetection/lib/request/get-model-request.ts deleted file mode 100644 index c5930b6a02..0000000000 --- a/lib/aianomalydetection/lib/request/get-model-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetModel.ts.html |here} to see how to use GetModelRequest. - */ -export interface GetModelRequest extends common.BaseRequest { - /** - * The OCID of the Model. - */ - "modelId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-project-request.ts b/lib/aianomalydetection/lib/request/get-project-request.ts deleted file mode 100644 index b9c7366f21..0000000000 --- a/lib/aianomalydetection/lib/request/get-project-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetProject.ts.html |here} to see how to use GetProjectRequest. - */ -export interface GetProjectRequest extends common.BaseRequest { - /** - * The OCID of the Project. - */ - "projectId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/get-work-request-request.ts b/lib/aianomalydetection/lib/request/get-work-request-request.ts deleted file mode 100644 index d6dab1cbc7..0000000000 --- a/lib/aianomalydetection/lib/request/get-work-request-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. - */ -export interface GetWorkRequestRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/aianomalydetection/lib/request/index.ts b/lib/aianomalydetection/lib/request/index.ts deleted file mode 100644 index 6a887f8340..0000000000 --- a/lib/aianomalydetection/lib/request/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as CancelWorkRequestRequest from "./cancel-work-request-request"; -export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; -import * as ChangeAiPrivateEndpointCompartmentRequest from "./change-ai-private-endpoint-compartment-request"; -export import ChangeAiPrivateEndpointCompartmentRequest = ChangeAiPrivateEndpointCompartmentRequest.ChangeAiPrivateEndpointCompartmentRequest; -import * as ChangeDataAssetCompartmentRequest from "./change-data-asset-compartment-request"; -export import ChangeDataAssetCompartmentRequest = ChangeDataAssetCompartmentRequest.ChangeDataAssetCompartmentRequest; -import * as ChangeDetectAnomalyJobCompartmentRequest from "./change-detect-anomaly-job-compartment-request"; -export import ChangeDetectAnomalyJobCompartmentRequest = ChangeDetectAnomalyJobCompartmentRequest.ChangeDetectAnomalyJobCompartmentRequest; -import * as ChangeModelCompartmentRequest from "./change-model-compartment-request"; -export import ChangeModelCompartmentRequest = ChangeModelCompartmentRequest.ChangeModelCompartmentRequest; -import * as ChangeProjectCompartmentRequest from "./change-project-compartment-request"; -export import ChangeProjectCompartmentRequest = ChangeProjectCompartmentRequest.ChangeProjectCompartmentRequest; -import * as CreateAiPrivateEndpointRequest from "./create-ai-private-endpoint-request"; -export import CreateAiPrivateEndpointRequest = CreateAiPrivateEndpointRequest.CreateAiPrivateEndpointRequest; -import * as CreateDataAssetRequest from "./create-data-asset-request"; -export import CreateDataAssetRequest = CreateDataAssetRequest.CreateDataAssetRequest; -import * as CreateDetectAnomalyJobRequest from "./create-detect-anomaly-job-request"; -export import CreateDetectAnomalyJobRequest = CreateDetectAnomalyJobRequest.CreateDetectAnomalyJobRequest; -import * as CreateModelRequest from "./create-model-request"; -export import CreateModelRequest = CreateModelRequest.CreateModelRequest; -import * as CreateProjectRequest from "./create-project-request"; -export import CreateProjectRequest = CreateProjectRequest.CreateProjectRequest; -import * as DeleteAiPrivateEndpointRequest from "./delete-ai-private-endpoint-request"; -export import DeleteAiPrivateEndpointRequest = DeleteAiPrivateEndpointRequest.DeleteAiPrivateEndpointRequest; -import * as DeleteDataAssetRequest from "./delete-data-asset-request"; -export import DeleteDataAssetRequest = DeleteDataAssetRequest.DeleteDataAssetRequest; -import * as DeleteDetectAnomalyJobRequest from "./delete-detect-anomaly-job-request"; -export import DeleteDetectAnomalyJobRequest = DeleteDetectAnomalyJobRequest.DeleteDetectAnomalyJobRequest; -import * as DeleteModelRequest from "./delete-model-request"; -export import DeleteModelRequest = DeleteModelRequest.DeleteModelRequest; -import * as DeleteProjectRequest from "./delete-project-request"; -export import DeleteProjectRequest = DeleteProjectRequest.DeleteProjectRequest; -import * as DetectAnomaliesRequest from "./detect-anomalies-request"; -export import DetectAnomaliesRequest = DetectAnomaliesRequest.DetectAnomaliesRequest; -import * as GetAiPrivateEndpointRequest from "./get-ai-private-endpoint-request"; -export import GetAiPrivateEndpointRequest = GetAiPrivateEndpointRequest.GetAiPrivateEndpointRequest; -import * as GetDataAssetRequest from "./get-data-asset-request"; -export import GetDataAssetRequest = GetDataAssetRequest.GetDataAssetRequest; -import * as GetDetectAnomalyJobRequest from "./get-detect-anomaly-job-request"; -export import GetDetectAnomalyJobRequest = GetDetectAnomalyJobRequest.GetDetectAnomalyJobRequest; -import * as GetModelRequest from "./get-model-request"; -export import GetModelRequest = GetModelRequest.GetModelRequest; -import * as GetProjectRequest from "./get-project-request"; -export import GetProjectRequest = GetProjectRequest.GetProjectRequest; -import * as GetWorkRequestRequest from "./get-work-request-request"; -export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; -import * as ListAiPrivateEndpointsRequest from "./list-ai-private-endpoints-request"; -export import ListAiPrivateEndpointsRequest = ListAiPrivateEndpointsRequest.ListAiPrivateEndpointsRequest; -import * as ListDataAssetsRequest from "./list-data-assets-request"; -export import ListDataAssetsRequest = ListDataAssetsRequest.ListDataAssetsRequest; -import * as ListDetectAnomalyJobsRequest from "./list-detect-anomaly-jobs-request"; -export import ListDetectAnomalyJobsRequest = ListDetectAnomalyJobsRequest.ListDetectAnomalyJobsRequest; -import * as ListModelsRequest from "./list-models-request"; -export import ListModelsRequest = ListModelsRequest.ListModelsRequest; -import * as ListProjectsRequest from "./list-projects-request"; -export import ListProjectsRequest = ListProjectsRequest.ListProjectsRequest; -import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; -export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; -import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; -export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; -import * as ListWorkRequestsRequest from "./list-work-requests-request"; -export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; -import * as UpdateAiPrivateEndpointRequest from "./update-ai-private-endpoint-request"; -export import UpdateAiPrivateEndpointRequest = UpdateAiPrivateEndpointRequest.UpdateAiPrivateEndpointRequest; -import * as UpdateDataAssetRequest from "./update-data-asset-request"; -export import UpdateDataAssetRequest = UpdateDataAssetRequest.UpdateDataAssetRequest; -import * as UpdateDetectAnomalyJobRequest from "./update-detect-anomaly-job-request"; -export import UpdateDetectAnomalyJobRequest = UpdateDetectAnomalyJobRequest.UpdateDetectAnomalyJobRequest; -import * as UpdateModelRequest from "./update-model-request"; -export import UpdateModelRequest = UpdateModelRequest.UpdateModelRequest; -import * as UpdateProjectRequest from "./update-project-request"; -export import UpdateProjectRequest = UpdateProjectRequest.UpdateProjectRequest; diff --git a/lib/aianomalydetection/lib/request/list-ai-private-endpoints-request.ts b/lib/aianomalydetection/lib/request/list-ai-private-endpoints-request.ts deleted file mode 100644 index 2f0dd86fe8..0000000000 --- a/lib/aianomalydetection/lib/request/list-ai-private-endpoints-request.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListAiPrivateEndpoints.ts.html |here} to see how to use ListAiPrivateEndpointsRequest. - */ -export interface ListAiPrivateEndpointsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * Filter results by the specified lifecycle state. Must be a valid - * state for the resource type. - * - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: string; - /** - * unique AiPrivateEndpoint identifier - */ - "id"?: 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 timeCreated is default. - * - */ - "sortBy"?: ListAiPrivateEndpointsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListAiPrivateEndpointsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/aianomalydetection/lib/request/list-data-assets-request.ts b/lib/aianomalydetection/lib/request/list-data-assets-request.ts deleted file mode 100644 index ebd55d13c1..0000000000 --- a/lib/aianomalydetection/lib/request/list-data-assets-request.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListDataAssets.ts.html |here} to see how to use ListDataAssetsRequest. - */ -export interface ListDataAssetsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The ID of the project for which to list the objects. - */ - "projectId"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: 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; - /** - * Filter results by the specified lifecycle state. Must be a valid - * state for the resource type. - * - */ - "lifecycleState"?: 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 timeCreated is default. - * - */ - "sortBy"?: ListDataAssetsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListDataAssetsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/aianomalydetection/lib/request/list-detect-anomaly-jobs-request.ts b/lib/aianomalydetection/lib/request/list-detect-anomaly-jobs-request.ts deleted file mode 100644 index a5860580ea..0000000000 --- a/lib/aianomalydetection/lib/request/list-detect-anomaly-jobs-request.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListDetectAnomalyJobs.ts.html |here} to see how to use ListDetectAnomalyJobsRequest. - */ -export interface ListDetectAnomalyJobsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The ID of the trained model for which to list the resources. - */ - "modelId"?: string; - /** - * The ID of the project for which to list the objects. - */ - "projectId"?: string; - /** - * Unique Async Job identifier - */ - "detectAnomalyJobId"?: string; - /** - * Filter results by the specified lifecycle state. Must be a valid - * state for the resource type. - * - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: 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 timeCreated is default. - * - */ - "sortBy"?: ListDetectAnomalyJobsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListDetectAnomalyJobsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/aianomalydetection/lib/request/list-models-request.ts b/lib/aianomalydetection/lib/request/list-models-request.ts deleted file mode 100644 index 08cccc5111..0000000000 --- a/lib/aianomalydetection/lib/request/list-models-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListModels.ts.html |here} to see how to use ListModelsRequest. - */ -export interface ListModelsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The ID of the project for which to list the objects. - */ - "projectId"?: string; - /** - * Filter results by the specified lifecycle state. Must be a valid - * state for the resource type. - * - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: 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; - /** - * Specifies the field to sort by. Accepts only one field. - * By default, when you sort by {@code timeCreated}, the results are shown - * in descending order. When you sort by {@code displayName}, the results are - * shown in ascending order. Sort order for the {@code displayName} field is case sensitive. - * - */ - "sortBy"?: ListModelsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListModelsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/aianomalydetection/lib/request/list-projects-request.ts b/lib/aianomalydetection/lib/request/list-projects-request.ts deleted file mode 100644 index 6102b4e1af..0000000000 --- a/lib/aianomalydetection/lib/request/list-projects-request.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListProjects.ts.html |here} to see how to use ListProjectsRequest. - */ -export interface ListProjectsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * Filter results by the specified lifecycle state. Must be a valid - * state for the resource type. - * - */ - "lifecycleState"?: string; - /** - * A filter to return only resources that match the entire display name given. - */ - "displayName"?: 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; - /** - * Specifies the field to sort by. Accepts only one field. - * By default, when you sort by {@code timeCreated}, the results are shown - * in descending order. When you sort by {@code displayName}, the results are - * shown in ascending order. Sort order for the {@code displayName} field is case sensitive. - * - */ - "sortBy"?: ListProjectsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListProjectsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/aianomalydetection/lib/request/list-work-request-errors-request.ts b/lib/aianomalydetection/lib/request/list-work-request-errors-request.ts deleted file mode 100644 index b6cf26d06c..0000000000 --- a/lib/aianomalydetection/lib/request/list-work-request-errors-request.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. - */ -export interface ListWorkRequestErrorsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. - */ - "page"?: string; - /** - * The maximum number of items to return. - */ - "limit"?: number; -} diff --git a/lib/aianomalydetection/lib/request/list-work-request-logs-request.ts b/lib/aianomalydetection/lib/request/list-work-request-logs-request.ts deleted file mode 100644 index 72d2f5d2c3..0000000000 --- a/lib/aianomalydetection/lib/request/list-work-request-logs-request.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. - */ -export interface ListWorkRequestLogsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. - */ - "page"?: string; - /** - * The maximum number of items to return. - */ - "limit"?: number; -} diff --git a/lib/aianomalydetection/lib/request/list-work-requests-request.ts b/lib/aianomalydetection/lib/request/list-work-requests-request.ts deleted file mode 100644 index 865f748869..0000000000 --- a/lib/aianomalydetection/lib/request/list-work-requests-request.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. - */ -export interface ListWorkRequestsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The ID of the asynchronous work request. - */ - "workRequestId"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. - */ - "page"?: string; - /** - * The maximum number of items to return. - */ - "limit"?: number; -} diff --git a/lib/aianomalydetection/lib/request/update-ai-private-endpoint-request.ts b/lib/aianomalydetection/lib/request/update-ai-private-endpoint-request.ts deleted file mode 100644 index aac0f24590..0000000000 --- a/lib/aianomalydetection/lib/request/update-ai-private-endpoint-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/UpdateAiPrivateEndpoint.ts.html |here} to see how to use UpdateAiPrivateEndpointRequest. - */ -export interface UpdateAiPrivateEndpointRequest extends common.BaseRequest { - /** - * Unique private reverse connection identifier. - */ - "aiPrivateEndpointId": string; - /** - * The information to be updated in private reverse connection - */ - "updateAiPrivateEndpointDetails": model.UpdateAiPrivateEndpointDetails; - /** - * 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/aianomalydetection/lib/request/update-data-asset-request.ts b/lib/aianomalydetection/lib/request/update-data-asset-request.ts deleted file mode 100644 index 719af9823a..0000000000 --- a/lib/aianomalydetection/lib/request/update-data-asset-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/UpdateDataAsset.ts.html |here} to see how to use UpdateDataAssetRequest. - */ -export interface UpdateDataAssetRequest extends common.BaseRequest { - /** - * The OCID of the Data Asset. - */ - "dataAssetId": string; - /** - * The information to be updated. - */ - "updateDataAssetDetails": model.UpdateDataAssetDetails; - /** - * 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/aianomalydetection/lib/request/update-detect-anomaly-job-request.ts b/lib/aianomalydetection/lib/request/update-detect-anomaly-job-request.ts deleted file mode 100644 index d6e56c39d0..0000000000 --- a/lib/aianomalydetection/lib/request/update-detect-anomaly-job-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/UpdateDetectAnomalyJob.ts.html |here} to see how to use UpdateDetectAnomalyJobRequest. - */ -export interface UpdateDetectAnomalyJobRequest extends common.BaseRequest { - /** - * Unique asynchronous job identifier. - */ - "detectAnomalyJobId": string; - /** - * The information to be updated. - */ - "updateDetectAnomalyJobDetails": model.UpdateDetectAnomalyJobDetails; - /** - * 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/aianomalydetection/lib/request/update-model-request.ts b/lib/aianomalydetection/lib/request/update-model-request.ts deleted file mode 100644 index 950a4ce7a7..0000000000 --- a/lib/aianomalydetection/lib/request/update-model-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/UpdateModel.ts.html |here} to see how to use UpdateModelRequest. - */ -export interface UpdateModelRequest extends common.BaseRequest { - /** - * The OCID of the Model. - */ - "modelId": string; - /** - * The information to be updated. - */ - "updateModelDetails": model.UpdateModelDetails; - /** - * 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/aianomalydetection/lib/request/update-project-request.ts b/lib/aianomalydetection/lib/request/update-project-request.ts deleted file mode 100644 index 2d691caf4e..0000000000 --- a/lib/aianomalydetection/lib/request/update-project-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/aianomalydetection/UpdateProject.ts.html |here} to see how to use UpdateProjectRequest. - */ -export interface UpdateProjectRequest extends common.BaseRequest { - /** - * The OCID of the Project. - */ - "projectId": string; - /** - * The information to be updated. - */ - "updateProjectDetails": model.UpdateProjectDetails; - /** - * 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/aianomalydetection/lib/response/cancel-work-request-response.ts b/lib/aianomalydetection/lib/response/cancel-work-request-response.ts deleted file mode 100644 index 1b984572bc..0000000000 --- a/lib/aianomalydetection/lib/response/cancel-work-request-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface CancelWorkRequestResponse { - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; -} diff --git a/lib/aianomalydetection/lib/response/change-ai-private-endpoint-compartment-response.ts b/lib/aianomalydetection/lib/response/change-ai-private-endpoint-compartment-response.ts deleted file mode 100644 index 926817694d..0000000000 --- a/lib/aianomalydetection/lib/response/change-ai-private-endpoint-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeAiPrivateEndpointCompartmentResponse { - /** - * 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/aianomalydetection/lib/response/change-data-asset-compartment-response.ts b/lib/aianomalydetection/lib/response/change-data-asset-compartment-response.ts deleted file mode 100644 index 5ec63516db..0000000000 --- a/lib/aianomalydetection/lib/response/change-data-asset-compartment-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeDataAssetCompartmentResponse { - /** - * 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.DataAsset instance. - */ - "dataAsset": model.DataAsset; -} diff --git a/lib/aianomalydetection/lib/response/change-detect-anomaly-job-compartment-response.ts b/lib/aianomalydetection/lib/response/change-detect-anomaly-job-compartment-response.ts deleted file mode 100644 index b7418a6de0..0000000000 --- a/lib/aianomalydetection/lib/response/change-detect-anomaly-job-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeDetectAnomalyJobCompartmentResponse { - /** - * 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/aianomalydetection/lib/response/change-model-compartment-response.ts b/lib/aianomalydetection/lib/response/change-model-compartment-response.ts deleted file mode 100644 index e331659f64..0000000000 --- a/lib/aianomalydetection/lib/response/change-model-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeModelCompartmentResponse { - /** - * 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/aianomalydetection/lib/response/change-project-compartment-response.ts b/lib/aianomalydetection/lib/response/change-project-compartment-response.ts deleted file mode 100644 index 683638f27c..0000000000 --- a/lib/aianomalydetection/lib/response/change-project-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeProjectCompartmentResponse { - /** - * 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/aianomalydetection/lib/response/create-ai-private-endpoint-response.ts b/lib/aianomalydetection/lib/response/create-ai-private-endpoint-response.ts deleted file mode 100644 index 310906b479..0000000000 --- a/lib/aianomalydetection/lib/response/create-ai-private-endpoint-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateAiPrivateEndpointResponse { - /** - * 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/aianomalydetection/lib/response/create-data-asset-response.ts b/lib/aianomalydetection/lib/response/create-data-asset-response.ts deleted file mode 100644 index f0fc535dc4..0000000000 --- a/lib/aianomalydetection/lib/response/create-data-asset-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateDataAssetResponse { - /** - * 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.DataAsset instance. - */ - "dataAsset": model.DataAsset; -} diff --git a/lib/aianomalydetection/lib/response/create-detect-anomaly-job-response.ts b/lib/aianomalydetection/lib/response/create-detect-anomaly-job-response.ts deleted file mode 100644 index 350fa083db..0000000000 --- a/lib/aianomalydetection/lib/response/create-detect-anomaly-job-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateDetectAnomalyJobResponse { - /** - * 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.DetectAnomalyJob instance. - */ - "detectAnomalyJob": model.DetectAnomalyJob; -} diff --git a/lib/aianomalydetection/lib/response/create-model-response.ts b/lib/aianomalydetection/lib/response/create-model-response.ts deleted file mode 100644 index 3cac382ac5..0000000000 --- a/lib/aianomalydetection/lib/response/create-model-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateModelResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * The URI that identifies the entity described in the response body. - * - */ - "location": string; - /** - * 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; - /** - * The returned model.Model instance. - */ - "model": model.Model; -} diff --git a/lib/aianomalydetection/lib/response/create-project-response.ts b/lib/aianomalydetection/lib/response/create-project-response.ts deleted file mode 100644 index 8aae58ac29..0000000000 --- a/lib/aianomalydetection/lib/response/create-project-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateProjectResponse { - /** - * 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.Project instance. - */ - "project": model.Project; -} diff --git a/lib/aianomalydetection/lib/response/delete-ai-private-endpoint-response.ts b/lib/aianomalydetection/lib/response/delete-ai-private-endpoint-response.ts deleted file mode 100644 index c74936251c..0000000000 --- a/lib/aianomalydetection/lib/response/delete-ai-private-endpoint-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteAiPrivateEndpointResponse { - /** - * 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/aianomalydetection/lib/response/delete-data-asset-response.ts b/lib/aianomalydetection/lib/response/delete-data-asset-response.ts deleted file mode 100644 index e1fd1b59e5..0000000000 --- a/lib/aianomalydetection/lib/response/delete-data-asset-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteDataAssetResponse { - /** - * 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/aianomalydetection/lib/response/delete-detect-anomaly-job-response.ts b/lib/aianomalydetection/lib/response/delete-detect-anomaly-job-response.ts deleted file mode 100644 index 39a8e63be1..0000000000 --- a/lib/aianomalydetection/lib/response/delete-detect-anomaly-job-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteDetectAnomalyJobResponse { - /** - * 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/aianomalydetection/lib/response/delete-model-response.ts b/lib/aianomalydetection/lib/response/delete-model-response.ts deleted file mode 100644 index da73cf5ec6..0000000000 --- a/lib/aianomalydetection/lib/response/delete-model-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteModelResponse { - /** - * 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/aianomalydetection/lib/response/delete-project-response.ts b/lib/aianomalydetection/lib/response/delete-project-response.ts deleted file mode 100644 index adce10db21..0000000000 --- a/lib/aianomalydetection/lib/response/delete-project-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteProjectResponse { - /** - * 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/aianomalydetection/lib/response/detect-anomalies-response.ts b/lib/aianomalydetection/lib/response/detect-anomalies-response.ts deleted file mode 100644 index 8a5a050299..0000000000 --- a/lib/aianomalydetection/lib/response/detect-anomalies-response.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetectAnomaliesResponse { - /** - * 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.AnomalyDetectResult instance. - */ - "anomalyDetectResult": model.AnomalyDetectResult; -} diff --git a/lib/aianomalydetection/lib/response/get-ai-private-endpoint-response.ts b/lib/aianomalydetection/lib/response/get-ai-private-endpoint-response.ts deleted file mode 100644 index 7434579fb1..0000000000 --- a/lib/aianomalydetection/lib/response/get-ai-private-endpoint-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetAiPrivateEndpointResponse { - /** - * 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.AiPrivateEndpoint instance. - */ - "aiPrivateEndpoint": model.AiPrivateEndpoint; -} diff --git a/lib/aianomalydetection/lib/response/get-data-asset-response.ts b/lib/aianomalydetection/lib/response/get-data-asset-response.ts deleted file mode 100644 index a510852fe9..0000000000 --- a/lib/aianomalydetection/lib/response/get-data-asset-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetDataAssetResponse { - /** - * 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.DataAsset instance. - */ - "dataAsset": model.DataAsset; -} diff --git a/lib/aianomalydetection/lib/response/get-detect-anomaly-job-response.ts b/lib/aianomalydetection/lib/response/get-detect-anomaly-job-response.ts deleted file mode 100644 index 83168327bf..0000000000 --- a/lib/aianomalydetection/lib/response/get-detect-anomaly-job-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetDetectAnomalyJobResponse { - /** - * 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.DetectAnomalyJob instance. - */ - "detectAnomalyJob": model.DetectAnomalyJob; -} diff --git a/lib/aianomalydetection/lib/response/get-model-response.ts b/lib/aianomalydetection/lib/response/get-model-response.ts deleted file mode 100644 index df2b2ef949..0000000000 --- a/lib/aianomalydetection/lib/response/get-model-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetModelResponse { - /** - * 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.Model instance. - */ - "model": model.Model; -} diff --git a/lib/aianomalydetection/lib/response/get-project-response.ts b/lib/aianomalydetection/lib/response/get-project-response.ts deleted file mode 100644 index 79b9adb325..0000000000 --- a/lib/aianomalydetection/lib/response/get-project-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetProjectResponse { - /** - * 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.Project instance. - */ - "project": model.Project; -} diff --git a/lib/aianomalydetection/lib/response/get-work-request-response.ts b/lib/aianomalydetection/lib/response/get-work-request-response.ts deleted file mode 100644 index 5392a3e636..0000000000 --- a/lib/aianomalydetection/lib/response/get-work-request-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetWorkRequestResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A decimal number representing the number of seconds the client should wait before polling this endpoint again. - */ - "retryAfter": number; - /** - * The returned model.WorkRequest instance. - */ - "workRequest": model.WorkRequest; -} diff --git a/lib/aianomalydetection/lib/response/index.ts b/lib/aianomalydetection/lib/response/index.ts deleted file mode 100644 index 6a76c5431d..0000000000 --- a/lib/aianomalydetection/lib/response/index.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Anomaly Detection API - * OCI AI Service solutions can help Enterprise customers integrate AI into their products immediately by using our proven, -pre-trained/custom models or containers, and without a need to set up in house team of AI and ML experts. -This allows enterprises to focus on business drivers and development work rather than AI/ML operations, shortening the time to market. - - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as CancelWorkRequestResponse from "./cancel-work-request-response"; -export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; -import * as ChangeAiPrivateEndpointCompartmentResponse from "./change-ai-private-endpoint-compartment-response"; -export import ChangeAiPrivateEndpointCompartmentResponse = ChangeAiPrivateEndpointCompartmentResponse.ChangeAiPrivateEndpointCompartmentResponse; -import * as ChangeDataAssetCompartmentResponse from "./change-data-asset-compartment-response"; -export import ChangeDataAssetCompartmentResponse = ChangeDataAssetCompartmentResponse.ChangeDataAssetCompartmentResponse; -import * as ChangeDetectAnomalyJobCompartmentResponse from "./change-detect-anomaly-job-compartment-response"; -export import ChangeDetectAnomalyJobCompartmentResponse = ChangeDetectAnomalyJobCompartmentResponse.ChangeDetectAnomalyJobCompartmentResponse; -import * as ChangeModelCompartmentResponse from "./change-model-compartment-response"; -export import ChangeModelCompartmentResponse = ChangeModelCompartmentResponse.ChangeModelCompartmentResponse; -import * as ChangeProjectCompartmentResponse from "./change-project-compartment-response"; -export import ChangeProjectCompartmentResponse = ChangeProjectCompartmentResponse.ChangeProjectCompartmentResponse; -import * as CreateAiPrivateEndpointResponse from "./create-ai-private-endpoint-response"; -export import CreateAiPrivateEndpointResponse = CreateAiPrivateEndpointResponse.CreateAiPrivateEndpointResponse; -import * as CreateDataAssetResponse from "./create-data-asset-response"; -export import CreateDataAssetResponse = CreateDataAssetResponse.CreateDataAssetResponse; -import * as CreateDetectAnomalyJobResponse from "./create-detect-anomaly-job-response"; -export import CreateDetectAnomalyJobResponse = CreateDetectAnomalyJobResponse.CreateDetectAnomalyJobResponse; -import * as CreateModelResponse from "./create-model-response"; -export import CreateModelResponse = CreateModelResponse.CreateModelResponse; -import * as CreateProjectResponse from "./create-project-response"; -export import CreateProjectResponse = CreateProjectResponse.CreateProjectResponse; -import * as DeleteAiPrivateEndpointResponse from "./delete-ai-private-endpoint-response"; -export import DeleteAiPrivateEndpointResponse = DeleteAiPrivateEndpointResponse.DeleteAiPrivateEndpointResponse; -import * as DeleteDataAssetResponse from "./delete-data-asset-response"; -export import DeleteDataAssetResponse = DeleteDataAssetResponse.DeleteDataAssetResponse; -import * as DeleteDetectAnomalyJobResponse from "./delete-detect-anomaly-job-response"; -export import DeleteDetectAnomalyJobResponse = DeleteDetectAnomalyJobResponse.DeleteDetectAnomalyJobResponse; -import * as DeleteModelResponse from "./delete-model-response"; -export import DeleteModelResponse = DeleteModelResponse.DeleteModelResponse; -import * as DeleteProjectResponse from "./delete-project-response"; -export import DeleteProjectResponse = DeleteProjectResponse.DeleteProjectResponse; -import * as DetectAnomaliesResponse from "./detect-anomalies-response"; -export import DetectAnomaliesResponse = DetectAnomaliesResponse.DetectAnomaliesResponse; -import * as GetAiPrivateEndpointResponse from "./get-ai-private-endpoint-response"; -export import GetAiPrivateEndpointResponse = GetAiPrivateEndpointResponse.GetAiPrivateEndpointResponse; -import * as GetDataAssetResponse from "./get-data-asset-response"; -export import GetDataAssetResponse = GetDataAssetResponse.GetDataAssetResponse; -import * as GetDetectAnomalyJobResponse from "./get-detect-anomaly-job-response"; -export import GetDetectAnomalyJobResponse = GetDetectAnomalyJobResponse.GetDetectAnomalyJobResponse; -import * as GetModelResponse from "./get-model-response"; -export import GetModelResponse = GetModelResponse.GetModelResponse; -import * as GetProjectResponse from "./get-project-response"; -export import GetProjectResponse = GetProjectResponse.GetProjectResponse; -import * as GetWorkRequestResponse from "./get-work-request-response"; -export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; -import * as ListAiPrivateEndpointsResponse from "./list-ai-private-endpoints-response"; -export import ListAiPrivateEndpointsResponse = ListAiPrivateEndpointsResponse.ListAiPrivateEndpointsResponse; -import * as ListDataAssetsResponse from "./list-data-assets-response"; -export import ListDataAssetsResponse = ListDataAssetsResponse.ListDataAssetsResponse; -import * as ListDetectAnomalyJobsResponse from "./list-detect-anomaly-jobs-response"; -export import ListDetectAnomalyJobsResponse = ListDetectAnomalyJobsResponse.ListDetectAnomalyJobsResponse; -import * as ListModelsResponse from "./list-models-response"; -export import ListModelsResponse = ListModelsResponse.ListModelsResponse; -import * as ListProjectsResponse from "./list-projects-response"; -export import ListProjectsResponse = ListProjectsResponse.ListProjectsResponse; -import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; -export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; -import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; -export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; -import * as ListWorkRequestsResponse from "./list-work-requests-response"; -export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; -import * as UpdateAiPrivateEndpointResponse from "./update-ai-private-endpoint-response"; -export import UpdateAiPrivateEndpointResponse = UpdateAiPrivateEndpointResponse.UpdateAiPrivateEndpointResponse; -import * as UpdateDataAssetResponse from "./update-data-asset-response"; -export import UpdateDataAssetResponse = UpdateDataAssetResponse.UpdateDataAssetResponse; -import * as UpdateDetectAnomalyJobResponse from "./update-detect-anomaly-job-response"; -export import UpdateDetectAnomalyJobResponse = UpdateDetectAnomalyJobResponse.UpdateDetectAnomalyJobResponse; -import * as UpdateModelResponse from "./update-model-response"; -export import UpdateModelResponse = UpdateModelResponse.UpdateModelResponse; -import * as UpdateProjectResponse from "./update-project-response"; -export import UpdateProjectResponse = UpdateProjectResponse.UpdateProjectResponse; diff --git a/lib/aianomalydetection/lib/response/list-ai-private-endpoints-response.ts b/lib/aianomalydetection/lib/response/list-ai-private-endpoints-response.ts deleted file mode 100644 index fdf58c2f3f..0000000000 --- a/lib/aianomalydetection/lib/response/list-ai-private-endpoints-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAiPrivateEndpointsResponse { - /** - * 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.AiPrivateEndpointCollection instance. - */ - "aiPrivateEndpointCollection": model.AiPrivateEndpointCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-data-assets-response.ts b/lib/aianomalydetection/lib/response/list-data-assets-response.ts deleted file mode 100644 index 040b785f46..0000000000 --- a/lib/aianomalydetection/lib/response/list-data-assets-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListDataAssetsResponse { - /** - * 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.DataAssetCollection instance. - */ - "dataAssetCollection": model.DataAssetCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-detect-anomaly-jobs-response.ts b/lib/aianomalydetection/lib/response/list-detect-anomaly-jobs-response.ts deleted file mode 100644 index f08b43b04e..0000000000 --- a/lib/aianomalydetection/lib/response/list-detect-anomaly-jobs-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListDetectAnomalyJobsResponse { - /** - * 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 - * precedent GET request to get the previous batch of items. - * - */ - "opcPrevPage": 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.DetectAnomalyJobCollection instance. - */ - "detectAnomalyJobCollection": model.DetectAnomalyJobCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-models-response.ts b/lib/aianomalydetection/lib/response/list-models-response.ts deleted file mode 100644 index 957b3bedef..0000000000 --- a/lib/aianomalydetection/lib/response/list-models-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListModelsResponse { - /** - * 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.ModelCollection instance. - */ - "modelCollection": model.ModelCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-projects-response.ts b/lib/aianomalydetection/lib/response/list-projects-response.ts deleted file mode 100644 index 399dd40a68..0000000000 --- a/lib/aianomalydetection/lib/response/list-projects-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListProjectsResponse { - /** - * 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.ProjectCollection instance. - */ - "projectCollection": model.ProjectCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-work-request-errors-response.ts b/lib/aianomalydetection/lib/response/list-work-request-errors-response.ts deleted file mode 100644 index 68da84e442..0000000000 --- a/lib/aianomalydetection/lib/response/list-work-request-errors-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestErrorsResponse { - /** - * For 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * The returned model.WorkRequestErrorCollection instance. - */ - "workRequestErrorCollection": model.WorkRequestErrorCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-work-request-logs-response.ts b/lib/aianomalydetection/lib/response/list-work-request-logs-response.ts deleted file mode 100644 index 37a523bdc0..0000000000 --- a/lib/aianomalydetection/lib/response/list-work-request-logs-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestLogsResponse { - /** - * For 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * The returned model.WorkRequestLogEntryCollection instance. - */ - "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; -} diff --git a/lib/aianomalydetection/lib/response/list-work-requests-response.ts b/lib/aianomalydetection/lib/response/list-work-requests-response.ts deleted file mode 100644 index 0fe4cab6db..0000000000 --- a/lib/aianomalydetection/lib/response/list-work-requests-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestsResponse { - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * For 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.WorkRequestSummaryCollection instance. - */ - "workRequestSummaryCollection": model.WorkRequestSummaryCollection; -} diff --git a/lib/aianomalydetection/lib/response/update-ai-private-endpoint-response.ts b/lib/aianomalydetection/lib/response/update-ai-private-endpoint-response.ts deleted file mode 100644 index 9db1c09f4d..0000000000 --- a/lib/aianomalydetection/lib/response/update-ai-private-endpoint-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateAiPrivateEndpointResponse { - /** - * 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/aianomalydetection/lib/response/update-data-asset-response.ts b/lib/aianomalydetection/lib/response/update-data-asset-response.ts deleted file mode 100644 index e403fc8256..0000000000 --- a/lib/aianomalydetection/lib/response/update-data-asset-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateDataAssetResponse { - /** - * 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.DataAsset instance. - */ - "dataAsset": model.DataAsset; -} diff --git a/lib/aianomalydetection/lib/response/update-detect-anomaly-job-response.ts b/lib/aianomalydetection/lib/response/update-detect-anomaly-job-response.ts deleted file mode 100644 index 43e86a4d2b..0000000000 --- a/lib/aianomalydetection/lib/response/update-detect-anomaly-job-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateDetectAnomalyJobResponse { - /** - * 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.DetectAnomalyJob instance. - */ - "detectAnomalyJob": model.DetectAnomalyJob; -} diff --git a/lib/aianomalydetection/lib/response/update-model-response.ts b/lib/aianomalydetection/lib/response/update-model-response.ts deleted file mode 100644 index 4a795542da..0000000000 --- a/lib/aianomalydetection/lib/response/update-model-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateModelResponse { - /** - * 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/aianomalydetection/lib/response/update-project-response.ts b/lib/aianomalydetection/lib/response/update-project-response.ts deleted file mode 100644 index 33bc069ca4..0000000000 --- a/lib/aianomalydetection/lib/response/update-project-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20210101 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateProjectResponse { - /** - * 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.Project instance. - */ - "project": model.Project; -} diff --git a/lib/aianomalydetection/package.json b/lib/aianomalydetection/package.json deleted file mode 100644 index d715acc524..0000000000 --- a/lib/aianomalydetection/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "oci-aianomalydetection", - "version": "2.114.1", - "description": "OCI NodeJS client for Ai Anomaly Detection Service", - "repository": { - "type": "git", - "url": "https://github.com/oracle/oci-typescript-sdk" - }, - "main": "../../target/lib/aianomalydetection/index.js", - "typings": "../../target/lib/aianomalydetection/index.d.ts", - "scripts": {}, - "author": { - "name": "Oracle Cloud Infrastructure", - "email": "" - }, - "license": "(UPL-1.0 OR Apache-2.0)", - "dependencies": { - "oci-common": "../common" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org" - }, - "contributors": [ - "Jyoti Saini ", - "Joe Levy ", - "Walt Tran " - ] -} diff --git a/lib/aianomalydetection/tsconfig.json b/lib/aianomalydetection/tsconfig.json deleted file mode 100644 index bf9170b6ce..0000000000 --- a/lib/aianomalydetection/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "declaration": true, /* Generates corresponding '.d.ts' file. */ - "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "target", /* Redirect output structure to the directory. */ - "strict": true, /* Enable all strict type-checking options. */ - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - } -} \ No newline at end of file diff --git a/lib/dts/README.md b/lib/dts/README.md deleted file mode 100644 index 72cf915108..0000000000 --- a/lib/dts/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# OCI NodeJS client for DTS Service - -This module enables you to write code to manage resources for DTS Service. - -## Requirements - -To use this module, you must have the following: - -- An Oracle Cloud Infrastructure account. -- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). -- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) - -## Installing - -Use the following command to install this module: - -``` -npm install oci-dts -``` - -Alternatively you can git clone this repo. diff --git a/lib/dts/index.ts b/lib/dts/index.ts deleted file mode 100644 index 88328f4ccf..0000000000 --- a/lib/dts/index.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as requests from "./lib/request"; -import * as models from "./lib/model"; -import * as responses from "./lib/response"; -import * as client from "./lib/client"; -import * as applianceexportjob_waiter from "./lib/applianceexportjob-waiter"; -import * as transferappliance_waiter from "./lib/transferappliance-waiter"; -import * as transferapplianceentitlement_waiter from "./lib/transferapplianceentitlement-waiter"; -import * as transferdevice_waiter from "./lib/transferdevice-waiter"; -import * as transferjob_waiter from "./lib/transferjob-waiter"; -import * as transferpackage_waiter from "./lib/transferpackage-waiter"; - -export { models }; -export { requests }; -export { responses }; -export import ApplianceExportJobClient = client.ApplianceExportJobClient; -export import ApplianceExportJobWaiter = applianceexportjob_waiter.ApplianceExportJobWaiter; -export import ShippingVendorsClient = client.ShippingVendorsClient; -export import TransferApplianceClient = client.TransferApplianceClient; -export import TransferApplianceWaiter = transferappliance_waiter.TransferApplianceWaiter; -export import TransferApplianceEntitlementClient = client.TransferApplianceEntitlementClient; -export import TransferApplianceEntitlementWaiter = transferapplianceentitlement_waiter.TransferApplianceEntitlementWaiter; -export import TransferDeviceClient = client.TransferDeviceClient; -export import TransferDeviceWaiter = transferdevice_waiter.TransferDeviceWaiter; -export import TransferJobClient = client.TransferJobClient; -export import TransferJobWaiter = transferjob_waiter.TransferJobWaiter; -export import TransferPackageClient = client.TransferPackageClient; -export import TransferPackageWaiter = transferpackage_waiter.TransferPackageWaiter; diff --git a/lib/dts/lib/applianceexportjob-waiter.ts b/lib/dts/lib/applianceexportjob-waiter.ts deleted file mode 100644 index be36dc3cca..0000000000 --- a/lib/dts/lib/applianceexportjob-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { ApplianceExportJobClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class ApplianceExportJobWaiter { - public constructor( - private client: ApplianceExportJobClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forApplianceExportJob 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 GetApplianceExportJobResponse | null (null in case of 404 response) - */ - public async forApplianceExportJob( - request: serviceRequests.GetApplianceExportJobRequest, - ...targetStates: models.ApplianceExportJob.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getApplianceExportJob(request), - response => targetStates.includes(response.applianceExportJob.lifecycleState!), - targetStates.includes(models.ApplianceExportJob.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/lib/client.ts b/lib/dts/lib/client.ts deleted file mode 100644 index dd50b15e4d..0000000000 --- a/lib/dts/lib/client.ts +++ /dev/null @@ -1,4342 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import common = require("oci-common"); -import * as requests from "./request"; -import * as model from "./model"; -import * as responses from "./response"; -import { paginateRecords, paginateResponses } from "oci-common"; -import { ApplianceExportJobWaiter } from "./applianceexportjob-waiter"; -import { TransferApplianceWaiter } from "./transferappliance-waiter"; -import { TransferApplianceEntitlementWaiter } from "./transferapplianceentitlement-waiter"; -import { TransferDeviceWaiter } from "./transferdevice-waiter"; -import { TransferJobWaiter } from "./transferjob-waiter"; -import { TransferPackageWaiter } from "./transferpackage-waiter"; -import { - composeResponse, - composeRequest, - GenericRetrier, - developerToolConfiguration -} from "oci-common"; -const Breaker = require("opossum"); - -// =============================================== -// This file is autogenerated - Please do not edit -// =============================================== - -export enum ApplianceExportJobApiKeys {} -/** - * 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 ApplianceExportJobClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": ApplianceExportJobWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "ApplianceExportJob"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`ApplianceExportJobClient 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( - ApplianceExportJobClient.serviceEndpointTemplate, - this._region, - ApplianceExportJobClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - ApplianceExportJobClient.serviceEndpointTemplate, - this._regionId, - ApplianceExportJobClient.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( - ApplianceExportJobClient.serviceEndpointTemplate, - region, - ApplianceExportJobClient.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( - ApplianceExportJobClient.serviceEndpointTemplate, - regionId, - ApplianceExportJobClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new ApplianceExportJobWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): ApplianceExportJobWaiter { - this._waiters = new ApplianceExportJobWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): ApplianceExportJobWaiter { - 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 a ApplianceExportJob into a different compartment. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ChangeApplianceExportJobCompartmentRequest - * @return ChangeApplianceExportJobCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ChangeApplianceExportJobCompartment.ts.html |here} to see how to use ChangeApplianceExportJobCompartment API. - */ - public async changeApplianceExportJobCompartment( - changeApplianceExportJobCompartmentRequest: requests.ChangeApplianceExportJobCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation ApplianceExportJobClient#changeApplianceExportJobCompartment." - ); - const operationName = "changeApplianceExportJobCompartment"; - const apiReferenceLink = ""; - const pathParams = { - "{applianceExportJobId}": changeApplianceExportJobCompartmentRequest.applianceExportJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeApplianceExportJobCompartmentRequest.ifMatch, - "opc-request-id": changeApplianceExportJobCompartmentRequest.opcRequestId, - "opc-retry-token": changeApplianceExportJobCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeApplianceExportJobCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs/{applianceExportJobId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeApplianceExportJobCompartmentRequest.changeApplianceExportJobCompartmentDetails, - "ChangeApplianceExportJobCompartmentDetails", - model.ChangeApplianceExportJobCompartmentDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new Appliance Export Job that corresponds with customer's logical dataset - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateApplianceExportJobRequest - * @return CreateApplianceExportJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateApplianceExportJob.ts.html |here} to see how to use CreateApplianceExportJob API. - */ - public async createApplianceExportJob( - createApplianceExportJobRequest: requests.CreateApplianceExportJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ApplianceExportJobClient#createApplianceExportJob."); - const operationName = "createApplianceExportJob"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createApplianceExportJobRequest.opcRetryToken, - "opc-request-id": createApplianceExportJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createApplianceExportJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createApplianceExportJobRequest.createApplianceExportJobDetails, - "CreateApplianceExportJobDetails", - model.CreateApplianceExportJobDetails.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: "applianceExportJob", - bodyModel: model.ApplianceExportJob, - type: "model.ApplianceExportJob", - 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; - } - } - - /** - * deletes a Appliance Export Job - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteApplianceExportJobRequest - * @return DeleteApplianceExportJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DeleteApplianceExportJob.ts.html |here} to see how to use DeleteApplianceExportJob API. - */ - public async deleteApplianceExportJob( - deleteApplianceExportJobRequest: requests.DeleteApplianceExportJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ApplianceExportJobClient#deleteApplianceExportJob."); - const operationName = "deleteApplianceExportJob"; - const apiReferenceLink = ""; - const pathParams = { - "{applianceExportJobId}": deleteApplianceExportJobRequest.applianceExportJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteApplianceExportJobRequest.ifMatch, - "opc-request-id": deleteApplianceExportJobRequest.opcRequestId, - "opc-retry-token": deleteApplianceExportJobRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteApplianceExportJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs/{applianceExportJobId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Describes a Appliance Export Job in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetApplianceExportJobRequest - * @return GetApplianceExportJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetApplianceExportJob.ts.html |here} to see how to use GetApplianceExportJob API. - */ - public async getApplianceExportJob( - getApplianceExportJobRequest: requests.GetApplianceExportJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ApplianceExportJobClient#getApplianceExportJob."); - const operationName = "getApplianceExportJob"; - const apiReferenceLink = ""; - const pathParams = { - "{applianceExportJobId}": getApplianceExportJobRequest.applianceExportJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getApplianceExportJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getApplianceExportJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs/{applianceExportJobId}", - 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: "applianceExportJob", - bodyModel: model.ApplianceExportJob, - type: "model.ApplianceExportJob", - 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; - } - } - - /** - * Lists Appliance Export Jobs in a given compartment - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListApplianceExportJobsRequest - * @return ListApplianceExportJobsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListApplianceExportJobs.ts.html |here} to see how to use ListApplianceExportJobs API. - */ - public async listApplianceExportJobs( - listApplianceExportJobsRequest: requests.ListApplianceExportJobsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ApplianceExportJobClient#listApplianceExportJobs."); - const operationName = "listApplianceExportJobs"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listApplianceExportJobsRequest.compartmentId, - "lifecycleState": listApplianceExportJobsRequest.lifecycleState, - "displayName": listApplianceExportJobsRequest.displayName, - "limit": listApplianceExportJobsRequest.limit, - "page": listApplianceExportJobsRequest.page - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listApplianceExportJobsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listApplianceExportJobsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ApplianceExportJobSummary, - type: "Array", - 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; - } - } - - /** - * NOTE: This function is deprecated in favor of listApplianceExportJobsRecordIterator function. - * Creates a new async iterator which will iterate over the models.ApplianceExportJobSummary objects - * contained in responses from the listApplianceExportJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllApplianceExportJobs( - request: requests.ListApplianceExportJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listApplianceExportJobs(req)); - } - - /** - * NOTE: This function is deprecated in favor of listApplianceExportJobsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listApplianceExportJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllApplianceExportJobsResponses( - request: requests.ListApplianceExportJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listApplianceExportJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ApplianceExportJobSummary objects - * contained in responses from the listApplianceExportJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listApplianceExportJobsRecordIterator( - request: requests.ListApplianceExportJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listApplianceExportJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listApplianceExportJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listApplianceExportJobsResponseIterator( - request: requests.ListApplianceExportJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listApplianceExportJobs(req)); - } - - /** - * Updates a Appliance Export Job that corresponds with customer's logical dataset. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateApplianceExportJobRequest - * @return UpdateApplianceExportJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/UpdateApplianceExportJob.ts.html |here} to see how to use UpdateApplianceExportJob API. - */ - public async updateApplianceExportJob( - updateApplianceExportJobRequest: requests.UpdateApplianceExportJobRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ApplianceExportJobClient#updateApplianceExportJob."); - const operationName = "updateApplianceExportJob"; - const apiReferenceLink = ""; - const pathParams = { - "{applianceExportJobId}": updateApplianceExportJobRequest.applianceExportJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateApplianceExportJobRequest.ifMatch, - "opc-request-id": updateApplianceExportJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateApplianceExportJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/applianceExportJobs/{applianceExportJobId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateApplianceExportJobRequest.updateApplianceExportJobDetails, - "UpdateApplianceExportJobDetails", - model.UpdateApplianceExportJobDetails.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: "applianceExportJob", - bodyModel: model.ApplianceExportJob, - type: "model.ApplianceExportJob", - 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; - } - } -} -export enum ShippingVendorsApiKeys {} -/** - * 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 ShippingVendorsClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{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 = "ShippingVendors"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`ShippingVendorsClient 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( - ShippingVendorsClient.serviceEndpointTemplate, - this._region, - ShippingVendorsClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - ShippingVendorsClient.serviceEndpointTemplate, - this._regionId, - ShippingVendorsClient.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( - ShippingVendorsClient.serviceEndpointTemplate, - region, - ShippingVendorsClient.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( - ShippingVendorsClient.serviceEndpointTemplate, - regionId, - ShippingVendorsClient.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(); - } - - /** - * Lists available shipping vendors for Transfer Package delivery - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListShippingVendorsRequest - * @return ListShippingVendorsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListShippingVendors.ts.html |here} to see how to use ListShippingVendors API. - */ - public async listShippingVendors( - listShippingVendorsRequest: requests.ListShippingVendorsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ShippingVendorsClient#listShippingVendors."); - const operationName = "listShippingVendors"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listShippingVendorsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/shippingVendors", - 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: "shippingVendors", - bodyModel: model.ShippingVendors, - type: "model.ShippingVendors", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} -export enum TransferApplianceApiKeys {} -/** - * 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 TransferApplianceClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": TransferApplianceWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "TransferAppliance"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`TransferApplianceClient 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( - TransferApplianceClient.serviceEndpointTemplate, - this._region, - TransferApplianceClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - TransferApplianceClient.serviceEndpointTemplate, - this._regionId, - TransferApplianceClient.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( - TransferApplianceClient.serviceEndpointTemplate, - region, - TransferApplianceClient.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( - TransferApplianceClient.serviceEndpointTemplate, - regionId, - TransferApplianceClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new TransferApplianceWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): TransferApplianceWaiter { - this._waiters = new TransferApplianceWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): TransferApplianceWaiter { - 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(); - } - - /** - * Create a new Transfer Appliance - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferApplianceRequest - * @return CreateTransferApplianceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferAppliance.ts.html |here} to see how to use CreateTransferAppliance API. - */ - public async createTransferAppliance( - createTransferApplianceRequest: requests.CreateTransferApplianceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferApplianceClient#createTransferAppliance."); - const operationName = "createTransferAppliance"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": createTransferApplianceRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTransferApplianceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferApplianceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferApplianceRequest.createTransferApplianceDetails, - "CreateTransferApplianceDetails", - model.CreateTransferApplianceDetails.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: "transferAppliance", - bodyModel: model.TransferAppliance, - type: "model.TransferAppliance", - 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; - } - } - - /** - * Creates an X.509 certificate from a public key - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferApplianceAdminCredentialsRequest - * @return CreateTransferApplianceAdminCredentialsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferApplianceAdminCredentials.ts.html |here} to see how to use CreateTransferApplianceAdminCredentials API. - */ - public async createTransferApplianceAdminCredentials( - createTransferApplianceAdminCredentialsRequest: requests.CreateTransferApplianceAdminCredentialsRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceClient#createTransferApplianceAdminCredentials." - ); - const operationName = "createTransferApplianceAdminCredentials"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": createTransferApplianceAdminCredentialsRequest.id, - "{transferApplianceLabel}": - createTransferApplianceAdminCredentialsRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTransferApplianceAdminCredentialsRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferApplianceAdminCredentialsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}/admin_credentials", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferApplianceAdminCredentialsRequest.adminPublicKey, - "TransferAppliancePublicKey", - model.TransferAppliancePublicKey.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: "transferApplianceCertificate", - bodyModel: model.TransferApplianceCertificate, - type: "model.TransferApplianceCertificate", - 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; - } - } - - /** - * deletes a transfer Appliance - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteTransferApplianceRequest - * @return DeleteTransferApplianceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DeleteTransferAppliance.ts.html |here} to see how to use DeleteTransferAppliance API. - */ - public async deleteTransferAppliance( - deleteTransferApplianceRequest: requests.DeleteTransferApplianceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferApplianceClient#deleteTransferAppliance."); - const operationName = "deleteTransferAppliance"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": deleteTransferApplianceRequest.id, - "{transferApplianceLabel}": deleteTransferApplianceRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": deleteTransferApplianceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteTransferApplianceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Describes a transfer appliance in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferApplianceRequest - * @return GetTransferApplianceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferAppliance.ts.html |here} to see how to use GetTransferAppliance API. - */ - public async getTransferAppliance( - getTransferApplianceRequest: requests.GetTransferApplianceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferApplianceClient#getTransferAppliance."); - const operationName = "getTransferAppliance"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferApplianceRequest.id, - "{transferApplianceLabel}": getTransferApplianceRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferApplianceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}", - 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: "transferAppliance", - bodyModel: model.TransferAppliance, - type: "model.TransferAppliance", - 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; - } - } - - /** - * Gets the x.509 certificate for the Transfer Appliance's dedicated Certificate Authority (CA) - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferApplianceCertificateAuthorityCertificateRequest - * @return GetTransferApplianceCertificateAuthorityCertificateResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferApplianceCertificateAuthorityCertificate.ts.html |here} to see how to use GetTransferApplianceCertificateAuthorityCertificate API. - */ - public async getTransferApplianceCertificateAuthorityCertificate( - getTransferApplianceCertificateAuthorityCertificateRequest: requests.GetTransferApplianceCertificateAuthorityCertificateRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceClient#getTransferApplianceCertificateAuthorityCertificate." - ); - const operationName = "getTransferApplianceCertificateAuthorityCertificate"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferApplianceCertificateAuthorityCertificateRequest.id, - "{transferApplianceLabel}": - getTransferApplianceCertificateAuthorityCertificateRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferApplianceCertificateAuthorityCertificateRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: - "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}/certificate_authority_certificate", - 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: "transferApplianceCertificate", - bodyModel: model.TransferApplianceCertificate, - type: "model.TransferApplianceCertificate", - 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; - } - } - - /** - * Describes a transfer appliance encryptionPassphrase in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferApplianceEncryptionPassphraseRequest - * @return GetTransferApplianceEncryptionPassphraseResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferApplianceEncryptionPassphrase.ts.html |here} to see how to use GetTransferApplianceEncryptionPassphrase API. - */ - public async getTransferApplianceEncryptionPassphrase( - getTransferApplianceEncryptionPassphraseRequest: requests.GetTransferApplianceEncryptionPassphraseRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceClient#getTransferApplianceEncryptionPassphrase." - ); - const operationName = "getTransferApplianceEncryptionPassphrase"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferApplianceEncryptionPassphraseRequest.id, - "{transferApplianceLabel}": - getTransferApplianceEncryptionPassphraseRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferApplianceEncryptionPassphraseRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}/encryptionPassphrase", - 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: "transferApplianceEncryptionPassphrase", - bodyModel: model.TransferApplianceEncryptionPassphrase, - type: "model.TransferApplianceEncryptionPassphrase", - 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; - } - } - - /** - * Lists Transfer Appliances associated with a transferJob - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListTransferAppliancesRequest - * @return ListTransferAppliancesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListTransferAppliances.ts.html |here} to see how to use ListTransferAppliances API. - */ - public async listTransferAppliances( - listTransferAppliancesRequest: requests.ListTransferAppliancesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferApplianceClient#listTransferAppliances."); - const operationName = "listTransferAppliances"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": listTransferAppliancesRequest.id - }; - - const queryParams = { - "lifecycleState": listTransferAppliancesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTransferAppliancesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances", - 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: "multipleTransferAppliances", - bodyModel: model.MultipleTransferAppliances, - type: "model.MultipleTransferAppliances", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates a Transfer Appliance - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateTransferApplianceRequest - * @return UpdateTransferApplianceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/UpdateTransferAppliance.ts.html |here} to see how to use UpdateTransferAppliance API. - */ - public async updateTransferAppliance( - updateTransferApplianceRequest: requests.UpdateTransferApplianceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferApplianceClient#updateTransferAppliance."); - const operationName = "updateTransferAppliance"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": updateTransferApplianceRequest.id, - "{transferApplianceLabel}": updateTransferApplianceRequest.transferApplianceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateTransferApplianceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateTransferApplianceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferAppliances/{transferApplianceLabel}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateTransferApplianceRequest.updateTransferApplianceDetails, - "UpdateTransferApplianceDetails", - model.UpdateTransferApplianceDetails.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: "transferAppliance", - bodyModel: model.TransferAppliance, - type: "model.TransferAppliance", - 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; - } - } -} -export enum TransferApplianceEntitlementApiKeys {} -/** - * 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 TransferApplianceEntitlementClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": TransferApplianceEntitlementWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "TransferApplianceEntitlement"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) - this.logger.info(`TransferApplianceEntitlementClient 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( - TransferApplianceEntitlementClient.serviceEndpointTemplate, - this._region, - TransferApplianceEntitlementClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - TransferApplianceEntitlementClient.serviceEndpointTemplate, - this._regionId, - TransferApplianceEntitlementClient.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( - TransferApplianceEntitlementClient.serviceEndpointTemplate, - region, - TransferApplianceEntitlementClient.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( - TransferApplianceEntitlementClient.serviceEndpointTemplate, - regionId, - TransferApplianceEntitlementClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new TransferApplianceEntitlementWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): TransferApplianceEntitlementWaiter { - this._waiters = new TransferApplianceEntitlementWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): TransferApplianceEntitlementWaiter { - 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(); - } - - /** - * Create the Entitlement to use a Transfer Appliance. It requires some offline process of review and signatures before request is granted. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferApplianceEntitlementRequest - * @return CreateTransferApplianceEntitlementResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferApplianceEntitlement.ts.html |here} to see how to use CreateTransferApplianceEntitlement API. - */ - public async createTransferApplianceEntitlement( - createTransferApplianceEntitlementRequest: requests.CreateTransferApplianceEntitlementRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceEntitlementClient#createTransferApplianceEntitlement." - ); - const operationName = "createTransferApplianceEntitlement"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTransferApplianceEntitlementRequest.opcRetryToken, - "opc-request-id": createTransferApplianceEntitlementRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferApplianceEntitlementRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferApplianceEntitlement", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferApplianceEntitlementRequest.createTransferApplianceEntitlementDetails, - "CreateTransferApplianceEntitlementDetails", - model.CreateTransferApplianceEntitlementDetails.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: "transferApplianceEntitlement", - bodyModel: model.TransferApplianceEntitlement, - type: "model.TransferApplianceEntitlement", - 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; - } - } - - /** - * Describes the Transfer Appliance Entitlement in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferApplianceEntitlementRequest - * @return GetTransferApplianceEntitlementResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferApplianceEntitlement.ts.html |here} to see how to use GetTransferApplianceEntitlement API. - */ - public async getTransferApplianceEntitlement( - getTransferApplianceEntitlementRequest: requests.GetTransferApplianceEntitlementRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceEntitlementClient#getTransferApplianceEntitlement." - ); - const operationName = "getTransferApplianceEntitlement"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferApplianceEntitlementRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": getTransferApplianceEntitlementRequest.opcRetryToken, - "opc-request-id": getTransferApplianceEntitlementRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferApplianceEntitlementRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferApplianceEntitlement/{id}", - 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: "transferApplianceEntitlement", - bodyModel: model.TransferApplianceEntitlement, - type: "model.TransferApplianceEntitlement", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Lists Transfer Transfer Appliance Entitlement - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListTransferApplianceEntitlementRequest - * @return ListTransferApplianceEntitlementResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListTransferApplianceEntitlement.ts.html |here} to see how to use ListTransferApplianceEntitlement API. - */ - public async listTransferApplianceEntitlement( - listTransferApplianceEntitlementRequest: requests.ListTransferApplianceEntitlementRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferApplianceEntitlementClient#listTransferApplianceEntitlement." - ); - const operationName = "listTransferApplianceEntitlement"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listTransferApplianceEntitlementRequest.compartmentId, - "id": listTransferApplianceEntitlementRequest.id, - "displayName": listTransferApplianceEntitlementRequest.displayName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listTransferApplianceEntitlementRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTransferApplianceEntitlementRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferApplianceEntitlement", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.TransferApplianceEntitlementSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} -export enum TransferDeviceApiKeys {} -/** - * 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 TransferDeviceClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": TransferDeviceWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "TransferDevice"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`TransferDeviceClient 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( - TransferDeviceClient.serviceEndpointTemplate, - this._region, - TransferDeviceClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - TransferDeviceClient.serviceEndpointTemplate, - this._regionId, - TransferDeviceClient.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( - TransferDeviceClient.serviceEndpointTemplate, - region, - TransferDeviceClient.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( - TransferDeviceClient.serviceEndpointTemplate, - regionId, - TransferDeviceClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new TransferDeviceWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): TransferDeviceWaiter { - this._waiters = new TransferDeviceWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): TransferDeviceWaiter { - 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(); - } - - /** - * Create a new Transfer Device - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferDeviceRequest - * @return CreateTransferDeviceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferDevice.ts.html |here} to see how to use CreateTransferDevice API. - */ - public async createTransferDevice( - createTransferDeviceRequest: requests.CreateTransferDeviceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferDeviceClient#createTransferDevice."); - const operationName = "createTransferDevice"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": createTransferDeviceRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTransferDeviceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferDeviceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferDevices", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferDeviceRequest.createTransferDeviceDetails, - "CreateTransferDeviceDetails", - model.CreateTransferDeviceDetails.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: "newTransferDevice", - bodyModel: model.NewTransferDevice, - type: "model.NewTransferDevice", - 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; - } - } - - /** - * deletes a transfer Device - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteTransferDeviceRequest - * @return DeleteTransferDeviceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DeleteTransferDevice.ts.html |here} to see how to use DeleteTransferDevice API. - */ - public async deleteTransferDevice( - deleteTransferDeviceRequest: requests.DeleteTransferDeviceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferDeviceClient#deleteTransferDevice."); - const operationName = "deleteTransferDevice"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": deleteTransferDeviceRequest.id, - "{transferDeviceLabel}": deleteTransferDeviceRequest.transferDeviceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": deleteTransferDeviceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteTransferDeviceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferDevices/{transferDeviceLabel}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Describes a transfer package in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferDeviceRequest - * @return GetTransferDeviceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferDevice.ts.html |here} to see how to use GetTransferDevice API. - */ - public async getTransferDevice( - getTransferDeviceRequest: requests.GetTransferDeviceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferDeviceClient#getTransferDevice."); - const operationName = "getTransferDevice"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferDeviceRequest.id, - "{transferDeviceLabel}": getTransferDeviceRequest.transferDeviceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferDeviceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferDevices/{transferDeviceLabel}", - 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: "transferDevice", - bodyModel: model.TransferDevice, - type: "model.TransferDevice", - 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; - } - } - - /** - * Lists Transfer Devices associated with a transferJob - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListTransferDevicesRequest - * @return ListTransferDevicesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListTransferDevices.ts.html |here} to see how to use ListTransferDevices API. - */ - public async listTransferDevices( - listTransferDevicesRequest: requests.ListTransferDevicesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferDeviceClient#listTransferDevices."); - const operationName = "listTransferDevices"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": listTransferDevicesRequest.id - }; - - const queryParams = { - "lifecycleState": listTransferDevicesRequest.lifecycleState, - "displayName": listTransferDevicesRequest.displayName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTransferDevicesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferDevices", - 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: "multipleTransferDevices", - bodyModel: model.MultipleTransferDevices, - type: "model.MultipleTransferDevices", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates a Transfer Device - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateTransferDeviceRequest - * @return UpdateTransferDeviceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/UpdateTransferDevice.ts.html |here} to see how to use UpdateTransferDevice API. - */ - public async updateTransferDevice( - updateTransferDeviceRequest: requests.UpdateTransferDeviceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferDeviceClient#updateTransferDevice."); - const operationName = "updateTransferDevice"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": updateTransferDeviceRequest.id, - "{transferDeviceLabel}": updateTransferDeviceRequest.transferDeviceLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateTransferDeviceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateTransferDeviceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferDevices/{transferDeviceLabel}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateTransferDeviceRequest.updateTransferDeviceDetails, - "UpdateTransferDeviceDetails", - model.UpdateTransferDeviceDetails.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: "transferDevice", - bodyModel: model.TransferDevice, - type: "model.TransferDevice", - 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; - } - } -} -export enum TransferJobApiKeys {} -/** - * 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 TransferJobClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": TransferJobWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "TransferJob"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`TransferJobClient 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( - TransferJobClient.serviceEndpointTemplate, - this._region, - TransferJobClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - TransferJobClient.serviceEndpointTemplate, - this._regionId, - TransferJobClient.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( - TransferJobClient.serviceEndpointTemplate, - region, - TransferJobClient.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( - TransferJobClient.serviceEndpointTemplate, - regionId, - TransferJobClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new TransferJobWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): TransferJobWaiter { - this._waiters = new TransferJobWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): TransferJobWaiter { - 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 a TransferJob into a different compartment. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ChangeTransferJobCompartmentRequest - * @return ChangeTransferJobCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ChangeTransferJobCompartment.ts.html |here} to see how to use ChangeTransferJobCompartment API. - */ - public async changeTransferJobCompartment( - changeTransferJobCompartmentRequest: requests.ChangeTransferJobCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferJobClient#changeTransferJobCompartment."); - const operationName = "changeTransferJobCompartment"; - const apiReferenceLink = ""; - const pathParams = { - "{transferJobId}": changeTransferJobCompartmentRequest.transferJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeTransferJobCompartmentRequest.ifMatch, - "opc-request-id": changeTransferJobCompartmentRequest.opcRequestId, - "opc-retry-token": changeTransferJobCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeTransferJobCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{transferJobId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeTransferJobCompartmentRequest.changeTransferJobCompartmentDetails, - "ChangeTransferJobCompartmentDetails", - model.ChangeTransferJobCompartmentDetails.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("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Create a new Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferJobRequest - * @return CreateTransferJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferJob.ts.html |here} to see how to use CreateTransferJob API. - */ - public async createTransferJob( - createTransferJobRequest: requests.CreateTransferJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferJobClient#createTransferJob."); - const operationName = "createTransferJob"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createTransferJobRequest.opcRequestId, - "opc-retry-token": createTransferJobRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferJobRequest.createTransferJobDetails, - "CreateTransferJobDetails", - model.CreateTransferJobDetails.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: "transferJob", - bodyModel: model.TransferJob, - type: "model.TransferJob", - 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; - } - } - - /** - * deletes a transfer job - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteTransferJobRequest - * @return DeleteTransferJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DeleteTransferJob.ts.html |here} to see how to use DeleteTransferJob API. - */ - public async deleteTransferJob( - deleteTransferJobRequest: requests.DeleteTransferJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferJobClient#deleteTransferJob."); - const operationName = "deleteTransferJob"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": deleteTransferJobRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": deleteTransferJobRequest.opcRequestId, - "opc-retry-token": deleteTransferJobRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteTransferJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Describes a transfer job in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferJobRequest - * @return GetTransferJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferJob.ts.html |here} to see how to use GetTransferJob API. - */ - public async getTransferJob( - getTransferJobRequest: requests.GetTransferJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferJobClient#getTransferJob."); - const operationName = "getTransferJob"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferJobRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getTransferJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}", - 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: "transferJob", - bodyModel: model.TransferJob, - type: "model.TransferJob", - 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; - } - } - - /** - * Lists Transfer Jobs in a given compartment - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListTransferJobsRequest - * @return ListTransferJobsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListTransferJobs.ts.html |here} to see how to use ListTransferJobs API. - */ - public async listTransferJobs( - listTransferJobsRequest: requests.ListTransferJobsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferJobClient#listTransferJobs."); - const operationName = "listTransferJobs"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listTransferJobsRequest.compartmentId, - "lifecycleState": listTransferJobsRequest.lifecycleState, - "displayName": listTransferJobsRequest.displayName, - "limit": listTransferJobsRequest.limit, - "page": listTransferJobsRequest.page - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listTransferJobsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTransferJobsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.TransferJobSummary, - type: "Array", - 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; - } - } - - /** - * NOTE: This function is deprecated in favor of listTransferJobsRecordIterator function. - * Creates a new async iterator which will iterate over the models.TransferJobSummary objects - * contained in responses from the listTransferJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllTransferJobs( - request: requests.ListTransferJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listTransferJobs(req)); - } - - /** - * NOTE: This function is deprecated in favor of listTransferJobsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listTransferJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllTransferJobsResponses( - request: requests.ListTransferJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listTransferJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.TransferJobSummary objects - * contained in responses from the listTransferJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listTransferJobsRecordIterator( - request: requests.ListTransferJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listTransferJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listTransferJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listTransferJobsResponseIterator( - request: requests.ListTransferJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listTransferJobs(req)); - } - - /** - * Updates a Transfer Job that corresponds with customer's logical dataset e.g. a DB or a filesystem. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateTransferJobRequest - * @return UpdateTransferJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/UpdateTransferJob.ts.html |here} to see how to use UpdateTransferJob API. - */ - public async updateTransferJob( - updateTransferJobRequest: requests.UpdateTransferJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation TransferJobClient#updateTransferJob."); - const operationName = "updateTransferJob"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": updateTransferJobRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateTransferJobRequest.ifMatch, - "opc-request-id": updateTransferJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateTransferJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateTransferJobRequest.updateTransferJobDetails, - "UpdateTransferJobDetails", - model.UpdateTransferJobDetails.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: "transferJob", - bodyModel: model.TransferJob, - type: "model.TransferJob", - 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; - } - } -} -export enum TransferPackageApiKeys {} -/** - * 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 TransferPackageClient { - protected static serviceEndpointTemplate = - "https://datatransfer.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": TransferPackageWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "TransferPackage"; - 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("dts")) { - 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("dts"); - } - - // 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 + "/20171001"; - if (this.logger) this.logger.info(`TransferPackageClient 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( - TransferPackageClient.serviceEndpointTemplate, - this._region, - TransferPackageClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - TransferPackageClient.serviceEndpointTemplate, - this._regionId, - TransferPackageClient.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( - TransferPackageClient.serviceEndpointTemplate, - region, - TransferPackageClient.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( - TransferPackageClient.serviceEndpointTemplate, - regionId, - TransferPackageClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new TransferPackageWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): TransferPackageWaiter { - this._waiters = new TransferPackageWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): TransferPackageWaiter { - 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(); - } - - /** - * Attaches Devices to a Transfer Package - * This operation does not retry by default if the user has not defined a retry configuration. - * @param AttachDevicesToTransferPackageRequest - * @return AttachDevicesToTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/AttachDevicesToTransferPackage.ts.html |here} to see how to use AttachDevicesToTransferPackage API. - */ - public async attachDevicesToTransferPackage( - attachDevicesToTransferPackageRequest: requests.AttachDevicesToTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#attachDevicesToTransferPackage."); - const operationName = "attachDevicesToTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": attachDevicesToTransferPackageRequest.id, - "{transferPackageLabel}": attachDevicesToTransferPackageRequest.transferPackageLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": attachDevicesToTransferPackageRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - attachDevicesToTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages/{transferPackageLabel}/actions/attachDevices", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - attachDevicesToTransferPackageRequest.attachDevicesDetails, - "AttachDevicesDetails", - model.AttachDevicesDetails.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("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Create a new Transfer Package - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateTransferPackageRequest - * @return CreateTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/CreateTransferPackage.ts.html |here} to see how to use CreateTransferPackage API. - */ - public async createTransferPackage( - createTransferPackageRequest: requests.CreateTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#createTransferPackage."); - const operationName = "createTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": createTransferPackageRequest.id - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTransferPackageRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTransferPackageRequest.createTransferPackageDetails, - "CreateTransferPackageDetails", - model.CreateTransferPackageDetails.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: "transferPackage", - bodyModel: model.TransferPackage, - type: "model.TransferPackage", - 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; - } - } - - /** - * deletes a transfer Package - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteTransferPackageRequest - * @return DeleteTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DeleteTransferPackage.ts.html |here} to see how to use DeleteTransferPackage API. - */ - public async deleteTransferPackage( - deleteTransferPackageRequest: requests.DeleteTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#deleteTransferPackage."); - const operationName = "deleteTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": deleteTransferPackageRequest.id, - "{transferPackageLabel}": deleteTransferPackageRequest.transferPackageLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": deleteTransferPackageRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages/{transferPackageLabel}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Detaches Devices from a Transfer Package - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DetachDevicesFromTransferPackageRequest - * @return DetachDevicesFromTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/DetachDevicesFromTransferPackage.ts.html |here} to see how to use DetachDevicesFromTransferPackage API. - */ - public async detachDevicesFromTransferPackage( - detachDevicesFromTransferPackageRequest: requests.DetachDevicesFromTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation TransferPackageClient#detachDevicesFromTransferPackage." - ); - const operationName = "detachDevicesFromTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": detachDevicesFromTransferPackageRequest.id, - "{transferPackageLabel}": detachDevicesFromTransferPackageRequest.transferPackageLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": detachDevicesFromTransferPackageRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - detachDevicesFromTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages/{transferPackageLabel}/actions/detachDevices", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - detachDevicesFromTransferPackageRequest.detachDevicesDetails, - "DetachDevicesDetails", - model.DetachDevicesDetails.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("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Describes a transfer package in detail - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetTransferPackageRequest - * @return GetTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/GetTransferPackage.ts.html |here} to see how to use GetTransferPackage API. - */ - public async getTransferPackage( - getTransferPackageRequest: requests.GetTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#getTransferPackage."); - const operationName = "getTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": getTransferPackageRequest.id, - "{transferPackageLabel}": getTransferPackageRequest.transferPackageLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages/{transferPackageLabel}", - 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: "transferPackage", - bodyModel: model.TransferPackage, - type: "model.TransferPackage", - 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; - } - } - - /** - * Lists Transfer Packages associated with a transferJob - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListTransferPackagesRequest - * @return ListTransferPackagesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/ListTransferPackages.ts.html |here} to see how to use ListTransferPackages API. - */ - public async listTransferPackages( - listTransferPackagesRequest: requests.ListTransferPackagesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#listTransferPackages."); - const operationName = "listTransferPackages"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": listTransferPackagesRequest.id - }; - - const queryParams = { - "lifecycleState": listTransferPackagesRequest.lifecycleState, - "displayName": listTransferPackagesRequest.displayName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTransferPackagesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages", - 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: "multipleTransferPackages", - bodyModel: model.MultipleTransferPackages, - type: "model.MultipleTransferPackages", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates a Transfer Package - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateTransferPackageRequest - * @return UpdateTransferPackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/dts/UpdateTransferPackage.ts.html |here} to see how to use UpdateTransferPackage API. - */ - public async updateTransferPackage( - updateTransferPackageRequest: requests.UpdateTransferPackageRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation TransferPackageClient#updateTransferPackage."); - const operationName = "updateTransferPackage"; - const apiReferenceLink = ""; - const pathParams = { - "{id}": updateTransferPackageRequest.id, - "{transferPackageLabel}": updateTransferPackageRequest.transferPackageLabel - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateTransferPackageRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateTransferPackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/transferJobs/{id}/transferPackages/{transferPackageLabel}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateTransferPackageRequest.updateTransferPackageDetails, - "UpdateTransferPackageDetails", - model.UpdateTransferPackageDetails.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: "transferPackage", - bodyModel: model.TransferPackage, - type: "model.TransferPackage", - 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; - } - } -} diff --git a/lib/dts/lib/model/appliance-export-job-summary.ts b/lib/dts/lib/model/appliance-export-job-summary.ts deleted file mode 100644 index f35c774c5c..0000000000 --- a/lib/dts/lib/model/appliance-export-job-summary.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ApplianceExportJobSummary { - "id"?: string; - "bucketName"?: string; - "displayName"?: string; - "creationTime"?: Date; - "lifecycleState"?: ApplianceExportJobSummary.LifecycleState; - /** - * A property that can contain details on the lifecycle. - */ - "lifecycleStateDetails"?: 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 ApplianceExportJobSummary { - export enum LifecycleState { - Creating = "CREATING", - Active = "ACTIVE", - Inprogress = "INPROGRESS", - Succeeded = "SUCCEEDED", - Failed = "FAILED", - Cancelled = "CANCELLED", - 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: ApplianceExportJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ApplianceExportJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/appliance-export-job.ts b/lib/dts/lib/model/appliance-export-job.ts deleted file mode 100644 index 6c92078fe6..0000000000 --- a/lib/dts/lib/model/appliance-export-job.ts +++ /dev/null @@ -1,172 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ApplianceExportJob { - "id": string; - "compartmentId"?: string; - "bucketName"?: string; - "displayName"?: string; - "creationTime"?: Date; - "lifecycleState"?: ApplianceExportJob.LifecycleState; - /** - * A property that can contain details on the lifecycle. - */ - "lifecycleStateDetails"?: string; - /** - * Serial Number of the Appliance associated with this Export Job. - */ - "applianceSerialNumber"?: string; - /** - * Passphrase associated with the Appliance. - */ - "applianceDecryptionPassphrase"?: string; - /** - * Shipping Vendor selected to ship the Appliance associated with this job. - */ - "applianceDeliveryVendor"?: string; - /** - * Tracking number associated with the shipment while shipping the Appliance to Customer. - */ - "applianceDeliveryTrackingNumber"?: string; - /** - * Tracking number associated with the shipment while shipping the Appliance back to Oracle. - */ - "applianceReturnDeliveryTrackingNumber"?: string; - /** - * Unique number associated with the security tie used to seal the Appliance case. - */ - "sendingSecurityTie"?: string; - /** - * Unique number associated with the return security tie used to seal the Appliance case. - */ - "receivingSecurityTie"?: string; - /** - * List of objects with names matching this prefix would be part of this export job. - */ - "prefix"?: string; - /** - * The name of the first object in the range of objects that are expected to be part of this export job. - */ - "rangeStart"?: string; - /** - * The name of the last object in the range of objects that are expected to be part of this export job. - */ - "rangeEnd"?: string; - /** - * Total number of objects that are exported in this job. - */ - "numberOfObjects"?: string; - /** - * Total size of objects in Bytes that are exported in this job. - */ - "totalSizeInBytes"?: string; - /** - * First object in the list of objects that are exported in this job. - */ - "firstObject"?: string; - /** - * Last object in the list of objects that are exported in this job. - */ - "lastObject"?: string; - /** - * First object from which the next potential export job could start. - */ - "nextObject"?: string; - /** - * Url of the Manifest File associated with this export job. - */ - "manifestFile"?: string; - /** - * md5 digest of the manifest file. - */ - "manifestMd5"?: string; - /** - * Polices to grant Data Transfer Service to access objects in the Bucket - */ - "bucketAccessPolicies"?: Array; - "returnShippingLabelUri"?: string; - /** - * Expected return date from customer for the device, time portion should be zero. - */ - "expectedReturnDate"?: Date; - /** - * Start time for the window to pickup the device from customer. - */ - "pickupWindowStartTime"?: Date; - /** - * End time for the window to pickup the device from customer. - */ - "pickupWindowEndTime"?: Date; - "customerShippingAddress"?: model.ShippingAddress; - /** - * 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 ApplianceExportJob { - export enum LifecycleState { - Creating = "CREATING", - Active = "ACTIVE", - Inprogress = "INPROGRESS", - Succeeded = "SUCCEEDED", - Failed = "FAILED", - Cancelled = "CANCELLED", - 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: ApplianceExportJob): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ApplianceExportJob): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/attach-devices-details.ts b/lib/dts/lib/model/attach-devices-details.ts deleted file mode 100644 index 23b49944c7..0000000000 --- a/lib/dts/lib/model/attach-devices-details.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AttachDevicesDetails { - /** - * List of TransferDeviceLabel's - */ - "deviceLabels"?: Array; -} - -export namespace AttachDevicesDetails { - export function getJsonObj(obj: AttachDevicesDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AttachDevicesDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/change-appliance-export-job-compartment-details.ts b/lib/dts/lib/model/change-appliance-export-job-compartment-details.ts deleted file mode 100644 index 9ae6722407..0000000000 --- a/lib/dts/lib/model/change-appliance-export-job-compartment-details.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeApplianceExportJobCompartmentDetails { - /** - * The [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved. - * - */ - "compartmentId": string; -} - -export namespace ChangeApplianceExportJobCompartmentDetails { - export function getJsonObj(obj: ChangeApplianceExportJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeApplianceExportJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/change-transfer-job-compartment-details.ts b/lib/dts/lib/model/change-transfer-job-compartment-details.ts deleted file mode 100644 index 5b1cb789d0..0000000000 --- a/lib/dts/lib/model/change-transfer-job-compartment-details.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeTransferJobCompartmentDetails { - /** - * The [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resources should be moved. - * - */ - "compartmentId": string; -} - -export namespace ChangeTransferJobCompartmentDetails { - export function getJsonObj(obj: ChangeTransferJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeTransferJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-appliance-export-job-details.ts b/lib/dts/lib/model/create-appliance-export-job-details.ts deleted file mode 100644 index 0a7ebee830..0000000000 --- a/lib/dts/lib/model/create-appliance-export-job-details.ts +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateApplianceExportJobDetails { - "compartmentId": string; - "bucketName": string; - "displayName": string; - /** - * List of objects with names matching this prefix would be part of this export job. - */ - "prefix"?: string; - /** - * Object names returned by a list query must be greater or equal to this parameter. - */ - "rangeStart"?: string; - /** - * Object names returned by a list query must be strictly less than this parameter. - */ - "rangeEnd"?: string; - "customerShippingAddress": model.ShippingAddress; - /** - * 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 CreateApplianceExportJobDetails { - export function getJsonObj(obj: CreateApplianceExportJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateApplianceExportJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-transfer-appliance-details.ts b/lib/dts/lib/model/create-transfer-appliance-details.ts deleted file mode 100644 index 16339bd8f4..0000000000 --- a/lib/dts/lib/model/create-transfer-appliance-details.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferApplianceDetails { - "customerShippingAddress"?: model.ShippingAddress; - /** - * Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "minimumStorageCapacityInTerabytes"?: number; -} - -export namespace CreateTransferApplianceDetails { - export function getJsonObj(obj: CreateTransferApplianceDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateTransferApplianceDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-transfer-appliance-entitlement-details.ts b/lib/dts/lib/model/create-transfer-appliance-entitlement-details.ts deleted file mode 100644 index 35143988da..0000000000 --- a/lib/dts/lib/model/create-transfer-appliance-entitlement-details.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferApplianceEntitlementDetails { - "compartmentId"?: string; - "displayName"?: string; - "requestorName"?: string; - "requestorEmail"?: 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 CreateTransferApplianceEntitlementDetails { - export function getJsonObj(obj: CreateTransferApplianceEntitlementDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateTransferApplianceEntitlementDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-transfer-device-details.ts b/lib/dts/lib/model/create-transfer-device-details.ts deleted file mode 100644 index 99754e7491..0000000000 --- a/lib/dts/lib/model/create-transfer-device-details.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferDeviceDetails { - "serialNumber"?: string; - "iscsiIQN"?: string; -} - -export namespace CreateTransferDeviceDetails { - export function getJsonObj(obj: CreateTransferDeviceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateTransferDeviceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-transfer-job-details.ts b/lib/dts/lib/model/create-transfer-job-details.ts deleted file mode 100644 index 38f39febaf..0000000000 --- a/lib/dts/lib/model/create-transfer-job-details.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferJobDetails { - "compartmentId"?: string; - "uploadBucketName"?: string; - "displayName"?: string; - "deviceType"?: CreateTransferJobDetails.DeviceType; - /** - * 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 CreateTransferJobDetails { - export enum DeviceType { - Disk = "DISK", - Appliance = "APPLIANCE" - } - - export function getJsonObj(obj: CreateTransferJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateTransferJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/create-transfer-package-details.ts b/lib/dts/lib/model/create-transfer-package-details.ts deleted file mode 100644 index 8a4f6e5b81..0000000000 --- a/lib/dts/lib/model/create-transfer-package-details.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferPackageDetails { - "originalPackageDeliveryTrackingNumber"?: string; - "returnPackageDeliveryTrackingNumber"?: string; - "packageDeliveryVendor"?: string; -} - -export namespace CreateTransferPackageDetails { - export function getJsonObj(obj: CreateTransferPackageDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateTransferPackageDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/detach-devices-details.ts b/lib/dts/lib/model/detach-devices-details.ts deleted file mode 100644 index 7db00eab0e..0000000000 --- a/lib/dts/lib/model/detach-devices-details.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetachDevicesDetails { - /** - * List of TransferDeviceLabel's - */ - "deviceLabels"?: Array; -} - -export namespace DetachDevicesDetails { - export function getJsonObj(obj: DetachDevicesDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DetachDevicesDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/index.ts b/lib/dts/lib/model/index.ts deleted file mode 100644 index 748641798d..0000000000 --- a/lib/dts/lib/model/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as ApplianceExportJob from "./appliance-export-job"; -export import ApplianceExportJob = ApplianceExportJob.ApplianceExportJob; -import * as ApplianceExportJobSummary from "./appliance-export-job-summary"; -export import ApplianceExportJobSummary = ApplianceExportJobSummary.ApplianceExportJobSummary; -import * as AttachDevicesDetails from "./attach-devices-details"; -export import AttachDevicesDetails = AttachDevicesDetails.AttachDevicesDetails; -import * as ChangeApplianceExportJobCompartmentDetails from "./change-appliance-export-job-compartment-details"; -export import ChangeApplianceExportJobCompartmentDetails = ChangeApplianceExportJobCompartmentDetails.ChangeApplianceExportJobCompartmentDetails; -import * as ChangeTransferJobCompartmentDetails from "./change-transfer-job-compartment-details"; -export import ChangeTransferJobCompartmentDetails = ChangeTransferJobCompartmentDetails.ChangeTransferJobCompartmentDetails; -import * as CreateApplianceExportJobDetails from "./create-appliance-export-job-details"; -export import CreateApplianceExportJobDetails = CreateApplianceExportJobDetails.CreateApplianceExportJobDetails; -import * as CreateTransferApplianceDetails from "./create-transfer-appliance-details"; -export import CreateTransferApplianceDetails = CreateTransferApplianceDetails.CreateTransferApplianceDetails; -import * as CreateTransferApplianceEntitlementDetails from "./create-transfer-appliance-entitlement-details"; -export import CreateTransferApplianceEntitlementDetails = CreateTransferApplianceEntitlementDetails.CreateTransferApplianceEntitlementDetails; -import * as CreateTransferDeviceDetails from "./create-transfer-device-details"; -export import CreateTransferDeviceDetails = CreateTransferDeviceDetails.CreateTransferDeviceDetails; -import * as CreateTransferJobDetails from "./create-transfer-job-details"; -export import CreateTransferJobDetails = CreateTransferJobDetails.CreateTransferJobDetails; -import * as CreateTransferPackageDetails from "./create-transfer-package-details"; -export import CreateTransferPackageDetails = CreateTransferPackageDetails.CreateTransferPackageDetails; -import * as DetachDevicesDetails from "./detach-devices-details"; -export import DetachDevicesDetails = DetachDevicesDetails.DetachDevicesDetails; -import * as MultipleTransferAppliances from "./multiple-transfer-appliances"; -export import MultipleTransferAppliances = MultipleTransferAppliances.MultipleTransferAppliances; -import * as MultipleTransferDevices from "./multiple-transfer-devices"; -export import MultipleTransferDevices = MultipleTransferDevices.MultipleTransferDevices; -import * as MultipleTransferPackages from "./multiple-transfer-packages"; -export import MultipleTransferPackages = MultipleTransferPackages.MultipleTransferPackages; -import * as NewTransferDevice from "./new-transfer-device"; -export import NewTransferDevice = NewTransferDevice.NewTransferDevice; -import * as ShippingAddress from "./shipping-address"; -export import ShippingAddress = ShippingAddress.ShippingAddress; -import * as ShippingVendors from "./shipping-vendors"; -export import ShippingVendors = ShippingVendors.ShippingVendors; -import * as TransferAppliance from "./transfer-appliance"; -export import TransferAppliance = TransferAppliance.TransferAppliance; -import * as TransferApplianceCertificate from "./transfer-appliance-certificate"; -export import TransferApplianceCertificate = TransferApplianceCertificate.TransferApplianceCertificate; -import * as TransferApplianceEncryptionPassphrase from "./transfer-appliance-encryption-passphrase"; -export import TransferApplianceEncryptionPassphrase = TransferApplianceEncryptionPassphrase.TransferApplianceEncryptionPassphrase; -import * as TransferApplianceEntitlement from "./transfer-appliance-entitlement"; -export import TransferApplianceEntitlement = TransferApplianceEntitlement.TransferApplianceEntitlement; -import * as TransferApplianceEntitlementSummary from "./transfer-appliance-entitlement-summary"; -export import TransferApplianceEntitlementSummary = TransferApplianceEntitlementSummary.TransferApplianceEntitlementSummary; -import * as TransferAppliancePublicKey from "./transfer-appliance-public-key"; -export import TransferAppliancePublicKey = TransferAppliancePublicKey.TransferAppliancePublicKey; -import * as TransferApplianceSummary from "./transfer-appliance-summary"; -export import TransferApplianceSummary = TransferApplianceSummary.TransferApplianceSummary; -import * as TransferDevice from "./transfer-device"; -export import TransferDevice = TransferDevice.TransferDevice; -import * as TransferDeviceSummary from "./transfer-device-summary"; -export import TransferDeviceSummary = TransferDeviceSummary.TransferDeviceSummary; -import * as TransferJob from "./transfer-job"; -export import TransferJob = TransferJob.TransferJob; -import * as TransferJobSummary from "./transfer-job-summary"; -export import TransferJobSummary = TransferJobSummary.TransferJobSummary; -import * as TransferPackage from "./transfer-package"; -export import TransferPackage = TransferPackage.TransferPackage; -import * as TransferPackageSummary from "./transfer-package-summary"; -export import TransferPackageSummary = TransferPackageSummary.TransferPackageSummary; -import * as UpdateApplianceExportJobDetails from "./update-appliance-export-job-details"; -export import UpdateApplianceExportJobDetails = UpdateApplianceExportJobDetails.UpdateApplianceExportJobDetails; -import * as UpdateTransferApplianceDetails from "./update-transfer-appliance-details"; -export import UpdateTransferApplianceDetails = UpdateTransferApplianceDetails.UpdateTransferApplianceDetails; -import * as UpdateTransferDeviceDetails from "./update-transfer-device-details"; -export import UpdateTransferDeviceDetails = UpdateTransferDeviceDetails.UpdateTransferDeviceDetails; -import * as UpdateTransferJobDetails from "./update-transfer-job-details"; -export import UpdateTransferJobDetails = UpdateTransferJobDetails.UpdateTransferJobDetails; -import * as UpdateTransferPackageDetails from "./update-transfer-package-details"; -export import UpdateTransferPackageDetails = UpdateTransferPackageDetails.UpdateTransferPackageDetails; diff --git a/lib/dts/lib/model/multiple-transfer-appliances.ts b/lib/dts/lib/model/multiple-transfer-appliances.ts deleted file mode 100644 index b1120e4777..0000000000 --- a/lib/dts/lib/model/multiple-transfer-appliances.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 MultipleTransferAppliances { - /** - * List of TransferAppliance summary's - */ - "transferApplianceObjects"?: Array; -} - -export namespace MultipleTransferAppliances { - export function getJsonObj(obj: MultipleTransferAppliances): object { - const jsonObj = { - ...obj, - ...{ - "transferApplianceObjects": obj.transferApplianceObjects - ? obj.transferApplianceObjects.map(item => { - return model.TransferApplianceSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MultipleTransferAppliances): object { - const jsonObj = { - ...obj, - ...{ - "transferApplianceObjects": obj.transferApplianceObjects - ? obj.transferApplianceObjects.map(item => { - return model.TransferApplianceSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/multiple-transfer-devices.ts b/lib/dts/lib/model/multiple-transfer-devices.ts deleted file mode 100644 index 8e6fdde1e1..0000000000 --- a/lib/dts/lib/model/multiple-transfer-devices.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 MultipleTransferDevices { - /** - * List of TransferDeviceObject's - */ - "transferDeviceObjects"?: Array; -} - -export namespace MultipleTransferDevices { - export function getJsonObj(obj: MultipleTransferDevices): object { - const jsonObj = { - ...obj, - ...{ - "transferDeviceObjects": obj.transferDeviceObjects - ? obj.transferDeviceObjects.map(item => { - return model.TransferDeviceSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MultipleTransferDevices): object { - const jsonObj = { - ...obj, - ...{ - "transferDeviceObjects": obj.transferDeviceObjects - ? obj.transferDeviceObjects.map(item => { - return model.TransferDeviceSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/multiple-transfer-packages.ts b/lib/dts/lib/model/multiple-transfer-packages.ts deleted file mode 100644 index a0e61d6dd9..0000000000 --- a/lib/dts/lib/model/multiple-transfer-packages.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 MultipleTransferPackages { - /** - * List of TransferPackage summary's - */ - "transferPackageObjects"?: Array; -} - -export namespace MultipleTransferPackages { - export function getJsonObj(obj: MultipleTransferPackages): object { - const jsonObj = { - ...obj, - ...{ - "transferPackageObjects": obj.transferPackageObjects - ? obj.transferPackageObjects.map(item => { - return model.TransferPackageSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MultipleTransferPackages): object { - const jsonObj = { - ...obj, - ...{ - "transferPackageObjects": obj.transferPackageObjects - ? obj.transferPackageObjects.map(item => { - return model.TransferPackageSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/new-transfer-device.ts b/lib/dts/lib/model/new-transfer-device.ts deleted file mode 100644 index 132fe9b7f5..0000000000 --- a/lib/dts/lib/model/new-transfer-device.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 NewTransferDevice { - "label": string; - "serialNumber"?: string; - "iscsiIQN"?: string; - "lifecycleState"?: NewTransferDevice.LifecycleState; - "encryptionPassphrase"?: string; - "transferJobId"?: string; - "creationTime"?: Date; -} - -export namespace NewTransferDevice { - export enum LifecycleState { - Preparing = "PREPARING", - /** - * 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: NewTransferDevice): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: NewTransferDevice): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/shipping-address.ts b/lib/dts/lib/model/shipping-address.ts deleted file mode 100644 index e815eab41c..0000000000 --- a/lib/dts/lib/model/shipping-address.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ShippingAddress { - "addressee": string; - "careOf"?: string; - "address1": string; - "address2"?: string; - "address3"?: string; - "address4"?: string; - "cityOrLocality": string; - "stateOrRegion": string; - "zipcode": string; - "country": string; - "phoneNumber"?: string; - "email"?: string; -} - -export namespace ShippingAddress { - export function getJsonObj(obj: ShippingAddress): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ShippingAddress): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/shipping-vendors.ts b/lib/dts/lib/model/shipping-vendors.ts deleted file mode 100644 index 408482fa7f..0000000000 --- a/lib/dts/lib/model/shipping-vendors.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ShippingVendors { - /** - * List of available shipping vendors for package delivery - */ - "vendors"?: Array; -} - -export namespace ShippingVendors { - export function getJsonObj(obj: ShippingVendors): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ShippingVendors): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-certificate.ts b/lib/dts/lib/model/transfer-appliance-certificate.ts deleted file mode 100644 index 63c2cce639..0000000000 --- a/lib/dts/lib/model/transfer-appliance-certificate.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferApplianceCertificate { - "certificate"?: string; -} - -export namespace TransferApplianceCertificate { - export function getJsonObj(obj: TransferApplianceCertificate): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferApplianceCertificate): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-encryption-passphrase.ts b/lib/dts/lib/model/transfer-appliance-encryption-passphrase.ts deleted file mode 100644 index ffc1412efe..0000000000 --- a/lib/dts/lib/model/transfer-appliance-encryption-passphrase.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferApplianceEncryptionPassphrase { - "encryptionPassphrase"?: string; -} - -export namespace TransferApplianceEncryptionPassphrase { - export function getJsonObj(obj: TransferApplianceEncryptionPassphrase): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferApplianceEncryptionPassphrase): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-entitlement-summary.ts b/lib/dts/lib/model/transfer-appliance-entitlement-summary.ts deleted file mode 100644 index 51c688ffc2..0000000000 --- a/lib/dts/lib/model/transfer-appliance-entitlement-summary.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferApplianceEntitlementSummary { - "id"?: string; - "compartmentId": string; - "displayName"?: string; - "requestorName"?: string; - "requestorEmail"?: string; - "lifecycleState": string; - /** - * A property that can contain details on the lifecycle. - */ - "lifecycleStateDetails"?: 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 TransferApplianceEntitlementSummary { - export function getJsonObj(obj: TransferApplianceEntitlementSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferApplianceEntitlementSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-entitlement.ts b/lib/dts/lib/model/transfer-appliance-entitlement.ts deleted file mode 100644 index 7738960398..0000000000 --- a/lib/dts/lib/model/transfer-appliance-entitlement.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferApplianceEntitlement { - "id"?: string; - "compartmentId": string; - "displayName"?: string; - "requestorName"?: string; - "requestorEmail"?: string; - "lifecycleState": TransferApplianceEntitlement.LifecycleState; - /** - * A property that can contain details on the lifecycle. - */ - "lifecycleStateDetails"?: string; - "creationTime"?: Date; - "updateTime"?: 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 } }; -} - -export namespace TransferApplianceEntitlement { - export enum LifecycleState { - Creating = "CREATING", - Active = "ACTIVE", - Inactive = "INACTIVE", - 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: TransferApplianceEntitlement): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferApplianceEntitlement): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-public-key.ts b/lib/dts/lib/model/transfer-appliance-public-key.ts deleted file mode 100644 index 0fe0ab1445..0000000000 --- a/lib/dts/lib/model/transfer-appliance-public-key.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferAppliancePublicKey { - "publicKey"?: string; -} - -export namespace TransferAppliancePublicKey { - export function getJsonObj(obj: TransferAppliancePublicKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferAppliancePublicKey): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance-summary.ts b/lib/dts/lib/model/transfer-appliance-summary.ts deleted file mode 100644 index f42f07e383..0000000000 --- a/lib/dts/lib/model/transfer-appliance-summary.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferApplianceSummary { - "label"?: string; - "lifecycleState"?: TransferApplianceSummary.LifecycleState; - "serialNumber"?: string; - "creationTime"?: Date; -} - -export namespace TransferApplianceSummary { - export enum LifecycleState { - Requested = "REQUESTED", - OraclePreparing = "ORACLE_PREPARING", - Shipping = "SHIPPING", - Delivered = "DELIVERED", - Preparing = "PREPARING", - Finalized = "FINALIZED", - ReturnLabelRequested = "RETURN_LABEL_REQUESTED", - ReturnLabelGenerating = "RETURN_LABEL_GENERATING", - ReturnLabelAvailable = "RETURN_LABEL_AVAILABLE", - ReturnDelayed = "RETURN_DELAYED", - ReturnShipped = "RETURN_SHIPPED", - ReturnShippedCancelled = "RETURN_SHIPPED_CANCELLED", - OracleReceived = "ORACLE_RECEIVED", - OracleReceivedCancelled = "ORACLE_RECEIVED_CANCELLED", - Processing = "PROCESSING", - Complete = "COMPLETE", - CustomerNeverReceived = "CUSTOMER_NEVER_RECEIVED", - OracleNeverReceived = "ORACLE_NEVER_RECEIVED", - CustomerLost = "CUSTOMER_LOST", - Cancelled = "CANCELLED", - Deleted = "DELETED", - Rejected = "REJECTED", - Error = "ERROR", - /** - * 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: TransferApplianceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferApplianceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-appliance.ts b/lib/dts/lib/model/transfer-appliance.ts deleted file mode 100644 index 79e65544e0..0000000000 --- a/lib/dts/lib/model/transfer-appliance.ts +++ /dev/null @@ -1,111 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferAppliance { - /** - * Unique alpha-numeric identifier for a transfer appliance auto generated during create. - */ - "label": string; - "lifecycleState"?: TransferAppliance.LifecycleState; - "transferJobId"?: string; - "serialNumber"?: string; - "creationTime"?: Date; - "customerReceivedTime"?: Date; - "customerReturnedTime"?: Date; - "nextBillingTime"?: Date; - "deliverySecurityTieId"?: string; - "returnSecurityTieId"?: string; - "applianceDeliveryTrackingNumber"?: string; - "applianceReturnDeliveryTrackingNumber"?: string; - "applianceDeliveryVendor"?: string; - "customerShippingAddress"?: model.ShippingAddress; - "uploadStatusLogUri"?: string; - "returnShippingLabelUri"?: string; - /** - * Expected return date from customer for the device, time portion should be zero. - */ - "expectedReturnDate"?: Date; - /** - * Start time for the window to pickup the device from customer. - */ - "pickupWindowStartTime"?: Date; - /** - * End time for the window to pickup the device from customer. - */ - "pickupWindowEndTime"?: Date; - /** - * Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "minimumStorageCapacityInTerabytes"?: number; -} - -export namespace TransferAppliance { - export enum LifecycleState { - Requested = "REQUESTED", - OraclePreparing = "ORACLE_PREPARING", - Shipping = "SHIPPING", - Delivered = "DELIVERED", - Preparing = "PREPARING", - Finalized = "FINALIZED", - ReturnLabelRequested = "RETURN_LABEL_REQUESTED", - ReturnLabelGenerating = "RETURN_LABEL_GENERATING", - ReturnLabelAvailable = "RETURN_LABEL_AVAILABLE", - ReturnDelayed = "RETURN_DELAYED", - ReturnShipped = "RETURN_SHIPPED", - ReturnShippedCancelled = "RETURN_SHIPPED_CANCELLED", - OracleReceived = "ORACLE_RECEIVED", - OracleReceivedCancelled = "ORACLE_RECEIVED_CANCELLED", - Processing = "PROCESSING", - Complete = "COMPLETE", - CustomerNeverReceived = "CUSTOMER_NEVER_RECEIVED", - OracleNeverReceived = "ORACLE_NEVER_RECEIVED", - CustomerLost = "CUSTOMER_LOST", - Cancelled = "CANCELLED", - Deleted = "DELETED", - Rejected = "REJECTED", - Error = "ERROR", - /** - * 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: TransferAppliance): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferAppliance): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-device-summary.ts b/lib/dts/lib/model/transfer-device-summary.ts deleted file mode 100644 index 5a0395a9ac..0000000000 --- a/lib/dts/lib/model/transfer-device-summary.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferDeviceSummary { - "serialNumber"?: string; - "iscsiIQN"?: string; - "label"?: string; - "lifecycleState"?: TransferDeviceSummary.LifecycleState; - "attachedTransferPackageLabel"?: string; - "creationTime"?: Date; - "uploadStatusLogUri"?: string; -} - -export namespace TransferDeviceSummary { - export enum LifecycleState { - Preparing = "PREPARING", - Ready = "READY", - Packaged = "PACKAGED", - Active = "ACTIVE", - Processing = "PROCESSING", - Complete = "COMPLETE", - Missing = "MISSING", - Error = "ERROR", - Deleted = "DELETED", - Cancelled = "CANCELLED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: TransferDeviceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferDeviceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-device.ts b/lib/dts/lib/model/transfer-device.ts deleted file mode 100644 index 4c4db2b226..0000000000 --- a/lib/dts/lib/model/transfer-device.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferDevice { - "serialNumber"?: string; - "iscsiIQN"?: string; - "label": string; - "lifecycleState"?: TransferDevice.LifecycleState; - "transferJobId"?: string; - "attachedTransferPackageLabel"?: string; - "creationTime"?: Date; - "uploadStatusLogUri"?: string; -} - -export namespace TransferDevice { - export enum LifecycleState { - Preparing = "PREPARING", - Ready = "READY", - Packaged = "PACKAGED", - Active = "ACTIVE", - Processing = "PROCESSING", - Complete = "COMPLETE", - Missing = "MISSING", - Error = "ERROR", - Deleted = "DELETED", - Cancelled = "CANCELLED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: TransferDevice): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferDevice): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-job-summary.ts b/lib/dts/lib/model/transfer-job-summary.ts deleted file mode 100644 index cced78bea8..0000000000 --- a/lib/dts/lib/model/transfer-job-summary.ts +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferJobSummary { - "id"?: string; - "uploadBucketName"?: string; - "displayName"?: string; - "label"?: string; - "deviceType"?: TransferJobSummary.DeviceType; - "creationTime"?: Date; - "lifecycleState"?: TransferJobSummary.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 } }; -} - -export namespace TransferJobSummary { - export enum DeviceType { - Disk = "DISK", - Appliance = "APPLIANCE", - /** - * 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 { - Initiated = "INITIATED", - Preparing = "PREPARING", - Active = "ACTIVE", - Deleted = "DELETED", - Closed = "CLOSED", - /** - * 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: TransferJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferJobSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-job.ts b/lib/dts/lib/model/transfer-job.ts deleted file mode 100644 index 91a97e4bef..0000000000 --- a/lib/dts/lib/model/transfer-job.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferJob { - "id": string; - "compartmentId"?: string; - "uploadBucketName"?: string; - "displayName"?: string; - "label"?: string; - "creationTime"?: Date; - "deviceType"?: TransferJob.DeviceType; - "lifecycleState"?: TransferJob.LifecycleState; - /** - * Transfer Appliance labels associated with this transfer Job - */ - "attachedTransferApplianceLabels"?: Array; - /** - * Transfer Package labels associated with this transfer Job - */ - "attachedTransferPackageLabels"?: Array; - /** - * Transfer Device labels associated with this transfer Job - */ - "attachedTransferDeviceLabels"?: 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 TransferJob { - export enum DeviceType { - Disk = "DISK", - Appliance = "APPLIANCE", - /** - * 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 { - Initiated = "INITIATED", - Preparing = "PREPARING", - Active = "ACTIVE", - Deleted = "DELETED", - Closed = "CLOSED", - /** - * 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: TransferJob): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferJob): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-package-summary.ts b/lib/dts/lib/model/transfer-package-summary.ts deleted file mode 100644 index e2f8e14841..0000000000 --- a/lib/dts/lib/model/transfer-package-summary.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferPackageSummary { - "label"?: string; - "lifecycleState"?: TransferPackageSummary.LifecycleState; - "creationTime"?: Date; -} - -export namespace TransferPackageSummary { - export enum LifecycleState { - Preparing = "PREPARING", - Shipping = "SHIPPING", - Received = "RECEIVED", - Processing = "PROCESSING", - Processed = "PROCESSED", - Returned = "RETURNED", - Deleted = "DELETED", - Cancelled = "CANCELLED", - CancelledReturned = "CANCELLED_RETURNED", - /** - * 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: TransferPackageSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferPackageSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/transfer-package.ts b/lib/dts/lib/model/transfer-package.ts deleted file mode 100644 index 0267b30748..0000000000 --- a/lib/dts/lib/model/transfer-package.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 TransferPackage { - "label": string; - "lifecycleState"?: TransferPackage.LifecycleState; - "transferJobId"?: string; - "creationTime"?: Date; - "originalPackageDeliveryTrackingNumber"?: string; - "returnPackageDeliveryTrackingNumber"?: string; - "packageDeliveryVendor"?: string; - "transferSiteShippingAddress"?: string; - /** - * Transfer Devices attached to this Transfer Package - */ - "attachedTransferDeviceLabels"?: Array; -} - -export namespace TransferPackage { - export enum LifecycleState { - Preparing = "PREPARING", - Shipping = "SHIPPING", - Received = "RECEIVED", - Processing = "PROCESSING", - Processed = "PROCESSED", - Returned = "RETURNED", - Deleted = "DELETED", - Cancelled = "CANCELLED", - CancelledReturned = "CANCELLED_RETURNED", - /** - * 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: TransferPackage): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: TransferPackage): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/update-appliance-export-job-details.ts b/lib/dts/lib/model/update-appliance-export-job-details.ts deleted file mode 100644 index c6d8244cc8..0000000000 --- a/lib/dts/lib/model/update-appliance-export-job-details.ts +++ /dev/null @@ -1,131 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateApplianceExportJobDetails { - "bucketName"?: string; - /** - * List of objects with names matching this prefix would be part of this export job. - */ - "prefix"?: string; - /** - * Object names returned by a list query must be greater or equal to this parameter. - */ - "rangeStart"?: string; - /** - * Object names returned by a list query must be strictly less than this parameter. - */ - "rangeEnd"?: string; - "displayName"?: string; - "lifecycleState"?: UpdateApplianceExportJobDetails.LifecycleState; - /** - * A property that can contain details on the lifecycle. - */ - "lifecycleStateDetails"?: string; - /** - * Manifest File associated with this export job. - */ - "manifestFile"?: string; - /** - * md5 digest of the manifest file. - */ - "manifestMd5"?: string; - /** - * Total number of objects that are exported in this job. - */ - "numberOfObjects"?: string; - /** - * Total size of objects in Bytes that are exported in this job. - */ - "totalSizeInBytes"?: string; - /** - * First object in the list of objects that are exported in this job. - */ - "firstObject"?: string; - /** - * Last object in the list of objects that are exported in this job. - */ - "lastObject"?: string; - /** - * First object from which the next potential export job could start. - */ - "nextObject"?: string; - /** - * Expected return date from customer for the device, time portion should be zero. - */ - "expectedReturnDate"?: Date; - /** - * Start time for the window to pickup the device from customer. - */ - "pickupWindowStartTime"?: Date; - /** - * End time for the window to pickup the device from customer. - */ - "pickupWindowEndTime"?: Date; - "customerShippingAddress"?: model.ShippingAddress; - /** - * 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 UpdateApplianceExportJobDetails { - export enum LifecycleState { - Creating = "CREATING", - Active = "ACTIVE", - Inprogress = "INPROGRESS", - Succeeded = "SUCCEEDED", - Failed = "FAILED", - Cancelled = "CANCELLED", - Deleted = "DELETED" - } - - export function getJsonObj(obj: UpdateApplianceExportJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateApplianceExportJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/update-transfer-appliance-details.ts b/lib/dts/lib/model/update-transfer-appliance-details.ts deleted file mode 100644 index 16f6f0d808..0000000000 --- a/lib/dts/lib/model/update-transfer-appliance-details.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferApplianceDetails { - "lifecycleState"?: UpdateTransferApplianceDetails.LifecycleState; - "customerShippingAddress"?: model.ShippingAddress; - /** - * Expected return date from customer for the device, time portion should be zero. - */ - "expectedReturnDate"?: Date; - /** - * Start time for the window to pickup the device from customer. - */ - "pickupWindowStartTime"?: Date; - /** - * End time for the window to pickup the device from customer. - */ - "pickupWindowEndTime"?: Date; - /** - * Minimum storage capacity of the device, in terabytes. Valid options are 50, 95 and 150. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "minimumStorageCapacityInTerabytes"?: number; -} - -export namespace UpdateTransferApplianceDetails { - export enum LifecycleState { - Preparing = "PREPARING", - Finalized = "FINALIZED", - ReturnLabelRequested = "RETURN_LABEL_REQUESTED", - ReturnLabelGenerating = "RETURN_LABEL_GENERATING", - ReturnLabelAvailable = "RETURN_LABEL_AVAILABLE", - Deleted = "DELETED", - CustomerNeverReceived = "CUSTOMER_NEVER_RECEIVED", - Cancelled = "CANCELLED" - } - - export function getJsonObj(obj: UpdateTransferApplianceDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateTransferApplianceDetails): object { - const jsonObj = { - ...obj, - ...{ - "customerShippingAddress": obj.customerShippingAddress - ? model.ShippingAddress.getDeserializedJsonObj(obj.customerShippingAddress) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/update-transfer-device-details.ts b/lib/dts/lib/model/update-transfer-device-details.ts deleted file mode 100644 index a8c748cc19..0000000000 --- a/lib/dts/lib/model/update-transfer-device-details.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferDeviceDetails { - "lifecycleState"?: UpdateTransferDeviceDetails.LifecycleState; -} - -export namespace UpdateTransferDeviceDetails { - export enum LifecycleState { - Preparing = "PREPARING", - Ready = "READY", - Cancelled = "CANCELLED" - } - - export function getJsonObj(obj: UpdateTransferDeviceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateTransferDeviceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/update-transfer-job-details.ts b/lib/dts/lib/model/update-transfer-job-details.ts deleted file mode 100644 index cecb622afe..0000000000 --- a/lib/dts/lib/model/update-transfer-job-details.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferJobDetails { - "lifecycleState"?: UpdateTransferJobDetails.LifecycleState; - "displayName"?: string; - "deviceType"?: UpdateTransferJobDetails.DeviceType; - /** - * 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 UpdateTransferJobDetails { - export enum LifecycleState { - Closed = "CLOSED" - } - - export enum DeviceType { - Disk = "DISK", - Appliance = "APPLIANCE" - } - - export function getJsonObj(obj: UpdateTransferJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateTransferJobDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/model/update-transfer-package-details.ts b/lib/dts/lib/model/update-transfer-package-details.ts deleted file mode 100644 index f445982b89..0000000000 --- a/lib/dts/lib/model/update-transfer-package-details.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferPackageDetails { - "originalPackageDeliveryTrackingNumber"?: string; - "returnPackageDeliveryTrackingNumber"?: string; - "packageDeliveryVendor"?: string; - "lifecycleState"?: UpdateTransferPackageDetails.LifecycleState; -} - -export namespace UpdateTransferPackageDetails { - export enum LifecycleState { - Shipping = "SHIPPING", - Cancelled = "CANCELLED" - } - - export function getJsonObj(obj: UpdateTransferPackageDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateTransferPackageDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/dts/lib/request/attach-devices-to-transfer-package-request.ts b/lib/dts/lib/request/attach-devices-to-transfer-package-request.ts deleted file mode 100644 index b88afe5c60..0000000000 --- a/lib/dts/lib/request/attach-devices-to-transfer-package-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/AttachDevicesToTransferPackage.ts.html |here} to see how to use AttachDevicesToTransferPackageRequest. - */ -export interface AttachDevicesToTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Package - */ - "transferPackageLabel": string; - /** - * Labels of Transfer Devices to attach - */ - "attachDevicesDetails": model.AttachDevicesDetails; - /** - * 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/change-appliance-export-job-compartment-request.ts b/lib/dts/lib/request/change-appliance-export-job-compartment-request.ts deleted file mode 100644 index c2f1462b3d..0000000000 --- a/lib/dts/lib/request/change-appliance-export-job-compartment-request.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ChangeApplianceExportJobCompartment.ts.html |here} to see how to use ChangeApplianceExportJobCompartmentRequest. - */ -export interface ChangeApplianceExportJobCompartmentRequest extends common.BaseRequest { - /** - * ID of the Appliance Export Job - */ - "applianceExportJobId": string; - /** - * CompartmentId of the destination compartment - */ - "changeApplianceExportJobCompartmentDetails": model.ChangeApplianceExportJobCompartmentDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; - /** - * A 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/change-transfer-job-compartment-request.ts b/lib/dts/lib/request/change-transfer-job-compartment-request.ts deleted file mode 100644 index 7e7186be58..0000000000 --- a/lib/dts/lib/request/change-transfer-job-compartment-request.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ChangeTransferJobCompartment.ts.html |here} to see how to use ChangeTransferJobCompartmentRequest. - */ -export interface ChangeTransferJobCompartmentRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "transferJobId": string; - /** - * CompartmentId of the destination compartment - */ - "changeTransferJobCompartmentDetails": model.ChangeTransferJobCompartmentDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; - /** - * A 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/create-appliance-export-job-request.ts b/lib/dts/lib/request/create-appliance-export-job-request.ts deleted file mode 100644 index 112c046b19..0000000000 --- a/lib/dts/lib/request/create-appliance-export-job-request.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateApplianceExportJob.ts.html |here} to see how to use CreateApplianceExportJobRequest. - */ -export interface CreateApplianceExportJobRequest extends common.BaseRequest { - /** - * Creates a new Appliance Export Job - */ - "createApplianceExportJobDetails": model.CreateApplianceExportJobDetails; - /** - * 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 (e.g., 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 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/dts/lib/request/create-transfer-appliance-admin-credentials-request.ts b/lib/dts/lib/request/create-transfer-appliance-admin-credentials-request.ts deleted file mode 100644 index 182c797dfa..0000000000 --- a/lib/dts/lib/request/create-transfer-appliance-admin-credentials-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferApplianceAdminCredentials.ts.html |here} to see how to use CreateTransferApplianceAdminCredentialsRequest. - */ -export interface CreateTransferApplianceAdminCredentialsRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": string; - /** - * - */ - "adminPublicKey": model.TransferAppliancePublicKey; - /** - * 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/create-transfer-appliance-entitlement-request.ts b/lib/dts/lib/request/create-transfer-appliance-entitlement-request.ts deleted file mode 100644 index 9b059a5830..0000000000 --- a/lib/dts/lib/request/create-transfer-appliance-entitlement-request.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferApplianceEntitlement.ts.html |here} to see how to use CreateTransferApplianceEntitlementRequest. - */ -export interface CreateTransferApplianceEntitlementRequest extends common.BaseRequest { - /** - * Creates a Transfer Appliance Entitlement - */ - "createTransferApplianceEntitlementDetails": model.CreateTransferApplianceEntitlementDetails; - /** - * 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 (e.g., 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 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/dts/lib/request/create-transfer-appliance-request.ts b/lib/dts/lib/request/create-transfer-appliance-request.ts deleted file mode 100644 index b53a90f94c..0000000000 --- a/lib/dts/lib/request/create-transfer-appliance-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferAppliance.ts.html |here} to see how to use CreateTransferApplianceRequest. - */ -export interface CreateTransferApplianceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; - /** - * Creates a New Transfer Appliance - */ - "createTransferApplianceDetails"?: model.CreateTransferApplianceDetails; -} diff --git a/lib/dts/lib/request/create-transfer-device-request.ts b/lib/dts/lib/request/create-transfer-device-request.ts deleted file mode 100644 index 3ad61b967e..0000000000 --- a/lib/dts/lib/request/create-transfer-device-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferDevice.ts.html |here} to see how to use CreateTransferDeviceRequest. - */ -export interface CreateTransferDeviceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Creates a New Transfer Device - */ - "createTransferDeviceDetails": model.CreateTransferDeviceDetails; - /** - * 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/create-transfer-job-request.ts b/lib/dts/lib/request/create-transfer-job-request.ts deleted file mode 100644 index bb5be60945..0000000000 --- a/lib/dts/lib/request/create-transfer-job-request.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferJob.ts.html |here} to see how to use CreateTransferJobRequest. - */ -export interface CreateTransferJobRequest extends common.BaseRequest { - /** - * Creates a New Transfer Job - */ - "createTransferJobDetails": model.CreateTransferJobDetails; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; - /** - * A 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/create-transfer-package-request.ts b/lib/dts/lib/request/create-transfer-package-request.ts deleted file mode 100644 index 19f5cbc03a..0000000000 --- a/lib/dts/lib/request/create-transfer-package-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/CreateTransferPackage.ts.html |here} to see how to use CreateTransferPackageRequest. - */ -export interface CreateTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; - /** - * Creates a New Transfer Package - */ - "createTransferPackageDetails"?: model.CreateTransferPackageDetails; -} diff --git a/lib/dts/lib/request/delete-appliance-export-job-request.ts b/lib/dts/lib/request/delete-appliance-export-job-request.ts deleted file mode 100644 index c2d7b1d583..0000000000 --- a/lib/dts/lib/request/delete-appliance-export-job-request.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DeleteApplianceExportJob.ts.html |here} to see how to use DeleteApplianceExportJobRequest. - */ -export interface DeleteApplianceExportJobRequest extends common.BaseRequest { - /** - * ID of the Appliance Export Job - */ - "applianceExportJobId": string; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; - /** - * A 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/delete-transfer-appliance-request.ts b/lib/dts/lib/request/delete-transfer-appliance-request.ts deleted file mode 100644 index 50c6dc27cc..0000000000 --- a/lib/dts/lib/request/delete-transfer-appliance-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DeleteTransferAppliance.ts.html |here} to see how to use DeleteTransferApplianceRequest. - */ -export interface DeleteTransferApplianceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/delete-transfer-device-request.ts b/lib/dts/lib/request/delete-transfer-device-request.ts deleted file mode 100644 index 77b0bafa2b..0000000000 --- a/lib/dts/lib/request/delete-transfer-device-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DeleteTransferDevice.ts.html |here} to see how to use DeleteTransferDeviceRequest. - */ -export interface DeleteTransferDeviceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Device - */ - "transferDeviceLabel": 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/delete-transfer-job-request.ts b/lib/dts/lib/request/delete-transfer-job-request.ts deleted file mode 100644 index 63620768d0..0000000000 --- a/lib/dts/lib/request/delete-transfer-job-request.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DeleteTransferJob.ts.html |here} to see how to use DeleteTransferJobRequest. - */ -export interface DeleteTransferJobRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; - /** - * A 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/delete-transfer-package-request.ts b/lib/dts/lib/request/delete-transfer-package-request.ts deleted file mode 100644 index fa58d0390a..0000000000 --- a/lib/dts/lib/request/delete-transfer-package-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DeleteTransferPackage.ts.html |here} to see how to use DeleteTransferPackageRequest. - */ -export interface DeleteTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Package - */ - "transferPackageLabel": 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/detach-devices-from-transfer-package-request.ts b/lib/dts/lib/request/detach-devices-from-transfer-package-request.ts deleted file mode 100644 index 282196d19f..0000000000 --- a/lib/dts/lib/request/detach-devices-from-transfer-package-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/DetachDevicesFromTransferPackage.ts.html |here} to see how to use DetachDevicesFromTransferPackageRequest. - */ -export interface DetachDevicesFromTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Package - */ - "transferPackageLabel": string; - /** - * Labels of Transfer Devices to detach - */ - "detachDevicesDetails": model.DetachDevicesDetails; - /** - * 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 (e.g., if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * may be rejected). - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/dts/lib/request/get-appliance-export-job-request.ts b/lib/dts/lib/request/get-appliance-export-job-request.ts deleted file mode 100644 index 8613b0e8f3..0000000000 --- a/lib/dts/lib/request/get-appliance-export-job-request.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetApplianceExportJob.ts.html |here} to see how to use GetApplianceExportJobRequest. - */ -export interface GetApplianceExportJobRequest extends common.BaseRequest { - /** - * OCID of the Appliance Export Job - */ - "applianceExportJobId": 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/dts/lib/request/get-transfer-appliance-certificate-authority-certificate-request.ts b/lib/dts/lib/request/get-transfer-appliance-certificate-authority-certificate-request.ts deleted file mode 100644 index a6b93ffb99..0000000000 --- a/lib/dts/lib/request/get-transfer-appliance-certificate-authority-certificate-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferApplianceCertificateAuthorityCertificate.ts.html |here} to see how to use GetTransferApplianceCertificateAuthorityCertificateRequest. - */ -export interface GetTransferApplianceCertificateAuthorityCertificateRequest - extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": string; -} diff --git a/lib/dts/lib/request/get-transfer-appliance-encryption-passphrase-request.ts b/lib/dts/lib/request/get-transfer-appliance-encryption-passphrase-request.ts deleted file mode 100644 index 51a64db745..0000000000 --- a/lib/dts/lib/request/get-transfer-appliance-encryption-passphrase-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferApplianceEncryptionPassphrase.ts.html |here} to see how to use GetTransferApplianceEncryptionPassphraseRequest. - */ -export interface GetTransferApplianceEncryptionPassphraseRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": string; -} diff --git a/lib/dts/lib/request/get-transfer-appliance-entitlement-request.ts b/lib/dts/lib/request/get-transfer-appliance-entitlement-request.ts deleted file mode 100644 index 9f87fe555a..0000000000 --- a/lib/dts/lib/request/get-transfer-appliance-entitlement-request.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferApplianceEntitlement.ts.html |here} to see how to use GetTransferApplianceEntitlementRequest. - */ -export interface GetTransferApplianceEntitlementRequest extends common.BaseRequest { - /** - * Id of the Transfer Appliance Entitlement - */ - "id": 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 (e.g., 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 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/dts/lib/request/get-transfer-appliance-request.ts b/lib/dts/lib/request/get-transfer-appliance-request.ts deleted file mode 100644 index 0782e39cd3..0000000000 --- a/lib/dts/lib/request/get-transfer-appliance-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferAppliance.ts.html |here} to see how to use GetTransferApplianceRequest. - */ -export interface GetTransferApplianceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": string; -} diff --git a/lib/dts/lib/request/get-transfer-device-request.ts b/lib/dts/lib/request/get-transfer-device-request.ts deleted file mode 100644 index 76241bc22f..0000000000 --- a/lib/dts/lib/request/get-transfer-device-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferDevice.ts.html |here} to see how to use GetTransferDeviceRequest. - */ -export interface GetTransferDeviceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Device - */ - "transferDeviceLabel": string; -} diff --git a/lib/dts/lib/request/get-transfer-job-request.ts b/lib/dts/lib/request/get-transfer-job-request.ts deleted file mode 100644 index 47a64cc180..0000000000 --- a/lib/dts/lib/request/get-transfer-job-request.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferJob.ts.html |here} to see how to use GetTransferJobRequest. - */ -export interface GetTransferJobRequest extends common.BaseRequest { - /** - * OCID of the Transfer Job - */ - "id": 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/dts/lib/request/get-transfer-package-request.ts b/lib/dts/lib/request/get-transfer-package-request.ts deleted file mode 100644 index 128dd7d37b..0000000000 --- a/lib/dts/lib/request/get-transfer-package-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/GetTransferPackage.ts.html |here} to see how to use GetTransferPackageRequest. - */ -export interface GetTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Package - */ - "transferPackageLabel": string; -} diff --git a/lib/dts/lib/request/index.ts b/lib/dts/lib/request/index.ts deleted file mode 100644 index 9081dcd423..0000000000 --- a/lib/dts/lib/request/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as ChangeApplianceExportJobCompartmentRequest from "./change-appliance-export-job-compartment-request"; -export import ChangeApplianceExportJobCompartmentRequest = ChangeApplianceExportJobCompartmentRequest.ChangeApplianceExportJobCompartmentRequest; -import * as CreateApplianceExportJobRequest from "./create-appliance-export-job-request"; -export import CreateApplianceExportJobRequest = CreateApplianceExportJobRequest.CreateApplianceExportJobRequest; -import * as DeleteApplianceExportJobRequest from "./delete-appliance-export-job-request"; -export import DeleteApplianceExportJobRequest = DeleteApplianceExportJobRequest.DeleteApplianceExportJobRequest; -import * as GetApplianceExportJobRequest from "./get-appliance-export-job-request"; -export import GetApplianceExportJobRequest = GetApplianceExportJobRequest.GetApplianceExportJobRequest; -import * as ListApplianceExportJobsRequest from "./list-appliance-export-jobs-request"; -export import ListApplianceExportJobsRequest = ListApplianceExportJobsRequest.ListApplianceExportJobsRequest; -import * as UpdateApplianceExportJobRequest from "./update-appliance-export-job-request"; -export import UpdateApplianceExportJobRequest = UpdateApplianceExportJobRequest.UpdateApplianceExportJobRequest; -import * as ListShippingVendorsRequest from "./list-shipping-vendors-request"; -export import ListShippingVendorsRequest = ListShippingVendorsRequest.ListShippingVendorsRequest; -import * as CreateTransferApplianceRequest from "./create-transfer-appliance-request"; -export import CreateTransferApplianceRequest = CreateTransferApplianceRequest.CreateTransferApplianceRequest; -import * as CreateTransferApplianceAdminCredentialsRequest from "./create-transfer-appliance-admin-credentials-request"; -export import CreateTransferApplianceAdminCredentialsRequest = CreateTransferApplianceAdminCredentialsRequest.CreateTransferApplianceAdminCredentialsRequest; -import * as DeleteTransferApplianceRequest from "./delete-transfer-appliance-request"; -export import DeleteTransferApplianceRequest = DeleteTransferApplianceRequest.DeleteTransferApplianceRequest; -import * as GetTransferApplianceRequest from "./get-transfer-appliance-request"; -export import GetTransferApplianceRequest = GetTransferApplianceRequest.GetTransferApplianceRequest; -import * as GetTransferApplianceCertificateAuthorityCertificateRequest from "./get-transfer-appliance-certificate-authority-certificate-request"; -export import GetTransferApplianceCertificateAuthorityCertificateRequest = GetTransferApplianceCertificateAuthorityCertificateRequest.GetTransferApplianceCertificateAuthorityCertificateRequest; -import * as GetTransferApplianceEncryptionPassphraseRequest from "./get-transfer-appliance-encryption-passphrase-request"; -export import GetTransferApplianceEncryptionPassphraseRequest = GetTransferApplianceEncryptionPassphraseRequest.GetTransferApplianceEncryptionPassphraseRequest; -import * as ListTransferAppliancesRequest from "./list-transfer-appliances-request"; -export import ListTransferAppliancesRequest = ListTransferAppliancesRequest.ListTransferAppliancesRequest; -import * as UpdateTransferApplianceRequest from "./update-transfer-appliance-request"; -export import UpdateTransferApplianceRequest = UpdateTransferApplianceRequest.UpdateTransferApplianceRequest; -import * as CreateTransferApplianceEntitlementRequest from "./create-transfer-appliance-entitlement-request"; -export import CreateTransferApplianceEntitlementRequest = CreateTransferApplianceEntitlementRequest.CreateTransferApplianceEntitlementRequest; -import * as GetTransferApplianceEntitlementRequest from "./get-transfer-appliance-entitlement-request"; -export import GetTransferApplianceEntitlementRequest = GetTransferApplianceEntitlementRequest.GetTransferApplianceEntitlementRequest; -import * as ListTransferApplianceEntitlementRequest from "./list-transfer-appliance-entitlement-request"; -export import ListTransferApplianceEntitlementRequest = ListTransferApplianceEntitlementRequest.ListTransferApplianceEntitlementRequest; -import * as CreateTransferDeviceRequest from "./create-transfer-device-request"; -export import CreateTransferDeviceRequest = CreateTransferDeviceRequest.CreateTransferDeviceRequest; -import * as DeleteTransferDeviceRequest from "./delete-transfer-device-request"; -export import DeleteTransferDeviceRequest = DeleteTransferDeviceRequest.DeleteTransferDeviceRequest; -import * as GetTransferDeviceRequest from "./get-transfer-device-request"; -export import GetTransferDeviceRequest = GetTransferDeviceRequest.GetTransferDeviceRequest; -import * as ListTransferDevicesRequest from "./list-transfer-devices-request"; -export import ListTransferDevicesRequest = ListTransferDevicesRequest.ListTransferDevicesRequest; -import * as UpdateTransferDeviceRequest from "./update-transfer-device-request"; -export import UpdateTransferDeviceRequest = UpdateTransferDeviceRequest.UpdateTransferDeviceRequest; -import * as ChangeTransferJobCompartmentRequest from "./change-transfer-job-compartment-request"; -export import ChangeTransferJobCompartmentRequest = ChangeTransferJobCompartmentRequest.ChangeTransferJobCompartmentRequest; -import * as CreateTransferJobRequest from "./create-transfer-job-request"; -export import CreateTransferJobRequest = CreateTransferJobRequest.CreateTransferJobRequest; -import * as DeleteTransferJobRequest from "./delete-transfer-job-request"; -export import DeleteTransferJobRequest = DeleteTransferJobRequest.DeleteTransferJobRequest; -import * as GetTransferJobRequest from "./get-transfer-job-request"; -export import GetTransferJobRequest = GetTransferJobRequest.GetTransferJobRequest; -import * as ListTransferJobsRequest from "./list-transfer-jobs-request"; -export import ListTransferJobsRequest = ListTransferJobsRequest.ListTransferJobsRequest; -import * as UpdateTransferJobRequest from "./update-transfer-job-request"; -export import UpdateTransferJobRequest = UpdateTransferJobRequest.UpdateTransferJobRequest; -import * as AttachDevicesToTransferPackageRequest from "./attach-devices-to-transfer-package-request"; -export import AttachDevicesToTransferPackageRequest = AttachDevicesToTransferPackageRequest.AttachDevicesToTransferPackageRequest; -import * as CreateTransferPackageRequest from "./create-transfer-package-request"; -export import CreateTransferPackageRequest = CreateTransferPackageRequest.CreateTransferPackageRequest; -import * as DeleteTransferPackageRequest from "./delete-transfer-package-request"; -export import DeleteTransferPackageRequest = DeleteTransferPackageRequest.DeleteTransferPackageRequest; -import * as DetachDevicesFromTransferPackageRequest from "./detach-devices-from-transfer-package-request"; -export import DetachDevicesFromTransferPackageRequest = DetachDevicesFromTransferPackageRequest.DetachDevicesFromTransferPackageRequest; -import * as GetTransferPackageRequest from "./get-transfer-package-request"; -export import GetTransferPackageRequest = GetTransferPackageRequest.GetTransferPackageRequest; -import * as ListTransferPackagesRequest from "./list-transfer-packages-request"; -export import ListTransferPackagesRequest = ListTransferPackagesRequest.ListTransferPackagesRequest; -import * as UpdateTransferPackageRequest from "./update-transfer-package-request"; -export import UpdateTransferPackageRequest = UpdateTransferPackageRequest.UpdateTransferPackageRequest; diff --git a/lib/dts/lib/request/list-appliance-export-jobs-request.ts b/lib/dts/lib/request/list-appliance-export-jobs-request.ts deleted file mode 100644 index cf7cca3017..0000000000 --- a/lib/dts/lib/request/list-appliance-export-jobs-request.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListApplianceExportJobs.ts.html |here} to see how to use ListApplianceExportJobsRequest. - */ -export interface ListApplianceExportJobsRequest extends common.BaseRequest { - /** - * compartment id - */ - "compartmentId": string; - /** - * filtering by lifecycleState - */ - "lifecycleState"?: ListApplianceExportJobsRequest.LifecycleState; - /** - * filtering by displayName - */ - "displayName"?: string; - /** - * For list pagination. The maximum number of results per page, or items to return in a paginated -* \"List\" call. For important details about how pagination works, see -* [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). -*

-Example: {@code 50} -* - */ - "limit"?: number; - /** - * For list pagination. The value of the {@code 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; -} - -export namespace ListApplianceExportJobsRequest { - export enum LifecycleState { - Creating = "CREATING", - Active = "ACTIVE", - Inprogress = "INPROGRESS", - Succeeded = "SUCCEEDED", - Failed = "FAILED", - Cancelled = "CANCELLED", - Deleted = "DELETED" - } -} diff --git a/lib/dts/lib/request/list-shipping-vendors-request.ts b/lib/dts/lib/request/list-shipping-vendors-request.ts deleted file mode 100644 index 749fcd64bf..0000000000 --- a/lib/dts/lib/request/list-shipping-vendors-request.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListShippingVendors.ts.html |here} to see how to use ListShippingVendorsRequest. - */ -export interface ListShippingVendorsRequest extends common.BaseRequest {} diff --git a/lib/dts/lib/request/list-transfer-appliance-entitlement-request.ts b/lib/dts/lib/request/list-transfer-appliance-entitlement-request.ts deleted file mode 100644 index 2adfbbc1f9..0000000000 --- a/lib/dts/lib/request/list-transfer-appliance-entitlement-request.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListTransferApplianceEntitlement.ts.html |here} to see how to use ListTransferApplianceEntitlementRequest. - */ -export interface ListTransferApplianceEntitlementRequest extends common.BaseRequest { - /** - * compartment id - */ - "compartmentId": string; - /** - * filtering by Transfer Appliance Entitlement id - */ - "id"?: string; - /** - * filtering by displayName - */ - "displayName"?: 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/dts/lib/request/list-transfer-appliances-request.ts b/lib/dts/lib/request/list-transfer-appliances-request.ts deleted file mode 100644 index dbb773cf9f..0000000000 --- a/lib/dts/lib/request/list-transfer-appliances-request.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListTransferAppliances.ts.html |here} to see how to use ListTransferAppliancesRequest. - */ -export interface ListTransferAppliancesRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * filtering by lifecycleState - */ - "lifecycleState"?: ListTransferAppliancesRequest.LifecycleState; -} - -export namespace ListTransferAppliancesRequest { - export enum LifecycleState { - Requested = "REQUESTED", - OraclePreparing = "ORACLE_PREPARING", - Shipping = "SHIPPING", - Delivered = "DELIVERED", - Preparing = "PREPARING", - Finalized = "FINALIZED", - ReturnLabelRequested = "RETURN_LABEL_REQUESTED", - ReturnLabelGenerating = "RETURN_LABEL_GENERATING", - ReturnLabelAvailable = "RETURN_LABEL_AVAILABLE", - ReturnDelayed = "RETURN_DELAYED", - ReturnShipped = "RETURN_SHIPPED", - ReturnShippedCancelled = "RETURN_SHIPPED_CANCELLED", - OracleReceived = "ORACLE_RECEIVED", - OracleReceivedCancelled = "ORACLE_RECEIVED_CANCELLED", - Processing = "PROCESSING", - Complete = "COMPLETE", - CustomerNeverReceived = "CUSTOMER_NEVER_RECEIVED", - OracleNeverReceived = "ORACLE_NEVER_RECEIVED", - CustomerLost = "CUSTOMER_LOST", - Cancelled = "CANCELLED", - Deleted = "DELETED", - Rejected = "REJECTED", - Error = "ERROR" - } -} diff --git a/lib/dts/lib/request/list-transfer-devices-request.ts b/lib/dts/lib/request/list-transfer-devices-request.ts deleted file mode 100644 index 8ee7bd1cf0..0000000000 --- a/lib/dts/lib/request/list-transfer-devices-request.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListTransferDevices.ts.html |here} to see how to use ListTransferDevicesRequest. - */ -export interface ListTransferDevicesRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * filtering by lifecycleState - */ - "lifecycleState"?: ListTransferDevicesRequest.LifecycleState; - /** - * filtering by displayName - */ - "displayName"?: string; -} - -export namespace ListTransferDevicesRequest { - export enum LifecycleState { - Preparing = "PREPARING", - Ready = "READY", - Packaged = "PACKAGED", - Active = "ACTIVE", - Processing = "PROCESSING", - Complete = "COMPLETE", - Missing = "MISSING", - Error = "ERROR", - Deleted = "DELETED", - Cancelled = "CANCELLED" - } -} diff --git a/lib/dts/lib/request/list-transfer-jobs-request.ts b/lib/dts/lib/request/list-transfer-jobs-request.ts deleted file mode 100644 index b8c59ae196..0000000000 --- a/lib/dts/lib/request/list-transfer-jobs-request.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListTransferJobs.ts.html |here} to see how to use ListTransferJobsRequest. - */ -export interface ListTransferJobsRequest extends common.BaseRequest { - /** - * compartment id - */ - "compartmentId": string; - /** - * filtering by lifecycleState - */ - "lifecycleState"?: ListTransferJobsRequest.LifecycleState; - /** - * filtering by displayName - */ - "displayName"?: string; - /** - * For list pagination. The maximum number of results per page, or items to return in a paginated -* \"List\" call. For important details about how pagination works, see -* [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). -*

-Example: {@code 50} -* - */ - "limit"?: number; - /** - * For list pagination. The value of the {@code 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about - * a particular request, please provide the request ID. - * - */ - "opcRequestId"?: string; -} - -export namespace ListTransferJobsRequest { - export enum LifecycleState { - Initiated = "INITIATED", - Preparing = "PREPARING", - Active = "ACTIVE", - Deleted = "DELETED", - Closed = "CLOSED" - } -} diff --git a/lib/dts/lib/request/list-transfer-packages-request.ts b/lib/dts/lib/request/list-transfer-packages-request.ts deleted file mode 100644 index 92ad445759..0000000000 --- a/lib/dts/lib/request/list-transfer-packages-request.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/ListTransferPackages.ts.html |here} to see how to use ListTransferPackagesRequest. - */ -export interface ListTransferPackagesRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * filtering by lifecycleState - */ - "lifecycleState"?: ListTransferPackagesRequest.LifecycleState; - /** - * filtering by displayName - */ - "displayName"?: string; -} - -export namespace ListTransferPackagesRequest { - export enum LifecycleState { - Preparing = "PREPARING", - Shipping = "SHIPPING", - Received = "RECEIVED", - Processing = "PROCESSING", - Processed = "PROCESSED", - Returned = "RETURNED", - Deleted = "DELETED", - Cancelled = "CANCELLED", - CancelledReturned = "CANCELLED_RETURNED" - } -} diff --git a/lib/dts/lib/request/update-appliance-export-job-request.ts b/lib/dts/lib/request/update-appliance-export-job-request.ts deleted file mode 100644 index a909649214..0000000000 --- a/lib/dts/lib/request/update-appliance-export-job-request.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/UpdateApplianceExportJob.ts.html |here} to see how to use UpdateApplianceExportJobRequest. - */ -export interface UpdateApplianceExportJobRequest extends common.BaseRequest { - /** - * ID of the Appliance Export Job - */ - "applianceExportJobId": string; - /** - * fields to update - */ - "updateApplianceExportJobDetails": model.UpdateApplianceExportJobDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: 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/dts/lib/request/update-transfer-appliance-request.ts b/lib/dts/lib/request/update-transfer-appliance-request.ts deleted file mode 100644 index f64c6f680e..0000000000 --- a/lib/dts/lib/request/update-transfer-appliance-request.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/UpdateTransferAppliance.ts.html |here} to see how to use UpdateTransferApplianceRequest. - */ -export interface UpdateTransferApplianceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Appliance - */ - "transferApplianceLabel": string; - /** - * fields to update - */ - "updateTransferApplianceDetails": model.UpdateTransferApplianceDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; -} diff --git a/lib/dts/lib/request/update-transfer-device-request.ts b/lib/dts/lib/request/update-transfer-device-request.ts deleted file mode 100644 index af4abef3c1..0000000000 --- a/lib/dts/lib/request/update-transfer-device-request.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/UpdateTransferDevice.ts.html |here} to see how to use UpdateTransferDeviceRequest. - */ -export interface UpdateTransferDeviceRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Device - */ - "transferDeviceLabel": string; - /** - * fields to update - */ - "updateTransferDeviceDetails": model.UpdateTransferDeviceDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; -} diff --git a/lib/dts/lib/request/update-transfer-job-request.ts b/lib/dts/lib/request/update-transfer-job-request.ts deleted file mode 100644 index 35eace7ef3..0000000000 --- a/lib/dts/lib/request/update-transfer-job-request.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/UpdateTransferJob.ts.html |here} to see how to use UpdateTransferJobRequest. - */ -export interface UpdateTransferJobRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * fields to update - */ - "updateTransferJobDetails": model.UpdateTransferJobDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: 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/dts/lib/request/update-transfer-package-request.ts b/lib/dts/lib/request/update-transfer-package-request.ts deleted file mode 100644 index 8064588331..0000000000 --- a/lib/dts/lib/request/update-transfer-package-request.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/dts/UpdateTransferPackage.ts.html |here} to see how to use UpdateTransferPackageRequest. - */ -export interface UpdateTransferPackageRequest extends common.BaseRequest { - /** - * ID of the Transfer Job - */ - "id": string; - /** - * Label of the Transfer Package - */ - "transferPackageLabel": string; - /** - * fields to update - */ - "updateTransferPackageDetails": model.UpdateTransferPackageDetails; - /** - * The entity tag to match. Optional, if set, the update will be successful only if the - * object's tag matches the tag specified in the request. - * - */ - "ifMatch"?: string; -} diff --git a/lib/dts/lib/response/attach-devices-to-transfer-package-response.ts b/lib/dts/lib/response/attach-devices-to-transfer-package-response.ts deleted file mode 100644 index 9a9793eac8..0000000000 --- a/lib/dts/lib/response/attach-devices-to-transfer-package-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AttachDevicesToTransferPackageResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; -} diff --git a/lib/dts/lib/response/change-appliance-export-job-compartment-response.ts b/lib/dts/lib/response/change-appliance-export-job-compartment-response.ts deleted file mode 100644 index 1c50e49c6d..0000000000 --- a/lib/dts/lib/response/change-appliance-export-job-compartment-response.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeApplianceExportJobCompartmentResponse { - /** - * - */ - "opcRequestId": string; -} diff --git a/lib/dts/lib/response/change-transfer-job-compartment-response.ts b/lib/dts/lib/response/change-transfer-job-compartment-response.ts deleted file mode 100644 index 1fecaa01af..0000000000 --- a/lib/dts/lib/response/change-transfer-job-compartment-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeTransferJobCompartmentResponse { - /** - * - */ - "opcRequestId": string; - /** - * For optimistic concurrency control. See 'if-match'. - */ - "etag": string; -} diff --git a/lib/dts/lib/response/create-appliance-export-job-response.ts b/lib/dts/lib/response/create-appliance-export-job-response.ts deleted file mode 100644 index 5de5f51296..0000000000 --- a/lib/dts/lib/response/create-appliance-export-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateApplianceExportJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.ApplianceExportJob instance. - */ - "applianceExportJob": model.ApplianceExportJob; -} diff --git a/lib/dts/lib/response/create-transfer-appliance-admin-credentials-response.ts b/lib/dts/lib/response/create-transfer-appliance-admin-credentials-response.ts deleted file mode 100644 index 692269f168..0000000000 --- a/lib/dts/lib/response/create-transfer-appliance-admin-credentials-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferApplianceAdminCredentialsResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferApplianceCertificate instance. - */ - "transferApplianceCertificate": model.TransferApplianceCertificate; -} diff --git a/lib/dts/lib/response/create-transfer-appliance-entitlement-response.ts b/lib/dts/lib/response/create-transfer-appliance-entitlement-response.ts deleted file mode 100644 index a5beb2c178..0000000000 --- a/lib/dts/lib/response/create-transfer-appliance-entitlement-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferApplianceEntitlementResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferApplianceEntitlement instance. - */ - "transferApplianceEntitlement": model.TransferApplianceEntitlement; -} diff --git a/lib/dts/lib/response/create-transfer-appliance-response.ts b/lib/dts/lib/response/create-transfer-appliance-response.ts deleted file mode 100644 index 0c4cd415af..0000000000 --- a/lib/dts/lib/response/create-transfer-appliance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferApplianceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferAppliance instance. - */ - "transferAppliance": model.TransferAppliance; -} diff --git a/lib/dts/lib/response/create-transfer-device-response.ts b/lib/dts/lib/response/create-transfer-device-response.ts deleted file mode 100644 index 9234c000b1..0000000000 --- a/lib/dts/lib/response/create-transfer-device-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferDeviceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.NewTransferDevice instance. - */ - "newTransferDevice": model.NewTransferDevice; -} diff --git a/lib/dts/lib/response/create-transfer-job-response.ts b/lib/dts/lib/response/create-transfer-job-response.ts deleted file mode 100644 index 5b8a78197e..0000000000 --- a/lib/dts/lib/response/create-transfer-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferJob instance. - */ - "transferJob": model.TransferJob; -} diff --git a/lib/dts/lib/response/create-transfer-package-response.ts b/lib/dts/lib/response/create-transfer-package-response.ts deleted file mode 100644 index b61572cd02..0000000000 --- a/lib/dts/lib/response/create-transfer-package-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateTransferPackageResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferPackage instance. - */ - "transferPackage": model.TransferPackage; -} diff --git a/lib/dts/lib/response/delete-appliance-export-job-response.ts b/lib/dts/lib/response/delete-appliance-export-job-response.ts deleted file mode 100644 index 072bc90011..0000000000 --- a/lib/dts/lib/response/delete-appliance-export-job-response.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteApplianceExportJobResponse { - /** - * - */ - "opcRequestId": string; -} diff --git a/lib/dts/lib/response/delete-transfer-appliance-response.ts b/lib/dts/lib/response/delete-transfer-appliance-response.ts deleted file mode 100644 index b8957e27e5..0000000000 --- a/lib/dts/lib/response/delete-transfer-appliance-response.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteTransferApplianceResponse { - /** - * - */ - "opcRequestId": string; -} diff --git a/lib/dts/lib/response/delete-transfer-device-response.ts b/lib/dts/lib/response/delete-transfer-device-response.ts deleted file mode 100644 index d9d2be5544..0000000000 --- a/lib/dts/lib/response/delete-transfer-device-response.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteTransferDeviceResponse { - /** - * - */ - "opcRequestId": string; -} diff --git a/lib/dts/lib/response/delete-transfer-job-response.ts b/lib/dts/lib/response/delete-transfer-job-response.ts deleted file mode 100644 index 81c2594c31..0000000000 --- a/lib/dts/lib/response/delete-transfer-job-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteTransferJobResponse { - /** - * 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/dts/lib/response/delete-transfer-package-response.ts b/lib/dts/lib/response/delete-transfer-package-response.ts deleted file mode 100644 index 217c9491a0..0000000000 --- a/lib/dts/lib/response/delete-transfer-package-response.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteTransferPackageResponse { - /** - * - */ - "opcRequestId": string; -} diff --git a/lib/dts/lib/response/detach-devices-from-transfer-package-response.ts b/lib/dts/lib/response/detach-devices-from-transfer-package-response.ts deleted file mode 100644 index b6b568c0fd..0000000000 --- a/lib/dts/lib/response/detach-devices-from-transfer-package-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetachDevicesFromTransferPackageResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; -} diff --git a/lib/dts/lib/response/get-appliance-export-job-response.ts b/lib/dts/lib/response/get-appliance-export-job-response.ts deleted file mode 100644 index b8d330a90e..0000000000 --- a/lib/dts/lib/response/get-appliance-export-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetApplianceExportJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.ApplianceExportJob instance. - */ - "applianceExportJob": model.ApplianceExportJob; -} diff --git a/lib/dts/lib/response/get-transfer-appliance-certificate-authority-certificate-response.ts b/lib/dts/lib/response/get-transfer-appliance-certificate-authority-certificate-response.ts deleted file mode 100644 index 6109724229..0000000000 --- a/lib/dts/lib/response/get-transfer-appliance-certificate-authority-certificate-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferApplianceCertificateAuthorityCertificateResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferApplianceCertificate instance. - */ - "transferApplianceCertificate": model.TransferApplianceCertificate; -} diff --git a/lib/dts/lib/response/get-transfer-appliance-encryption-passphrase-response.ts b/lib/dts/lib/response/get-transfer-appliance-encryption-passphrase-response.ts deleted file mode 100644 index 62d1958411..0000000000 --- a/lib/dts/lib/response/get-transfer-appliance-encryption-passphrase-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferApplianceEncryptionPassphraseResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferApplianceEncryptionPassphrase instance. - */ - "transferApplianceEncryptionPassphrase": model.TransferApplianceEncryptionPassphrase; -} diff --git a/lib/dts/lib/response/get-transfer-appliance-entitlement-response.ts b/lib/dts/lib/response/get-transfer-appliance-entitlement-response.ts deleted file mode 100644 index d4d7ad04c5..0000000000 --- a/lib/dts/lib/response/get-transfer-appliance-entitlement-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferApplianceEntitlementResponse { - /** - * - */ - "opcRequestId": string; - /** - * The returned model.TransferApplianceEntitlement instance. - */ - "transferApplianceEntitlement": model.TransferApplianceEntitlement; -} diff --git a/lib/dts/lib/response/get-transfer-appliance-response.ts b/lib/dts/lib/response/get-transfer-appliance-response.ts deleted file mode 100644 index d88bdef685..0000000000 --- a/lib/dts/lib/response/get-transfer-appliance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferApplianceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferAppliance instance. - */ - "transferAppliance": model.TransferAppliance; -} diff --git a/lib/dts/lib/response/get-transfer-device-response.ts b/lib/dts/lib/response/get-transfer-device-response.ts deleted file mode 100644 index 7d8d390f57..0000000000 --- a/lib/dts/lib/response/get-transfer-device-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferDeviceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferDevice instance. - */ - "transferDevice": model.TransferDevice; -} diff --git a/lib/dts/lib/response/get-transfer-job-response.ts b/lib/dts/lib/response/get-transfer-job-response.ts deleted file mode 100644 index 673e998326..0000000000 --- a/lib/dts/lib/response/get-transfer-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferJob instance. - */ - "transferJob": model.TransferJob; -} diff --git a/lib/dts/lib/response/get-transfer-package-response.ts b/lib/dts/lib/response/get-transfer-package-response.ts deleted file mode 100644 index e4c00dc0a1..0000000000 --- a/lib/dts/lib/response/get-transfer-package-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetTransferPackageResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferPackage instance. - */ - "transferPackage": model.TransferPackage; -} diff --git a/lib/dts/lib/response/index.ts b/lib/dts/lib/response/index.ts deleted file mode 100644 index 39b4bcbf34..0000000000 --- a/lib/dts/lib/response/index.ts +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as ChangeApplianceExportJobCompartmentResponse from "./change-appliance-export-job-compartment-response"; -export import ChangeApplianceExportJobCompartmentResponse = ChangeApplianceExportJobCompartmentResponse.ChangeApplianceExportJobCompartmentResponse; -import * as CreateApplianceExportJobResponse from "./create-appliance-export-job-response"; -export import CreateApplianceExportJobResponse = CreateApplianceExportJobResponse.CreateApplianceExportJobResponse; -import * as DeleteApplianceExportJobResponse from "./delete-appliance-export-job-response"; -export import DeleteApplianceExportJobResponse = DeleteApplianceExportJobResponse.DeleteApplianceExportJobResponse; -import * as GetApplianceExportJobResponse from "./get-appliance-export-job-response"; -export import GetApplianceExportJobResponse = GetApplianceExportJobResponse.GetApplianceExportJobResponse; -import * as ListApplianceExportJobsResponse from "./list-appliance-export-jobs-response"; -export import ListApplianceExportJobsResponse = ListApplianceExportJobsResponse.ListApplianceExportJobsResponse; -import * as UpdateApplianceExportJobResponse from "./update-appliance-export-job-response"; -export import UpdateApplianceExportJobResponse = UpdateApplianceExportJobResponse.UpdateApplianceExportJobResponse; -import * as ListShippingVendorsResponse from "./list-shipping-vendors-response"; -export import ListShippingVendorsResponse = ListShippingVendorsResponse.ListShippingVendorsResponse; -import * as CreateTransferApplianceResponse from "./create-transfer-appliance-response"; -export import CreateTransferApplianceResponse = CreateTransferApplianceResponse.CreateTransferApplianceResponse; -import * as CreateTransferApplianceAdminCredentialsResponse from "./create-transfer-appliance-admin-credentials-response"; -export import CreateTransferApplianceAdminCredentialsResponse = CreateTransferApplianceAdminCredentialsResponse.CreateTransferApplianceAdminCredentialsResponse; -import * as DeleteTransferApplianceResponse from "./delete-transfer-appliance-response"; -export import DeleteTransferApplianceResponse = DeleteTransferApplianceResponse.DeleteTransferApplianceResponse; -import * as GetTransferApplianceResponse from "./get-transfer-appliance-response"; -export import GetTransferApplianceResponse = GetTransferApplianceResponse.GetTransferApplianceResponse; -import * as GetTransferApplianceCertificateAuthorityCertificateResponse from "./get-transfer-appliance-certificate-authority-certificate-response"; -export import GetTransferApplianceCertificateAuthorityCertificateResponse = GetTransferApplianceCertificateAuthorityCertificateResponse.GetTransferApplianceCertificateAuthorityCertificateResponse; -import * as GetTransferApplianceEncryptionPassphraseResponse from "./get-transfer-appliance-encryption-passphrase-response"; -export import GetTransferApplianceEncryptionPassphraseResponse = GetTransferApplianceEncryptionPassphraseResponse.GetTransferApplianceEncryptionPassphraseResponse; -import * as ListTransferAppliancesResponse from "./list-transfer-appliances-response"; -export import ListTransferAppliancesResponse = ListTransferAppliancesResponse.ListTransferAppliancesResponse; -import * as UpdateTransferApplianceResponse from "./update-transfer-appliance-response"; -export import UpdateTransferApplianceResponse = UpdateTransferApplianceResponse.UpdateTransferApplianceResponse; -import * as CreateTransferApplianceEntitlementResponse from "./create-transfer-appliance-entitlement-response"; -export import CreateTransferApplianceEntitlementResponse = CreateTransferApplianceEntitlementResponse.CreateTransferApplianceEntitlementResponse; -import * as GetTransferApplianceEntitlementResponse from "./get-transfer-appliance-entitlement-response"; -export import GetTransferApplianceEntitlementResponse = GetTransferApplianceEntitlementResponse.GetTransferApplianceEntitlementResponse; -import * as ListTransferApplianceEntitlementResponse from "./list-transfer-appliance-entitlement-response"; -export import ListTransferApplianceEntitlementResponse = ListTransferApplianceEntitlementResponse.ListTransferApplianceEntitlementResponse; -import * as CreateTransferDeviceResponse from "./create-transfer-device-response"; -export import CreateTransferDeviceResponse = CreateTransferDeviceResponse.CreateTransferDeviceResponse; -import * as DeleteTransferDeviceResponse from "./delete-transfer-device-response"; -export import DeleteTransferDeviceResponse = DeleteTransferDeviceResponse.DeleteTransferDeviceResponse; -import * as GetTransferDeviceResponse from "./get-transfer-device-response"; -export import GetTransferDeviceResponse = GetTransferDeviceResponse.GetTransferDeviceResponse; -import * as ListTransferDevicesResponse from "./list-transfer-devices-response"; -export import ListTransferDevicesResponse = ListTransferDevicesResponse.ListTransferDevicesResponse; -import * as UpdateTransferDeviceResponse from "./update-transfer-device-response"; -export import UpdateTransferDeviceResponse = UpdateTransferDeviceResponse.UpdateTransferDeviceResponse; -import * as ChangeTransferJobCompartmentResponse from "./change-transfer-job-compartment-response"; -export import ChangeTransferJobCompartmentResponse = ChangeTransferJobCompartmentResponse.ChangeTransferJobCompartmentResponse; -import * as CreateTransferJobResponse from "./create-transfer-job-response"; -export import CreateTransferJobResponse = CreateTransferJobResponse.CreateTransferJobResponse; -import * as DeleteTransferJobResponse from "./delete-transfer-job-response"; -export import DeleteTransferJobResponse = DeleteTransferJobResponse.DeleteTransferJobResponse; -import * as GetTransferJobResponse from "./get-transfer-job-response"; -export import GetTransferJobResponse = GetTransferJobResponse.GetTransferJobResponse; -import * as ListTransferJobsResponse from "./list-transfer-jobs-response"; -export import ListTransferJobsResponse = ListTransferJobsResponse.ListTransferJobsResponse; -import * as UpdateTransferJobResponse from "./update-transfer-job-response"; -export import UpdateTransferJobResponse = UpdateTransferJobResponse.UpdateTransferJobResponse; -import * as AttachDevicesToTransferPackageResponse from "./attach-devices-to-transfer-package-response"; -export import AttachDevicesToTransferPackageResponse = AttachDevicesToTransferPackageResponse.AttachDevicesToTransferPackageResponse; -import * as CreateTransferPackageResponse from "./create-transfer-package-response"; -export import CreateTransferPackageResponse = CreateTransferPackageResponse.CreateTransferPackageResponse; -import * as DeleteTransferPackageResponse from "./delete-transfer-package-response"; -export import DeleteTransferPackageResponse = DeleteTransferPackageResponse.DeleteTransferPackageResponse; -import * as DetachDevicesFromTransferPackageResponse from "./detach-devices-from-transfer-package-response"; -export import DetachDevicesFromTransferPackageResponse = DetachDevicesFromTransferPackageResponse.DetachDevicesFromTransferPackageResponse; -import * as GetTransferPackageResponse from "./get-transfer-package-response"; -export import GetTransferPackageResponse = GetTransferPackageResponse.GetTransferPackageResponse; -import * as ListTransferPackagesResponse from "./list-transfer-packages-response"; -export import ListTransferPackagesResponse = ListTransferPackagesResponse.ListTransferPackagesResponse; -import * as UpdateTransferPackageResponse from "./update-transfer-package-response"; -export import UpdateTransferPackageResponse = UpdateTransferPackageResponse.UpdateTransferPackageResponse; diff --git a/lib/dts/lib/response/list-appliance-export-jobs-response.ts b/lib/dts/lib/response/list-appliance-export-jobs-response.ts deleted file mode 100644 index aed671e5f1..0000000000 --- a/lib/dts/lib/response/list-appliance-export-jobs-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListApplianceExportJobsResponse { - /** - * For list pagination. When this header appears in the response, additional pages - * of results remain. For important details about how pagination works, see - * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - * - */ - "opcNextPage": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A list of ApplianceExportJobSummary instances. - */ - "items": model.ApplianceExportJobSummary[]; -} diff --git a/lib/dts/lib/response/list-shipping-vendors-response.ts b/lib/dts/lib/response/list-shipping-vendors-response.ts deleted file mode 100644 index 237e925ef0..0000000000 --- a/lib/dts/lib/response/list-shipping-vendors-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListShippingVendorsResponse { - /** - * - */ - "opcRequestId": string; - /** - * The returned model.ShippingVendors instance. - */ - "shippingVendors": model.ShippingVendors; -} diff --git a/lib/dts/lib/response/list-transfer-appliance-entitlement-response.ts b/lib/dts/lib/response/list-transfer-appliance-entitlement-response.ts deleted file mode 100644 index 721ee48694..0000000000 --- a/lib/dts/lib/response/list-transfer-appliance-entitlement-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTransferApplianceEntitlementResponse { - /** - * - */ - "opcRequestId": string; - /** - * A list of TransferApplianceEntitlementSummary instances. - */ - "items": model.TransferApplianceEntitlementSummary[]; -} diff --git a/lib/dts/lib/response/list-transfer-appliances-response.ts b/lib/dts/lib/response/list-transfer-appliances-response.ts deleted file mode 100644 index 1ba3609715..0000000000 --- a/lib/dts/lib/response/list-transfer-appliances-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTransferAppliancesResponse { - /** - * - */ - "opcRequestId": string; - /** - * The returned model.MultipleTransferAppliances instance. - */ - "multipleTransferAppliances": model.MultipleTransferAppliances; -} diff --git a/lib/dts/lib/response/list-transfer-devices-response.ts b/lib/dts/lib/response/list-transfer-devices-response.ts deleted file mode 100644 index e0d1c524a2..0000000000 --- a/lib/dts/lib/response/list-transfer-devices-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTransferDevicesResponse { - /** - * - */ - "opcRequestId": string; - /** - * The returned model.MultipleTransferDevices instance. - */ - "multipleTransferDevices": model.MultipleTransferDevices; -} diff --git a/lib/dts/lib/response/list-transfer-jobs-response.ts b/lib/dts/lib/response/list-transfer-jobs-response.ts deleted file mode 100644 index eb9b97893d..0000000000 --- a/lib/dts/lib/response/list-transfer-jobs-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTransferJobsResponse { - /** - * For list pagination. When this header appears in the response, additional pages - * of results remain. For important details about how pagination works, see - * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). - * - */ - "opcNextPage": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A list of TransferJobSummary instances. - */ - "items": model.TransferJobSummary[]; -} diff --git a/lib/dts/lib/response/list-transfer-packages-response.ts b/lib/dts/lib/response/list-transfer-packages-response.ts deleted file mode 100644 index 6d1006812e..0000000000 --- a/lib/dts/lib/response/list-transfer-packages-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListTransferPackagesResponse { - /** - * - */ - "opcRequestId": string; - /** - * The returned model.MultipleTransferPackages instance. - */ - "multipleTransferPackages": model.MultipleTransferPackages; -} diff --git a/lib/dts/lib/response/update-appliance-export-job-response.ts b/lib/dts/lib/response/update-appliance-export-job-response.ts deleted file mode 100644 index 9d035cfa0f..0000000000 --- a/lib/dts/lib/response/update-appliance-export-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateApplianceExportJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.ApplianceExportJob instance. - */ - "applianceExportJob": model.ApplianceExportJob; -} diff --git a/lib/dts/lib/response/update-transfer-appliance-response.ts b/lib/dts/lib/response/update-transfer-appliance-response.ts deleted file mode 100644 index dc7ead97f5..0000000000 --- a/lib/dts/lib/response/update-transfer-appliance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferApplianceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferAppliance instance. - */ - "transferAppliance": model.TransferAppliance; -} diff --git a/lib/dts/lib/response/update-transfer-device-response.ts b/lib/dts/lib/response/update-transfer-device-response.ts deleted file mode 100644 index 9779d146d6..0000000000 --- a/lib/dts/lib/response/update-transfer-device-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferDeviceResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferDevice instance. - */ - "transferDevice": model.TransferDevice; -} diff --git a/lib/dts/lib/response/update-transfer-job-response.ts b/lib/dts/lib/response/update-transfer-job-response.ts deleted file mode 100644 index 841e165387..0000000000 --- a/lib/dts/lib/response/update-transfer-job-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferJobResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferJob instance. - */ - "transferJob": model.TransferJob; -} diff --git a/lib/dts/lib/response/update-transfer-package-response.ts b/lib/dts/lib/response/update-transfer-package-response.ts deleted file mode 100644 index 5889d7b78b..0000000000 --- a/lib/dts/lib/response/update-transfer-package-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateTransferPackageResponse { - /** - * - */ - "opcRequestId": string; - /** - * - */ - "etag": string; - /** - * The returned model.TransferPackage instance. - */ - "transferPackage": model.TransferPackage; -} diff --git a/lib/dts/lib/transferappliance-waiter.ts b/lib/dts/lib/transferappliance-waiter.ts deleted file mode 100644 index 76d5885321..0000000000 --- a/lib/dts/lib/transferappliance-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { TransferApplianceClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class TransferApplianceWaiter { - public constructor( - private client: TransferApplianceClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forTransferAppliance 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 GetTransferApplianceResponse | null (null in case of 404 response) - */ - public async forTransferAppliance( - request: serviceRequests.GetTransferApplianceRequest, - ...targetStates: models.TransferAppliance.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getTransferAppliance(request), - response => targetStates.includes(response.transferAppliance.lifecycleState!), - targetStates.includes(models.TransferAppliance.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/lib/transferapplianceentitlement-waiter.ts b/lib/dts/lib/transferapplianceentitlement-waiter.ts deleted file mode 100644 index fa860286f2..0000000000 --- a/lib/dts/lib/transferapplianceentitlement-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { TransferApplianceEntitlementClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class TransferApplianceEntitlementWaiter { - public constructor( - private client: TransferApplianceEntitlementClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forTransferApplianceEntitlement 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 GetTransferApplianceEntitlementResponse | null (null in case of 404 response) - */ - public async forTransferApplianceEntitlement( - request: serviceRequests.GetTransferApplianceEntitlementRequest, - ...targetStates: models.TransferApplianceEntitlement.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getTransferApplianceEntitlement(request), - response => targetStates.includes(response.transferApplianceEntitlement.lifecycleState!), - targetStates.includes(models.TransferApplianceEntitlement.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/lib/transferdevice-waiter.ts b/lib/dts/lib/transferdevice-waiter.ts deleted file mode 100644 index 94910abd22..0000000000 --- a/lib/dts/lib/transferdevice-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { TransferDeviceClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class TransferDeviceWaiter { - public constructor( - private client: TransferDeviceClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forTransferDevice 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 GetTransferDeviceResponse | null (null in case of 404 response) - */ - public async forTransferDevice( - request: serviceRequests.GetTransferDeviceRequest, - ...targetStates: models.TransferDevice.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getTransferDevice(request), - response => targetStates.includes(response.transferDevice.lifecycleState!), - targetStates.includes(models.TransferDevice.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/lib/transferjob-waiter.ts b/lib/dts/lib/transferjob-waiter.ts deleted file mode 100644 index 8a5f77e0a9..0000000000 --- a/lib/dts/lib/transferjob-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { TransferJobClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class TransferJobWaiter { - public constructor( - private client: TransferJobClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forTransferJob 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 GetTransferJobResponse | null (null in case of 404 response) - */ - public async forTransferJob( - request: serviceRequests.GetTransferJobRequest, - ...targetStates: models.TransferJob.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getTransferJob(request), - response => targetStates.includes(response.transferJob.lifecycleState!), - targetStates.includes(models.TransferJob.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/lib/transferpackage-waiter.ts b/lib/dts/lib/transferpackage-waiter.ts deleted file mode 100644 index 69c1755c26..0000000000 --- a/lib/dts/lib/transferpackage-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Data Transfer Service API - * Data Transfer Service API Specification - * OpenAPI spec version: 1.0.017 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { TransferPackageClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class TransferPackageWaiter { - public constructor( - private client: TransferPackageClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forTransferPackage 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 GetTransferPackageResponse | null (null in case of 404 response) - */ - public async forTransferPackage( - request: serviceRequests.GetTransferPackageRequest, - ...targetStates: models.TransferPackage.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getTransferPackage(request), - response => targetStates.includes(response.transferPackage.lifecycleState!), - targetStates.includes(models.TransferPackage.LifecycleState.Deleted) - ); - } -} diff --git a/lib/dts/package.json b/lib/dts/package.json deleted file mode 100644 index 0104a943ca..0000000000 --- a/lib/dts/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "oci-dts", - "version": "2.114.1", - "description": "OCI NodeJS client for Dts Service", - "repository": { - "type": "git", - "url": "https://github.com/oracle/oci-typescript-sdk" - }, - "main": "../../target/lib/dts/index.js", - "typings": "../../target/lib/dts/index.d.ts", - "scripts": {}, - "author": { - "name": "Oracle Cloud Infrastructure", - "email": "" - }, - "license": "(UPL-1.0 OR Apache-2.0)", - "dependencies": { - "oci-common": "../common" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org" - }, - "contributors": [ - "Jyoti Saini ", - "Joe Levy ", - "Walt Tran " - ] -} diff --git a/lib/dts/tsconfig.json b/lib/dts/tsconfig.json deleted file mode 100644 index bf9170b6ce..0000000000 --- a/lib/dts/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "declaration": true, /* Generates corresponding '.d.ts' file. */ - "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "target", /* Redirect output structure to the directory. */ - "strict": true, /* Enable all strict type-checking options. */ - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - } -} \ No newline at end of file diff --git a/lib/osmanagement/README.md b/lib/osmanagement/README.md deleted file mode 100644 index aeb83ad758..0000000000 --- a/lib/osmanagement/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# OCI NodeJS client for OS management Service - -This module enables you to write code to manage resources for OS management Service. - -## Requirements - -To use this module, you must have the following: - -- An Oracle Cloud Infrastructure account. -- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). -- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) - -## Installing - -Use the following command to install this module: - -``` -npm install oci-osmanagement -``` - -Alternatively you can git clone this repo. diff --git a/lib/osmanagement/index.ts b/lib/osmanagement/index.ts deleted file mode 100644 index 1210d5cf08..0000000000 --- a/lib/osmanagement/index.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as requests from "./lib/request"; -import * as models from "./lib/model"; -import * as responses from "./lib/response"; -import * as client from "./lib/client"; -import * as osmanagement_waiter from "./lib/osmanagement-waiter"; - -export { models }; -export { requests }; -export { responses }; -export import EventClient = client.EventClient; -export import OsManagementClient = client.OsManagementClient; -export import OsManagementWaiter = osmanagement_waiter.OsManagementWaiter; diff --git a/lib/osmanagement/lib/client.ts b/lib/osmanagement/lib/client.ts deleted file mode 100644 index 823a144ce0..0000000000 --- a/lib/osmanagement/lib/client.ts +++ /dev/null @@ -1,8056 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import common = require("oci-common"); -import * as requests from "./request"; -import * as model from "./model"; -import * as responses from "./response"; -import { paginateRecords, paginateResponses } from "oci-common"; -import { OsManagementWaiter } from "./osmanagement-waiter"; -import { - composeResponse, - composeRequest, - GenericRetrier, - developerToolConfiguration -} from "oci-common"; -const Breaker = require("opossum"); - -// =============================================== -// This file is autogenerated - Please do not edit -// =============================================== - -export enum EventApiKeys {} -/** - * 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 EventClient { - protected static serviceEndpointTemplate = "https://osms.{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 = "Event"; - 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("osmanagement")) { - 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("osmanagement"); - } - - // 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 + "/20190801"; - if (this.logger) this.logger.info(`EventClient 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( - EventClient.serviceEndpointTemplate, - this._region, - EventClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - EventClient.serviceEndpointTemplate, - this._regionId, - EventClient.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( - EventClient.serviceEndpointTemplate, - region, - EventClient.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( - EventClient.serviceEndpointTemplate, - regionId, - EventClient.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(); - } - - /** - * Delete an event content ZIP archive from the service - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteEventContentRequest - * @return DeleteEventContentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DeleteEventContent.ts.html |here} to see how to use DeleteEventContent API. - */ - public async deleteEventContent( - deleteEventContentRequest: requests.DeleteEventContentRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#deleteEventContent."); - const operationName = "deleteEventContent"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/EventContent/DeleteEventContent"; - const pathParams = { - "{managedInstanceId}": deleteEventContentRequest.managedInstanceId, - "{eventId}": deleteEventContentRequest.eventId - }; - - const queryParams = { - "compartmentId": deleteEventContentRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": deleteEventContentRequest.opcRequestId, - "if-match": deleteEventContentRequest.ifMatch, - "opc-retry-token": deleteEventContentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteEventContentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/{eventId}/content", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets an Event by identifier - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetEventRequest - * @return GetEventResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetEvent.ts.html |here} to see how to use GetEvent API. - */ - public async getEvent( - getEventRequest: requests.GetEventRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#getEvent."); - const operationName = "getEvent"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/Event/GetEvent"; - const pathParams = { - "{managedInstanceId}": getEventRequest.managedInstanceId, - "{eventId}": getEventRequest.eventId - }; - - const queryParams = { - "compartmentId": getEventRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getEventRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getEventRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/{eventId}", - 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: "event", - bodyModel: model.Event, - type: "model.Event", - 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; - } - } - - /** - * Get additional data about a event as a ZIP archive. The archive content depends on the event eventType. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetEventContentRequest - * @return GetEventContentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetEventContent.ts.html |here} to see how to use GetEventContent API. - */ - public async getEventContent( - getEventContentRequest: requests.GetEventContentRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#getEventContent."); - const operationName = "getEventContent"; - const apiReferenceLink = ""; - const pathParams = { - "{managedInstanceId}": getEventContentRequest.managedInstanceId, - "{eventId}": getEventContentRequest.eventId - }; - - const queryParams = { - "compartmentId": getEventContentRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getEventContentRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getEventContentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/{eventId}/content", - 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: response.body!, - bodyKey: "value", - bodyModel: "string", - 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; - } - } - - /** - * Get summary information about events on this instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetEventReportRequest - * @return GetEventReportResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetEventReport.ts.html |here} to see how to use GetEventReport API. - */ - public async getEventReport( - getEventReportRequest: requests.GetEventReportRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#getEventReport."); - const operationName = "getEventReport"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/EventReport/GetEventReport"; - const pathParams = { - "{managedInstanceId}": getEventReportRequest.managedInstanceId - }; - - const queryParams = { - "compartmentId": getEventReportRequest.compartmentId, - "latestTimestampLessThan": getEventReportRequest.latestTimestampLessThan, - "latestTimestampGreaterThanOrEqualTo": - getEventReportRequest.latestTimestampGreaterThanOrEqualTo - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getEventReportRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getEventReportRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/report", - 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: "eventReport", - bodyModel: model.EventReport, - type: "model.EventReport", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a list of Events. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListEventsRequest - * @return ListEventsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListEvents.ts.html |here} to see how to use ListEvents API. - */ - public async listEvents( - listEventsRequest: requests.ListEventsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#listEvents."); - const operationName = "listEvents"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/EventCollection/ListEvents"; - const pathParams = { - "{managedInstanceId}": listEventsRequest.managedInstanceId - }; - - const queryParams = { - "compartmentId": listEventsRequest.compartmentId, - "eventId": listEventsRequest.eventId, - "limit": listEventsRequest.limit, - "page": listEventsRequest.page, - "sortOrder": listEventsRequest.sortOrder, - "sortBy": listEventsRequest.sortBy, - "eventType": listEventsRequest.eventType, - "latestTimestampLessThan": listEventsRequest.latestTimestampLessThan, - "latestTimestampGreaterThanOrEqualTo": listEventsRequest.latestTimestampGreaterThanOrEqualTo - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listEventsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listEventsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events", - 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: "eventCollection", - bodyModel: model.EventCollection, - type: "model.EventCollection", - 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 related events. For now pagination is not implemented. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListRelatedEventsRequest - * @return ListRelatedEventsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListRelatedEvents.ts.html |here} to see how to use ListRelatedEvents API. - */ - public async listRelatedEvents( - listRelatedEventsRequest: requests.ListRelatedEventsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#listRelatedEvents."); - const operationName = "listRelatedEvents"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/RelatedEventCollection/ListRelatedEvents"; - const pathParams = {}; - - const queryParams = { - "limit": listRelatedEventsRequest.limit, - "page": listRelatedEventsRequest.page, - "sortOrder": listRelatedEventsRequest.sortOrder, - "sortBy": listRelatedEventsRequest.sortBy, - "latestTimestampLessThan": listRelatedEventsRequest.latestTimestampLessThan, - "latestTimestampGreaterThanOrEqualTo": - listRelatedEventsRequest.latestTimestampGreaterThanOrEqualTo, - "eventFingerprint": listRelatedEventsRequest.eventFingerprint, - "compartmentId": listRelatedEventsRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listRelatedEventsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listRelatedEventsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/relatedEvents", - 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: "relatedEventCollection", - bodyModel: model.RelatedEventCollection, - type: "model.RelatedEventCollection", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates an existing event associated to a managed instance - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateEventRequest - * @return UpdateEventResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UpdateEvent.ts.html |here} to see how to use UpdateEvent API. - */ - public async updateEvent( - updateEventRequest: requests.UpdateEventRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#updateEvent."); - const operationName = "updateEvent"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/Event/UpdateEvent"; - const pathParams = { - "{managedInstanceId}": updateEventRequest.managedInstanceId, - "{eventId}": updateEventRequest.eventId - }; - - const queryParams = { - "compartmentId": updateEventRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": updateEventRequest.opcRequestId, - "if-match": updateEventRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateEventRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/{eventId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateEventRequest.updateEventDetails, - "UpdateEventDetails", - model.UpdateEventDetails.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: "event", - bodyModel: model.Event, - type: "model.Event", - 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; - } - } - - /** - * Upload the event content as a ZIP archive from the managed instance to the service - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UploadEventContentRequest - * @return UploadEventContentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UploadEventContent.ts.html |here} to see how to use UploadEventContent API. - */ - public async uploadEventContent( - uploadEventContentRequest: requests.UploadEventContentRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation EventClient#uploadEventContent."); - const operationName = "uploadEventContent"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/EventContent/UploadEventContent"; - const pathParams = { - "{managedInstanceId}": uploadEventContentRequest.managedInstanceId, - "{eventId}": uploadEventContentRequest.eventId - }; - - const queryParams = { - "compartmentId": uploadEventContentRequest.compartmentId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": uploadEventContentRequest.opcRequestId, - "if-match": uploadEventContentRequest.ifMatch, - "opc-retry-token": uploadEventContentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - uploadEventContentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/events/{eventId}/content/actions/upload", - 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" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} -export enum OsManagementApiKeys {} -/** - * 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 OsManagementClient { - protected static serviceEndpointTemplate = "https://osms.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": OsManagementWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "OsManagement"; - 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("osmanagement")) { - 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("osmanagement"); - } - - // 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 + "/20190801"; - if (this.logger) this.logger.info(`OsManagementClient 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( - OsManagementClient.serviceEndpointTemplate, - this._region, - OsManagementClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - OsManagementClient.serviceEndpointTemplate, - this._regionId, - OsManagementClient.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( - OsManagementClient.serviceEndpointTemplate, - region, - OsManagementClient.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( - OsManagementClient.serviceEndpointTemplate, - regionId, - OsManagementClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new OsManagementWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): OsManagementWaiter { - this._waiters = new OsManagementWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): OsManagementWaiter { - 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(); - } - - /** - * Adds a given list of Software Packages to a specific Software Source. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param AddPackagesToSoftwareSourceRequest - * @return AddPackagesToSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/AddPackagesToSoftwareSource.ts.html |here} to see how to use AddPackagesToSoftwareSource API. - */ - public async addPackagesToSoftwareSource( - addPackagesToSoftwareSourceRequest: requests.AddPackagesToSoftwareSourceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#addPackagesToSoftwareSource."); - const operationName = "addPackagesToSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/AddPackagesToSoftwareSource"; - const pathParams = { - "{softwareSourceId}": addPackagesToSoftwareSourceRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": addPackagesToSoftwareSourceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - addPackagesToSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/actions/addPackages", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - addPackagesToSoftwareSourceRequest.addPackagesToSoftwareSourceDetails, - "AddPackagesToSoftwareSourceDetails", - model.AddPackagesToSoftwareSourceDetails.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; - } - } - - /** - * Adds a child software source to a managed instance. After the software - * source has been added, then packages from that software source can be - * installed on the managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param AttachChildSoftwareSourceToManagedInstanceRequest - * @return AttachChildSoftwareSourceToManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/AttachChildSoftwareSourceToManagedInstance.ts.html |here} to see how to use AttachChildSoftwareSourceToManagedInstance API. - */ - public async attachChildSoftwareSourceToManagedInstance( - attachChildSoftwareSourceToManagedInstanceRequest: requests.AttachChildSoftwareSourceToManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#attachChildSoftwareSourceToManagedInstance." - ); - const operationName = "attachChildSoftwareSourceToManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/AttachChildSoftwareSourceToManagedInstance"; - const pathParams = { - "{managedInstanceId}": attachChildSoftwareSourceToManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": attachChildSoftwareSourceToManagedInstanceRequest.opcRequestId, - "opc-retry-token": attachChildSoftwareSourceToManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - attachChildSoftwareSourceToManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/attachChildSoftwareSource", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - attachChildSoftwareSourceToManagedInstanceRequest.attachChildSoftwareSourceToManagedInstanceDetails, - "AttachChildSoftwareSourceToManagedInstanceDetails", - model.AttachChildSoftwareSourceToManagedInstanceDetails.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; - } - } - - /** - * Adds a Managed Instance to a Managed Instance Group. After the Managed - * Instance has been added, then operations can be performed on the Managed - * Instance Group which will then apply to all Managed Instances in the - * group. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param AttachManagedInstanceToManagedInstanceGroupRequest - * @return AttachManagedInstanceToManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/AttachManagedInstanceToManagedInstanceGroup.ts.html |here} to see how to use AttachManagedInstanceToManagedInstanceGroup API. - */ - public async attachManagedInstanceToManagedInstanceGroup( - attachManagedInstanceToManagedInstanceGroupRequest: requests.AttachManagedInstanceToManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#attachManagedInstanceToManagedInstanceGroup." - ); - const operationName = "attachManagedInstanceToManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/AttachManagedInstanceToManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": - attachManagedInstanceToManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = { - "managedInstanceId": attachManagedInstanceToManagedInstanceGroupRequest.managedInstanceId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": attachManagedInstanceToManagedInstanceGroupRequest.opcRequestId, - "opc-retry-token": attachManagedInstanceToManagedInstanceGroupRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - attachManagedInstanceToManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}/actions/attachManagedInstance", - 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" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Adds a parent software source to a managed instance. After the software - * source has been added, then packages from that software source can be - * installed on the managed instance. Software sources that have this - * software source as a parent will be able to be added to this managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param AttachParentSoftwareSourceToManagedInstanceRequest - * @return AttachParentSoftwareSourceToManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/AttachParentSoftwareSourceToManagedInstance.ts.html |here} to see how to use AttachParentSoftwareSourceToManagedInstance API. - */ - public async attachParentSoftwareSourceToManagedInstance( - attachParentSoftwareSourceToManagedInstanceRequest: requests.AttachParentSoftwareSourceToManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#attachParentSoftwareSourceToManagedInstance." - ); - const operationName = "attachParentSoftwareSourceToManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/AttachParentSoftwareSourceToManagedInstance"; - const pathParams = { - "{managedInstanceId}": attachParentSoftwareSourceToManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": attachParentSoftwareSourceToManagedInstanceRequest.opcRequestId, - "opc-retry-token": attachParentSoftwareSourceToManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - attachParentSoftwareSourceToManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/attachParentSoftwareSource", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - attachParentSoftwareSourceToManagedInstanceRequest.attachParentSoftwareSourceToManagedInstanceDetails, - "AttachParentSoftwareSourceToManagedInstanceDetails", - model.AttachParentSoftwareSourceToManagedInstanceDetails.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 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 ChangeManagedInstanceGroupCompartmentRequest - * @return ChangeManagedInstanceGroupCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ChangeManagedInstanceGroupCompartment.ts.html |here} to see how to use ChangeManagedInstanceGroupCompartment API. - */ - public async changeManagedInstanceGroupCompartment( - changeManagedInstanceGroupCompartmentRequest: requests.ChangeManagedInstanceGroupCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#changeManagedInstanceGroupCompartment." - ); - const operationName = "changeManagedInstanceGroupCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/ChangeManagedInstanceGroupCompartment"; - const pathParams = { - "{managedInstanceGroupId}": - changeManagedInstanceGroupCompartmentRequest.managedInstanceGroupId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": changeManagedInstanceGroupCompartmentRequest.opcRequestId, - "if-match": changeManagedInstanceGroupCompartmentRequest.ifMatch, - "opc-retry-token": changeManagedInstanceGroupCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeManagedInstanceGroupCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeManagedInstanceGroupCompartmentRequest.changeManagedInstanceGroupCompartmentDetails, - "ChangeManagedInstanceGroupCompartmentDetails", - model.ChangeManagedInstanceGroupCompartmentDetails.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 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 ChangeScheduledJobCompartmentRequest - * @return ChangeScheduledJobCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ChangeScheduledJobCompartment.ts.html |here} to see how to use ChangeScheduledJobCompartment API. - */ - public async changeScheduledJobCompartment( - changeScheduledJobCompartmentRequest: requests.ChangeScheduledJobCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#changeScheduledJobCompartment."); - const operationName = "changeScheduledJobCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/ChangeScheduledJobCompartment"; - const pathParams = { - "{scheduledJobId}": changeScheduledJobCompartmentRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": changeScheduledJobCompartmentRequest.opcRequestId, - "if-match": changeScheduledJobCompartmentRequest.ifMatch, - "opc-retry-token": changeScheduledJobCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeScheduledJobCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeScheduledJobCompartmentRequest.changeScheduledJobCompartmentDetails, - "ChangeScheduledJobCompartmentDetails", - model.ChangeScheduledJobCompartmentDetails.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 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 ChangeSoftwareSourceCompartmentRequest - * @return ChangeSoftwareSourceCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ChangeSoftwareSourceCompartment.ts.html |here} to see how to use ChangeSoftwareSourceCompartment API. - */ - public async changeSoftwareSourceCompartment( - changeSoftwareSourceCompartmentRequest: requests.ChangeSoftwareSourceCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#changeSoftwareSourceCompartment."); - const operationName = "changeSoftwareSourceCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/ChangeSoftwareSourceCompartment"; - const pathParams = { - "{softwareSourceId}": changeSoftwareSourceCompartmentRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": changeSoftwareSourceCompartmentRequest.opcRequestId, - "if-match": changeSoftwareSourceCompartmentRequest.ifMatch, - "opc-retry-token": changeSoftwareSourceCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeSoftwareSourceCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeSoftwareSourceCompartmentRequest.changeSoftwareSourceCompartmentDetails, - "ChangeSoftwareSourceCompartmentDetails", - model.ChangeSoftwareSourceCompartmentDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new Managed Instance Group on the management system. - * This will not contain any managed instances after it is first created, - * and they must be added later. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateManagedInstanceGroupRequest - * @return CreateManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/CreateManagedInstanceGroup.ts.html |here} to see how to use CreateManagedInstanceGroup API. - */ - public async createManagedInstanceGroup( - createManagedInstanceGroupRequest: requests.CreateManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#createManagedInstanceGroup."); - const operationName = "createManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/CreateManagedInstanceGroup"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createManagedInstanceGroupRequest.opcRequestId, - "opc-retry-token": createManagedInstanceGroupRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createManagedInstanceGroupRequest.createManagedInstanceGroupDetails, - "CreateManagedInstanceGroupDetails", - model.CreateManagedInstanceGroupDetails.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: "managedInstanceGroup", - bodyModel: model.ManagedInstanceGroup, - type: "model.ManagedInstanceGroup", - responseHeaders: [ - { - value: response.headers.get("Location"), - key: "location", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new Scheduled Job to perform a specific package operation on - * a set of managed instances or managed instance groups. Can be created - * as a one-time execution in the future, or as a recurring execution - * that repeats on a defined interval. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateScheduledJobRequest - * @return CreateScheduledJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/CreateScheduledJob.ts.html |here} to see how to use CreateScheduledJob API. - */ - public async createScheduledJob( - createScheduledJobRequest: requests.CreateScheduledJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#createScheduledJob."); - const operationName = "createScheduledJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/CreateScheduledJob"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createScheduledJobRequest.opcRequestId, - "opc-retry-token": createScheduledJobRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createScheduledJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createScheduledJobRequest.createScheduledJobDetails, - "CreateScheduledJobDetails", - model.CreateScheduledJobDetails.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: "scheduledJob", - bodyModel: model.ScheduledJob, - type: "model.ScheduledJob", - responseHeaders: [ - { - value: response.headers.get("Location"), - key: "location", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new custom Software Source on the management system. - * This will not contain any packages after it is first created, - * and they must be added later. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param CreateSoftwareSourceRequest - * @return CreateSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/CreateSoftwareSource.ts.html |here} to see how to use CreateSoftwareSource API. - */ - public async createSoftwareSource( - createSoftwareSourceRequest: requests.CreateSoftwareSourceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#createSoftwareSource."); - const operationName = "createSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/CreateSoftwareSource"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": createSoftwareSourceRequest.opcRequestId, - "opc-retry-token": createSoftwareSourceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createSoftwareSourceRequest.createSoftwareSourceDetails, - "CreateSoftwareSourceDetails", - model.CreateSoftwareSourceDetails.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: "softwareSource", - bodyModel: model.SoftwareSource, - type: "model.SoftwareSource", - responseHeaders: [ - { - value: response.headers.get("Location"), - key: "location", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Deletes a Managed Instance Group from the management system - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteManagedInstanceGroupRequest - * @return DeleteManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DeleteManagedInstanceGroup.ts.html |here} to see how to use DeleteManagedInstanceGroup API. - */ - public async deleteManagedInstanceGroup( - deleteManagedInstanceGroupRequest: requests.DeleteManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#deleteManagedInstanceGroup."); - const operationName = "deleteManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/DeleteManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": deleteManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": deleteManagedInstanceGroupRequest.opcRequestId, - "if-match": deleteManagedInstanceGroupRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Cancels an existing Scheduled Job on the management system - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteScheduledJobRequest - * @return DeleteScheduledJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DeleteScheduledJob.ts.html |here} to see how to use DeleteScheduledJob API. - */ - public async deleteScheduledJob( - deleteScheduledJobRequest: requests.DeleteScheduledJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#deleteScheduledJob."); - const operationName = "deleteScheduledJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/DeleteScheduledJob"; - const pathParams = { - "{scheduledJobId}": deleteScheduledJobRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": deleteScheduledJobRequest.opcRequestId, - "if-match": deleteScheduledJobRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteScheduledJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Deletes a custom Software Source on the management system - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DeleteSoftwareSourceRequest - * @return DeleteSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DeleteSoftwareSource.ts.html |here} to see how to use DeleteSoftwareSource API. - */ - public async deleteSoftwareSource( - deleteSoftwareSourceRequest: requests.DeleteSoftwareSourceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#deleteSoftwareSource."); - const operationName = "deleteSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/DeleteSoftwareSource"; - const pathParams = { - "{softwareSourceId}": deleteSoftwareSourceRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": deleteSoftwareSourceRequest.opcRequestId, - "if-match": deleteSoftwareSourceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Removes a child software source from a managed instance. Packages will no longer be able to be - * installed from these software sources. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DetachChildSoftwareSourceFromManagedInstanceRequest - * @return DetachChildSoftwareSourceFromManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DetachChildSoftwareSourceFromManagedInstance.ts.html |here} to see how to use DetachChildSoftwareSourceFromManagedInstance API. - */ - public async detachChildSoftwareSourceFromManagedInstance( - detachChildSoftwareSourceFromManagedInstanceRequest: requests.DetachChildSoftwareSourceFromManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#detachChildSoftwareSourceFromManagedInstance." - ); - const operationName = "detachChildSoftwareSourceFromManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/DetachChildSoftwareSourceFromManagedInstance"; - const pathParams = { - "{managedInstanceId}": detachChildSoftwareSourceFromManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": detachChildSoftwareSourceFromManagedInstanceRequest.opcRequestId, - "opc-retry-token": detachChildSoftwareSourceFromManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - detachChildSoftwareSourceFromManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/detachChildSoftwareSource", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - detachChildSoftwareSourceFromManagedInstanceRequest.detachChildSoftwareSourceFromManagedInstanceDetails, - "DetachChildSoftwareSourceFromManagedInstanceDetails", - model.DetachChildSoftwareSourceFromManagedInstanceDetails.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; - } - } - - /** - * Removes a Managed Instance from a Managed Instance Group. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DetachManagedInstanceFromManagedInstanceGroupRequest - * @return DetachManagedInstanceFromManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.ts.html |here} to see how to use DetachManagedInstanceFromManagedInstanceGroup API. - */ - public async detachManagedInstanceFromManagedInstanceGroup( - detachManagedInstanceFromManagedInstanceGroupRequest: requests.DetachManagedInstanceFromManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#detachManagedInstanceFromManagedInstanceGroup." - ); - const operationName = "detachManagedInstanceFromManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/DetachManagedInstanceFromManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": - detachManagedInstanceFromManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = { - "managedInstanceId": detachManagedInstanceFromManagedInstanceGroupRequest.managedInstanceId - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": detachManagedInstanceFromManagedInstanceGroupRequest.opcRequestId, - "opc-retry-token": detachManagedInstanceFromManagedInstanceGroupRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - detachManagedInstanceFromManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}/actions/detachManagedInstance", - 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" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Removes a software source from a managed instance. All child software sources will also be removed - * from the managed instance. Packages will no longer be able to be installed from these software sources. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DetachParentSoftwareSourceFromManagedInstanceRequest - * @return DetachParentSoftwareSourceFromManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DetachParentSoftwareSourceFromManagedInstance.ts.html |here} to see how to use DetachParentSoftwareSourceFromManagedInstance API. - */ - public async detachParentSoftwareSourceFromManagedInstance( - detachParentSoftwareSourceFromManagedInstanceRequest: requests.DetachParentSoftwareSourceFromManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#detachParentSoftwareSourceFromManagedInstance." - ); - const operationName = "detachParentSoftwareSourceFromManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/DetachParentSoftwareSourceFromManagedInstance"; - const pathParams = { - "{managedInstanceId}": detachParentSoftwareSourceFromManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": detachParentSoftwareSourceFromManagedInstanceRequest.opcRequestId, - "opc-retry-token": detachParentSoftwareSourceFromManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - detachParentSoftwareSourceFromManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/detachParentSoftwareSource", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - detachParentSoftwareSourceFromManagedInstanceRequest.detachParentSoftwareSourceFromManagedInstanceDetails, - "DetachParentSoftwareSourceFromManagedInstanceDetails", - model.DetachParentSoftwareSourceFromManagedInstanceDetails.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; - } - } - - /** - * Disables a module stream on a managed instance. After the stream is - * disabled, it is no longer possible to install the profiles that are - * contained by the stream. All installed profiles must be removed prior - * to disabling a module stream. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param DisableModuleStreamOnManagedInstanceRequest - * @return DisableModuleStreamOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/DisableModuleStreamOnManagedInstance.ts.html |here} to see how to use DisableModuleStreamOnManagedInstance API. - */ - public async disableModuleStreamOnManagedInstance( - disableModuleStreamOnManagedInstanceRequest: requests.DisableModuleStreamOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#disableModuleStreamOnManagedInstance." - ); - const operationName = "disableModuleStreamOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamDetails/DisableModuleStreamOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": disableModuleStreamOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "moduleName": disableModuleStreamOnManagedInstanceRequest.moduleName, - "streamName": disableModuleStreamOnManagedInstanceRequest.streamName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": disableModuleStreamOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": disableModuleStreamOnManagedInstanceRequest.opcRetryToken, - "if-match": disableModuleStreamOnManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - disableModuleStreamOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/moduleStreams/disable", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Enables a module stream on a managed instance. After the stream is - * enabled, it is possible to install the profiles that are contained - * by the stream. Enabling a stream that is already enabled will - * succeed. Attempting to enable a different stream for a module that - * already has a stream enabled results in an error. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param EnableModuleStreamOnManagedInstanceRequest - * @return EnableModuleStreamOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/EnableModuleStreamOnManagedInstance.ts.html |here} to see how to use EnableModuleStreamOnManagedInstance API. - */ - public async enableModuleStreamOnManagedInstance( - enableModuleStreamOnManagedInstanceRequest: requests.EnableModuleStreamOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#enableModuleStreamOnManagedInstance." - ); - const operationName = "enableModuleStreamOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamDetails/EnableModuleStreamOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": enableModuleStreamOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "moduleName": enableModuleStreamOnManagedInstanceRequest.moduleName, - "streamName": enableModuleStreamOnManagedInstanceRequest.streamName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": enableModuleStreamOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": enableModuleStreamOnManagedInstanceRequest.opcRetryToken, - "if-match": enableModuleStreamOnManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - enableModuleStreamOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/moduleStreams/enable", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a specific erratum. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetErratumRequest - * @return GetErratumResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetErratum.ts.html |here} to see how to use GetErratum API. - */ - public async getErratum( - getErratumRequest: requests.GetErratumRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getErratum."); - const operationName = "getErratum"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/Erratum/GetErratum"; - const pathParams = { - "{erratumId}": getErratumRequest.erratumId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getErratumRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getErratumRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/errata/{erratumId}", - 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: "erratum", - bodyModel: model.Erratum, - type: "model.Erratum", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a specific Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetManagedInstanceRequest - * @return GetManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetManagedInstance.ts.html |here} to see how to use GetManagedInstance API. - */ - public async getManagedInstance( - getManagedInstanceRequest: requests.GetManagedInstanceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getManagedInstance."); - const operationName = "getManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/GetManagedInstance"; - const pathParams = { - "{managedInstanceId}": getManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}", - 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: "managedInstance", - bodyModel: model.ManagedInstance, - type: "model.ManagedInstance", - 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; - } - } - - /** - * Returns a specific Managed Instance Group. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetManagedInstanceGroupRequest - * @return GetManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetManagedInstanceGroup.ts.html |here} to see how to use GetManagedInstanceGroup API. - */ - public async getManagedInstanceGroup( - getManagedInstanceGroupRequest: requests.GetManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#getManagedInstanceGroup."); - const operationName = "getManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/GetManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": getManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getManagedInstanceGroupRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}", - 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: "managedInstanceGroup", - bodyModel: model.ManagedInstanceGroup, - type: "model.ManagedInstanceGroup", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Retrieve a detailed description of a module stream from a software source. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetModuleStreamRequest - * @return GetModuleStreamResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetModuleStream.ts.html |here} to see how to use GetModuleStream API. - */ - public async getModuleStream( - getModuleStreamRequest: requests.GetModuleStreamRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getModuleStream."); - const operationName = "getModuleStream"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStream/GetModuleStream"; - const pathParams = { - "{softwareSourceId}": getModuleStreamRequest.softwareSourceId, - "{moduleName}": getModuleStreamRequest.moduleName, - "{streamName}": getModuleStreamRequest.streamName - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getModuleStreamRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getModuleStreamRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/modules/{moduleName}/streams/{streamName}", - 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: "moduleStream", - bodyModel: model.ModuleStream, - type: "model.ModuleStream", - 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; - } - } - - /** - * Retrieve a detailed description of a module stream profile from a software source. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetModuleStreamProfileRequest - * @return GetModuleStreamProfileResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetModuleStreamProfile.ts.html |here} to see how to use GetModuleStreamProfile API. - */ - public async getModuleStreamProfile( - getModuleStreamProfileRequest: requests.GetModuleStreamProfileRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#getModuleStreamProfile."); - const operationName = "getModuleStreamProfile"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamProfile/GetModuleStreamProfile"; - const pathParams = { - "{softwareSourceId}": getModuleStreamProfileRequest.softwareSourceId, - "{moduleName}": getModuleStreamProfileRequest.moduleName, - "{streamName}": getModuleStreamProfileRequest.streamName, - "{profileName}": getModuleStreamProfileRequest.profileName - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getModuleStreamProfileRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getModuleStreamProfileRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: - "/softwareSources/{softwareSourceId}/modules/{moduleName}/streams/{streamName}/profiles/{profileName}", - 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: "moduleStreamProfile", - bodyModel: model.ModuleStreamProfile, - type: "model.ModuleStreamProfile", - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets the detailed information for the Scheduled Job with the given ID. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetScheduledJobRequest - * @return GetScheduledJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetScheduledJob.ts.html |here} to see how to use GetScheduledJob API. - */ - public async getScheduledJob( - getScheduledJobRequest: requests.GetScheduledJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getScheduledJob."); - const operationName = "getScheduledJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/GetScheduledJob"; - const pathParams = { - "{scheduledJobId}": getScheduledJobRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getScheduledJobRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getScheduledJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}", - 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: "scheduledJob", - bodyModel: model.ScheduledJob, - type: "model.ScheduledJob", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a specific Software Package. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetSoftwarePackageRequest - * @return GetSoftwarePackageResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetSoftwarePackage.ts.html |here} to see how to use GetSoftwarePackage API. - */ - public async getSoftwarePackage( - getSoftwarePackageRequest: requests.GetSoftwarePackageRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getSoftwarePackage."); - const operationName = "getSoftwarePackage"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/GetSoftwarePackage"; - const pathParams = { - "{softwareSourceId}": getSoftwarePackageRequest.softwareSourceId, - "{softwarePackageName}": getSoftwarePackageRequest.softwarePackageName - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getSoftwarePackageRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getSoftwarePackageRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/softwarePackages/{softwarePackageName}", - 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: "softwarePackage", - bodyModel: model.SoftwarePackage, - type: "model.SoftwarePackage", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a specific Software Source. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetSoftwareSourceRequest - * @return GetSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetSoftwareSource.ts.html |here} to see how to use GetSoftwareSource API. - */ - public async getSoftwareSource( - getSoftwareSourceRequest: requests.GetSoftwareSourceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getSoftwareSource."); - const operationName = "getSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/GetSoftwareSource"; - const pathParams = { - "{softwareSourceId}": getSoftwareSourceRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getSoftwareSourceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}", - 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: "softwareSource", - bodyModel: model.SoftwareSource, - type: "model.SoftwareSource", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a Windows Update object. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetWindowsUpdateRequest - * @return GetWindowsUpdateResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetWindowsUpdate.ts.html |here} to see how to use GetWindowsUpdate API. - */ - public async getWindowsUpdate( - getWindowsUpdateRequest: requests.GetWindowsUpdateRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getWindowsUpdate."); - const operationName = "getWindowsUpdate"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WindowsUpdate/GetWindowsUpdate"; - const pathParams = { - "{windowsUpdate}": getWindowsUpdateRequest.windowsUpdate - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getWindowsUpdateRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getWindowsUpdateRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/updates/{windowsUpdate}", - 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: "windowsUpdate", - bodyModel: model.WindowsUpdate, - type: "model.WindowsUpdate", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets the detailed information for the work request with the given ID. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param GetWorkRequestRequest - * @return GetWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. - */ - public async getWorkRequest( - getWorkRequestRequest: requests.GetWorkRequestRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#getWorkRequest."); - const operationName = "getWorkRequest"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WorkRequest/GetWorkRequest"; - const pathParams = { - "{workRequestId}": getWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequest", - bodyModel: model.WorkRequest, - type: "model.WorkRequest", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Install all of the available package updates for the managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallAllPackageUpdatesOnManagedInstanceRequest - * @return InstallAllPackageUpdatesOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallAllPackageUpdatesOnManagedInstance.ts.html |here} to see how to use InstallAllPackageUpdatesOnManagedInstance API. - */ - public async installAllPackageUpdatesOnManagedInstance( - installAllPackageUpdatesOnManagedInstanceRequest: requests.InstallAllPackageUpdatesOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installAllPackageUpdatesOnManagedInstance." - ); - const operationName = "installAllPackageUpdatesOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/InstallAllPackageUpdatesOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installAllPackageUpdatesOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "updateType": installAllPackageUpdatesOnManagedInstanceRequest.updateType - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installAllPackageUpdatesOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installAllPackageUpdatesOnManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installAllPackageUpdatesOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/packages/updateAll", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Install all of the available updates for the Managed Instance Group. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallAllUpdatesOnManagedInstanceGroupRequest - * @return InstallAllUpdatesOnManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallAllUpdatesOnManagedInstanceGroup.ts.html |here} to see how to use InstallAllUpdatesOnManagedInstanceGroup API. - */ - public async installAllUpdatesOnManagedInstanceGroup( - installAllUpdatesOnManagedInstanceGroupRequest: requests.InstallAllUpdatesOnManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installAllUpdatesOnManagedInstanceGroup." - ); - const operationName = "installAllUpdatesOnManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/InstallAllUpdatesOnManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": - installAllUpdatesOnManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = { - "updateType": installAllUpdatesOnManagedInstanceGroupRequest.updateType - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installAllUpdatesOnManagedInstanceGroupRequest.opcRequestId, - "opc-retry-token": installAllUpdatesOnManagedInstanceGroupRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installAllUpdatesOnManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}/actions/updates/installAll", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Install all of the available Windows updates for the managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallAllWindowsUpdatesOnManagedInstanceRequest - * @return InstallAllWindowsUpdatesOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.ts.html |here} to see how to use InstallAllWindowsUpdatesOnManagedInstance API. - */ - public async installAllWindowsUpdatesOnManagedInstance( - installAllWindowsUpdatesOnManagedInstanceRequest: requests.InstallAllWindowsUpdatesOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installAllWindowsUpdatesOnManagedInstance." - ); - const operationName = "installAllWindowsUpdatesOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/InstallAllWindowsUpdatesOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installAllWindowsUpdatesOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "updateType": installAllWindowsUpdatesOnManagedInstanceRequest.updateType - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installAllWindowsUpdatesOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installAllWindowsUpdatesOnManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installAllWindowsUpdatesOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/updates/installAll", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Installs a profile for an module stream. The stream must be - * enabled before a profile can be installed. If a module stream - * defines multiple profiles, each one can be installed independently. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallModuleStreamProfileOnManagedInstanceRequest - * @return InstallModuleStreamProfileOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallModuleStreamProfileOnManagedInstance.ts.html |here} to see how to use InstallModuleStreamProfileOnManagedInstance API. - */ - public async installModuleStreamProfileOnManagedInstance( - installModuleStreamProfileOnManagedInstanceRequest: requests.InstallModuleStreamProfileOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installModuleStreamProfileOnManagedInstance." - ); - const operationName = "installModuleStreamProfileOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamProfileDetails/InstallModuleStreamProfileOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installModuleStreamProfileOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "moduleName": installModuleStreamProfileOnManagedInstanceRequest.moduleName, - "streamName": installModuleStreamProfileOnManagedInstanceRequest.streamName, - "profileName": installModuleStreamProfileOnManagedInstanceRequest.profileName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installModuleStreamProfileOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installModuleStreamProfileOnManagedInstanceRequest.opcRetryToken, - "if-match": installModuleStreamProfileOnManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installModuleStreamProfileOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/streamProfiles/install", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Installs a package on a managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallPackageOnManagedInstanceRequest - * @return InstallPackageOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallPackageOnManagedInstance.ts.html |here} to see how to use InstallPackageOnManagedInstance API. - */ - public async installPackageOnManagedInstance( - installPackageOnManagedInstanceRequest: requests.InstallPackageOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#installPackageOnManagedInstance."); - const operationName = "installPackageOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/InstallPackageOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installPackageOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "softwarePackageName": installPackageOnManagedInstanceRequest.softwarePackageName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installPackageOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installPackageOnManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installPackageOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/packages/install", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates a package on a managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallPackageUpdateOnManagedInstanceRequest - * @return InstallPackageUpdateOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallPackageUpdateOnManagedInstance.ts.html |here} to see how to use InstallPackageUpdateOnManagedInstance API. - */ - public async installPackageUpdateOnManagedInstance( - installPackageUpdateOnManagedInstanceRequest: requests.InstallPackageUpdateOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installPackageUpdateOnManagedInstance." - ); - const operationName = "installPackageUpdateOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/InstallPackageUpdateOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installPackageUpdateOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "softwarePackageName": installPackageUpdateOnManagedInstanceRequest.softwarePackageName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installPackageUpdateOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installPackageUpdateOnManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installPackageUpdateOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/packages/update", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Installs a Windows update on a managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param InstallWindowsUpdateOnManagedInstanceRequest - * @return InstallWindowsUpdateOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/InstallWindowsUpdateOnManagedInstance.ts.html |here} to see how to use InstallWindowsUpdateOnManagedInstance API. - */ - public async installWindowsUpdateOnManagedInstance( - installWindowsUpdateOnManagedInstanceRequest: requests.InstallWindowsUpdateOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#installWindowsUpdateOnManagedInstance." - ); - const operationName = "installWindowsUpdateOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/InstallWindowsUpdateOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": installWindowsUpdateOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "windowsUpdateName": installWindowsUpdateOnManagedInstanceRequest.windowsUpdateName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": installWindowsUpdateOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": installWindowsUpdateOnManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - installWindowsUpdateOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/updates/install", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a list of packages available for install on the Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListAvailablePackagesForManagedInstanceRequest - * @return ListAvailablePackagesForManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListAvailablePackagesForManagedInstance.ts.html |here} to see how to use ListAvailablePackagesForManagedInstance API. - */ - public async listAvailablePackagesForManagedInstance( - listAvailablePackagesForManagedInstanceRequest: requests.ListAvailablePackagesForManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listAvailablePackagesForManagedInstance." - ); - const operationName = "listAvailablePackagesForManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListAvailablePackagesForManagedInstance"; - const pathParams = { - "{managedInstanceId}": listAvailablePackagesForManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listAvailablePackagesForManagedInstanceRequest.displayName, - "compartmentId": listAvailablePackagesForManagedInstanceRequest.compartmentId, - "limit": listAvailablePackagesForManagedInstanceRequest.limit, - "page": listAvailablePackagesForManagedInstanceRequest.page, - "sortOrder": listAvailablePackagesForManagedInstanceRequest.sortOrder, - "sortBy": listAvailablePackagesForManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAvailablePackagesForManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAvailablePackagesForManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/packages/available", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.InstallablePackageSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listAvailablePackagesForManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.InstallablePackageSummary objects - * contained in responses from the listAvailablePackagesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailablePackagesForManagedInstance( - request: requests.ListAvailablePackagesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailablePackagesForManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listAvailablePackagesForManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listAvailablePackagesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailablePackagesForManagedInstanceResponses( - request: requests.ListAvailablePackagesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listAvailablePackagesForManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.InstallablePackageSummary objects - * contained in responses from the listAvailablePackagesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailablePackagesForManagedInstanceRecordIterator( - request: requests.ListAvailablePackagesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailablePackagesForManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listAvailablePackagesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailablePackagesForManagedInstanceResponseIterator( - request: requests.ListAvailablePackagesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listAvailablePackagesForManagedInstance(req)); - } - - /** - * Returns a list of available software sources for a Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListAvailableSoftwareSourcesForManagedInstanceRequest - * @return ListAvailableSoftwareSourcesForManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.ts.html |here} to see how to use ListAvailableSoftwareSourcesForManagedInstance API. - */ - public async listAvailableSoftwareSourcesForManagedInstance( - listAvailableSoftwareSourcesForManagedInstanceRequest: requests.ListAvailableSoftwareSourcesForManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listAvailableSoftwareSourcesForManagedInstance." - ); - const operationName = "listAvailableSoftwareSourcesForManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListAvailableSoftwareSourcesForManagedInstance"; - const pathParams = { - "{managedInstanceId}": listAvailableSoftwareSourcesForManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listAvailableSoftwareSourcesForManagedInstanceRequest.displayName, - "compartmentId": listAvailableSoftwareSourcesForManagedInstanceRequest.compartmentId, - "limit": listAvailableSoftwareSourcesForManagedInstanceRequest.limit, - "page": listAvailableSoftwareSourcesForManagedInstanceRequest.page, - "sortOrder": listAvailableSoftwareSourcesForManagedInstanceRequest.sortOrder, - "sortBy": listAvailableSoftwareSourcesForManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAvailableSoftwareSourcesForManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAvailableSoftwareSourcesForManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/availableSoftwareSources", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.AvailableSoftwareSourceSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listAvailableSoftwareSourcesForManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.AvailableSoftwareSourceSummary objects - * contained in responses from the listAvailableSoftwareSourcesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableSoftwareSourcesForManagedInstance( - request: requests.ListAvailableSoftwareSourcesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => - this.listAvailableSoftwareSourcesForManagedInstance(req) - ); - } - - /** - * NOTE: This function is deprecated in favor of listAvailableSoftwareSourcesForManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listAvailableSoftwareSourcesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableSoftwareSourcesForManagedInstanceResponses( - request: requests.ListAvailableSoftwareSourcesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listAvailableSoftwareSourcesForManagedInstance(req) - ); - } - - /** - * Creates a new async iterator which will iterate over the models.AvailableSoftwareSourceSummary objects - * contained in responses from the listAvailableSoftwareSourcesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableSoftwareSourcesForManagedInstanceRecordIterator( - request: requests.ListAvailableSoftwareSourcesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => - this.listAvailableSoftwareSourcesForManagedInstance(req) - ); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listAvailableSoftwareSourcesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableSoftwareSourcesForManagedInstanceResponseIterator( - request: requests.ListAvailableSoftwareSourcesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listAvailableSoftwareSourcesForManagedInstance(req) - ); - } - - /** - * Returns a list of available updates for a Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListAvailableUpdatesForManagedInstanceRequest - * @return ListAvailableUpdatesForManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListAvailableUpdatesForManagedInstance.ts.html |here} to see how to use ListAvailableUpdatesForManagedInstance API. - */ - public async listAvailableUpdatesForManagedInstance( - listAvailableUpdatesForManagedInstanceRequest: requests.ListAvailableUpdatesForManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listAvailableUpdatesForManagedInstance." - ); - const operationName = "listAvailableUpdatesForManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListAvailableUpdatesForManagedInstance"; - const pathParams = { - "{managedInstanceId}": listAvailableUpdatesForManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listAvailableUpdatesForManagedInstanceRequest.displayName, - "compartmentId": listAvailableUpdatesForManagedInstanceRequest.compartmentId, - "limit": listAvailableUpdatesForManagedInstanceRequest.limit, - "page": listAvailableUpdatesForManagedInstanceRequest.page, - "sortOrder": listAvailableUpdatesForManagedInstanceRequest.sortOrder, - "sortBy": listAvailableUpdatesForManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAvailableUpdatesForManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAvailableUpdatesForManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/packages/updates", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.AvailableUpdateSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listAvailableUpdatesForManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.AvailableUpdateSummary objects - * contained in responses from the listAvailableUpdatesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableUpdatesForManagedInstance( - request: requests.ListAvailableUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailableUpdatesForManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listAvailableUpdatesForManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listAvailableUpdatesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableUpdatesForManagedInstanceResponses( - request: requests.ListAvailableUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listAvailableUpdatesForManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.AvailableUpdateSummary objects - * contained in responses from the listAvailableUpdatesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableUpdatesForManagedInstanceRecordIterator( - request: requests.ListAvailableUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailableUpdatesForManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listAvailableUpdatesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableUpdatesForManagedInstanceResponseIterator( - request: requests.ListAvailableUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listAvailableUpdatesForManagedInstance(req)); - } - - /** - * Returns a list of available Windows updates for a Managed Instance. This is only applicable to Windows instances. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListAvailableWindowsUpdatesForManagedInstanceRequest - * @return ListAvailableWindowsUpdatesForManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.ts.html |here} to see how to use ListAvailableWindowsUpdatesForManagedInstance API. - */ - public async listAvailableWindowsUpdatesForManagedInstance( - listAvailableWindowsUpdatesForManagedInstanceRequest: requests.ListAvailableWindowsUpdatesForManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listAvailableWindowsUpdatesForManagedInstance." - ); - const operationName = "listAvailableWindowsUpdatesForManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListAvailableWindowsUpdatesForManagedInstance"; - const pathParams = { - "{managedInstanceId}": listAvailableWindowsUpdatesForManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listAvailableWindowsUpdatesForManagedInstanceRequest.displayName, - "compartmentId": listAvailableWindowsUpdatesForManagedInstanceRequest.compartmentId, - "limit": listAvailableWindowsUpdatesForManagedInstanceRequest.limit, - "page": listAvailableWindowsUpdatesForManagedInstanceRequest.page, - "sortOrder": listAvailableWindowsUpdatesForManagedInstanceRequest.sortOrder, - "sortBy": listAvailableWindowsUpdatesForManagedInstanceRequest.sortBy, - "isEligibleForInstallation": - listAvailableWindowsUpdatesForManagedInstanceRequest.isEligibleForInstallation - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAvailableWindowsUpdatesForManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAvailableWindowsUpdatesForManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/updates/available", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.AvailableWindowsUpdateSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listAvailableWindowsUpdatesForManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.AvailableWindowsUpdateSummary objects - * contained in responses from the listAvailableWindowsUpdatesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableWindowsUpdatesForManagedInstance( - request: requests.ListAvailableWindowsUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailableWindowsUpdatesForManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listAvailableWindowsUpdatesForManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listAvailableWindowsUpdatesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllAvailableWindowsUpdatesForManagedInstanceResponses( - request: requests.ListAvailableWindowsUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listAvailableWindowsUpdatesForManagedInstance(req) - ); - } - - /** - * Creates a new async iterator which will iterate over the models.AvailableWindowsUpdateSummary objects - * contained in responses from the listAvailableWindowsUpdatesForManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableWindowsUpdatesForManagedInstanceRecordIterator( - request: requests.ListAvailableWindowsUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listAvailableWindowsUpdatesForManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listAvailableWindowsUpdatesForManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAvailableWindowsUpdatesForManagedInstanceResponseIterator( - request: requests.ListAvailableWindowsUpdatesForManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listAvailableWindowsUpdatesForManagedInstance(req) - ); - } - - /** - * Returns a list of all of the currently available Errata in the system - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListErrataRequest - * @return ListErrataResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListErrata.ts.html |here} to see how to use ListErrata API. - */ - public async listErrata( - listErrataRequest: requests.ListErrataRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listErrata."); - const operationName = "listErrata"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ErratumSummary/ListErrata"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listErrataRequest.compartmentId, - "erratumId": listErrataRequest.erratumId, - "advisoryName": listErrataRequest.advisoryName, - "timeIssueDateStart": listErrataRequest.timeIssueDateStart, - "timeIssueDateEnd": listErrataRequest.timeIssueDateEnd, - "limit": listErrataRequest.limit, - "page": listErrataRequest.page, - "sortOrder": listErrataRequest.sortOrder, - "sortBy": listErrataRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listErrataRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listErrataRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/errata", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ErratumSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listErrataRecordIterator function. - * Creates a new async iterator which will iterate over the models.ErratumSummary objects - * contained in responses from the listErrata operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllErrata( - request: requests.ListErrataRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listErrata(req)); - } - - /** - * NOTE: This function is deprecated in favor of listErrataResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listErrata operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllErrataResponses( - request: requests.ListErrataRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listErrata(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ErratumSummary objects - * contained in responses from the listErrata operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listErrataRecordIterator( - request: requests.ListErrataRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listErrata(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listErrata operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listErrataResponseIterator( - request: requests.ListErrataRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listErrata(req)); - } - - /** - * Returns a list of errata relevant to the Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListManagedInstanceErrataRequest - * @return ListManagedInstanceErrataResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListManagedInstanceErrata.ts.html |here} to see how to use ListManagedInstanceErrata API. - */ - public async listManagedInstanceErrata( - listManagedInstanceErrataRequest: requests.ListManagedInstanceErrataRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listManagedInstanceErrata."); - const operationName = "listManagedInstanceErrata"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListManagedInstanceErrata"; - const pathParams = { - "{managedInstanceId}": listManagedInstanceErrataRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listManagedInstanceErrataRequest.displayName, - "compartmentId": listManagedInstanceErrataRequest.compartmentId, - "limit": listManagedInstanceErrataRequest.limit, - "page": listManagedInstanceErrataRequest.page, - "sortOrder": listManagedInstanceErrataRequest.sortOrder, - "sortBy": listManagedInstanceErrataRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listManagedInstanceErrataRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listManagedInstanceErrataRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/errata", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ErratumSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstanceErrataRecordIterator function. - * Creates a new async iterator which will iterate over the models.ErratumSummary objects - * contained in responses from the listManagedInstanceErrata operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstanceErrata( - request: requests.ListManagedInstanceErrataRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstanceErrata(req)); - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstanceErrataResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listManagedInstanceErrata operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstanceErrataResponses( - request: requests.ListManagedInstanceErrataRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstanceErrata(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ErratumSummary objects - * contained in responses from the listManagedInstanceErrata operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstanceErrataRecordIterator( - request: requests.ListManagedInstanceErrataRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstanceErrata(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listManagedInstanceErrata operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstanceErrataResponseIterator( - request: requests.ListManagedInstanceErrataRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstanceErrata(req)); - } - - /** - * Returns a list of all Managed Instance Groups. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListManagedInstanceGroupsRequest - * @return ListManagedInstanceGroupsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListManagedInstanceGroups.ts.html |here} to see how to use ListManagedInstanceGroups API. - */ - public async listManagedInstanceGroups( - listManagedInstanceGroupsRequest: requests.ListManagedInstanceGroupsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listManagedInstanceGroups."); - const operationName = "listManagedInstanceGroups"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroupSummary/ListManagedInstanceGroups"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listManagedInstanceGroupsRequest.compartmentId, - "displayName": listManagedInstanceGroupsRequest.displayName, - "limit": listManagedInstanceGroupsRequest.limit, - "page": listManagedInstanceGroupsRequest.page, - "sortOrder": listManagedInstanceGroupsRequest.sortOrder, - "sortBy": listManagedInstanceGroupsRequest.sortBy, - "lifecycleState": listManagedInstanceGroupsRequest.lifecycleState, - "osFamily": listManagedInstanceGroupsRequest.osFamily - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listManagedInstanceGroupsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listManagedInstanceGroupsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ManagedInstanceGroupSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstanceGroupsRecordIterator function. - * Creates a new async iterator which will iterate over the models.ManagedInstanceGroupSummary objects - * contained in responses from the listManagedInstanceGroups operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstanceGroups( - request: requests.ListManagedInstanceGroupsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstanceGroups(req)); - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstanceGroupsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listManagedInstanceGroups operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstanceGroupsResponses( - request: requests.ListManagedInstanceGroupsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstanceGroups(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ManagedInstanceGroupSummary objects - * contained in responses from the listManagedInstanceGroups operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstanceGroupsRecordIterator( - request: requests.ListManagedInstanceGroupsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstanceGroups(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listManagedInstanceGroups operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstanceGroupsResponseIterator( - request: requests.ListManagedInstanceGroupsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstanceGroups(req)); - } - - /** - * Returns a list of all Managed Instances. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListManagedInstancesRequest - * @return ListManagedInstancesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListManagedInstances.ts.html |here} to see how to use ListManagedInstances API. - */ - public async listManagedInstances( - listManagedInstancesRequest: requests.ListManagedInstancesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listManagedInstances."); - const operationName = "listManagedInstances"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceSummary/ListManagedInstances"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listManagedInstancesRequest.compartmentId, - "displayName": listManagedInstancesRequest.displayName, - "limit": listManagedInstancesRequest.limit, - "page": listManagedInstancesRequest.page, - "sortOrder": listManagedInstancesRequest.sortOrder, - "sortBy": listManagedInstancesRequest.sortBy, - "osFamily": listManagedInstancesRequest.osFamily - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listManagedInstancesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listManagedInstancesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ManagedInstanceSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstancesRecordIterator function. - * Creates a new async iterator which will iterate over the models.ManagedInstanceSummary objects - * contained in responses from the listManagedInstances operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstances( - request: requests.ListManagedInstancesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstances(req)); - } - - /** - * NOTE: This function is deprecated in favor of listManagedInstancesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listManagedInstances operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllManagedInstancesResponses( - request: requests.ListManagedInstancesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstances(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ManagedInstanceSummary objects - * contained in responses from the listManagedInstances operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstancesRecordIterator( - request: requests.ListManagedInstancesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listManagedInstances(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listManagedInstances operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listManagedInstancesResponseIterator( - request: requests.ListManagedInstancesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listManagedInstances(req)); - } - - /** - * Retrieve a list of module stream profiles from a software source. -* Filters may be applied to select a subset of module stream profiles -* based on the filter criteria. -*

-The \"moduleName\", \"streamName\", and \"profileName\" attributes combine -* to form a set of filters on the list of module stream profiles. If -* a \"moduleName\" is provided, only profiles that belong to that module -* are returned. If both a \"moduleName\" and \"streamName\" are given, -* only profiles belonging to that module stream are returned. Finally, -* if all three are given then only the particular profile indicated -* by the triple is returned. It is not valid to supply a \"streamName\" -* without a \"moduleName\". It is also not valid to supply a \"profileName\" -* without a \"streamName\". -* - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListModuleStreamProfilesRequest - * @return ListModuleStreamProfilesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListModuleStreamProfiles.ts.html |here} to see how to use ListModuleStreamProfiles API. - */ - public async listModuleStreamProfiles( - listModuleStreamProfilesRequest: requests.ListModuleStreamProfilesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listModuleStreamProfiles."); - const operationName = "listModuleStreamProfiles"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamProfileSummary/ListModuleStreamProfiles"; - const pathParams = { - "{softwareSourceId}": listModuleStreamProfilesRequest.softwareSourceId - }; - - const queryParams = { - "compartmentId": listModuleStreamProfilesRequest.compartmentId, - "moduleName": listModuleStreamProfilesRequest.moduleName, - "streamName": listModuleStreamProfilesRequest.streamName, - "profileName": listModuleStreamProfilesRequest.profileName, - "limit": listModuleStreamProfilesRequest.limit, - "page": listModuleStreamProfilesRequest.page, - "sortOrder": listModuleStreamProfilesRequest.sortOrder, - "sortBy": listModuleStreamProfilesRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listModuleStreamProfilesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listModuleStreamProfilesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/streamProfiles", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ModuleStreamProfileSummary, - type: "Array", - 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("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamProfilesRecordIterator function. - * Creates a new async iterator which will iterate over the models.ModuleStreamProfileSummary objects - * contained in responses from the listModuleStreamProfiles operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamProfiles( - request: requests.ListModuleStreamProfilesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamProfiles(req)); - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamProfilesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamProfiles operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamProfilesResponses( - request: requests.ListModuleStreamProfilesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamProfiles(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ModuleStreamProfileSummary objects - * contained in responses from the listModuleStreamProfiles operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamProfilesRecordIterator( - request: requests.ListModuleStreamProfilesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamProfiles(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamProfiles operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamProfilesResponseIterator( - request: requests.ListModuleStreamProfilesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamProfiles(req)); - } - - /** - * Retrieve a list of module stream profiles, along with a summary of their -* of their status, from a managed instance. Filters may be applied to -* select a subset of profiles based on the filter criteria. -*

-The \"moduleName\", \"streamName\", and \"profileName\" attributes combine -* to form a set of filters on the list of module stream profiles. If -* a \"modulName\" is provided, only profiles that belong to that module -* are returned. If both a \"moduleName\" and \"streamName\" are given, -* only profiles belonging to that module stream are returned. Finally, -* if all three are given then only the particular profile indicated -* by the triple is returned. It is not valid to supply a \"streamName\" -* without a \"moduleName\". It is also not valid to supply a \"profileName\" -* without a \"streamName\". -*

-The \"status\" attribute filters against the state of a module stream -* profile. Valid values are \"INSTALLED\" and \"AVAILABLE\". If the -* attribute is set to \"INSTALLED\", only module stream profiles that -* are installed are included in the result set. If the attribute is -* set to \"AVAILABLE\", only module stream profiles that are not -* installed are included in the result set. If the attribute is not -* defined, the request is not subject to this filter. -*

-When sorting by display name, the result set is sorted first by -* module name, then by stream name, and finally by profile name. -* - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListModuleStreamProfilesOnManagedInstanceRequest - * @return ListModuleStreamProfilesOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListModuleStreamProfilesOnManagedInstance.ts.html |here} to see how to use ListModuleStreamProfilesOnManagedInstance API. - */ - public async listModuleStreamProfilesOnManagedInstance( - listModuleStreamProfilesOnManagedInstanceRequest: requests.ListModuleStreamProfilesOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listModuleStreamProfilesOnManagedInstance." - ); - const operationName = "listModuleStreamProfilesOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListModuleStreamProfilesOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": listModuleStreamProfilesOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "compartmentId": listModuleStreamProfilesOnManagedInstanceRequest.compartmentId, - "moduleName": listModuleStreamProfilesOnManagedInstanceRequest.moduleName, - "streamName": listModuleStreamProfilesOnManagedInstanceRequest.streamName, - "profileName": listModuleStreamProfilesOnManagedInstanceRequest.profileName, - "profileStatus": listModuleStreamProfilesOnManagedInstanceRequest.profileStatus, - "limit": listModuleStreamProfilesOnManagedInstanceRequest.limit, - "page": listModuleStreamProfilesOnManagedInstanceRequest.page, - "sortOrder": listModuleStreamProfilesOnManagedInstanceRequest.sortOrder, - "sortBy": listModuleStreamProfilesOnManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listModuleStreamProfilesOnManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listModuleStreamProfilesOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/streamProfiles", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ModuleStreamProfileOnManagedInstanceSummary, - type: "Array", - 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("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamProfilesOnManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.ModuleStreamProfileOnManagedInstanceSummary objects - * contained in responses from the listModuleStreamProfilesOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamProfilesOnManagedInstance( - request: requests.ListModuleStreamProfilesOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamProfilesOnManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamProfilesOnManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamProfilesOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamProfilesOnManagedInstanceResponses( - request: requests.ListModuleStreamProfilesOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamProfilesOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ModuleStreamProfileOnManagedInstanceSummary objects - * contained in responses from the listModuleStreamProfilesOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamProfilesOnManagedInstanceRecordIterator( - request: requests.ListModuleStreamProfilesOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamProfilesOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamProfilesOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamProfilesOnManagedInstanceResponseIterator( - request: requests.ListModuleStreamProfilesOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamProfilesOnManagedInstance(req)); - } - - /** - * Retrieve a list of module streams from a software source. -* Filters may be applied to select a subset of module streams -* based on the filter criteria. -*

-The 'moduleName' attribute filters against the name of a module. -* It accepts strings of the format \"\". If this attribute -* is defined, only streams that belong to the specified module are -* included in the result set. If it is not defined, the request is -* not subject to this filter. The 'streamName' attribute filters -* against the name of a stream of a module. If this attribute is -* defined, only the particular module stream that matches both the -* module and stream names is included in the result set. It is -* not valid to supply 'streamName' without also supplying a -* 'moduleName'. -*

-When sorting by display name, the result set is sorted first by -* module name, then by stream name. -* - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListModuleStreamsRequest - * @return ListModuleStreamsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListModuleStreams.ts.html |here} to see how to use ListModuleStreams API. - */ - public async listModuleStreams( - listModuleStreamsRequest: requests.ListModuleStreamsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listModuleStreams."); - const operationName = "listModuleStreams"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamSummary/ListModuleStreams"; - const pathParams = { - "{softwareSourceId}": listModuleStreamsRequest.softwareSourceId - }; - - const queryParams = { - "compartmentId": listModuleStreamsRequest.compartmentId, - "moduleName": listModuleStreamsRequest.moduleName, - "streamName": listModuleStreamsRequest.streamName, - "limit": listModuleStreamsRequest.limit, - "page": listModuleStreamsRequest.page, - "sortOrder": listModuleStreamsRequest.sortOrder, - "sortBy": listModuleStreamsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listModuleStreamsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listModuleStreamsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/moduleStreams", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ModuleStreamSummary, - type: "Array", - 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("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamsRecordIterator function. - * Creates a new async iterator which will iterate over the models.ModuleStreamSummary objects - * contained in responses from the listModuleStreams operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreams( - request: requests.ListModuleStreamsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreams(req)); - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listModuleStreams operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamsResponses( - request: requests.ListModuleStreamsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreams(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ModuleStreamSummary objects - * contained in responses from the listModuleStreams operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamsRecordIterator( - request: requests.ListModuleStreamsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreams(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listModuleStreams operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamsResponseIterator( - request: requests.ListModuleStreamsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreams(req)); - } - - /** - * Retrieve a list of module streams, along with a summary of their -* status, from a managed instance. Filters may be applied to select -* a subset of module streams based on the filter criteria. -*

-The 'moduleName' attribute filters against the name of a module. -* It accepts strings of the format \"\". If this attribute -* is defined, only streams that belong to the specified module are -* included in the result set. If it is not defined, the request is -* not subject to this filter. -*

-The \"status\" attribute filters against the state of a module stream. -* Valid values are \"ENABLED\", \"DISABLED\", and \"ACTIVE\". If the -* attribute is set to \"ENABLED\", only module streams that are enabled -* are included in the result set. If the attribute is set to \"DISABLED\", -* only module streams that are not enabled are included in the result -* set. If the attribute is set to \"ACTIVE\", only module streams that -* are active are included in the result set. If the attribute is not -* defined, the request is not subject to this filter. -*

-When sorting by the display name, the result set is sorted first -* by the module name and then by the stream name. -* - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListModuleStreamsOnManagedInstanceRequest - * @return ListModuleStreamsOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListModuleStreamsOnManagedInstance.ts.html |here} to see how to use ListModuleStreamsOnManagedInstance API. - */ - public async listModuleStreamsOnManagedInstance( - listModuleStreamsOnManagedInstanceRequest: requests.ListModuleStreamsOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listModuleStreamsOnManagedInstance."); - const operationName = "listModuleStreamsOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListModuleStreamsOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": listModuleStreamsOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "compartmentId": listModuleStreamsOnManagedInstanceRequest.compartmentId, - "moduleName": listModuleStreamsOnManagedInstanceRequest.moduleName, - "streamName": listModuleStreamsOnManagedInstanceRequest.streamName, - "streamStatus": listModuleStreamsOnManagedInstanceRequest.streamStatus, - "limit": listModuleStreamsOnManagedInstanceRequest.limit, - "page": listModuleStreamsOnManagedInstanceRequest.page, - "sortOrder": listModuleStreamsOnManagedInstanceRequest.sortOrder, - "sortBy": listModuleStreamsOnManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listModuleStreamsOnManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listModuleStreamsOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/moduleStreams", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ModuleStreamOnManagedInstanceSummary, - type: "Array", - 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("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamsOnManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.ModuleStreamOnManagedInstanceSummary objects - * contained in responses from the listModuleStreamsOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamsOnManagedInstance( - request: requests.ListModuleStreamsOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamsOnManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listModuleStreamsOnManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamsOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllModuleStreamsOnManagedInstanceResponses( - request: requests.ListModuleStreamsOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamsOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ModuleStreamOnManagedInstanceSummary objects - * contained in responses from the listModuleStreamsOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamsOnManagedInstanceRecordIterator( - request: requests.ListModuleStreamsOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listModuleStreamsOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listModuleStreamsOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listModuleStreamsOnManagedInstanceResponseIterator( - request: requests.ListModuleStreamsOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listModuleStreamsOnManagedInstance(req)); - } - - /** - * Returns a list of installed packages on the Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListPackagesInstalledOnManagedInstanceRequest - * @return ListPackagesInstalledOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListPackagesInstalledOnManagedInstance.ts.html |here} to see how to use ListPackagesInstalledOnManagedInstance API. - */ - public async listPackagesInstalledOnManagedInstance( - listPackagesInstalledOnManagedInstanceRequest: requests.ListPackagesInstalledOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listPackagesInstalledOnManagedInstance." - ); - const operationName = "listPackagesInstalledOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListPackagesInstalledOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": listPackagesInstalledOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listPackagesInstalledOnManagedInstanceRequest.displayName, - "compartmentId": listPackagesInstalledOnManagedInstanceRequest.compartmentId, - "limit": listPackagesInstalledOnManagedInstanceRequest.limit, - "page": listPackagesInstalledOnManagedInstanceRequest.page, - "sortOrder": listPackagesInstalledOnManagedInstanceRequest.sortOrder, - "sortBy": listPackagesInstalledOnManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listPackagesInstalledOnManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listPackagesInstalledOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/packages", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.InstalledPackageSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listPackagesInstalledOnManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.InstalledPackageSummary objects - * contained in responses from the listPackagesInstalledOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllPackagesInstalledOnManagedInstance( - request: requests.ListPackagesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listPackagesInstalledOnManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listPackagesInstalledOnManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listPackagesInstalledOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllPackagesInstalledOnManagedInstanceResponses( - request: requests.ListPackagesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listPackagesInstalledOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.InstalledPackageSummary objects - * contained in responses from the listPackagesInstalledOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listPackagesInstalledOnManagedInstanceRecordIterator( - request: requests.ListPackagesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listPackagesInstalledOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listPackagesInstalledOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listPackagesInstalledOnManagedInstanceResponseIterator( - request: requests.ListPackagesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listPackagesInstalledOnManagedInstance(req)); - } - - /** - * Returns a list of all of the currently active Scheduled Jobs in the system - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListScheduledJobsRequest - * @return ListScheduledJobsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListScheduledJobs.ts.html |here} to see how to use ListScheduledJobs API. - */ - public async listScheduledJobs( - listScheduledJobsRequest: requests.ListScheduledJobsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listScheduledJobs."); - const operationName = "listScheduledJobs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/ListScheduledJobs"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listScheduledJobsRequest.compartmentId, - "displayName": listScheduledJobsRequest.displayName, - "managedInstanceId": listScheduledJobsRequest.managedInstanceId, - "managedInstanceGroupId": listScheduledJobsRequest.managedInstanceGroupId, - "operationType": listScheduledJobsRequest.operationType, - "limit": listScheduledJobsRequest.limit, - "page": listScheduledJobsRequest.page, - "sortOrder": listScheduledJobsRequest.sortOrder, - "sortBy": listScheduledJobsRequest.sortBy, - "lifecycleState": listScheduledJobsRequest.lifecycleState, - "osFamily": listScheduledJobsRequest.osFamily, - "isRestricted": listScheduledJobsRequest.isRestricted - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listScheduledJobsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listScheduledJobsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ScheduledJobSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listScheduledJobsRecordIterator function. - * Creates a new async iterator which will iterate over the models.ScheduledJobSummary objects - * contained in responses from the listScheduledJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllScheduledJobs( - request: requests.ListScheduledJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listScheduledJobs(req)); - } - - /** - * NOTE: This function is deprecated in favor of listScheduledJobsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listScheduledJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllScheduledJobsResponses( - request: requests.ListScheduledJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listScheduledJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ScheduledJobSummary objects - * contained in responses from the listScheduledJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listScheduledJobsRecordIterator( - request: requests.ListScheduledJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listScheduledJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listScheduledJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listScheduledJobsResponseIterator( - request: requests.ListScheduledJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listScheduledJobs(req)); - } - - /** - * Lists Software Packages in a Software Source - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListSoftwareSourcePackagesRequest - * @return ListSoftwareSourcePackagesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListSoftwareSourcePackages.ts.html |here} to see how to use ListSoftwareSourcePackages API. - */ - public async listSoftwareSourcePackages( - listSoftwareSourcePackagesRequest: requests.ListSoftwareSourcePackagesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listSoftwareSourcePackages."); - const operationName = "listSoftwareSourcePackages"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/ListSoftwareSourcePackages"; - const pathParams = { - "{softwareSourceId}": listSoftwareSourcePackagesRequest.softwareSourceId - }; - - const queryParams = { - "compartmentId": listSoftwareSourcePackagesRequest.compartmentId, - "displayName": listSoftwareSourcePackagesRequest.displayName, - "limit": listSoftwareSourcePackagesRequest.limit, - "page": listSoftwareSourcePackagesRequest.page, - "sortOrder": listSoftwareSourcePackagesRequest.sortOrder, - "sortBy": listSoftwareSourcePackagesRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listSoftwareSourcePackagesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listSoftwareSourcePackagesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/softwarePackages", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.SoftwarePackageSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listSoftwareSourcePackagesRecordIterator function. - * Creates a new async iterator which will iterate over the models.SoftwarePackageSummary objects - * contained in responses from the listSoftwareSourcePackages operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllSoftwareSourcePackages( - request: requests.ListSoftwareSourcePackagesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listSoftwareSourcePackages(req)); - } - - /** - * NOTE: This function is deprecated in favor of listSoftwareSourcePackagesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listSoftwareSourcePackages operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllSoftwareSourcePackagesResponses( - request: requests.ListSoftwareSourcePackagesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listSoftwareSourcePackages(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.SoftwarePackageSummary objects - * contained in responses from the listSoftwareSourcePackages operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listSoftwareSourcePackagesRecordIterator( - request: requests.ListSoftwareSourcePackagesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listSoftwareSourcePackages(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listSoftwareSourcePackages operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listSoftwareSourcePackagesResponseIterator( - request: requests.ListSoftwareSourcePackagesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listSoftwareSourcePackages(req)); - } - - /** - * Returns a list of all Software Sources. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListSoftwareSourcesRequest - * @return ListSoftwareSourcesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListSoftwareSources.ts.html |here} to see how to use ListSoftwareSources API. - */ - public async listSoftwareSources( - listSoftwareSourcesRequest: requests.ListSoftwareSourcesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listSoftwareSources."); - const operationName = "listSoftwareSources"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSourceSummary/ListSoftwareSources"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listSoftwareSourcesRequest.compartmentId, - "displayName": listSoftwareSourcesRequest.displayName, - "limit": listSoftwareSourcesRequest.limit, - "page": listSoftwareSourcesRequest.page, - "sortOrder": listSoftwareSourcesRequest.sortOrder, - "sortBy": listSoftwareSourcesRequest.sortBy, - "lifecycleState": listSoftwareSourcesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listSoftwareSourcesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listSoftwareSourcesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.SoftwareSourceSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listSoftwareSourcesRecordIterator function. - * Creates a new async iterator which will iterate over the models.SoftwareSourceSummary objects - * contained in responses from the listSoftwareSources operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllSoftwareSources( - request: requests.ListSoftwareSourcesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listSoftwareSources(req)); - } - - /** - * NOTE: This function is deprecated in favor of listSoftwareSourcesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listSoftwareSources operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllSoftwareSourcesResponses( - request: requests.ListSoftwareSourcesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listSoftwareSources(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.SoftwareSourceSummary objects - * contained in responses from the listSoftwareSources operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listSoftwareSourcesRecordIterator( - request: requests.ListSoftwareSourcesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listSoftwareSources(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listSoftwareSources operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listSoftwareSourcesResponseIterator( - request: requests.ListSoftwareSourcesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listSoftwareSources(req)); - } - - /** - * Returns a list of all of the Scheduled Jobs whose next execution time is at or before the specified time. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListUpcomingScheduledJobsRequest - * @return ListUpcomingScheduledJobsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListUpcomingScheduledJobs.ts.html |here} to see how to use ListUpcomingScheduledJobs API. - */ - public async listUpcomingScheduledJobs( - listUpcomingScheduledJobsRequest: requests.ListUpcomingScheduledJobsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listUpcomingScheduledJobs."); - const operationName = "listUpcomingScheduledJobs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/ListUpcomingScheduledJobs"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listUpcomingScheduledJobsRequest.compartmentId, - "displayName": listUpcomingScheduledJobsRequest.displayName, - "timeEnd": listUpcomingScheduledJobsRequest.timeEnd, - "limit": listUpcomingScheduledJobsRequest.limit, - "page": listUpcomingScheduledJobsRequest.page, - "sortOrder": listUpcomingScheduledJobsRequest.sortOrder, - "sortBy": listUpcomingScheduledJobsRequest.sortBy, - "tagName": listUpcomingScheduledJobsRequest.tagName, - "tagValue": listUpcomingScheduledJobsRequest.tagValue, - "lifecycleState": listUpcomingScheduledJobsRequest.lifecycleState, - "osFamily": listUpcomingScheduledJobsRequest.osFamily - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listUpcomingScheduledJobsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listUpcomingScheduledJobsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/upcomingSchedules", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.ScheduledJobSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listUpcomingScheduledJobsRecordIterator function. - * Creates a new async iterator which will iterate over the models.ScheduledJobSummary objects - * contained in responses from the listUpcomingScheduledJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllUpcomingScheduledJobs( - request: requests.ListUpcomingScheduledJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listUpcomingScheduledJobs(req)); - } - - /** - * NOTE: This function is deprecated in favor of listUpcomingScheduledJobsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listUpcomingScheduledJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllUpcomingScheduledJobsResponses( - request: requests.ListUpcomingScheduledJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listUpcomingScheduledJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.ScheduledJobSummary objects - * contained in responses from the listUpcomingScheduledJobs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listUpcomingScheduledJobsRecordIterator( - request: requests.ListUpcomingScheduledJobsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listUpcomingScheduledJobs(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listUpcomingScheduledJobs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listUpcomingScheduledJobsResponseIterator( - request: requests.ListUpcomingScheduledJobsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listUpcomingScheduledJobs(req)); - } - - /** - * Returns a list of Windows Updates. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListWindowsUpdatesRequest - * @return ListWindowsUpdatesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListWindowsUpdates.ts.html |here} to see how to use ListWindowsUpdates API. - */ - public async listWindowsUpdates( - listWindowsUpdatesRequest: requests.ListWindowsUpdatesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listWindowsUpdates."); - const operationName = "listWindowsUpdates"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WindowsUpdateSummary/ListWindowsUpdates"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listWindowsUpdatesRequest.compartmentId, - "displayName": listWindowsUpdatesRequest.displayName, - "limit": listWindowsUpdatesRequest.limit, - "page": listWindowsUpdatesRequest.page, - "sortOrder": listWindowsUpdatesRequest.sortOrder, - "sortBy": listWindowsUpdatesRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWindowsUpdatesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWindowsUpdatesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/updates", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.WindowsUpdateSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listWindowsUpdatesRecordIterator function. - * Creates a new async iterator which will iterate over the models.WindowsUpdateSummary objects - * contained in responses from the listWindowsUpdates operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWindowsUpdates( - request: requests.ListWindowsUpdatesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWindowsUpdates(req)); - } - - /** - * NOTE: This function is deprecated in favor of listWindowsUpdatesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listWindowsUpdates operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWindowsUpdatesResponses( - request: requests.ListWindowsUpdatesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWindowsUpdates(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.WindowsUpdateSummary objects - * contained in responses from the listWindowsUpdates operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWindowsUpdatesRecordIterator( - request: requests.ListWindowsUpdatesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWindowsUpdates(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listWindowsUpdates operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWindowsUpdatesResponseIterator( - request: requests.ListWindowsUpdatesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWindowsUpdates(req)); - } - - /** - * Returns a list of installed Windows updates for a Managed Instance. This is only applicable to Windows instances. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListWindowsUpdatesInstalledOnManagedInstanceRequest - * @return ListWindowsUpdatesInstalledOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.ts.html |here} to see how to use ListWindowsUpdatesInstalledOnManagedInstance API. - */ - public async listWindowsUpdatesInstalledOnManagedInstance( - listWindowsUpdatesInstalledOnManagedInstanceRequest: requests.ListWindowsUpdatesInstalledOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#listWindowsUpdatesInstalledOnManagedInstance." - ); - const operationName = "listWindowsUpdatesInstalledOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ListWindowsUpdatesInstalledOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": listWindowsUpdatesInstalledOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "displayName": listWindowsUpdatesInstalledOnManagedInstanceRequest.displayName, - "compartmentId": listWindowsUpdatesInstalledOnManagedInstanceRequest.compartmentId, - "limit": listWindowsUpdatesInstalledOnManagedInstanceRequest.limit, - "page": listWindowsUpdatesInstalledOnManagedInstanceRequest.page, - "sortOrder": listWindowsUpdatesInstalledOnManagedInstanceRequest.sortOrder, - "sortBy": listWindowsUpdatesInstalledOnManagedInstanceRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWindowsUpdatesInstalledOnManagedInstanceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWindowsUpdatesInstalledOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/updates/installed", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.InstalledWindowsUpdateSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listWindowsUpdatesInstalledOnManagedInstanceRecordIterator function. - * Creates a new async iterator which will iterate over the models.InstalledWindowsUpdateSummary objects - * contained in responses from the listWindowsUpdatesInstalledOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWindowsUpdatesInstalledOnManagedInstance( - request: requests.ListWindowsUpdatesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWindowsUpdatesInstalledOnManagedInstance(req)); - } - - /** - * NOTE: This function is deprecated in favor of listWindowsUpdatesInstalledOnManagedInstanceResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listWindowsUpdatesInstalledOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWindowsUpdatesInstalledOnManagedInstanceResponses( - request: requests.ListWindowsUpdatesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listWindowsUpdatesInstalledOnManagedInstance(req) - ); - } - - /** - * Creates a new async iterator which will iterate over the models.InstalledWindowsUpdateSummary objects - * contained in responses from the listWindowsUpdatesInstalledOnManagedInstance operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWindowsUpdatesInstalledOnManagedInstanceRecordIterator( - request: requests.ListWindowsUpdatesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWindowsUpdatesInstalledOnManagedInstance(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listWindowsUpdatesInstalledOnManagedInstance operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWindowsUpdatesInstalledOnManagedInstanceResponseIterator( - request: requests.ListWindowsUpdatesInstalledOnManagedInstanceRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => - this.listWindowsUpdatesInstalledOnManagedInstance(req) - ); - } - - /** - * Gets the errors for the work request with the given ID. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListWorkRequestErrorsRequest - * @return ListWorkRequestErrorsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. - */ - public async listWorkRequestErrors( - listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#listWorkRequestErrors."); - const operationName = "listWorkRequestErrors"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WorkRequest/ListWorkRequestErrors"; - const pathParams = { - "{workRequestId}": listWorkRequestErrorsRequest.workRequestId - }; - - const queryParams = { - "limit": listWorkRequestErrorsRequest.limit, - "page": listWorkRequestErrorsRequest.page, - "sortOrder": listWorkRequestErrorsRequest.sortOrder, - "sortBy": listWorkRequestErrorsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestErrorsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestErrorsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/errors", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.WorkRequestError, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestErrorsRecordIterator function. - * Creates a new async iterator which will iterate over the models.WorkRequestError objects - * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequestErrors( - request: requests.ListWorkRequestErrorsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequestErrors(req)); - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestErrorsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequestErrorsResponses( - request: requests.ListWorkRequestErrorsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequestErrors(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.WorkRequestError objects - * contained in responses from the listWorkRequestErrors operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestErrorsRecordIterator( - request: requests.ListWorkRequestErrorsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequestErrors(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listWorkRequestErrors operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestErrorsResponseIterator( - request: requests.ListWorkRequestErrorsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequestErrors(req)); - } - - /** - * Lists the log entries for the work request with the given ID. - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListWorkRequestLogsRequest - * @return ListWorkRequestLogsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. - */ - public async listWorkRequestLogs( - listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listWorkRequestLogs."); - const operationName = "listWorkRequestLogs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WorkRequest/ListWorkRequestLogs"; - const pathParams = { - "{workRequestId}": listWorkRequestLogsRequest.workRequestId - }; - - const queryParams = { - "limit": listWorkRequestLogsRequest.limit, - "page": listWorkRequestLogsRequest.page, - "sortOrder": listWorkRequestLogsRequest.sortOrder, - "sortBy": listWorkRequestLogsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestLogsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestLogsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/logs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.WorkRequestLogEntry, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestLogsRecordIterator function. - * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects - * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequestLogs( - request: requests.ListWorkRequestLogsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequestLogs(req)); - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestLogsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequestLogsResponses( - request: requests.ListWorkRequestLogsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequestLogs(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.WorkRequestLogEntry objects - * contained in responses from the listWorkRequestLogs operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestLogsRecordIterator( - request: requests.ListWorkRequestLogsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequestLogs(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listWorkRequestLogs operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestLogsResponseIterator( - request: requests.ListWorkRequestLogsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequestLogs(req)); - } - - /** - * Lists the work requests in a compartment. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ListWorkRequestsRequest - * @return ListWorkRequestsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. - */ - public async listWorkRequests( - listWorkRequestsRequest: requests.ListWorkRequestsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#listWorkRequests."); - const operationName = "listWorkRequests"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/WorkRequestSummary/ListWorkRequests"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listWorkRequestsRequest.compartmentId, - "displayName": listWorkRequestsRequest.displayName, - "managedInstanceId": listWorkRequestsRequest.managedInstanceId, - "limit": listWorkRequestsRequest.limit, - "page": listWorkRequestsRequest.page, - "sortOrder": listWorkRequestsRequest.sortOrder, - "sortBy": listWorkRequestsRequest.sortBy, - "osFamily": listWorkRequestsRequest.osFamily - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestsRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.WorkRequestSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestsRecordIterator function. - * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects - * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequests( - request: requests.ListWorkRequestsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequests(req)); - } - - /** - * NOTE: This function is deprecated in favor of listWorkRequestsResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listAllWorkRequestsResponses( - request: requests.ListWorkRequestsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequests(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.WorkRequestSummary objects - * contained in responses from the listWorkRequests operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestsRecordIterator( - request: requests.ListWorkRequestsRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.listWorkRequests(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the listWorkRequests operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public listWorkRequestsResponseIterator( - request: requests.ListWorkRequestsRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.listWorkRequests(req)); - } - - /** - * Perform an operation involving modules, streams, and profiles on a -* managed instance. Each operation may enable or disable an arbitrary -* amount of module streams, and install or remove an arbitrary number -* of module stream profiles. When the operation is complete, the -* state of the modules, streams, and profiles on the managed instance -* will match the state indicated in the operation. -*

-Each module stream specified in the list of module streams to enable -* will be in the \"ENABLED\" state upon completion of the operation. -* If there was already a stream of that module enabled, any work -* required to switch from the current stream to the new stream is -* performed implicitly. -*

-Each module stream specified in the list of module streams to disable -* will be in the \"DISABLED\" state upon completion of the operation. -* Any profiles that are installed for the module stream will be removed -* as part of the operation. -*

-Each module stream profile specified in the list of profiles to install -* will be in the \"INSTALLED\" state upon completion of the operation, -* indicating that any packages that are part of the profile are installed -* on the managed instance. If the module stream containing the profile -* is not enabled, it will be enabled as part of the operation. There -* is an exception when attempting to install a stream of a profile when -* another stream of the same module is enabled. It is an error to attempt -* to install a profile of another module stream, unless enabling the -* new module stream is explicitly included in this operation. -*

-Each module stream profile specified in the list of profiles to remove -* will be in the \"AVAILABLE\" state upon completion of the operation. -* The status of packages within the profile after the operation is -* complete is defined by the package manager on the managed instance. -*

-Operations that contain one or more elements that are not allowed -* are rejected. -*

-The result of this request is a WorkRequest object. The returned -* WorkRequest is the parent of a structure of other WorkRequests. Taken -* as a whole, this structure indicates the entire set of work to be -* performed to complete the operation. -*

-This interface can also be used to perform a dry run of the operation -* rather than committing it to a managed instance. If a dry run is -* requested, the OS Management Service will evaluate the operation -* against the current module, stream, and profile state on the managed -* instance. It will calculate the impact of the operation on all -* modules, streams, and profiles on the managed instance, including those -* that are implicitly impacted by the operation. -*

-The WorkRequest resulting from a dry run behaves differently than -* a WorkRequest resulting from a committable operation. Dry run -* WorkRequests are always singletons and never have children. The -* impact of the operation is returned using the log and error -* facilities of WorkRequests. The impact of operations that are -* allowed by the OS Management Service are communicated as one or -* more work request log entries. Operations that are not allowed -* by the OS Management Service are communicated as one or more -* work requst error entries. Each entry, for either logs or errors, -* contains a structured message containing the results of one -* or more operations. -* - * This operation does not retry by default if the user has not defined a retry configuration. - * @param ManageModuleStreamsOnManagedInstanceRequest - * @return ManageModuleStreamsOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/ManageModuleStreamsOnManagedInstance.ts.html |here} to see how to use ManageModuleStreamsOnManagedInstance API. - */ - public async manageModuleStreamsOnManagedInstance( - manageModuleStreamsOnManagedInstanceRequest: requests.ManageModuleStreamsOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#manageModuleStreamsOnManagedInstance." - ); - const operationName = "manageModuleStreamsOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/ManageModuleStreamsOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": manageModuleStreamsOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": manageModuleStreamsOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": manageModuleStreamsOnManagedInstanceRequest.opcRetryToken, - "if-match": manageModuleStreamsOnManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - manageModuleStreamsOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/moduleStreams/manage", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - manageModuleStreamsOnManagedInstanceRequest.manageModuleStreamsOnManagedInstanceDetails, - "ManageModuleStreamsOnManagedInstanceDetails", - model.ManageModuleStreamsOnManagedInstanceDetails.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; - } - } - - /** - * Removes a profile for a module stream that is installed on a managed instance. - * If a module stream is provided, rather than a fully qualified profile, all - * profiles that have been installed for the module stream will be removed. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param RemoveModuleStreamProfileFromManagedInstanceRequest - * @return RemoveModuleStreamProfileFromManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/RemoveModuleStreamProfileFromManagedInstance.ts.html |here} to see how to use RemoveModuleStreamProfileFromManagedInstance API. - */ - public async removeModuleStreamProfileFromManagedInstance( - removeModuleStreamProfileFromManagedInstanceRequest: requests.RemoveModuleStreamProfileFromManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#removeModuleStreamProfileFromManagedInstance." - ); - const operationName = "removeModuleStreamProfileFromManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamProfileDetails/RemoveModuleStreamProfileFromManagedInstance"; - const pathParams = { - "{managedInstanceId}": removeModuleStreamProfileFromManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "moduleName": removeModuleStreamProfileFromManagedInstanceRequest.moduleName, - "streamName": removeModuleStreamProfileFromManagedInstanceRequest.streamName, - "profileName": removeModuleStreamProfileFromManagedInstanceRequest.profileName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": removeModuleStreamProfileFromManagedInstanceRequest.opcRequestId, - "opc-retry-token": removeModuleStreamProfileFromManagedInstanceRequest.opcRetryToken, - "if-match": removeModuleStreamProfileFromManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - removeModuleStreamProfileFromManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/streamProfiles/remove", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Removes an installed package from a managed instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param RemovePackageFromManagedInstanceRequest - * @return RemovePackageFromManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/RemovePackageFromManagedInstance.ts.html |here} to see how to use RemovePackageFromManagedInstance API. - */ - public async removePackageFromManagedInstance( - removePackageFromManagedInstanceRequest: requests.RemovePackageFromManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#removePackageFromManagedInstance."); - const operationName = "removePackageFromManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstance/RemovePackageFromManagedInstance"; - const pathParams = { - "{managedInstanceId}": removePackageFromManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "softwarePackageName": removePackageFromManagedInstanceRequest.softwarePackageName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": removePackageFromManagedInstanceRequest.opcRequestId, - "opc-retry-token": removePackageFromManagedInstanceRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - removePackageFromManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/packages/remove", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Removes a given list of Software Packages from a specific Software Source. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param RemovePackagesFromSoftwareSourceRequest - * @return RemovePackagesFromSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/RemovePackagesFromSoftwareSource.ts.html |here} to see how to use RemovePackagesFromSoftwareSource API. - */ - public async removePackagesFromSoftwareSource( - removePackagesFromSoftwareSourceRequest: requests.RemovePackagesFromSoftwareSourceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#removePackagesFromSoftwareSource."); - const operationName = "removePackagesFromSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/RemovePackagesFromSoftwareSource"; - const pathParams = { - "{softwareSourceId}": removePackagesFromSoftwareSourceRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": removePackagesFromSoftwareSourceRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - removePackagesFromSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}/actions/removePackages", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - removePackagesFromSoftwareSourceRequest.removePackagesFromSoftwareSourceDetails, - "RemovePackagesFromSoftwareSourceDetails", - model.RemovePackagesFromSoftwareSourceDetails.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; - } - } - - /** - * This will trigger an already created Scheduled Job to being executing - * immediately instead of waiting for its next regularly scheduled time. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param RunScheduledJobNowRequest - * @return RunScheduledJobNowResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/RunScheduledJobNow.ts.html |here} to see how to use RunScheduledJobNow API. - */ - public async runScheduledJobNow( - runScheduledJobNowRequest: requests.RunScheduledJobNowRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#runScheduledJobNow."); - const operationName = "runScheduledJobNow"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/RunScheduledJobNow"; - const pathParams = { - "{scheduledJobId}": runScheduledJobNowRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": runScheduledJobNowRequest.opcRequestId, - "if-match": runScheduledJobNowRequest.ifMatch, - "opc-retry-token": runScheduledJobNowRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - runScheduledJobNowRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}/actions/runNow", - 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("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Searches all of the available Software Sources and returns any/all Software Packages matching - * the search criteria. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param SearchSoftwarePackagesRequest - * @return SearchSoftwarePackagesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/SearchSoftwarePackages.ts.html |here} to see how to use SearchSoftwarePackages API. - */ - public async searchSoftwarePackages( - searchSoftwarePackagesRequest: requests.SearchSoftwarePackagesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#searchSoftwarePackages."); - const operationName = "searchSoftwarePackages"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/SearchSoftwarePackages"; - const pathParams = {}; - - const queryParams = { - "softwarePackageName": searchSoftwarePackagesRequest.softwarePackageName, - "displayName": searchSoftwarePackagesRequest.displayName, - "cveName": searchSoftwarePackagesRequest.cveName, - "limit": searchSoftwarePackagesRequest.limit, - "page": searchSoftwarePackagesRequest.page, - "sortOrder": searchSoftwarePackagesRequest.sortOrder, - "sortBy": searchSoftwarePackagesRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": searchSoftwarePackagesRequest.opcRequestId - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - searchSoftwarePackagesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/softwarePackages", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "items", - bodyModel: model.SoftwarePackageSearchSummary, - type: "Array", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * NOTE: This function is deprecated in favor of searchSoftwarePackagesRecordIterator function. - * Creates a new async iterator which will iterate over the models.SoftwarePackageSearchSummary objects - * contained in responses from the searchSoftwarePackages operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public searchAllSoftwarePackages( - request: requests.SearchSoftwarePackagesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.searchSoftwarePackages(req)); - } - - /** - * NOTE: This function is deprecated in favor of searchSoftwarePackagesResponseIterator function. - * Creates a new async iterator which will iterate over the responses received from the searchSoftwarePackages operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public searchAllSoftwarePackagesResponses( - request: requests.SearchSoftwarePackagesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.searchSoftwarePackages(req)); - } - - /** - * Creates a new async iterator which will iterate over the models.SoftwarePackageSearchSummary objects - * contained in responses from the searchSoftwarePackages operation. This iterator will fetch more data from the - * server as needed. - * - * @param request a request which can be sent to the service operation - */ - public searchSoftwarePackagesRecordIterator( - request: requests.SearchSoftwarePackagesRequest - ): AsyncIterableIterator { - return paginateRecords(request, req => this.searchSoftwarePackages(req)); - } - - /** - * Creates a new async iterator which will iterate over the responses received from the searchSoftwarePackages operation. This iterator - * will fetch more data from the server as needed. - * - * @param request a request which can be sent to the service operation - */ - public searchSoftwarePackagesResponseIterator( - request: requests.SearchSoftwarePackagesRequest - ): AsyncIterableIterator { - return paginateResponses(request, req => this.searchSoftwarePackages(req)); - } - - /** - * This will force an already created Scheduled Job to skip its - * next regularly scheduled execution - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param SkipNextScheduledJobExecutionRequest - * @return SkipNextScheduledJobExecutionResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/SkipNextScheduledJobExecution.ts.html |here} to see how to use SkipNextScheduledJobExecution API. - */ - public async skipNextScheduledJobExecution( - skipNextScheduledJobExecutionRequest: requests.SkipNextScheduledJobExecutionRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#skipNextScheduledJobExecution."); - const operationName = "skipNextScheduledJobExecution"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/SkipNextScheduledJobExecution"; - const pathParams = { - "{scheduledJobId}": skipNextScheduledJobExecutionRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": skipNextScheduledJobExecutionRequest.opcRequestId, - "if-match": skipNextScheduledJobExecutionRequest.ifMatch, - "opc-retry-token": skipNextScheduledJobExecutionRequest.opcRetryToken - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - skipNextScheduledJobExecutionRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}/actions/skipNextExecution", - 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("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Enables a new stream for a module that already has a stream enabled. - * If any profiles or packages from the original module are installed, - * switching to a new stream will remove the existing packages and - * install their counterparts in the new stream. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param SwitchModuleStreamOnManagedInstanceRequest - * @return SwitchModuleStreamOnManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/SwitchModuleStreamOnManagedInstance.ts.html |here} to see how to use SwitchModuleStreamOnManagedInstance API. - */ - public async switchModuleStreamOnManagedInstance( - switchModuleStreamOnManagedInstanceRequest: requests.SwitchModuleStreamOnManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation OsManagementClient#switchModuleStreamOnManagedInstance." - ); - const operationName = "switchModuleStreamOnManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ModuleStreamDetails/SwitchModuleStreamOnManagedInstance"; - const pathParams = { - "{managedInstanceId}": switchModuleStreamOnManagedInstanceRequest.managedInstanceId - }; - - const queryParams = { - "moduleName": switchModuleStreamOnManagedInstanceRequest.moduleName, - "streamName": switchModuleStreamOnManagedInstanceRequest.streamName - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": switchModuleStreamOnManagedInstanceRequest.opcRequestId, - "opc-retry-token": switchModuleStreamOnManagedInstanceRequest.opcRetryToken, - "if-match": switchModuleStreamOnManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - switchModuleStreamOnManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}/actions/moduleStreams/switch", - method: "POST", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates a specific Managed Instance. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateManagedInstanceRequest - * @return UpdateManagedInstanceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UpdateManagedInstance.ts.html |here} to see how to use UpdateManagedInstance API. - */ - public async updateManagedInstance( - updateManagedInstanceRequest: requests.UpdateManagedInstanceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#updateManagedInstance."); - const operationName = "updateManagedInstance"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/UpdateManagedInstanceDetails/UpdateManagedInstance"; - const pathParams = { - "{managedInstanceId}": updateManagedInstanceRequest.managedInstanceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": updateManagedInstanceRequest.opcRequestId, - "if-match": updateManagedInstanceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateManagedInstanceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstances/{managedInstanceId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateManagedInstanceRequest.updateManagedInstanceDetails, - "UpdateManagedInstanceDetails", - model.UpdateManagedInstanceDetails.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: "managedInstance", - bodyModel: model.ManagedInstance, - type: "model.ManagedInstance", - 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; - } - } - - /** - * Updates a specific Managed Instance Group. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateManagedInstanceGroupRequest - * @return UpdateManagedInstanceGroupResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UpdateManagedInstanceGroup.ts.html |here} to see how to use UpdateManagedInstanceGroup API. - */ - public async updateManagedInstanceGroup( - updateManagedInstanceGroupRequest: requests.UpdateManagedInstanceGroupRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#updateManagedInstanceGroup."); - const operationName = "updateManagedInstanceGroup"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ManagedInstanceGroup/UpdateManagedInstanceGroup"; - const pathParams = { - "{managedInstanceGroupId}": updateManagedInstanceGroupRequest.managedInstanceGroupId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": updateManagedInstanceGroupRequest.opcRequestId, - "if-match": updateManagedInstanceGroupRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateManagedInstanceGroupRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/managedInstanceGroups/{managedInstanceGroupId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateManagedInstanceGroupRequest.updateManagedInstanceGroupDetails, - "UpdateManagedInstanceGroupDetails", - model.UpdateManagedInstanceGroupDetails.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: "managedInstanceGroup", - bodyModel: model.ManagedInstanceGroup, - type: "model.ManagedInstanceGroup", - 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; - } - } - - /** - * Updates an existing Scheduled Job on the management system. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateScheduledJobRequest - * @return UpdateScheduledJobResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UpdateScheduledJob.ts.html |here} to see how to use UpdateScheduledJob API. - */ - public async updateScheduledJob( - updateScheduledJobRequest: requests.UpdateScheduledJobRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation OsManagementClient#updateScheduledJob."); - const operationName = "updateScheduledJob"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/ScheduledJob/UpdateScheduledJob"; - const pathParams = { - "{scheduledJobId}": updateScheduledJobRequest.scheduledJobId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": updateScheduledJobRequest.opcRequestId, - "if-match": updateScheduledJobRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateScheduledJobRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/scheduledJobs/{scheduledJobId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateScheduledJobRequest.updateScheduledJobDetails, - "UpdateScheduledJobDetails", - model.UpdateScheduledJobDetails.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: "scheduledJob", - bodyModel: model.ScheduledJob, - type: "model.ScheduledJob", - 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; - } - } - - /** - * Updates an existing custom Software Source on the management system. - * - * This operation does not retry by default if the user has not defined a retry configuration. - * @param UpdateSoftwareSourceRequest - * @return UpdateSoftwareSourceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/osmanagement/UpdateSoftwareSource.ts.html |here} to see how to use UpdateSoftwareSource API. - */ - public async updateSoftwareSource( - updateSoftwareSourceRequest: requests.UpdateSoftwareSourceRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation OsManagementClient#updateSoftwareSource."); - const operationName = "updateSoftwareSource"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/os-management/20190801/SoftwareSource/UpdateSoftwareSource"; - const pathParams = { - "{softwareSourceId}": updateSoftwareSourceRequest.softwareSourceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": updateSoftwareSourceRequest.opcRequestId, - "if-match": updateSoftwareSourceRequest.ifMatch - }; - - const specRetryConfiguration = common.NoRetryConfigurationDetails; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateSoftwareSourceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/softwareSources/{softwareSourceId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateSoftwareSourceRequest.updateSoftwareSourceDetails, - "UpdateSoftwareSourceDetails", - model.UpdateSoftwareSourceDetails.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: "softwareSource", - bodyModel: model.SoftwareSource, - type: "model.SoftwareSource", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} diff --git a/lib/osmanagement/lib/model/add-packages-to-software-source-details.ts b/lib/osmanagement/lib/model/add-packages-to-software-source-details.ts deleted file mode 100644 index 967d735bd4..0000000000 --- a/lib/osmanagement/lib/model/add-packages-to-software-source-details.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software package names - */ -export interface AddPackagesToSoftwareSourceDetails { - /** - * the list of package names - */ - "packageNames": Array; -} - -export namespace AddPackagesToSoftwareSourceDetails { - export function getJsonObj(obj: AddPackagesToSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AddPackagesToSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/api-error.ts b/lib/osmanagement/lib/model/api-error.ts deleted file mode 100644 index d3b8665bfc..0000000000 --- a/lib/osmanagement/lib/model/api-error.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Error Information - */ -export interface ApiError { - /** - * A short error code that defines the error, meant for programmatic - * parsing. - * - */ - "code": string; - /** - * A human-readable error string. - */ - "message": string; -} - -export namespace ApiError { - export function getJsonObj(obj: ApiError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ApiError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/arch-types.ts b/lib/osmanagement/lib/model/arch-types.ts deleted file mode 100644 index 024e9a1f67..0000000000 --- a/lib/osmanagement/lib/model/arch-types.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CPU architecture types - **/ -export enum ArchTypes { - Ia32 = "IA_32", - X8664 = "X86_64", - Aarch64 = "AARCH64", - Sparc = "SPARC", - Amd64Debian = "AMD64_DEBIAN", - - /** - * 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 ArchTypes { - export function getJsonObj(obj: ArchTypes): ArchTypes { - return obj; - } - export function getDeserializedJsonObj(obj: ArchTypes): ArchTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/attach-child-software-source-to-managed-instance-details.ts b/lib/osmanagement/lib/model/attach-child-software-source-to-managed-instance-details.ts deleted file mode 100644 index c8b7951306..0000000000 --- a/lib/osmanagement/lib/model/attach-child-software-source-to-managed-instance-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for attaching a software source to a managed instance - */ -export interface AttachChildSoftwareSourceToManagedInstanceDetails { - /** - * OCID for the Software Source - */ - "softwareSourceId": string; -} - -export namespace AttachChildSoftwareSourceToManagedInstanceDetails { - export function getJsonObj(obj: AttachChildSoftwareSourceToManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: AttachChildSoftwareSourceToManagedInstanceDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/attach-parent-software-source-to-managed-instance-details.ts b/lib/osmanagement/lib/model/attach-parent-software-source-to-managed-instance-details.ts deleted file mode 100644 index 9b00a47217..0000000000 --- a/lib/osmanagement/lib/model/attach-parent-software-source-to-managed-instance-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for attaching a software source to a managed instance - */ -export interface AttachParentSoftwareSourceToManagedInstanceDetails { - /** - * OCID for the Software Source - */ - "softwareSourceId": string; -} - -export namespace AttachParentSoftwareSourceToManagedInstanceDetails { - export function getJsonObj(obj: AttachParentSoftwareSourceToManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: AttachParentSoftwareSourceToManagedInstanceDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/autonomous-settings.ts b/lib/osmanagement/lib/model/autonomous-settings.ts deleted file mode 100644 index 19e9e4a099..0000000000 --- a/lib/osmanagement/lib/model/autonomous-settings.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Managed Instance with Autonomous settings - */ -export interface AutonomousSettings { - /** - * True if daily updates are enabled - */ - "isAutoUpdateEnabled"?: boolean; -} - -export namespace AutonomousSettings { - export function getJsonObj(obj: AutonomousSettings): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AutonomousSettings): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/available-software-source-summary.ts b/lib/osmanagement/lib/model/available-software-source-summary.ts deleted file mode 100644 index 29540b001d..0000000000 --- a/lib/osmanagement/lib/model/available-software-source-summary.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software source which can be added to a managed instance. Once a software source is added, packages from that software source can be installed on that managed instance. - */ -export interface AvailableSoftwareSourceSummary { - /** - * unique identifier that is immutable on creation - */ - "id": string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * User friendly name for the software source - */ - "displayName": string; - /** - * OCID for the parent software source, if there is one - */ - "parentId"?: string; - /** - * Display name of the parent software source, if there is one - */ - "parentName"?: string; -} - -export namespace AvailableSoftwareSourceSummary { - export function getJsonObj(obj: AvailableSoftwareSourceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AvailableSoftwareSourceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/available-update-summary.ts b/lib/osmanagement/lib/model/available-update-summary.ts deleted file mode 100644 index aed94e47cc..0000000000 --- a/lib/osmanagement/lib/model/available-update-summary.ts +++ /dev/null @@ -1,106 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 update available for a managed instance - */ -export interface AvailableUpdateSummary { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package available for update. NOTE - This is not an OCID - */ - "name": string; - /** - * The purpose of this update. - */ - "updateType"?: model.UpdateTypes; - /** - * Type of the package - */ - "type": string; - /** - * Version of the installed package - */ - "installedVersion": string; - /** - * Version of the package available for update - */ - "availableVersion": string; - /** - * The architecture for which this package was built - */ - "architecture"?: string; - /** - * List of errata containing this update - */ - "errata"?: Array; - /** - * List of CVEs applicable to this erratum - */ - "relatedCves"?: Array; - /** - * list of software sources that provide the software package - */ - "softwareSources"?: Array; -} - -export namespace AvailableUpdateSummary { - export function getJsonObj(obj: AvailableUpdateSummary): object { - const jsonObj = { - ...obj, - ...{ - "errata": obj.errata - ? obj.errata.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AvailableUpdateSummary): object { - const jsonObj = { - ...obj, - ...{ - "errata": obj.errata - ? obj.errata.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/available-windows-update-summary.ts b/lib/osmanagement/lib/model/available-windows-update-summary.ts deleted file mode 100644 index 388aeb37a0..0000000000 --- a/lib/osmanagement/lib/model/available-windows-update-summary.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 update available for installation on the Windows managed instance. - */ -export interface AvailableWindowsUpdateSummary { - /** - * Windows Update name - */ - "displayName": string; - /** - * Unique identifier for the Windows update. NOTE - This is not an OCID, - * but is a unique identifier assigned by Microsoft. - * Example: {@code 6981d463-cd91-4a26-b7c4-ea4ded9183ed} - * - */ - "name": string; - /** - * The purpose of this update. - */ - "updateType": model.UpdateTypes; - /** - * Indicates whether the update can be installed using OSMS. - */ - "isEligibleForInstallation"?: model.IsEligibleForInstallation; - /** - * Indicates whether a reboot may be required to complete installation of this update. - */ - "isRebootRequiredForInstallation"?: boolean; -} - -export namespace AvailableWindowsUpdateSummary { - export function getJsonObj(obj: AvailableWindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AvailableWindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/change-managed-instance-group-compartment-details.ts b/lib/osmanagement/lib/model/change-managed-instance-group-compartment-details.ts deleted file mode 100644 index 1fce5cce9c..0000000000 --- a/lib/osmanagement/lib/model/change-managed-instance-group-compartment-details.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 id for a managed instance group - */ -export interface ChangeManagedInstanceGroupCompartmentDetails { - /** - * 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 ChangeManagedInstanceGroupCompartmentDetails { - export function getJsonObj(obj: ChangeManagedInstanceGroupCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: ChangeManagedInstanceGroupCompartmentDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/change-scheduled-job-compartment-details.ts b/lib/osmanagement/lib/model/change-scheduled-job-compartment-details.ts deleted file mode 100644 index b3e2fdd9d8..0000000000 --- a/lib/osmanagement/lib/model/change-scheduled-job-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 id for a scheduled job - */ -export interface ChangeScheduledJobCompartmentDetails { - /** - * 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 ChangeScheduledJobCompartmentDetails { - export function getJsonObj(obj: ChangeScheduledJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeScheduledJobCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/change-software-source-compartment-details.ts b/lib/osmanagement/lib/model/change-software-source-compartment-details.ts deleted file mode 100644 index c42e59a60f..0000000000 --- a/lib/osmanagement/lib/model/change-software-source-compartment-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 id for a software source - */ -export interface ChangeSoftwareSourceCompartmentDetails { - /** - * 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 ChangeSoftwareSourceCompartmentDetails { - export function getJsonObj(obj: ChangeSoftwareSourceCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeSoftwareSourceCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/checksum-types.ts b/lib/osmanagement/lib/model/checksum-types.ts deleted file mode 100644 index ee2482c2e5..0000000000 --- a/lib/osmanagement/lib/model/checksum-types.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 checksum types - **/ -export enum ChecksumTypes { - Sha1 = "SHA1", - Sha256 = "SHA256", - Sha384 = "SHA384", - Sha512 = "SHA512", - - /** - * 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 ChecksumTypes { - export function getJsonObj(obj: ChecksumTypes): ChecksumTypes { - return obj; - } - export function getDeserializedJsonObj(obj: ChecksumTypes): ChecksumTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/content-availability.ts b/lib/osmanagement/lib/model/content-availability.ts deleted file mode 100644 index e93e6319ee..0000000000 --- a/lib/osmanagement/lib/model/content-availability.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Availability Status: - * * NOT_AVAILABLE - content is not available on the instance nor in the service - * * AVAILABLE_ON_INSTANCE - content is only available on the instance - * * AVAILABLE_ON_SERVICE - content is only available on the service - * * AVAILABLE_ON_INSTANCE_AND_SERVICE - content is available both on the instance and the service - * * AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS - content is available on the instance and its upload is in progress - * - **/ -export enum ContentAvailability { - NotAvailable = "NOT_AVAILABLE", - AvailableOnInstance = "AVAILABLE_ON_INSTANCE", - AvailableOnService = "AVAILABLE_ON_SERVICE", - AvailableOnInstanceAndService = "AVAILABLE_ON_INSTANCE_AND_SERVICE", - AvailableOnInstanceUploadInProgress = "AVAILABLE_ON_INSTANCE_UPLOAD_IN_PROGRESS", - - /** - * 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 ContentAvailability { - export function getJsonObj(obj: ContentAvailability): ContentAvailability { - return obj; - } - export function getDeserializedJsonObj(obj: ContentAvailability): ContentAvailability { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/crash-event-system-information.ts b/lib/osmanagement/lib/model/crash-event-system-information.ts deleted file mode 100644 index ca3df90d0f..0000000000 --- a/lib/osmanagement/lib/model/crash-event-system-information.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detailed information about system at the time of the crash. - */ -export interface CrashEventSystemInformation { - /** - * system architecture - */ - "architecture"?: model.ArchTypes; - /** - * Active ksplice kernel version (uptrack-uname -r) - */ - "kspliceEffectiveKernelVersion"?: string; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * Operating System Name (OCA value) - */ - "osName"?: string; - /** - * Operating System Kernel Release (uname -v) - */ - "osKernelRelease"?: string; - /** - * Operating System Kernel Version (uname -r) - */ - "osKernelVersion"?: string; - /** - * Version of the OS (VERSION from /etc/os-release) - */ - "osSystemVersion"?: string; -} - -export namespace CrashEventSystemInformation { - export function getJsonObj(obj: CrashEventSystemInformation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CrashEventSystemInformation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/create-managed-instance-group-details.ts b/lib/osmanagement/lib/model/create-managed-instance-group-details.ts deleted file mode 100644 index 03a326748f..0000000000 --- a/lib/osmanagement/lib/model/create-managed-instance-group-details.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detail information for creating a managed instance group - */ -export interface CreateManagedInstanceGroupDetails { - /** - * Managed Instance Group identifier - */ - "displayName": string; - /** - * Information specified by the user about the managed instance group - */ - "description"?: string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * The Operating System type of the managed instance(s) on which this scheduled job will operate. - * If not specified, this defaults to Linux. - * - */ - "osFamily"?: model.OsFamilies; -} - -export namespace CreateManagedInstanceGroupDetails { - export function getJsonObj(obj: CreateManagedInstanceGroupDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateManagedInstanceGroupDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/create-scheduled-job-details.ts b/lib/osmanagement/lib/model/create-scheduled-job-details.ts deleted file mode 100644 index 93469067bf..0000000000 --- a/lib/osmanagement/lib/model/create-scheduled-job-details.ts +++ /dev/null @@ -1,154 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for creating a Scheduled Job - */ -export interface CreateScheduledJobDetails { - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * Scheduled Job name - */ - "displayName": string; - /** - * Details describing the Scheduled Job. - */ - "description"?: string; - /** - * the type of scheduling this Scheduled Job follows - */ - "scheduleType": model.ScheduleTypes; - /** - * the desired time for the next execution of this Scheduled Job - */ - "timeNextExecution": Date; - /** - * the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalType"?: model.IntervalTypes; - /** - * the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalValue"?: string; - /** - * The list of managed instances this scheduled job operates on - * (mutually exclusive with managedInstanceGroups). Either this or the - * managedInstanceGroups must be supplied. - * - */ - "managedInstances"?: Array; - /** - * The list of managed instance groups this scheduled job operates on - * (mutually exclusive with managedInstances). Either this or - * managedInstances must be supplied. - * - */ - "managedInstanceGroups"?: Array; - /** - * the type of operation this Scheduled Job performs - */ - "operationType": model.OperationTypes; - /** - * Type of the update (only if operation type is UPDATEALL) - */ - "updateType"?: model.PackageUpdateTypes; - /** - * the id of the package (only if operation type is INSTALL/UPDATE/REMOVE) - */ - "packageNames"?: 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 } }; - /** - * The unique names of the Windows Updates (only if operation type is INSTALL). - * This is only applicable when the osFamily is for Windows managed instances. - * - */ - "updateNames"?: Array; - /** - * The Operating System type of the managed instance(s) on which this scheduled job will operate. - * If not specified, this defaults to Linux. - * - */ - "osFamily"?: model.OsFamilies; -} - -export namespace CreateScheduledJobDetails { - export function getJsonObj(obj: CreateScheduledJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateScheduledJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/create-software-source-details.ts b/lib/osmanagement/lib/model/create-software-source-details.ts deleted file mode 100644 index d03c1466e1..0000000000 --- a/lib/osmanagement/lib/model/create-software-source-details.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of a software source to be created on the management system - */ -export interface CreateSoftwareSourceDetails { - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * User friendly name for the software source - */ - "displayName": string; - /** - * Information specified by the user about the software source - */ - "description"?: string; - /** - * The architecture type supported by the Software Source - */ - "archType": model.ArchTypes; - /** - * Name of the person maintaining this software source - */ - "maintainerName"?: string; - /** - * Email address of the person maintaining this software source - */ - "maintainerEmail"?: string; - /** - * Phone number of the person maintaining this software source - */ - "maintainerPhone"?: string; - /** - * The yum repository checksum type used by this software source - */ - "checksumType"?: model.ChecksumTypes; - /** - * OCID for the parent software source, if there is one - */ - "parentId"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateSoftwareSourceDetails { - export function getJsonObj(obj: CreateSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/detach-child-software-source-from-managed-instance-details.ts b/lib/osmanagement/lib/model/detach-child-software-source-from-managed-instance-details.ts deleted file mode 100644 index 0bd5183164..0000000000 --- a/lib/osmanagement/lib/model/detach-child-software-source-from-managed-instance-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for detaching a software source from a managed instance - */ -export interface DetachChildSoftwareSourceFromManagedInstanceDetails { - /** - * OCID for the Software Source - */ - "softwareSourceId": string; -} - -export namespace DetachChildSoftwareSourceFromManagedInstanceDetails { - export function getJsonObj(obj: DetachChildSoftwareSourceFromManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: DetachChildSoftwareSourceFromManagedInstanceDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/detach-parent-software-source-from-managed-instance-details.ts b/lib/osmanagement/lib/model/detach-parent-software-source-from-managed-instance-details.ts deleted file mode 100644 index 93ffd17b5d..0000000000 --- a/lib/osmanagement/lib/model/detach-parent-software-source-from-managed-instance-details.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for detaching a software source from a managed instance - */ -export interface DetachParentSoftwareSourceFromManagedInstanceDetails { - /** - * OCID for the Software Source - */ - "softwareSourceId": string; -} - -export namespace DetachParentSoftwareSourceFromManagedInstanceDetails { - export function getJsonObj(obj: DetachParentSoftwareSourceFromManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: DetachParentSoftwareSourceFromManagedInstanceDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/erratum-summary.ts b/lib/osmanagement/lib/model/erratum-summary.ts deleted file mode 100644 index ccddf017d3..0000000000 --- a/lib/osmanagement/lib/model/erratum-summary.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Important changes for software. This can include security | advisories, bug fixes, or enhancements. - */ -export interface ErratumSummary { - /** - * Advisory name - */ - "name": string; - /** - * OCID for the Erratum. - */ - "id": string; - /** - * OCID for the Compartment. - */ - "compartmentId": string; - /** - * Summary description of the erratum. - */ - "synopsis"?: string; - /** - * date the erratum was issued - */ - "issued"?: string; - /** - * most recent date the erratum was updated - */ - "updated"?: string; - /** - * Type of the erratum. - */ - "advisoryType"?: model.UpdateTypes; - /** - * list of CVEs applicable to this erratum - */ - "relatedCves"?: Array; -} - -export namespace ErratumSummary { - export function getJsonObj(obj: ErratumSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ErratumSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/erratum.ts b/lib/osmanagement/lib/model/erratum.ts deleted file mode 100644 index 9239c52c75..0000000000 --- a/lib/osmanagement/lib/model/erratum.ts +++ /dev/null @@ -1,136 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 erratum. - */ -export interface Erratum { - /** - * Advisory name - */ - "name": string; - /** - * OCID for the Erratum. - */ - "id": string; - /** - * OCID for the Compartment. - */ - "compartmentId": string; - /** - * Summary description of the erratum. - */ - "synopsis"?: string; - /** - * date the erratum was issued - */ - "issued"?: string; - /** - * Details describing the erratum. - */ - "description"?: string; - /** - * most recent date the erratum was updated - */ - "updated"?: string; - /** - * Type of the erratum. - */ - "advisoryType"?: model.UpdateTypes; - /** - * Information specifying from where the erratum was release. - */ - "from"?: string; - /** - * Information describing how the erratum can be resolved. - */ - "solution"?: string; - /** - * Information describing how to find more information about the erratum. - */ - "references"?: string; - /** - * list of managed instances to this erratum - */ - "affectedInstances"?: Array; - /** - * list of CVEs applicable to this erratum - */ - "relatedCves"?: Array; - /** - * list of Software Sources - */ - "softwareSources"?: Array; - /** - * list of Packages affected by this erratum - */ - "packages"?: Array; -} - -export namespace Erratum { - export function getJsonObj(obj: Erratum): object { - const jsonObj = { - ...obj, - ...{ - "affectedInstances": obj.affectedInstances - ? obj.affectedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - "packages": obj.packages - ? obj.packages.map(item => { - return model.SoftwarePackageSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Erratum): object { - const jsonObj = { - ...obj, - ...{ - "affectedInstances": obj.affectedInstances - ? obj.affectedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - "packages": obj.packages - ? obj.packages.map(item => { - return model.SoftwarePackageSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/event-collection.ts b/lib/osmanagement/lib/model/event-collection.ts deleted file mode 100644 index 0bbb66aa2f..0000000000 --- a/lib/osmanagement/lib/model/event-collection.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 event search. Contains both EventSummary items and other information, such as metadata. - */ -export interface EventCollection { - /** - * List of events. - */ - "items": Array; -} - -export namespace EventCollection { - export function getJsonObj(obj: EventCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.EventSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: EventCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.EventSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/event-content.ts b/lib/osmanagement/lib/model/event-content.ts deleted file mode 100644 index d1dafbcbb5..0000000000 --- a/lib/osmanagement/lib/model/event-content.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 data collected as a ZIP file when the event occurred. - */ -export interface EventContent { - /** - * Status of the event content - */ - "contentAvailability"?: model.ContentAvailability; - /** - * Path to the event content on the instance - */ - "instancePath"?: string; - /** - * size in bytes of the event content (size of the zip file uploaded) Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "size"?: number; -} - -export namespace EventContent { - export function getJsonObj(obj: EventContent): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: EventContent): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/event-report.ts b/lib/osmanagement/lib/model/event-report.ts deleted file mode 100644 index 6fdc669a05..0000000000 --- a/lib/osmanagement/lib/model/event-report.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 about event occurrences on a system. - */ -export interface EventReport { - /** - * count of events currently registered on the system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "count": number; -} - -export namespace EventReport { - export function getJsonObj(obj: EventReport): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: EventReport): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/event-summary.ts b/lib/osmanagement/lib/model/event-summary.ts deleted file mode 100644 index 61a0582522..0000000000 --- a/lib/osmanagement/lib/model/event-summary.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Event. - */ -export interface EventSummary { - /** - * OCID identifier of the event - */ - "id": string; - /** - * Unique OCI identifier of the instance where the event occurred - */ - "instanceId": string; - /** - * human readable description of the event - */ - "summary"?: string; - /** - * Type of the event. - */ - "eventType": model.EventType; - /** - * Event occurrence count. Number of time the same event happened on the system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "count"?: number; - /** - * Time of the occurrence of the event - */ - "timestamp"?: Date; - /** - * 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 } }; - /** - * 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 EventSummary { - export function getJsonObj(obj: EventSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: EventSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/event-type.ts b/lib/osmanagement/lib/model/event-type.ts deleted file mode 100644 index 3708e1f902..0000000000 --- a/lib/osmanagement/lib/model/event-type.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Event type: - * * {@code KERNEL_OOPS} - Used to identify a kernel panic condition event - * * {@code KERNEL_CRASH} - Used to identify an internal fatal kernel error that cannot be safely recovered from - * * {@code CRASH} - Used to identify when an application stopped functioning properly and exited - * * {@code EXPLOIT_ATTEMPT} - Used to identify a known exploit detection as identified by Ksplice - * * {@code COMPLIANCE} - Used to identify a compliance related events - * * {@code TUNING_SUGGESTION} - Used to identify autonomous tuning suggestion events - * * {@code TUNING_APPLIED} - Used to identify when a tuning suggestion has been applied - * * {@code SECURITY} - Used to identify security related events - * * {@code ERROR} - Used to identify error related events - * * {@code WARNING} - Used to identify warning related events - * - **/ -export enum EventType { - KernelOops = "KERNEL_OOPS", - KernelCrash = "KERNEL_CRASH", - Crash = "CRASH", - ExploitAttempt = "EXPLOIT_ATTEMPT", - Compliance = "COMPLIANCE", - TuningSuggestion = "TUNING_SUGGESTION", - TuningApplied = "TUNING_APPLIED", - Security = "SECURITY", - Error = "ERROR", - Warning = "WARNING", - - /** - * 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 EventType { - export function getJsonObj(obj: EventType): EventType { - return obj; - } - export function getDeserializedJsonObj(obj: EventType): EventType { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/event.ts b/lib/osmanagement/lib/model/event.ts deleted file mode 100644 index 17578d3f0a..0000000000 --- a/lib/osmanagement/lib/model/event.ts +++ /dev/null @@ -1,116 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of Event. - */ -export interface Event { - /** - * OCID identifier of the event - */ - "id": string; - /** - * OCI identifier of the instance where the event occurred - */ - "instanceId"?: string; - /** - * OCI identifier of the compartement where the instance is - */ - "compartmentId"?: string; - /** - * OCID identifier of the instance tenancy. - */ - "tenancyId"?: string; - /** - * human readable description of the event - */ - "summary"?: string; - /** - * Time of the occurrence of the event - */ - "timestamp"?: Date; - /** - * Unique ID used to group event with the same characteristics together. - * The list of such groups of event can be retrieved via /recurringEvents/{EventFingerprint} - * - */ - "eventFingerprint"?: string; - /** - * Event occurrence count. Number of time the event has happen on the system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "count"?: number; - /** - * 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 } }; - /** - * 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 } }; - - "eventType": string; -} - -export namespace Event { - export function getJsonObj(obj: Event): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "eventType" in obj && obj.eventType) { - switch (obj.eventType) { - case "KERNEL_OOPS": - return model.KernelOopsEvent.getJsonObj((jsonObj), true); - case "KERNEL_CRASH": - return model.KernelCrashEvent.getJsonObj((jsonObj), true); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.eventType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: Event): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "eventType" in obj && obj.eventType) { - switch (obj.eventType) { - case "KERNEL_OOPS": - return model.KernelOopsEvent.getDeserializedJsonObj( - (jsonObj), - true - ); - case "KERNEL_CRASH": - return model.KernelCrashEvent.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.eventType}`); - } - } - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/id.ts b/lib/osmanagement/lib/model/id.ts deleted file mode 100644 index 7e499ddfd4..0000000000 --- a/lib/osmanagement/lib/model/id.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 id along with a name to simplify display for a user - */ -export interface Id { - /** - * unique identifier that is immutable on creation - */ - "id": string; - /** - * User friendly name - */ - "displayName": string; -} - -export namespace Id { - export function getJsonObj(obj: Id): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Id): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/index.ts b/lib/osmanagement/lib/model/index.ts deleted file mode 100644 index 4b8f1d4b8e..0000000000 --- a/lib/osmanagement/lib/model/index.ts +++ /dev/null @@ -1,192 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as AddPackagesToSoftwareSourceDetails from "./add-packages-to-software-source-details"; -export import AddPackagesToSoftwareSourceDetails = AddPackagesToSoftwareSourceDetails.AddPackagesToSoftwareSourceDetails; -import * as ApiError from "./api-error"; -export import ApiError = ApiError.ApiError; -import * as ArchTypes from "./arch-types"; -export import ArchTypes = ArchTypes.ArchTypes; -import * as AttachChildSoftwareSourceToManagedInstanceDetails from "./attach-child-software-source-to-managed-instance-details"; -export import AttachChildSoftwareSourceToManagedInstanceDetails = AttachChildSoftwareSourceToManagedInstanceDetails.AttachChildSoftwareSourceToManagedInstanceDetails; -import * as AttachParentSoftwareSourceToManagedInstanceDetails from "./attach-parent-software-source-to-managed-instance-details"; -export import AttachParentSoftwareSourceToManagedInstanceDetails = AttachParentSoftwareSourceToManagedInstanceDetails.AttachParentSoftwareSourceToManagedInstanceDetails; -import * as AutonomousSettings from "./autonomous-settings"; -export import AutonomousSettings = AutonomousSettings.AutonomousSettings; -import * as AvailableSoftwareSourceSummary from "./available-software-source-summary"; -export import AvailableSoftwareSourceSummary = AvailableSoftwareSourceSummary.AvailableSoftwareSourceSummary; -import * as AvailableUpdateSummary from "./available-update-summary"; -export import AvailableUpdateSummary = AvailableUpdateSummary.AvailableUpdateSummary; -import * as AvailableWindowsUpdateSummary from "./available-windows-update-summary"; -export import AvailableWindowsUpdateSummary = AvailableWindowsUpdateSummary.AvailableWindowsUpdateSummary; -import * as ChangeManagedInstanceGroupCompartmentDetails from "./change-managed-instance-group-compartment-details"; -export import ChangeManagedInstanceGroupCompartmentDetails = ChangeManagedInstanceGroupCompartmentDetails.ChangeManagedInstanceGroupCompartmentDetails; -import * as ChangeScheduledJobCompartmentDetails from "./change-scheduled-job-compartment-details"; -export import ChangeScheduledJobCompartmentDetails = ChangeScheduledJobCompartmentDetails.ChangeScheduledJobCompartmentDetails; -import * as ChangeSoftwareSourceCompartmentDetails from "./change-software-source-compartment-details"; -export import ChangeSoftwareSourceCompartmentDetails = ChangeSoftwareSourceCompartmentDetails.ChangeSoftwareSourceCompartmentDetails; -import * as ChecksumTypes from "./checksum-types"; -export import ChecksumTypes = ChecksumTypes.ChecksumTypes; -import * as ContentAvailability from "./content-availability"; -export import ContentAvailability = ContentAvailability.ContentAvailability; -import * as CrashEventSystemInformation from "./crash-event-system-information"; -export import CrashEventSystemInformation = CrashEventSystemInformation.CrashEventSystemInformation; -import * as CreateManagedInstanceGroupDetails from "./create-managed-instance-group-details"; -export import CreateManagedInstanceGroupDetails = CreateManagedInstanceGroupDetails.CreateManagedInstanceGroupDetails; -import * as CreateScheduledJobDetails from "./create-scheduled-job-details"; -export import CreateScheduledJobDetails = CreateScheduledJobDetails.CreateScheduledJobDetails; -import * as CreateSoftwareSourceDetails from "./create-software-source-details"; -export import CreateSoftwareSourceDetails = CreateSoftwareSourceDetails.CreateSoftwareSourceDetails; -import * as DetachChildSoftwareSourceFromManagedInstanceDetails from "./detach-child-software-source-from-managed-instance-details"; -export import DetachChildSoftwareSourceFromManagedInstanceDetails = DetachChildSoftwareSourceFromManagedInstanceDetails.DetachChildSoftwareSourceFromManagedInstanceDetails; -import * as DetachParentSoftwareSourceFromManagedInstanceDetails from "./detach-parent-software-source-from-managed-instance-details"; -export import DetachParentSoftwareSourceFromManagedInstanceDetails = DetachParentSoftwareSourceFromManagedInstanceDetails.DetachParentSoftwareSourceFromManagedInstanceDetails; -import * as Erratum from "./erratum"; -export import Erratum = Erratum.Erratum; -import * as ErratumSummary from "./erratum-summary"; -export import ErratumSummary = ErratumSummary.ErratumSummary; -import * as Event from "./event"; -export import Event = Event.Event; -import * as EventCollection from "./event-collection"; -export import EventCollection = EventCollection.EventCollection; -import * as EventContent from "./event-content"; -export import EventContent = EventContent.EventContent; -import * as EventReport from "./event-report"; -export import EventReport = EventReport.EventReport; -import * as EventSummary from "./event-summary"; -export import EventSummary = EventSummary.EventSummary; -import * as EventType from "./event-type"; -export import EventType = EventType.EventType; -import * as Id from "./id"; -export import Id = Id.Id; -import * as InstallablePackageSummary from "./installable-package-summary"; -export import InstallablePackageSummary = InstallablePackageSummary.InstallablePackageSummary; -import * as InstalledPackageSummary from "./installed-package-summary"; -export import InstalledPackageSummary = InstalledPackageSummary.InstalledPackageSummary; -import * as InstalledWindowsUpdateSummary from "./installed-windows-update-summary"; -export import InstalledWindowsUpdateSummary = InstalledWindowsUpdateSummary.InstalledWindowsUpdateSummary; -import * as IntervalTypes from "./interval-types"; -export import IntervalTypes = IntervalTypes.IntervalTypes; -import * as IsEligibleForInstallation from "./is-eligible-for-installation"; -export import IsEligibleForInstallation = IsEligibleForInstallation.IsEligibleForInstallation; -import * as KernelVmCoreInformation from "./kernel-vm-core-information"; -export import KernelVmCoreInformation = KernelVmCoreInformation.KernelVmCoreInformation; -import * as LifecycleStates from "./lifecycle-states"; -export import LifecycleStates = LifecycleStates.LifecycleStates; -import * as ManageModuleStreamsOnManagedInstanceDetails from "./manage-module-streams-on-managed-instance-details"; -export import ManageModuleStreamsOnManagedInstanceDetails = ManageModuleStreamsOnManagedInstanceDetails.ManageModuleStreamsOnManagedInstanceDetails; -import * as ManagedInstance from "./managed-instance"; -export import ManagedInstance = ManagedInstance.ManagedInstance; -import * as ManagedInstanceGroup from "./managed-instance-group"; -export import ManagedInstanceGroup = ManagedInstanceGroup.ManagedInstanceGroup; -import * as ManagedInstanceGroupSummary from "./managed-instance-group-summary"; -export import ManagedInstanceGroupSummary = ManagedInstanceGroupSummary.ManagedInstanceGroupSummary; -import * as ManagedInstanceSummary from "./managed-instance-summary"; -export import ManagedInstanceSummary = ManagedInstanceSummary.ManagedInstanceSummary; -import * as ModuleStream from "./module-stream"; -export import ModuleStream = ModuleStream.ModuleStream; -import * as ModuleStreamDetails from "./module-stream-details"; -export import ModuleStreamDetails = ModuleStreamDetails.ModuleStreamDetails; -import * as ModuleStreamOnManagedInstanceSummary from "./module-stream-on-managed-instance-summary"; -export import ModuleStreamOnManagedInstanceSummary = ModuleStreamOnManagedInstanceSummary.ModuleStreamOnManagedInstanceSummary; -import * as ModuleStreamProfile from "./module-stream-profile"; -export import ModuleStreamProfile = ModuleStreamProfile.ModuleStreamProfile; -import * as ModuleStreamProfileDetails from "./module-stream-profile-details"; -export import ModuleStreamProfileDetails = ModuleStreamProfileDetails.ModuleStreamProfileDetails; -import * as ModuleStreamProfileOnManagedInstanceSummary from "./module-stream-profile-on-managed-instance-summary"; -export import ModuleStreamProfileOnManagedInstanceSummary = ModuleStreamProfileOnManagedInstanceSummary.ModuleStreamProfileOnManagedInstanceSummary; -import * as ModuleStreamProfileSummary from "./module-stream-profile-summary"; -export import ModuleStreamProfileSummary = ModuleStreamProfileSummary.ModuleStreamProfileSummary; -import * as ModuleStreamSummary from "./module-stream-summary"; -export import ModuleStreamSummary = ModuleStreamSummary.ModuleStreamSummary; -import * as OperationStatus from "./operation-status"; -export import OperationStatus = OperationStatus.OperationStatus; -import * as OperationTypes from "./operation-types"; -export import OperationTypes = OperationTypes.OperationTypes; -import * as OsFamilies from "./os-families"; -export import OsFamilies = OsFamilies.OsFamilies; -import * as PackageName from "./package-name"; -export import PackageName = PackageName.PackageName; -import * as PackageUpdateTypes from "./package-update-types"; -export import PackageUpdateTypes = PackageUpdateTypes.PackageUpdateTypes; -import * as Recurrence from "./recurrence"; -export import Recurrence = Recurrence.Recurrence; -import * as RelatedEventCollection from "./related-event-collection"; -export import RelatedEventCollection = RelatedEventCollection.RelatedEventCollection; -import * as RelatedEventSummary from "./related-event-summary"; -export import RelatedEventSummary = RelatedEventSummary.RelatedEventSummary; -import * as RemovePackagesFromSoftwareSourceDetails from "./remove-packages-from-software-source-details"; -export import RemovePackagesFromSoftwareSourceDetails = RemovePackagesFromSoftwareSourceDetails.RemovePackagesFromSoftwareSourceDetails; -import * as ScheduleTypes from "./schedule-types"; -export import ScheduleTypes = ScheduleTypes.ScheduleTypes; -import * as ScheduledJob from "./scheduled-job"; -export import ScheduledJob = ScheduledJob.ScheduledJob; -import * as ScheduledJobSummary from "./scheduled-job-summary"; -export import ScheduledJobSummary = ScheduledJobSummary.ScheduledJobSummary; -import * as SoftwarePackage from "./software-package"; -export import SoftwarePackage = SoftwarePackage.SoftwarePackage; -import * as SoftwarePackageDependency from "./software-package-dependency"; -export import SoftwarePackageDependency = SoftwarePackageDependency.SoftwarePackageDependency; -import * as SoftwarePackageFile from "./software-package-file"; -export import SoftwarePackageFile = SoftwarePackageFile.SoftwarePackageFile; -import * as SoftwarePackageSearchSummary from "./software-package-search-summary"; -export import SoftwarePackageSearchSummary = SoftwarePackageSearchSummary.SoftwarePackageSearchSummary; -import * as SoftwarePackageSummary from "./software-package-summary"; -export import SoftwarePackageSummary = SoftwarePackageSummary.SoftwarePackageSummary; -import * as SoftwareSource from "./software-source"; -export import SoftwareSource = SoftwareSource.SoftwareSource; -import * as SoftwareSourceId from "./software-source-id"; -export import SoftwareSourceId = SoftwareSourceId.SoftwareSourceId; -import * as SoftwareSourceSummary from "./software-source-summary"; -export import SoftwareSourceSummary = SoftwareSourceSummary.SoftwareSourceSummary; -import * as UpdateEventDetails from "./update-event-details"; -export import UpdateEventDetails = UpdateEventDetails.UpdateEventDetails; -import * as UpdateManagedInstanceDetails from "./update-managed-instance-details"; -export import UpdateManagedInstanceDetails = UpdateManagedInstanceDetails.UpdateManagedInstanceDetails; -import * as UpdateManagedInstanceGroupDetails from "./update-managed-instance-group-details"; -export import UpdateManagedInstanceGroupDetails = UpdateManagedInstanceGroupDetails.UpdateManagedInstanceGroupDetails; -import * as UpdateModuleDetails from "./update-module-details"; -export import UpdateModuleDetails = UpdateModuleDetails.UpdateModuleDetails; -import * as UpdateModuleStreamDetails from "./update-module-stream-details"; -export import UpdateModuleStreamDetails = UpdateModuleStreamDetails.UpdateModuleStreamDetails; -import * as UpdateModuleStreamProfileDetails from "./update-module-stream-profile-details"; -export import UpdateModuleStreamProfileDetails = UpdateModuleStreamProfileDetails.UpdateModuleStreamProfileDetails; -import * as UpdateModuleStreamStateDetails from "./update-module-stream-state-details"; -export import UpdateModuleStreamStateDetails = UpdateModuleStreamStateDetails.UpdateModuleStreamStateDetails; -import * as UpdateScheduledJobDetails from "./update-scheduled-job-details"; -export import UpdateScheduledJobDetails = UpdateScheduledJobDetails.UpdateScheduledJobDetails; -import * as UpdateSoftwareSourceDetails from "./update-software-source-details"; -export import UpdateSoftwareSourceDetails = UpdateSoftwareSourceDetails.UpdateSoftwareSourceDetails; -import * as UpdateTypes from "./update-types"; -export import UpdateTypes = UpdateTypes.UpdateTypes; -import * as WindowsUpdate from "./windows-update"; -export import WindowsUpdate = WindowsUpdate.WindowsUpdate; -import * as WindowsUpdateSummary from "./windows-update-summary"; -export import WindowsUpdateSummary = WindowsUpdateSummary.WindowsUpdateSummary; -import * as WorkRequest from "./work-request"; -export import WorkRequest = WorkRequest.WorkRequest; -import * as WorkRequestError from "./work-request-error"; -export import WorkRequestError = WorkRequestError.WorkRequestError; -import * as WorkRequestLogEntry from "./work-request-log-entry"; -export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; -import * as WorkRequestResource from "./work-request-resource"; -export import WorkRequestResource = WorkRequestResource.WorkRequestResource; -import * as WorkRequestSummary from "./work-request-summary"; -export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; - -import * as KernelCrashEvent from "./kernel-crash-event"; -export import KernelCrashEvent = KernelCrashEvent.KernelCrashEvent; -import * as KernelOopsEvent from "./kernel-oops-event"; -export import KernelOopsEvent = KernelOopsEvent.KernelOopsEvent; diff --git a/lib/osmanagement/lib/model/installable-package-summary.ts b/lib/osmanagement/lib/model/installable-package-summary.ts deleted file mode 100644 index cdb64bb891..0000000000 --- a/lib/osmanagement/lib/model/installable-package-summary.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software package available for install on a managed instance - */ -export interface InstallablePackageSummary { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package. NOTE - This is not an OCID - */ - "name": string; - /** - * Type of the package - */ - "type": string; - /** - * Version of the package - */ - "version": string; - /** - * The architecture for which this package was built - */ - "architecture"?: string; - /** - * list of software sources that provide the software package - */ - "softwareSources"?: Array; -} - -export namespace InstallablePackageSummary { - export function getJsonObj(obj: InstallablePackageSummary): object { - const jsonObj = { - ...obj, - ...{ - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: InstallablePackageSummary): object { - const jsonObj = { - ...obj, - ...{ - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/installed-package-summary.ts b/lib/osmanagement/lib/model/installed-package-summary.ts deleted file mode 100644 index 2395c5f4e0..0000000000 --- a/lib/osmanagement/lib/model/installed-package-summary.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software package installed on a managed instance - */ -export interface InstalledPackageSummary { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package. NOTE - This is not an OCID - */ - "name": string; - /** - * Type of the package - */ - "type": string; - /** - * Version of the installed package - */ - "version": string; - /** - * The architecture for which this package was built - */ - "architecture"?: string; - /** - * Install time of the package - */ - "installTime"?: string; - /** - * date the package was issued by a providing erratum (if available) - */ - "issued"?: string; - /** - * list of software sources that provide the software package - */ - "softwareSources"?: Array; -} - -export namespace InstalledPackageSummary { - export function getJsonObj(obj: InstalledPackageSummary): object { - const jsonObj = { - ...obj, - ...{ - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: InstalledPackageSummary): object { - const jsonObj = { - ...obj, - ...{ - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/installed-windows-update-summary.ts b/lib/osmanagement/lib/model/installed-windows-update-summary.ts deleted file mode 100644 index 90f3d71c87..0000000000 --- a/lib/osmanagement/lib/model/installed-windows-update-summary.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Windows update installed on the Windows managed instance. - */ -export interface InstalledWindowsUpdateSummary { - /** - * Windows Update name - */ - "displayName": string; - /** - * Unique identifier for the Windows update. NOTE - This is not an OCID, - * but is a unique identifier assigned by Microsoft. - * Example: {@code 6981d463-cd91-4a26-b7c4-ea4ded9183ed} - * - */ - "name": string; - /** - * The purpose of this update. - */ - "updateType": model.UpdateTypes; -} - -export namespace InstalledWindowsUpdateSummary { - export function getJsonObj(obj: InstalledWindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: InstalledWindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/interval-types.ts b/lib/osmanagement/lib/model/interval-types.ts deleted file mode 100644 index 1070062813..0000000000 --- a/lib/osmanagement/lib/model/interval-types.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 schedule intervals - **/ -export enum IntervalTypes { - Hour = "HOUR", - Day = "DAY", - Week = "WEEK", - Month = "MONTH", - - /** - * 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 IntervalTypes { - export function getJsonObj(obj: IntervalTypes): IntervalTypes { - return obj; - } - export function getDeserializedJsonObj(obj: IntervalTypes): IntervalTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/is-eligible-for-installation.ts b/lib/osmanagement/lib/model/is-eligible-for-installation.ts deleted file mode 100644 index 60b218de18..0000000000 --- a/lib/osmanagement/lib/model/is-eligible-for-installation.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Indicates whether the update can be installed using OSMS. - **/ -export enum IsEligibleForInstallation { - Installable = "INSTALLABLE", - NotInstallable = "NOT_INSTALLABLE", - 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 namespace IsEligibleForInstallation { - export function getJsonObj(obj: IsEligibleForInstallation): IsEligibleForInstallation { - return obj; - } - export function getDeserializedJsonObj( - obj: IsEligibleForInstallation - ): IsEligibleForInstallation { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/kernel-crash-event.ts b/lib/osmanagement/lib/model/kernel-crash-event.ts deleted file mode 100644 index ee982bd1b7..0000000000 --- a/lib/osmanagement/lib/model/kernel-crash-event.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information about a Kernel Crash. - */ -export interface KernelCrashEvent extends model.Event { - /** - * reason of the crash - */ - "reason"?: string; - /** - * First occurrence time of the event - */ - "timeFirstOccurred"?: Date; - "vmcore"?: model.KernelVmCoreInformation; - "content"?: model.EventContent; - "system"?: model.CrashEventSystemInformation; - - "eventType": string; -} - -export namespace KernelCrashEvent { - export function getJsonObj(obj: KernelCrashEvent, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.Event.getJsonObj(obj) as KernelCrashEvent)), - ...{ - "vmcore": obj.vmcore ? model.KernelVmCoreInformation.getJsonObj(obj.vmcore) : undefined, - "content": obj.content ? model.EventContent.getJsonObj(obj.content) : undefined, - "system": obj.system ? model.CrashEventSystemInformation.getJsonObj(obj.system) : undefined - } - }; - - return jsonObj; - } - export const eventType = "KERNEL_CRASH"; - export function getDeserializedJsonObj(obj: KernelCrashEvent, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.Event.getDeserializedJsonObj(obj) as KernelCrashEvent)), - ...{ - "vmcore": obj.vmcore - ? model.KernelVmCoreInformation.getDeserializedJsonObj(obj.vmcore) - : undefined, - "content": obj.content ? model.EventContent.getDeserializedJsonObj(obj.content) : undefined, - "system": obj.system - ? model.CrashEventSystemInformation.getDeserializedJsonObj(obj.system) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/kernel-oops-event.ts b/lib/osmanagement/lib/model/kernel-oops-event.ts deleted file mode 100644 index 6cf4defbd2..0000000000 --- a/lib/osmanagement/lib/model/kernel-oops-event.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information about a Kernel Oops. - */ -export interface KernelOopsEvent extends model.Event { - /** - * reason of the crash - */ - "reason"?: string; - /** - * First occurrence time of the event - */ - "timeFirstOccurred"?: Date; - "vmcore"?: model.KernelVmCoreInformation; - "content"?: model.EventContent; - "system"?: model.CrashEventSystemInformation; - - "eventType": string; -} - -export namespace KernelOopsEvent { - export function getJsonObj(obj: KernelOopsEvent, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.Event.getJsonObj(obj) as KernelOopsEvent)), - ...{ - "vmcore": obj.vmcore ? model.KernelVmCoreInformation.getJsonObj(obj.vmcore) : undefined, - "content": obj.content ? model.EventContent.getJsonObj(obj.content) : undefined, - "system": obj.system ? model.CrashEventSystemInformation.getJsonObj(obj.system) : undefined - } - }; - - return jsonObj; - } - export const eventType = "KERNEL_OOPS"; - export function getDeserializedJsonObj(obj: KernelOopsEvent, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.Event.getDeserializedJsonObj(obj) as KernelOopsEvent)), - ...{ - "vmcore": obj.vmcore - ? model.KernelVmCoreInformation.getDeserializedJsonObj(obj.vmcore) - : undefined, - "content": obj.content ? model.EventContent.getDeserializedJsonObj(obj.content) : undefined, - "system": obj.system - ? model.CrashEventSystemInformation.getDeserializedJsonObj(obj.system) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/kernel-vm-core-information.ts b/lib/osmanagement/lib/model/kernel-vm-core-information.ts deleted file mode 100644 index df25d70b25..0000000000 --- a/lib/osmanagement/lib/model/kernel-vm-core-information.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * VMcore information. - */ -export interface KernelVmCoreInformation { - /** - * Kernel module responsible of the crash. - */ - "component"?: string; - /** - * Crash backtrace. - */ - "backtrace"?: string; -} - -export namespace KernelVmCoreInformation { - export function getJsonObj(obj: KernelVmCoreInformation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: KernelVmCoreInformation): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/lifecycle-states.ts b/lib/osmanagement/lib/model/lifecycle-states.ts deleted file mode 100644 index 2d130f6398..0000000000 --- a/lib/osmanagement/lib/model/lifecycle-states.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 lifecycle states. - **/ -export enum LifecycleStates { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace LifecycleStates { - export function getJsonObj(obj: LifecycleStates): LifecycleStates { - return obj; - } - export function getDeserializedJsonObj(obj: LifecycleStates): LifecycleStates { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/manage-module-streams-on-managed-instance-details.ts b/lib/osmanagement/lib/model/manage-module-streams-on-managed-instance-details.ts deleted file mode 100644 index 02ed21f307..0000000000 --- a/lib/osmanagement/lib/model/manage-module-streams-on-managed-instance-details.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The set of changes to make to the state of the modules, streams, and profiles on a managed instance - */ -export interface ManageModuleStreamsOnManagedInstanceDetails { - /** - * Indicates if this operation is a dry run or if the operation - * should be commited. If set to true, the result of the operation - * will be evaluated but not committed. If set to false, the - * operation is committed to the managed instance. The default is - * false. - * - */ - "isDryRun"?: boolean; - /** - * The set of module streams to enable. - */ - "enable"?: Array; - /** - * The set of module streams to disable. - */ - "disable"?: Array; - /** - * The set of module stream profiles to install. - */ - "install"?: Array; - /** - * The set of module stream profiles to remove. - */ - "remove"?: Array; -} - -export namespace ManageModuleStreamsOnManagedInstanceDetails { - export function getJsonObj(obj: ManageModuleStreamsOnManagedInstanceDetails): object { - const jsonObj = { - ...obj, - ...{ - "enable": obj.enable - ? obj.enable.map(item => { - return model.ModuleStreamDetails.getJsonObj(item); - }) - : undefined, - "disable": obj.disable - ? obj.disable.map(item => { - return model.ModuleStreamDetails.getJsonObj(item); - }) - : undefined, - "install": obj.install - ? obj.install.map(item => { - return model.ModuleStreamProfileDetails.getJsonObj(item); - }) - : undefined, - "remove": obj.remove - ? obj.remove.map(item => { - return model.ModuleStreamProfileDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ManageModuleStreamsOnManagedInstanceDetails): object { - const jsonObj = { - ...obj, - ...{ - "enable": obj.enable - ? obj.enable.map(item => { - return model.ModuleStreamDetails.getDeserializedJsonObj(item); - }) - : undefined, - "disable": obj.disable - ? obj.disable.map(item => { - return model.ModuleStreamDetails.getDeserializedJsonObj(item); - }) - : undefined, - "install": obj.install - ? obj.install.map(item => { - return model.ModuleStreamProfileDetails.getDeserializedJsonObj(item); - }) - : undefined, - "remove": obj.remove - ? obj.remove.map(item => { - return model.ModuleStreamProfileDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/managed-instance-group-summary.ts b/lib/osmanagement/lib/model/managed-instance-group-summary.ts deleted file mode 100644 index 4c82f0c6f3..0000000000 --- a/lib/osmanagement/lib/model/managed-instance-group-summary.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 group of managed instances that will be managed together - */ -export interface ManagedInstanceGroupSummary { - /** - * user settable name - */ - "displayName": string; - /** - * OCID for the managed instance group - */ - "id": string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * Information specified by the user about the managed instance group - */ - "description"?: string; - /** - * Number of managed instances in this managed instance group Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "managedInstanceCount"?: number; - /** - * The current state of the Software Source. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * 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 } }; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ManagedInstanceGroupSummary { - export function getJsonObj(obj: ManagedInstanceGroupSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ManagedInstanceGroupSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/managed-instance-group.ts b/lib/osmanagement/lib/model/managed-instance-group.ts deleted file mode 100644 index 72e27ebb0b..0000000000 --- a/lib/osmanagement/lib/model/managed-instance-group.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detail information for a managed instance group - */ -export interface ManagedInstanceGroup { - /** - * Managed Instance Group identifier - */ - "displayName": string; - /** - * OCID for the managed instance group - */ - "id": string; - /** - * Information specified by the user about the managed instance group - */ - "description"?: string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * list of Managed Instances in the group - */ - "managedInstances"?: Array; - /** - * The current state of the Software Source. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * 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 } }; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ManagedInstanceGroup { - export function getJsonObj(obj: ManagedInstanceGroup): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ManagedInstanceGroup): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/managed-instance-summary.ts b/lib/osmanagement/lib/model/managed-instance-summary.ts deleted file mode 100644 index f4359b87be..0000000000 --- a/lib/osmanagement/lib/model/managed-instance-summary.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An OCI Compute instance that is being managed - */ -export interface ManagedInstanceSummary { - /** - * user settable name - */ - "displayName": string; - /** - * OCID for the managed instance - */ - "id": string; - /** - * Time at which the instance last checked in - */ - "lastCheckin"?: string; - /** - * Time at which the instance last booted - */ - "lastBoot"?: string; - /** - * Number of updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "updatesAvailable"?: number; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * Information specified by the user about the managed instance - */ - "description"?: string; - /** - * status of the managed instance. - */ - "status"?: ManagedInstanceSummary.Status; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * Indicates whether a reboot is required to complete installation of updates. - */ - "isRebootRequired"?: boolean; -} - -export namespace ManagedInstanceSummary { - export enum Status { - Normal = "NORMAL", - Unreachable = "UNREACHABLE", - Error = "ERROR", - Warning = "WARNING", - /** - * 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: ManagedInstanceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ManagedInstanceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/managed-instance.ts b/lib/osmanagement/lib/model/managed-instance.ts deleted file mode 100644 index 6dd548d117..0000000000 --- a/lib/osmanagement/lib/model/managed-instance.ts +++ /dev/null @@ -1,196 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detail information for an OCI Compute instance that is being managed - */ -export interface ManagedInstance { - /** - * Managed Instance identifier - */ - "displayName": string; - /** - * OCID for the managed instance - */ - "id": string; - /** - * Information specified by the user about the managed instance - */ - "description"?: string; - /** - * Time at which the instance last checked in - */ - "lastCheckin"?: string; - /** - * Time at which the instance last booted - */ - "lastBoot"?: string; - /** - * Number of updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "updatesAvailable"?: number; - /** - * Operating System Name - */ - "osName"?: string; - /** - * Operating System Version - */ - "osVersion"?: string; - /** - * Operating System Kernel Version - */ - "osKernelVersion"?: string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * status of the managed instance. - */ - "status"?: ManagedInstance.Status; - /** - * the parent (base) Software Source attached to the Managed Instance - */ - "parentSoftwareSource"?: model.SoftwareSourceId; - /** - * list of child Software Sources attached to the Managed Instance - */ - "childSoftwareSources"?: Array; - /** - * The ids of the managed instance groups of which this instance is a - * member. - * - */ - "managedInstanceGroups"?: Array; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * Indicates whether a reboot is required to complete installation of updates. - */ - "isRebootRequired"?: boolean; - /** - * OCID of the ONS topic used to send notification to users - */ - "notificationTopicId"?: string; - /** - * The ksplice effective kernel version - */ - "kspliceEffectiveKernelVersion"?: string; - /** - * True if user allow data collection for this instance - */ - "isDataCollectionAuthorized"?: boolean; - /** - * if present, indicates the Managed Instance is an autonomous instance. Holds all the Autonomous specific information - */ - "autonomous"?: model.AutonomousSettings; - /** - * Number of security type updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "securityUpdatesAvailable"?: number; - /** - * Number of bug fix type updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "bugUpdatesAvailable"?: number; - /** - * Number of enhancement type updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "enhancementUpdatesAvailable"?: number; - /** - * Number of non-classified updates available to be installed Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "otherUpdatesAvailable"?: number; - /** - * Number of scheduled jobs associated with this instance Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "scheduledJobCount"?: number; - /** - * Number of work requests associated with this instance Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "workRequestCount"?: number; -} - -export namespace ManagedInstance { - export enum Status { - Normal = "NORMAL", - Unreachable = "UNREACHABLE", - Error = "ERROR", - Warning = "WARNING", - /** - * 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: ManagedInstance): object { - const jsonObj = { - ...obj, - ...{ - "parentSoftwareSource": obj.parentSoftwareSource - ? model.SoftwareSourceId.getJsonObj(obj.parentSoftwareSource) - : undefined, - "childSoftwareSources": obj.childSoftwareSources - ? obj.childSoftwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - - "autonomous": obj.autonomous - ? model.AutonomousSettings.getJsonObj(obj.autonomous) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ManagedInstance): object { - const jsonObj = { - ...obj, - ...{ - "parentSoftwareSource": obj.parentSoftwareSource - ? model.SoftwareSourceId.getDeserializedJsonObj(obj.parentSoftwareSource) - : undefined, - "childSoftwareSources": obj.childSoftwareSources - ? obj.childSoftwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - - "autonomous": obj.autonomous - ? model.AutonomousSettings.getDeserializedJsonObj(obj.autonomous) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-details.ts b/lib/osmanagement/lib/model/module-stream-details.ts deleted file mode 100644 index beca720401..0000000000 --- a/lib/osmanagement/lib/model/module-stream-details.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Updatable information for a module stream - */ -export interface ModuleStreamDetails { - /** - * The name of a module - */ - "moduleName": string; - /** - * The name of a stream of the specified module - */ - "streamName": string; -} - -export namespace ModuleStreamDetails { - export function getJsonObj(obj: ModuleStreamDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-on-managed-instance-summary.ts b/lib/osmanagement/lib/model/module-stream-on-managed-instance-summary.ts deleted file mode 100644 index 8b499da248..0000000000 --- a/lib/osmanagement/lib/model/module-stream-on-managed-instance-summary.ts +++ /dev/null @@ -1,108 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 pertaining to a module stream on a managed instance - */ -export interface ModuleStreamOnManagedInstanceSummary { - /** - * The name of the module that contains the stream. - * - */ - "moduleName": string; - /** - * The name of the stream. - * - */ - "streamName": string; - /** - * The status of the stream -*

-A stream with the \"ENABLED\" status can be used as a source for installing -* profiles. Streams with this status are also \"ACTIVE\". -*

-A stream with the \"DISABLED\" status cannot be the source for installing -* profiles. To install profiles and packages from this stream, it must be -* enabled. -*

-A stream with the \"ACTIVE\" status can be used as a source for installing -* profiles. The packages that comprise the stream are also used when a -* matching package is installed directly. In general, a stream can have -* this status if it is the default stream for the module and no stream has -* been explicitly enabled. -* - */ - "status": ModuleStreamOnManagedInstanceSummary.Status; - /** - * The set of profiles that the module stream contains. - */ - "profiles"?: Array; - /** - * The OCID of the software source that provides this module stream. - */ - "softwareSourceId"?: string; - /** - * The date and time of the last status change for this profile, as - * described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeModified"?: Date; -} - -export namespace ModuleStreamOnManagedInstanceSummary { - export enum Status { - Enabled = "ENABLED", - Disabled = "DISABLED", - Active = "ACTIVE", - /** - * 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: ModuleStreamOnManagedInstanceSummary): object { - const jsonObj = { - ...obj, - ...{ - "profiles": obj.profiles - ? obj.profiles.map(item => { - return model.ModuleStreamProfileOnManagedInstanceSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamOnManagedInstanceSummary): object { - const jsonObj = { - ...obj, - ...{ - "profiles": obj.profiles - ? obj.profiles.map(item => { - return model.ModuleStreamProfileOnManagedInstanceSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-profile-details.ts b/lib/osmanagement/lib/model/module-stream-profile-details.ts deleted file mode 100644 index e1daee7ad3..0000000000 --- a/lib/osmanagement/lib/model/module-stream-profile-details.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Updatable information for a module stream profile - */ -export interface ModuleStreamProfileDetails { - /** - * The name of a module - */ - "moduleName": string; - /** - * The name of a stream of the specified module - */ - "streamName": string; - /** - * The name of a profile of the specified module stream - */ - "profileName": string; -} - -export namespace ModuleStreamProfileDetails { - export function getJsonObj(obj: ModuleStreamProfileDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamProfileDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-profile-on-managed-instance-summary.ts b/lib/osmanagement/lib/model/module-stream-profile-on-managed-instance-summary.ts deleted file mode 100644 index de74520f86..0000000000 --- a/lib/osmanagement/lib/model/module-stream-profile-on-managed-instance-summary.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 pertaining to a module stream profile on a managed instance - */ -export interface ModuleStreamProfileOnManagedInstanceSummary { - /** - * The name of the module that contains the stream profile - */ - "moduleName": string; - /** - * The name of the stream that contains the profile - */ - "streamName": string; - /** - * The name of the profile - */ - "profileName": string; - /** - * The status of the profile. -*

-A profile with the \"INSTALLED\" status indicates that the profile has been -* installed. -*

-A profile with the \"AVAILABLE\" status indicates that the profile is -* not installed, but can be. -* - */ - "status": ModuleStreamProfileOnManagedInstanceSummary.Status; - /** - * The date and time of the last status change for this profile, as - * described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeModified"?: Date; -} - -export namespace ModuleStreamProfileOnManagedInstanceSummary { - export enum Status { - Installed = "INSTALLED", - Available = "AVAILABLE", - /** - * 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: ModuleStreamProfileOnManagedInstanceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamProfileOnManagedInstanceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-profile-summary.ts b/lib/osmanagement/lib/model/module-stream-profile-summary.ts deleted file mode 100644 index c330a91af1..0000000000 --- a/lib/osmanagement/lib/model/module-stream-profile-summary.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 pertaining to a module stream profile provided by a software source - */ -export interface ModuleStreamProfileSummary { - /** - * The name of the module that contains the stream profile - */ - "moduleName": string; - /** - * The name of the stream that contains the profile - */ - "streamName": string; - /** - * The name of the profile - */ - "profileName": string; -} - -export namespace ModuleStreamProfileSummary { - export function getJsonObj(obj: ModuleStreamProfileSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamProfileSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-profile.ts b/lib/osmanagement/lib/model/module-stream-profile.ts deleted file mode 100644 index 26c517efac..0000000000 --- a/lib/osmanagement/lib/model/module-stream-profile.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 module stream profile provided by a software source - */ -export interface ModuleStreamProfile { - /** - * The name of the module that contains the stream profile - */ - "moduleName": string; - /** - * The name of the stream that contains the profile - */ - "streamName": string; - /** - * The name of the profile - */ - "profileName": string; - /** - * Indicates if this profile is the default for its module stream. - */ - "isDefault"?: boolean; - /** - * A description of the contents of the module stream profile - */ - "description"?: string; - /** - * A list of packages that constitute the profile. Each element - * in the list is the name of a package. The name is suitable to - * use as an argument to other OS Management APIs that interact - * directly with packages. - * - */ - "packages": Array; -} - -export namespace ModuleStreamProfile { - export function getJsonObj(obj: ModuleStreamProfile): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamProfile): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream-summary.ts b/lib/osmanagement/lib/model/module-stream-summary.ts deleted file mode 100644 index e0aa6b3ac9..0000000000 --- a/lib/osmanagement/lib/model/module-stream-summary.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 pertaining to a module stream provided by a software source - */ -export interface ModuleStreamSummary { - /** - * The name of the module that contains the stream. - * - */ - "moduleName": string; - /** - * The name of the stream. - * - */ - "streamName": string; - /** - * The OCID of the software source that provides this module stream. - */ - "softwareSourceId"?: string; -} - -export namespace ModuleStreamSummary { - export function getJsonObj(obj: ModuleStreamSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStreamSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/module-stream.ts b/lib/osmanagement/lib/model/module-stream.ts deleted file mode 100644 index 656d4fbf04..0000000000 --- a/lib/osmanagement/lib/model/module-stream.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 module stream provided by a software source - */ -export interface ModuleStream { - /** - * The name of the module that contains the stream - */ - "moduleName": string; - /** - * The name of the stream - */ - "streamName": string; - /** - * Indicates if this stream is the default for its module. - */ - "isDefault"?: boolean; - /** - * The OCID of the software source that provides this module stream. - */ - "softwareSourceId"?: string; - /** - * The architecture for which the packages in this module stream were built - */ - "architecture"?: string; - /** - * A description of the contents of the module stream - */ - "description"?: string; - /** - * A list of profiles that are part of the stream. Each element in - * the list is the name of a profile. The name is suitable to use as - * an argument to other OS Management APIs that interact directly with - * module stream profiles. However, it is not URL encoded. - * - */ - "profiles"?: Array; - /** - * A list of packages that are contained by the stream. Each element - * in the list is the name of a package. The name is suitable to use - * as an argument to other OS Management APIs that interact directly - * with packages. - * - */ - "packages"?: Array; -} - -export namespace ModuleStream { - export function getJsonObj(obj: ModuleStream): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ModuleStream): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/operation-status.ts b/lib/osmanagement/lib/model/operation-status.ts deleted file mode 100644 index a82b2671aa..0000000000 --- a/lib/osmanagement/lib/model/operation-status.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Operation status. - **/ -export enum OperationStatus { - Accepted = "ACCEPTED", - InProgress = "IN_PROGRESS", - Failed = "FAILED", - Succeeded = "SUCCEEDED", - Cancelling = "CANCELLING", - Canceled = "CANCELED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace OperationStatus { - export function getJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } - export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/operation-types.ts b/lib/osmanagement/lib/model/operation-types.ts deleted file mode 100644 index 346b377d09..0000000000 --- a/lib/osmanagement/lib/model/operation-types.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 package operation types - **/ -export enum OperationTypes { - Install = "INSTALL", - Update = "UPDATE", - Remove = "REMOVE", - Updateall = "UPDATEALL", - Enablemodulestream = "ENABLEMODULESTREAM", - Disablemodulestream = "DISABLEMODULESTREAM", - Switchmodulestream = "SWITCHMODULESTREAM", - Installmodulestreamprofile = "INSTALLMODULESTREAMPROFILE", - Removemodulestreamprofile = "REMOVEMODULESTREAMPROFILE", - Compound = "COMPOUND", - - /** - * 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 OperationTypes { - export function getJsonObj(obj: OperationTypes): OperationTypes { - return obj; - } - export function getDeserializedJsonObj(obj: OperationTypes): OperationTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/os-families.ts b/lib/osmanagement/lib/model/os-families.ts deleted file mode 100644 index 31c7e4942e..0000000000 --- a/lib/osmanagement/lib/model/os-families.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Operating System types - **/ -export enum OsFamilies { - Linux = "LINUX", - Windows = "WINDOWS", - 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 namespace OsFamilies { - export function getJsonObj(obj: OsFamilies): OsFamilies { - return obj; - } - export function getDeserializedJsonObj(obj: OsFamilies): OsFamilies { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/package-name.ts b/lib/osmanagement/lib/model/package-name.ts deleted file mode 100644 index 748ba7b85a..0000000000 --- a/lib/osmanagement/lib/model/package-name.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Identifying information for the specified package - */ -export interface PackageName { - /** - * package identifier - */ - "name": string; -} - -export namespace PackageName { - export function getJsonObj(obj: PackageName): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: PackageName): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/package-update-types.ts b/lib/osmanagement/lib/model/package-update-types.ts deleted file mode 100644 index eb21bc7853..0000000000 --- a/lib/osmanagement/lib/model/package-update-types.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 purpose of an update. - **/ -export enum PackageUpdateTypes { - Security = "SECURITY", - Bugfix = "BUGFIX", - Enhancement = "ENHANCEMENT", - Other = "OTHER", - Ksplice = "KSPLICE", - 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 namespace PackageUpdateTypes { - export function getJsonObj(obj: PackageUpdateTypes): PackageUpdateTypes { - return obj; - } - export function getDeserializedJsonObj(obj: PackageUpdateTypes): PackageUpdateTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/recurrence.ts b/lib/osmanagement/lib/model/recurrence.ts deleted file mode 100644 index 1878066985..0000000000 --- a/lib/osmanagement/lib/model/recurrence.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An object for representing a recurrence time interval - */ -export interface Recurrence { - /** - * the interval period for the recurrence - */ - "intervalType": Recurrence.IntervalType; - /** - * the value for the interval period for the recurrence - */ - "intervalValue": string; -} - -export namespace Recurrence { - export enum IntervalType { - Minutes = "MINUTES", - Hours = "HOURS", - Days = "DAYS", - Weeks = "WEEKS" - } - - export function getJsonObj(obj: Recurrence): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Recurrence): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/related-event-collection.ts b/lib/osmanagement/lib/model/related-event-collection.ts deleted file mode 100644 index b3a25fbc2e..0000000000 --- a/lib/osmanagement/lib/model/related-event-collection.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 event occurence search. Contains RelatedEventSummary. - */ -export interface RelatedEventCollection { - /** - * List of event occurrence. - */ - "items": Array; -} - -export namespace RelatedEventCollection { - export function getJsonObj(obj: RelatedEventCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.RelatedEventSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RelatedEventCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.RelatedEventSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/related-event-summary.ts b/lib/osmanagement/lib/model/related-event-summary.ts deleted file mode 100644 index b275805920..0000000000 --- a/lib/osmanagement/lib/model/related-event-summary.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Event occurrence on managed instances. - */ -export interface RelatedEventSummary { - /** - * OCID identifier of the event - */ - "id": string; - /** - * OCID identifier of the instance - */ - "instanceId": string; - /** - * time occurence - */ - "timestamp"?: Date; -} - -export namespace RelatedEventSummary { - export function getJsonObj(obj: RelatedEventSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RelatedEventSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/remove-packages-from-software-source-details.ts b/lib/osmanagement/lib/model/remove-packages-from-software-source-details.ts deleted file mode 100644 index af49fff037..0000000000 --- a/lib/osmanagement/lib/model/remove-packages-from-software-source-details.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software package names - */ -export interface RemovePackagesFromSoftwareSourceDetails { - /** - * the list of package names - */ - "packageNames": Array; -} - -export namespace RemovePackagesFromSoftwareSourceDetails { - export function getJsonObj(obj: RemovePackagesFromSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: RemovePackagesFromSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/schedule-types.ts b/lib/osmanagement/lib/model/schedule-types.ts deleted file mode 100644 index 3a348999b1..0000000000 --- a/lib/osmanagement/lib/model/schedule-types.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 schedule types - **/ -export enum ScheduleTypes { - Onetime = "ONETIME", - Recurring = "RECURRING", - - /** - * 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 ScheduleTypes { - export function getJsonObj(obj: ScheduleTypes): ScheduleTypes { - return obj; - } - export function getDeserializedJsonObj(obj: ScheduleTypes): ScheduleTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/scheduled-job-summary.ts b/lib/osmanagement/lib/model/scheduled-job-summary.ts deleted file mode 100644 index 936c12247a..0000000000 --- a/lib/osmanagement/lib/model/scheduled-job-summary.ts +++ /dev/null @@ -1,124 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Basic information about a Scheduled Job - */ -export interface ScheduledJobSummary { - /** - * OCID for the Scheduled Job - */ - "id": string; - /** - * Scheduled Job name - */ - "displayName": string; - /** - * OCID for the Compartment - */ - "compartmentId"?: string; - /** - * the type of scheduling this Scheduled Job follows - */ - "scheduleType"?: model.ScheduleTypes; - /** - * the time/date of the next scheduled execution of this Scheduled Job - */ - "timeNextExecution"?: Date; - /** - * the time/date of the last execution of this Scheduled Job - */ - "timeLastExecution"?: Date; - /** - * the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) - */ - "managedInstances"?: Array; - /** - * the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) - */ - "managedInstanceGroups"?: Array; - /** - * the type of operation this Scheduled Job performs - */ - "operationType"?: model.OperationTypes; - /** - * The current state of the Scheduled Job. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * 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 } }; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job) - */ - "isRestricted"?: boolean; -} - -export namespace ScheduledJobSummary { - export function getJsonObj(obj: ScheduledJobSummary): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ScheduledJobSummary): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/scheduled-job.ts b/lib/osmanagement/lib/model/scheduled-job.ts deleted file mode 100644 index 56625a6bf0..0000000000 --- a/lib/osmanagement/lib/model/scheduled-job.ts +++ /dev/null @@ -1,176 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Detailed information about a Scheduled Job - */ -export interface ScheduledJob { - /** - * OCID for the Scheduled Job - */ - "id": string; - /** - * OCID for the Compartment - */ - "compartmentId"?: string; - /** - * Scheduled Job name - */ - "displayName": string; - /** - * Details describing the Scheduled Job. - */ - "description"?: string; - /** - * the type of scheduling this Scheduled Job follows - */ - "scheduleType"?: model.ScheduleTypes; - /** - * the time of the next execution of this Scheduled Job - */ - "timeNextExecution"?: Date; - /** - * the time of the last execution of this Scheduled Job - */ - "timeLastExecution"?: Date; - /** - * the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalType"?: model.IntervalTypes; - /** - * the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalValue"?: string; - /** - * the list of managed instances this scheduled job operates on (mutually exclusive with managedInstanceGroups) - */ - "managedInstances"?: Array; - /** - * the list of managed instance groups this scheduled job operates on (mutually exclusive with managedInstances) - */ - "managedInstanceGroups"?: Array; - /** - * the type of operation this Scheduled Job performs - */ - "operationType"?: model.OperationTypes; - /** - * Type of the update (only if operation type is UPDATEALL) - */ - "updateType"?: model.PackageUpdateTypes; - /** - * the names of the updates (only if operation type is INSTALL/UPDATE/REMOVE) - */ - "packageNames"?: Array; - /** - * list of Work Requests associated with this Scheduled Job - */ - "workRequests"?: Array; - /** - * The current state of the Scheduled Job. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * 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 } }; - /** - * The unique names of the Windows Updates (only if operation type is INSTALL). - * This is only applicable when the osFamily is for Windows managed instances. - * - */ - "updateNames"?: Array; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * true, if the schedule job has its update capabilities restricted. (Used to track Autonomous Scheduled Job) - */ - "isRestricted"?: boolean; -} - -export namespace ScheduledJob { - export function getJsonObj(obj: ScheduledJob): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getJsonObj(item); - }) - : undefined, - "workRequests": obj.workRequests - ? obj.workRequests.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ScheduledJob): object { - const jsonObj = { - ...obj, - ...{ - "managedInstances": obj.managedInstances - ? obj.managedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - "managedInstanceGroups": obj.managedInstanceGroups - ? obj.managedInstanceGroups.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getDeserializedJsonObj(item); - }) - : undefined, - "workRequests": obj.workRequests - ? obj.workRequests.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-package-dependency.ts b/lib/osmanagement/lib/model/software-package-dependency.ts deleted file mode 100644 index d6990715fc..0000000000 --- a/lib/osmanagement/lib/model/software-package-dependency.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 dependency for a software package - */ -export interface SoftwarePackageDependency { - /** - * the software package's dependency - */ - "dependency"?: string; - /** - * the type of the dependency - */ - "dependencyType"?: string; - /** - * the modifier for the dependency - */ - "dependencyModifier"?: string; -} - -export namespace SoftwarePackageDependency { - export function getJsonObj(obj: SoftwarePackageDependency): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwarePackageDependency): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-package-file.ts b/lib/osmanagement/lib/model/software-package-file.ts deleted file mode 100644 index 7df47b7be5..0000000000 --- a/lib/osmanagement/lib/model/software-package-file.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 file associated with a package - */ -export interface SoftwarePackageFile { - /** - * file path - */ - "path"?: string; - /** - * type of the file - */ - "type"?: string; - /** - * The date and time of the last modification to this file, as described - * in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeModified"?: Date; - /** - * checksum of the file - */ - "checksum"?: string; - /** - * type of the checksum - */ - "checksumType"?: string; - /** - * size of the file in bytes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sizeInBytes"?: number; -} - -export namespace SoftwarePackageFile { - export function getJsonObj(obj: SoftwarePackageFile): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwarePackageFile): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-package-search-summary.ts b/lib/osmanagement/lib/model/software-package-search-summary.ts deleted file mode 100644 index b520a808e2..0000000000 --- a/lib/osmanagement/lib/model/software-package-search-summary.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 for a software package - */ -export interface SoftwarePackageSearchSummary { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package. NOTE - This is not an OCID - */ - "name": string; - /** - * Type of the package - */ - "type": string; - /** - * Version of the package - */ - "version": string; - /** - * the architecture for which this software was built - */ - "architecture"?: string; - /** - * a summary description of the software package - */ - "summary"?: string; - /** - * Type of the erratum. - */ - "advisoryType"?: model.UpdateTypes; - /** - * List of errata containing this software package - */ - "errata"?: Array; - /** - * list of software sources that provide the software package - */ - "softwareSources"?: Array; -} - -export namespace SoftwarePackageSearchSummary { - export function getJsonObj(obj: SoftwarePackageSearchSummary): object { - const jsonObj = { - ...obj, - ...{ - "errata": obj.errata - ? obj.errata.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined, - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwarePackageSearchSummary): object { - const jsonObj = { - ...obj, - ...{ - "errata": obj.errata - ? obj.errata.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined, - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-package-summary.ts b/lib/osmanagement/lib/model/software-package-summary.ts deleted file mode 100644 index 0cf724761c..0000000000 --- a/lib/osmanagement/lib/model/software-package-summary.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 for a software package - */ -export interface SoftwarePackageSummary { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package. NOTE - This is not an OCID - */ - "name": string; - /** - * Type of the package - */ - "type": string; - /** - * Version of the package - */ - "version": string; - /** - * the architecture for which this software was built - */ - "architecture"?: string; - /** - * checksum of the package - */ - "checksum"?: string; - /** - * type of the checksum - */ - "checksumType"?: string; -} - -export namespace SoftwarePackageSummary { - export function getJsonObj(obj: SoftwarePackageSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwarePackageSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-package.ts b/lib/osmanagement/lib/model/software-package.ts deleted file mode 100644 index 38900330f6..0000000000 --- a/lib/osmanagement/lib/model/software-package.ts +++ /dev/null @@ -1,126 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 for a software package - */ -export interface SoftwarePackage { - /** - * Package name - */ - "displayName": string; - /** - * Unique identifier for the package. NOTE - This is not an OCID - */ - "name": string; - /** - * Type of the package - */ - "type": string; - /** - * Version of the package - */ - "version": string; - /** - * the architecture for which this software was built - */ - "architecture"?: string; - /** - * date of the last update to the package - */ - "lastModifiedDate"?: string; - /** - * checksum of the package - */ - "checksum"?: string; - /** - * type of the checksum - */ - "checksumType"?: string; - /** - * description of the package - */ - "description"?: string; - /** - * size of the package in bytes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sizeInBytes"?: number; - /** - * list of dependencies for the software package - */ - "dependencies"?: Array; - /** - * list of files for the software package - */ - "files"?: Array; - /** - * list of software sources that provide the software package - */ - "softwareSources"?: Array; -} - -export namespace SoftwarePackage { - export function getJsonObj(obj: SoftwarePackage): object { - const jsonObj = { - ...obj, - ...{ - "dependencies": obj.dependencies - ? obj.dependencies.map(item => { - return model.SoftwarePackageDependency.getJsonObj(item); - }) - : undefined, - "files": obj.files - ? obj.files.map(item => { - return model.SoftwarePackageFile.getJsonObj(item); - }) - : undefined, - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwarePackage): object { - const jsonObj = { - ...obj, - ...{ - "dependencies": obj.dependencies - ? obj.dependencies.map(item => { - return model.SoftwarePackageDependency.getDeserializedJsonObj(item); - }) - : undefined, - "files": obj.files - ? obj.files.map(item => { - return model.SoftwarePackageFile.getDeserializedJsonObj(item); - }) - : undefined, - "softwareSources": obj.softwareSources - ? obj.softwareSources.map(item => { - return model.SoftwareSourceId.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-source-id.ts b/lib/osmanagement/lib/model/software-source-id.ts deleted file mode 100644 index 49d99d4ca8..0000000000 --- a/lib/osmanagement/lib/model/software-source-id.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Identifying information for the specified software source - */ -export interface SoftwareSourceId { - /** - * software source name - */ - "name"?: string; - /** - * software source identifier - */ - "id": string; -} - -export namespace SoftwareSourceId { - export function getJsonObj(obj: SoftwareSourceId): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwareSourceId): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-source-summary.ts b/lib/osmanagement/lib/model/software-source-summary.ts deleted file mode 100644 index ccbdfe8016..0000000000 --- a/lib/osmanagement/lib/model/software-source-summary.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software source contains a collection of packages - */ -export interface SoftwareSourceSummary { - /** - * OCID for the Software Source - */ - "id": string; - /** - * Information specified by the user about the software source - */ - "description"?: string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * User friendly name for the software source - */ - "displayName": string; - /** - * Type of the Software Source - */ - "repoType": string; - /** - * status of the software source. - */ - "status"?: SoftwareSourceSummary.Status; - /** - * Number of packages Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "packages"?: number; - /** - * The current state of the software source. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * OCID for the parent software source, if there is one - */ - "parentId"?: string; - /** - * Display name the parent software source, if there is one - */ - "parentName"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 SoftwareSourceSummary { - export enum Status { - Normal = "NORMAL", - Unreachable = "UNREACHABLE", - Error = "ERROR", - Warning = "WARNING", - /** - * 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: SoftwareSourceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwareSourceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/software-source.ts b/lib/osmanagement/lib/model/software-source.ts deleted file mode 100644 index 4fbcfd2cd9..0000000000 --- a/lib/osmanagement/lib/model/software-source.ts +++ /dev/null @@ -1,158 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 software source contains a collection of packages - */ -export interface SoftwareSource { - /** - * OCID for the Software Source - */ - "id": string; - /** - * OCID for the Compartment - */ - "compartmentId": string; - /** - * User friendly name for the software source - */ - "displayName": string; - /** - * Information specified by the user about the software source - */ - "description"?: string; - /** - * Type of the Software Source - */ - "repoType": string; - /** - * The architecture type supported by the Software Source - */ - "archType"?: model.ArchTypes; - /** - * URL for the repostiory - */ - "url": string; - /** - * OCID for the parent software source, if there is one - */ - "parentId"?: string; - /** - * Display name the parent software source, if there is one - */ - "parentName"?: string; - /** - * The yum repository checksum type used by this software source - */ - "checksumType"?: model.ChecksumTypes; - /** - * Name of the person maintaining this software source - */ - "maintainerName"?: string; - /** - * Email address of the person maintaining this software source - */ - "maintainerEmail"?: string; - /** - * Phone number of the person maintaining this software source - */ - "maintainerPhone"?: string; - /** - * URL of the GPG key for this software source - */ - "gpgKeyUrl"?: string; - /** - * ID of the GPG key for this software source - */ - "gpgKeyId"?: string; - /** - * Fingerprint of the GPG key for this software source - */ - "gpgKeyFingerprint"?: string; - /** - * status of the software source. - */ - "status"?: SoftwareSource.Status; - /** - * The current state of the Software Source. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * Number of packages Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "packages"?: number; - /** - * list of the Managed Instances associated with this Software Sources - */ - "associatedManagedInstances"?: 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 SoftwareSource { - export enum Status { - Normal = "NORMAL", - Unreachable = "UNREACHABLE", - Error = "ERROR", - Warning = "WARNING", - /** - * 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: SoftwareSource): object { - const jsonObj = { - ...obj, - ...{ - "associatedManagedInstances": obj.associatedManagedInstances - ? obj.associatedManagedInstances.map(item => { - return model.Id.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SoftwareSource): object { - const jsonObj = { - ...obj, - ...{ - "associatedManagedInstances": obj.associatedManagedInstances - ? obj.associatedManagedInstances.map(item => { - return model.Id.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-event-details.ts b/lib/osmanagement/lib/model/update-event-details.ts deleted file mode 100644 index 0fefbf1c59..0000000000 --- a/lib/osmanagement/lib/model/update-event-details.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for updating an event associated with a managed instance - */ -export interface UpdateEventDetails { - /** - * 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 UpdateEventDetails { - export function getJsonObj(obj: UpdateEventDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateEventDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-managed-instance-details.ts b/lib/osmanagement/lib/model/update-managed-instance-details.ts deleted file mode 100644 index 76f2ea706e..0000000000 --- a/lib/osmanagement/lib/model/update-managed-instance-details.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 to update a managed instance - */ -export interface UpdateManagedInstanceDetails { - /** - * OCID of the ONS topic used to send notification to users - */ - "notificationTopicId"?: string; - /** - * True if user allow data collection for this instance - */ - "isDataCollectionAuthorized"?: boolean; -} - -export namespace UpdateManagedInstanceDetails { - export function getJsonObj(obj: UpdateManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateManagedInstanceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-managed-instance-group-details.ts b/lib/osmanagement/lib/model/update-managed-instance-group-details.ts deleted file mode 100644 index cf7aa47bed..0000000000 --- a/lib/osmanagement/lib/model/update-managed-instance-group-details.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for updating a managed instance group - */ -export interface UpdateManagedInstanceGroupDetails { - /** - * Managed Instance Group identifier - */ - "displayName"?: string; - /** - * Information specified by the user about the managed instance group - */ - "description"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 UpdateManagedInstanceGroupDetails { - export function getJsonObj(obj: UpdateManagedInstanceGroupDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateManagedInstanceGroupDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-module-details.ts b/lib/osmanagement/lib/model/update-module-details.ts deleted file mode 100644 index a6e4872e4c..0000000000 --- a/lib/osmanagement/lib/model/update-module-details.ts +++ /dev/null @@ -1,62 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 description of a module and its stream - */ -export interface UpdateModuleDetails { - /** - * The name of a module - */ - "moduleName": string; - /** - * The streams of the module - */ - "streams"?: Array; -} - -export namespace UpdateModuleDetails { - export function getJsonObj(obj: UpdateModuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "streams": obj.streams - ? obj.streams.map(item => { - return model.UpdateModuleStreamDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateModuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "streams": obj.streams - ? obj.streams.map(item => { - return model.UpdateModuleStreamDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-module-stream-details.ts b/lib/osmanagement/lib/model/update-module-stream-details.ts deleted file mode 100644 index f18f6019c3..0000000000 --- a/lib/osmanagement/lib/model/update-module-stream-details.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 detailing the state of a module stream - */ -export interface UpdateModuleStreamDetails { - /** - * The name of the stream of the parent module - */ - "streamName": string; - /** - * The status of the stream -*

-A stream with the \"ENABLED\" status can be used as a source for installing -* profiles. Streams with this status are also \"ACTIVE\". -*

-A stream with the \"DISABLED\" status cannot be the source for installing -* profiles. To install profiles and packages from this stream, it must be -* enabled. -*

-A stream with the \"ACTIVE\" status can be used as a source for installing -* profiles. The packages that comprise the stream are also used when a -* matching package is installed directly. In general, a stream can have -* this status if it is the default stream for the module and no stream has -* been explicitly enabled. -* - */ - "status": UpdateModuleStreamDetails.Status; - /** - * The date and time of the last status change for this object, as - * described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeModified": Date; - /** - * The name of the software source that publishes this stream. - */ - "softwareSourceName"?: string; - /** - * The URL of the software source that publishes this stream. - */ - "softwareSourceUrl"?: string; - /** - * Indicates if the module stream is the default - */ - "isDefault"?: boolean; - /** - * The profiles of the stream - */ - "profiles"?: Array; -} - -export namespace UpdateModuleStreamDetails { - export enum Status { - Enabled = "ENABLED", - Disabled = "DISABLED", - Active = "ACTIVE" - } - - export function getJsonObj(obj: UpdateModuleStreamDetails): object { - const jsonObj = { - ...obj, - ...{ - "profiles": obj.profiles - ? obj.profiles.map(item => { - return model.UpdateModuleStreamProfileDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateModuleStreamDetails): object { - const jsonObj = { - ...obj, - ...{ - "profiles": obj.profiles - ? obj.profiles.map(item => { - return model.UpdateModuleStreamProfileDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-module-stream-profile-details.ts b/lib/osmanagement/lib/model/update-module-stream-profile-details.ts deleted file mode 100644 index 083b043362..0000000000 --- a/lib/osmanagement/lib/model/update-module-stream-profile-details.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 detailing the state of a module stream profile - */ -export interface UpdateModuleStreamProfileDetails { - /** - * The name of the profile of the parent stream - */ - "profileName": string; - /** - * The status of the profile. -*

-A profile with the \"INSTALLED\" status indicates that the -* profile has been installed. -*

-A profile with the \"AVAILABLE\" status indicates that the -* profile is not installed, but can be. -* - */ - "status": UpdateModuleStreamProfileDetails.Status; - /** - * Indicates if the module stream profile is the default - */ - "isDefault"?: boolean; - /** - * The date and time of the last status change for this object, as - * described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeModified": Date; -} - -export namespace UpdateModuleStreamProfileDetails { - export enum Status { - Installed = "INSTALLED", - Available = "AVAILABLE" - } - - export function getJsonObj(obj: UpdateModuleStreamProfileDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateModuleStreamProfileDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-module-stream-state-details.ts b/lib/osmanagement/lib/model/update-module-stream-state-details.ts deleted file mode 100644 index ff0a59a132..0000000000 --- a/lib/osmanagement/lib/model/update-module-stream-state-details.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 complete description of the state of modules on a managed instance - */ -export interface UpdateModuleStreamStateDetails { - /** - * The modules known to a managed instance - */ - "modules"?: Array; -} - -export namespace UpdateModuleStreamStateDetails { - export function getJsonObj(obj: UpdateModuleStreamStateDetails): object { - const jsonObj = { - ...obj, - ...{ - "modules": obj.modules - ? obj.modules.map(item => { - return model.UpdateModuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateModuleStreamStateDetails): object { - const jsonObj = { - ...obj, - ...{ - "modules": obj.modules - ? obj.modules.map(item => { - return model.UpdateModuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-scheduled-job-details.ts b/lib/osmanagement/lib/model/update-scheduled-job-details.ts deleted file mode 100644 index e5275d31cb..0000000000 --- a/lib/osmanagement/lib/model/update-scheduled-job-details.ts +++ /dev/null @@ -1,108 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for updating a Scheduled Job - */ -export interface UpdateScheduledJobDetails { - /** - * Scheduled Job name - */ - "displayName"?: string; - /** - * Details describing the Scheduled Job. - */ - "description"?: string; - /** - * the type of scheduling this Scheduled Job follows - */ - "scheduleType"?: model.ScheduleTypes; - /** - * the desired time for the next execution of this Scheduled Job - */ - "timeNextExecution"?: Date; - /** - * the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalType"?: model.IntervalTypes; - /** - * the value for the interval period for a recurring Scheduled Job (only if schedule type is RECURRING) - */ - "intervalValue"?: string; - /** - * the type of operation this Scheduled Job performs - */ - "operationType"?: model.OperationTypes; - /** - * Type of the update (only if operation type is UPDATEALL) - */ - "updateType"?: model.PackageUpdateTypes; - /** - * the id of the package (only if operation type is INSTALL/UPDATE/REMOVE) - */ - "packageNames"?: Array; - /** - * The unique names of the Windows Updates (only if operation type is INSTALL). - * This is only applicable when the osFamily is for Windows managed instances. - * - */ - "updateNames"?: 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 UpdateScheduledJobDetails { - export function getJsonObj(obj: UpdateScheduledJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateScheduledJobDetails): object { - const jsonObj = { - ...obj, - ...{ - "packageNames": obj.packageNames - ? obj.packageNames.map(item => { - return model.PackageName.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-software-source-details.ts b/lib/osmanagement/lib/model/update-software-source-details.ts deleted file mode 100644 index ec947d24f8..0000000000 --- a/lib/osmanagement/lib/model/update-software-source-details.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Information for updating a software source on the management system - */ -export interface UpdateSoftwareSourceDetails { - /** - * User friendly name for the software source - */ - "displayName"?: string; - /** - * Information specified by the user about the software source - */ - "description"?: string; - /** - * Name of the person maintaining this software source - */ - "maintainerName"?: string; - /** - * Email address of the person maintaining this software source - */ - "maintainerEmail"?: string; - /** - * Phone number of the person maintaining this software source - */ - "maintainerPhone"?: string; - /** - * The yum repository checksum type used by this software source - */ - "checksumType"?: model.ChecksumTypes; - /** - * 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 UpdateSoftwareSourceDetails { - export function getJsonObj(obj: UpdateSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateSoftwareSourceDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/update-types.ts b/lib/osmanagement/lib/model/update-types.ts deleted file mode 100644 index 0a89a74bd0..0000000000 --- a/lib/osmanagement/lib/model/update-types.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 update types - **/ -export enum UpdateTypes { - Security = "SECURITY", - Bug = "BUG", - Enhancement = "ENHANCEMENT", - Other = "OTHER", - - /** - * 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 UpdateTypes { - export function getJsonObj(obj: UpdateTypes): UpdateTypes { - return obj; - } - export function getDeserializedJsonObj(obj: UpdateTypes): UpdateTypes { - return obj; - } -} diff --git a/lib/osmanagement/lib/model/windows-update-summary.ts b/lib/osmanagement/lib/model/windows-update-summary.ts deleted file mode 100644 index 4a344c6225..0000000000 --- a/lib/osmanagement/lib/model/windows-update-summary.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 update available for a Windows managed instance. - */ -export interface WindowsUpdateSummary { - /** - * Windows Update name - */ - "displayName": string; - /** - * Unique identifier for the Windows update. NOTE - This is not an OCID, - * but is a unique identifier assigned by Microsoft. - * Example: {@code 6981d463-cd91-4a26-b7c4-ea4ded9183ed} - * - */ - "name": string; - /** - * The purpose of this update. - */ - "updateType": model.UpdateTypes; - /** - * Indicates whether the update can be installed using OSMS. - */ - "installable"?: model.IsEligibleForInstallation; - /** - * Indicates whether a reboot may be required to complete installation of this update. - */ - "isRebootRequiredForInstallation"?: boolean; -} - -export namespace WindowsUpdateSummary { - export function getJsonObj(obj: WindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WindowsUpdateSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/windows-update.ts b/lib/osmanagement/lib/model/windows-update.ts deleted file mode 100644 index 1687321ccc..0000000000 --- a/lib/osmanagement/lib/model/windows-update.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 update available for a Windows managed instance. - */ -export interface WindowsUpdate { - /** - * Windows Update name. - */ - "displayName": string; - /** - * Unique identifier for the Windows update. NOTE - This is not an OCID, - * but is a unique identifier assigned by Microsoft. - * Example: {@code 6981d463-cd91-4a26-b7c4-ea4ded9183ed} - * - */ - "name": string; - /** - * Information about the Windows Update. - */ - "description"?: string; - /** - * The purpose of this update. - */ - "updateType": model.UpdateTypes; - /** - * size of the package in bytes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "sizeInBytes"?: number; - /** - * Indicates whether the update can be installed using OSMS. - */ - "isEligibleForInstallation"?: model.IsEligibleForInstallation; - /** - * List of requirements forinstalling on a managed instances - */ - "installationRequirements"?: Array; - /** - * Indicates whether a reboot may be required to complete installation of this update. - */ - "isRebootRequiredForInstallation"?: boolean; - /** - * List of the Microsoft Knowledge Base Article Ids related to this Windows Update. - */ - "kbArticleIds"?: Array; -} - -export namespace WindowsUpdate { - export enum InstallationRequirements { - EulaAcceptanceRequired = "EULA_ACCEPTANCE_REQUIRED", - SoftwareMediaRequired = "SOFTWARE_MEDIA_REQUIRED", - UserInteractionRequired = "USER_INTERACTION_REQUIRED", - /** - * 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: WindowsUpdate): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WindowsUpdate): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/work-request-error.ts b/lib/osmanagement/lib/model/work-request-error.ts deleted file mode 100644 index d50ae929b4..0000000000 --- a/lib/osmanagement/lib/model/work-request-error.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Human readable error message describing why the work request failed - */ -export interface WorkRequestError { - /** - * A machine-usable code for the error that occured. - */ - "code": string; - /** - * A human readable description of the issue encountered. - */ - "message": string; - /** - * The date and time the error happened, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timestamp"?: Date; -} - -export namespace WorkRequestError { - export function getJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/work-request-log-entry.ts b/lib/osmanagement/lib/model/work-request-log-entry.ts deleted file mode 100644 index ace80cd4f9..0000000000 --- a/lib/osmanagement/lib/model/work-request-log-entry.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Human readable log message describing what the work request is doing - */ -export interface WorkRequestLogEntry { - /** - * A human readable log message. - */ - "message": string; - /** - * The date and time the error happened, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timestamp": Date; -} - -export namespace WorkRequestLogEntry { - export function getJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/work-request-resource.ts b/lib/osmanagement/lib/model/work-request-resource.ts deleted file mode 100644 index 847f4c4f30..0000000000 --- a/lib/osmanagement/lib/model/work-request-resource.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A resource created, operated on or used by a work request. - */ -export interface WorkRequestResource { - /** - * The resource type for the work request. - */ - "entityType": string; - /** - * The way in which this resource is affected by the work tracked in the work request. - * A resource being created, updated, or deleted will remain in the IN_PROGRESS state until - * work is complete for that resource at which point it will transition to CREATED, UPDATED, - * or DELETED, respectively. If the request failed for that resource, - * the state will be FAILED. - * - */ - "actionType": WorkRequestResource.ActionType; - /** - * The identifier of the resource. Not all resources will have an id. - */ - "identifier": string; - /** - * The name of the resource. Not all resources will have a name specified. - */ - "name"?: string; - /** - * The URI path that the user can do a GET on to access the resource metadata. - */ - "entityUri": string; -} - -export namespace WorkRequestResource { - export enum ActionType { - Created = "CREATED", - Updated = "UPDATED", - Deleted = "DELETED", - Failed = "FAILED", - InProgress = "IN_PROGRESS", - Installed = "INSTALLED", - Removed = "REMOVED", - /** - * 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: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/work-request-summary.ts b/lib/osmanagement/lib/model/work-request-summary.ts deleted file mode 100644 index f2b68f10dc..0000000000 --- a/lib/osmanagement/lib/model/work-request-summary.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 work request summary - */ -export interface WorkRequestSummary { - /** - * the type of operation this Work Request performs - */ - "operationType": model.OperationTypes; - /** - * status of current work request. - */ - "status": model.OperationStatus; - /** - * The id of the work request. - */ - "id": string; - /** - * The ocid of the compartment that contains the work request. Work requests should be scoped to - * the same compartment as the resource the work request affects. If the work request affects multiple resources, - * and those resources are not in the same compartment, it is up to the service team to pick the primary - * resource whose compartment should be used - * - */ - "compartmentId": string; - /** - * Description of the type of work. - */ - "description"?: string; - /** - * A progress or error message, if there is any. - */ - "message"?: string; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete"?: number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace WorkRequestSummary { - export function getJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/model/work-request.ts b/lib/osmanagement/lib/model/work-request.ts deleted file mode 100644 index 4c6910de3a..0000000000 --- a/lib/osmanagement/lib/model/work-request.ts +++ /dev/null @@ -1,126 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 description of workrequest status - */ -export interface WorkRequest { - /** - * the type of operation this Work Request performs - */ - "operationType": model.OperationTypes; - /** - * status of current work request. - */ - "status": model.OperationStatus; - /** - * The id of the work request. - */ - "id": string; - /** - * The ocid of the compartment that contains the work request. Work requests should be scoped to - * the same compartment as the resource the work request affects. If the work request affects multiple resources, - * and those resources are not in the same compartment, it is up to the service team to pick the primary - * resource whose compartment should be used - * - */ - "compartmentId": string; - /** - * Description of the type of work. - */ - "description"?: string; - /** - * A progress or error message, if there is any. - */ - "message"?: string; - "managedInstanceId"?: model.Id; - /** - * The resources affected by this work request. - */ - "resources": Array; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete": number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeStarted"?: Date; - /** - * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). - * - */ - "timeFinished"?: Date; - /** - * The Operating System type of the managed instance. - */ - "osFamily"?: model.OsFamilies; - /** - * The parent of this work request, if one exists. - */ - "parentId"?: string; - /** - * A list of the IDs of any children of this work request - */ - "childrenIds"?: Array; -} - -export namespace WorkRequest { - export function getJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "managedInstanceId": obj.managedInstanceId - ? model.Id.getJsonObj(obj.managedInstanceId) - : undefined, - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "managedInstanceId": obj.managedInstanceId - ? model.Id.getDeserializedJsonObj(obj.managedInstanceId) - : undefined, - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/osmanagement/lib/osmanagement-waiter.ts b/lib/osmanagement/lib/osmanagement-waiter.ts deleted file mode 100644 index 53b313738a..0000000000 --- a/lib/osmanagement/lib/osmanagement-waiter.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { OsManagementClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class OsManagementWaiter { - public constructor( - private client: OsManagementClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forManagedInstanceGroup 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 GetManagedInstanceGroupResponse | null (null in case of 404 response) - */ - public async forManagedInstanceGroup( - request: serviceRequests.GetManagedInstanceGroupRequest, - ...targetStates: models.LifecycleStates[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getManagedInstanceGroup(request), - response => targetStates.includes(response.managedInstanceGroup.lifecycleState!), - targetStates.includes(models.LifecycleStates.Deleted) - ); - } - - /** - * Waits forScheduledJob 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 GetScheduledJobResponse | null (null in case of 404 response) - */ - public async forScheduledJob( - request: serviceRequests.GetScheduledJobRequest, - ...targetStates: models.LifecycleStates[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getScheduledJob(request), - response => targetStates.includes(response.scheduledJob.lifecycleState!), - targetStates.includes(models.LifecycleStates.Deleted) - ); - } - - /** - * Waits forSoftwareSource 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 GetSoftwareSourceResponse | null (null in case of 404 response) - */ - public async forSoftwareSource( - request: serviceRequests.GetSoftwareSourceRequest, - ...targetStates: models.LifecycleStates[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getSoftwareSource(request), - response => targetStates.includes(response.softwareSource.lifecycleState!), - targetStates.includes(models.LifecycleStates.Deleted) - ); - } - - /** - * Waits forWorkRequest - * - * @param request the request to send - * @return response returns GetWorkRequestResponse - */ - public async forWorkRequest( - request: serviceRequests.GetWorkRequestRequest - ): Promise { - return genericWaiter( - this.config, - () => this.client.getWorkRequest(request), - response => (response.workRequest.timeFinished ? true : false) - ); - } -} diff --git a/lib/osmanagement/lib/request/add-packages-to-software-source-request.ts b/lib/osmanagement/lib/request/add-packages-to-software-source-request.ts deleted file mode 100644 index 409afacf03..0000000000 --- a/lib/osmanagement/lib/request/add-packages-to-software-source-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/AddPackagesToSoftwareSource.ts.html |here} to see how to use AddPackagesToSoftwareSourceRequest. - */ -export interface AddPackagesToSoftwareSourceRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * A list of package identifiers - */ - "addPackagesToSoftwareSourceDetails": model.AddPackagesToSoftwareSourceDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/attach-child-software-source-to-managed-instance-request.ts b/lib/osmanagement/lib/request/attach-child-software-source-to-managed-instance-request.ts deleted file mode 100644 index 4aa6839748..0000000000 --- a/lib/osmanagement/lib/request/attach-child-software-source-to-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/AttachChildSoftwareSourceToManagedInstance.ts.html |here} to see how to use AttachChildSoftwareSourceToManagedInstanceRequest. - */ -export interface AttachChildSoftwareSourceToManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Details for attaching a Software Source to a Managed Instance - */ - "attachChildSoftwareSourceToManagedInstanceDetails": model.AttachChildSoftwareSourceToManagedInstanceDetails; - /** - * 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/osmanagement/lib/request/attach-managed-instance-to-managed-instance-group-request.ts b/lib/osmanagement/lib/request/attach-managed-instance-to-managed-instance-group-request.ts deleted file mode 100644 index f1857ac773..0000000000 --- a/lib/osmanagement/lib/request/attach-managed-instance-to-managed-instance-group-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/AttachManagedInstanceToManagedInstanceGroup.ts.html |here} to see how to use AttachManagedInstanceToManagedInstanceGroupRequest. - */ -export interface AttachManagedInstanceToManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * OCID for the managed instance - */ - "managedInstanceId": 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/osmanagement/lib/request/attach-parent-software-source-to-managed-instance-request.ts b/lib/osmanagement/lib/request/attach-parent-software-source-to-managed-instance-request.ts deleted file mode 100644 index 796dc784e4..0000000000 --- a/lib/osmanagement/lib/request/attach-parent-software-source-to-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/AttachParentSoftwareSourceToManagedInstance.ts.html |here} to see how to use AttachParentSoftwareSourceToManagedInstanceRequest. - */ -export interface AttachParentSoftwareSourceToManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Details for attaching a Software Source to a Managed Instance - */ - "attachParentSoftwareSourceToManagedInstanceDetails": model.AttachParentSoftwareSourceToManagedInstanceDetails; - /** - * 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/osmanagement/lib/request/change-managed-instance-group-compartment-request.ts b/lib/osmanagement/lib/request/change-managed-instance-group-compartment-request.ts deleted file mode 100644 index e32dd76b0a..0000000000 --- a/lib/osmanagement/lib/request/change-managed-instance-group-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ChangeManagedInstanceGroupCompartment.ts.html |here} to see how to use ChangeManagedInstanceGroupCompartmentRequest. - */ -export interface ChangeManagedInstanceGroupCompartmentRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * OCID for the compartment to which the resource will be moved. - */ - "changeManagedInstanceGroupCompartmentDetails": model.ChangeManagedInstanceGroupCompartmentDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/change-scheduled-job-compartment-request.ts b/lib/osmanagement/lib/request/change-scheduled-job-compartment-request.ts deleted file mode 100644 index 4c7a267dce..0000000000 --- a/lib/osmanagement/lib/request/change-scheduled-job-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ChangeScheduledJobCompartment.ts.html |here} to see how to use ChangeScheduledJobCompartmentRequest. - */ -export interface ChangeScheduledJobCompartmentRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * OCID for the compartment to which the resource will be moved. - */ - "changeScheduledJobCompartmentDetails": model.ChangeScheduledJobCompartmentDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/change-software-source-compartment-request.ts b/lib/osmanagement/lib/request/change-software-source-compartment-request.ts deleted file mode 100644 index 43c05b7b9b..0000000000 --- a/lib/osmanagement/lib/request/change-software-source-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ChangeSoftwareSourceCompartment.ts.html |here} to see how to use ChangeSoftwareSourceCompartmentRequest. - */ -export interface ChangeSoftwareSourceCompartmentRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * OCID for the compartment to which the resource will be moved. - */ - "changeSoftwareSourceCompartmentDetails": model.ChangeSoftwareSourceCompartmentDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/create-managed-instance-group-request.ts b/lib/osmanagement/lib/request/create-managed-instance-group-request.ts deleted file mode 100644 index 75437efabf..0000000000 --- a/lib/osmanagement/lib/request/create-managed-instance-group-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/CreateManagedInstanceGroup.ts.html |here} to see how to use CreateManagedInstanceGroupRequest. - */ -export interface CreateManagedInstanceGroupRequest extends common.BaseRequest { - /** - * Details about a Managed Instance Group to create - */ - "createManagedInstanceGroupDetails": model.CreateManagedInstanceGroupDetails; - /** - * 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/osmanagement/lib/request/create-scheduled-job-request.ts b/lib/osmanagement/lib/request/create-scheduled-job-request.ts deleted file mode 100644 index 7263569136..0000000000 --- a/lib/osmanagement/lib/request/create-scheduled-job-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/CreateScheduledJob.ts.html |here} to see how to use CreateScheduledJobRequest. - */ -export interface CreateScheduledJobRequest extends common.BaseRequest { - /** - * Details about a Scheduled Job to create - */ - "createScheduledJobDetails": model.CreateScheduledJobDetails; - /** - * 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/osmanagement/lib/request/create-software-source-request.ts b/lib/osmanagement/lib/request/create-software-source-request.ts deleted file mode 100644 index 221f82e6cb..0000000000 --- a/lib/osmanagement/lib/request/create-software-source-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/CreateSoftwareSource.ts.html |here} to see how to use CreateSoftwareSourceRequest. - */ -export interface CreateSoftwareSourceRequest extends common.BaseRequest { - /** - * Details about a Sofware Source to create - */ - "createSoftwareSourceDetails": model.CreateSoftwareSourceDetails; - /** - * 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/osmanagement/lib/request/delete-event-content-request.ts b/lib/osmanagement/lib/request/delete-event-content-request.ts deleted file mode 100644 index fd5c6d71ac..0000000000 --- a/lib/osmanagement/lib/request/delete-event-content-request.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DeleteEventContent.ts.html |here} to see how to use DeleteEventContentRequest. - */ -export interface DeleteEventContentRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * Unique Event identifier (OCID) - */ - "eventId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/delete-managed-instance-group-request.ts b/lib/osmanagement/lib/request/delete-managed-instance-group-request.ts deleted file mode 100644 index ba8837ddaf..0000000000 --- a/lib/osmanagement/lib/request/delete-managed-instance-group-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DeleteManagedInstanceGroup.ts.html |here} to see how to use DeleteManagedInstanceGroupRequest. - */ -export interface DeleteManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/delete-scheduled-job-request.ts b/lib/osmanagement/lib/request/delete-scheduled-job-request.ts deleted file mode 100644 index 70291b6e42..0000000000 --- a/lib/osmanagement/lib/request/delete-scheduled-job-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DeleteScheduledJob.ts.html |here} to see how to use DeleteScheduledJobRequest. - */ -export interface DeleteScheduledJobRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/delete-software-source-request.ts b/lib/osmanagement/lib/request/delete-software-source-request.ts deleted file mode 100644 index 609cdf96e4..0000000000 --- a/lib/osmanagement/lib/request/delete-software-source-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DeleteSoftwareSource.ts.html |here} to see how to use DeleteSoftwareSourceRequest. - */ -export interface DeleteSoftwareSourceRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/detach-child-software-source-from-managed-instance-request.ts b/lib/osmanagement/lib/request/detach-child-software-source-from-managed-instance-request.ts deleted file mode 100644 index 28d446a07e..0000000000 --- a/lib/osmanagement/lib/request/detach-child-software-source-from-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DetachChildSoftwareSourceFromManagedInstance.ts.html |here} to see how to use DetachChildSoftwareSourceFromManagedInstanceRequest. - */ -export interface DetachChildSoftwareSourceFromManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Details for detaching a Software Source from a Managed Instance - */ - "detachChildSoftwareSourceFromManagedInstanceDetails": model.DetachChildSoftwareSourceFromManagedInstanceDetails; - /** - * 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/osmanagement/lib/request/detach-managed-instance-from-managed-instance-group-request.ts b/lib/osmanagement/lib/request/detach-managed-instance-from-managed-instance-group-request.ts deleted file mode 100644 index 411bd8a26e..0000000000 --- a/lib/osmanagement/lib/request/detach-managed-instance-from-managed-instance-group-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DetachManagedInstanceFromManagedInstanceGroup.ts.html |here} to see how to use DetachManagedInstanceFromManagedInstanceGroupRequest. - */ -export interface DetachManagedInstanceFromManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * OCID for the managed instance - */ - "managedInstanceId": 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/osmanagement/lib/request/detach-parent-software-source-from-managed-instance-request.ts b/lib/osmanagement/lib/request/detach-parent-software-source-from-managed-instance-request.ts deleted file mode 100644 index b45704922f..0000000000 --- a/lib/osmanagement/lib/request/detach-parent-software-source-from-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DetachParentSoftwareSourceFromManagedInstance.ts.html |here} to see how to use DetachParentSoftwareSourceFromManagedInstanceRequest. - */ -export interface DetachParentSoftwareSourceFromManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Details for detaching a Software Source from a Managed Instance - */ - "detachParentSoftwareSourceFromManagedInstanceDetails": model.DetachParentSoftwareSourceFromManagedInstanceDetails; - /** - * 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/osmanagement/lib/request/disable-module-stream-on-managed-instance-request.ts b/lib/osmanagement/lib/request/disable-module-stream-on-managed-instance-request.ts deleted file mode 100644 index 11d728649f..0000000000 --- a/lib/osmanagement/lib/request/disable-module-stream-on-managed-instance-request.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/DisableModuleStreamOnManagedInstance.ts.html |here} to see how to use DisableModuleStreamOnManagedInstanceRequest. - */ -export interface DisableModuleStreamOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The name of a module. - */ - "moduleName": 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; - /** - * 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 name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; -} diff --git a/lib/osmanagement/lib/request/enable-module-stream-on-managed-instance-request.ts b/lib/osmanagement/lib/request/enable-module-stream-on-managed-instance-request.ts deleted file mode 100644 index 0a33280a8a..0000000000 --- a/lib/osmanagement/lib/request/enable-module-stream-on-managed-instance-request.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/EnableModuleStreamOnManagedInstance.ts.html |here} to see how to use EnableModuleStreamOnManagedInstanceRequest. - */ -export interface EnableModuleStreamOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The name of a module. - */ - "moduleName": 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; - /** - * 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 name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; -} diff --git a/lib/osmanagement/lib/request/get-erratum-request.ts b/lib/osmanagement/lib/request/get-erratum-request.ts deleted file mode 100644 index 215dcb65b7..0000000000 --- a/lib/osmanagement/lib/request/get-erratum-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetErratum.ts.html |here} to see how to use GetErratumRequest. - */ -export interface GetErratumRequest extends common.BaseRequest { - /** - * The OCID of the erratum. - */ - "erratumId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-event-content-request.ts b/lib/osmanagement/lib/request/get-event-content-request.ts deleted file mode 100644 index 0fd7c09178..0000000000 --- a/lib/osmanagement/lib/request/get-event-content-request.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetEventContent.ts.html |here} to see how to use GetEventContentRequest. - */ -export interface GetEventContentRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * Unique Event identifier (OCID) - */ - "eventId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-event-report-request.ts b/lib/osmanagement/lib/request/get-event-report-request.ts deleted file mode 100644 index 34d210ea82..0000000000 --- a/lib/osmanagement/lib/request/get-event-report-request.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetEventReport.ts.html |here} to see how to use GetEventReportRequest. - */ -export interface GetEventReportRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampLessThan"?: Date; - /** - * filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampGreaterThanOrEqualTo"?: Date; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-event-request.ts b/lib/osmanagement/lib/request/get-event-request.ts deleted file mode 100644 index 168035c99e..0000000000 --- a/lib/osmanagement/lib/request/get-event-request.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetEvent.ts.html |here} to see how to use GetEventRequest. - */ -export interface GetEventRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * Unique Event identifier (OCID) - */ - "eventId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-managed-instance-group-request.ts b/lib/osmanagement/lib/request/get-managed-instance-group-request.ts deleted file mode 100644 index b588e2dc02..0000000000 --- a/lib/osmanagement/lib/request/get-managed-instance-group-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetManagedInstanceGroup.ts.html |here} to see how to use GetManagedInstanceGroupRequest. - */ -export interface GetManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-managed-instance-request.ts b/lib/osmanagement/lib/request/get-managed-instance-request.ts deleted file mode 100644 index 8781e06968..0000000000 --- a/lib/osmanagement/lib/request/get-managed-instance-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetManagedInstance.ts.html |here} to see how to use GetManagedInstanceRequest. - */ -export interface GetManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-module-stream-profile-request.ts b/lib/osmanagement/lib/request/get-module-stream-profile-request.ts deleted file mode 100644 index b302b98e83..0000000000 --- a/lib/osmanagement/lib/request/get-module-stream-profile-request.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetModuleStreamProfile.ts.html |here} to see how to use GetModuleStreamProfileRequest. - */ -export interface GetModuleStreamProfileRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The name of the module - */ - "moduleName": string; - /** - * The name of the stream of the containing module - */ - "streamName": string; - /** - * The name of the profile of the containing module stream - */ - "profileName": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-module-stream-request.ts b/lib/osmanagement/lib/request/get-module-stream-request.ts deleted file mode 100644 index 871d7dd0b3..0000000000 --- a/lib/osmanagement/lib/request/get-module-stream-request.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetModuleStream.ts.html |here} to see how to use GetModuleStreamRequest. - */ -export interface GetModuleStreamRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The name of the module - */ - "moduleName": string; - /** - * The name of the stream of the containing module - */ - "streamName": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-scheduled-job-request.ts b/lib/osmanagement/lib/request/get-scheduled-job-request.ts deleted file mode 100644 index 52a1762157..0000000000 --- a/lib/osmanagement/lib/request/get-scheduled-job-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetScheduledJob.ts.html |here} to see how to use GetScheduledJobRequest. - */ -export interface GetScheduledJobRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-software-package-request.ts b/lib/osmanagement/lib/request/get-software-package-request.ts deleted file mode 100644 index 47ee2470e0..0000000000 --- a/lib/osmanagement/lib/request/get-software-package-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetSoftwarePackage.ts.html |here} to see how to use GetSoftwarePackageRequest. - */ -export interface GetSoftwarePackageRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The id of the software package. - */ - "softwarePackageName": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-software-source-request.ts b/lib/osmanagement/lib/request/get-software-source-request.ts deleted file mode 100644 index f647d348eb..0000000000 --- a/lib/osmanagement/lib/request/get-software-source-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetSoftwareSource.ts.html |here} to see how to use GetSoftwareSourceRequest. - */ -export interface GetSoftwareSourceRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-windows-update-request.ts b/lib/osmanagement/lib/request/get-windows-update-request.ts deleted file mode 100644 index 994c629819..0000000000 --- a/lib/osmanagement/lib/request/get-windows-update-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetWindowsUpdate.ts.html |here} to see how to use GetWindowsUpdateRequest. - */ -export interface GetWindowsUpdateRequest extends common.BaseRequest { - /** - * The Windows Update - */ - "windowsUpdate": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/get-work-request-request.ts b/lib/osmanagement/lib/request/get-work-request-request.ts deleted file mode 100644 index 5e12d79a3c..0000000000 --- a/lib/osmanagement/lib/request/get-work-request-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. - */ -export interface GetWorkRequestRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/index.ts b/lib/osmanagement/lib/request/index.ts deleted file mode 100644 index 215882c7e7..0000000000 --- a/lib/osmanagement/lib/request/index.ts +++ /dev/null @@ -1,169 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as DeleteEventContentRequest from "./delete-event-content-request"; -export import DeleteEventContentRequest = DeleteEventContentRequest.DeleteEventContentRequest; -import * as GetEventRequest from "./get-event-request"; -export import GetEventRequest = GetEventRequest.GetEventRequest; -import * as GetEventContentRequest from "./get-event-content-request"; -export import GetEventContentRequest = GetEventContentRequest.GetEventContentRequest; -import * as GetEventReportRequest from "./get-event-report-request"; -export import GetEventReportRequest = GetEventReportRequest.GetEventReportRequest; -import * as ListEventsRequest from "./list-events-request"; -export import ListEventsRequest = ListEventsRequest.ListEventsRequest; -import * as ListRelatedEventsRequest from "./list-related-events-request"; -export import ListRelatedEventsRequest = ListRelatedEventsRequest.ListRelatedEventsRequest; -import * as UpdateEventRequest from "./update-event-request"; -export import UpdateEventRequest = UpdateEventRequest.UpdateEventRequest; -import * as UploadEventContentRequest from "./upload-event-content-request"; -export import UploadEventContentRequest = UploadEventContentRequest.UploadEventContentRequest; -import * as AddPackagesToSoftwareSourceRequest from "./add-packages-to-software-source-request"; -export import AddPackagesToSoftwareSourceRequest = AddPackagesToSoftwareSourceRequest.AddPackagesToSoftwareSourceRequest; -import * as AttachChildSoftwareSourceToManagedInstanceRequest from "./attach-child-software-source-to-managed-instance-request"; -export import AttachChildSoftwareSourceToManagedInstanceRequest = AttachChildSoftwareSourceToManagedInstanceRequest.AttachChildSoftwareSourceToManagedInstanceRequest; -import * as AttachManagedInstanceToManagedInstanceGroupRequest from "./attach-managed-instance-to-managed-instance-group-request"; -export import AttachManagedInstanceToManagedInstanceGroupRequest = AttachManagedInstanceToManagedInstanceGroupRequest.AttachManagedInstanceToManagedInstanceGroupRequest; -import * as AttachParentSoftwareSourceToManagedInstanceRequest from "./attach-parent-software-source-to-managed-instance-request"; -export import AttachParentSoftwareSourceToManagedInstanceRequest = AttachParentSoftwareSourceToManagedInstanceRequest.AttachParentSoftwareSourceToManagedInstanceRequest; -import * as ChangeManagedInstanceGroupCompartmentRequest from "./change-managed-instance-group-compartment-request"; -export import ChangeManagedInstanceGroupCompartmentRequest = ChangeManagedInstanceGroupCompartmentRequest.ChangeManagedInstanceGroupCompartmentRequest; -import * as ChangeScheduledJobCompartmentRequest from "./change-scheduled-job-compartment-request"; -export import ChangeScheduledJobCompartmentRequest = ChangeScheduledJobCompartmentRequest.ChangeScheduledJobCompartmentRequest; -import * as ChangeSoftwareSourceCompartmentRequest from "./change-software-source-compartment-request"; -export import ChangeSoftwareSourceCompartmentRequest = ChangeSoftwareSourceCompartmentRequest.ChangeSoftwareSourceCompartmentRequest; -import * as CreateManagedInstanceGroupRequest from "./create-managed-instance-group-request"; -export import CreateManagedInstanceGroupRequest = CreateManagedInstanceGroupRequest.CreateManagedInstanceGroupRequest; -import * as CreateScheduledJobRequest from "./create-scheduled-job-request"; -export import CreateScheduledJobRequest = CreateScheduledJobRequest.CreateScheduledJobRequest; -import * as CreateSoftwareSourceRequest from "./create-software-source-request"; -export import CreateSoftwareSourceRequest = CreateSoftwareSourceRequest.CreateSoftwareSourceRequest; -import * as DeleteManagedInstanceGroupRequest from "./delete-managed-instance-group-request"; -export import DeleteManagedInstanceGroupRequest = DeleteManagedInstanceGroupRequest.DeleteManagedInstanceGroupRequest; -import * as DeleteScheduledJobRequest from "./delete-scheduled-job-request"; -export import DeleteScheduledJobRequest = DeleteScheduledJobRequest.DeleteScheduledJobRequest; -import * as DeleteSoftwareSourceRequest from "./delete-software-source-request"; -export import DeleteSoftwareSourceRequest = DeleteSoftwareSourceRequest.DeleteSoftwareSourceRequest; -import * as DetachChildSoftwareSourceFromManagedInstanceRequest from "./detach-child-software-source-from-managed-instance-request"; -export import DetachChildSoftwareSourceFromManagedInstanceRequest = DetachChildSoftwareSourceFromManagedInstanceRequest.DetachChildSoftwareSourceFromManagedInstanceRequest; -import * as DetachManagedInstanceFromManagedInstanceGroupRequest from "./detach-managed-instance-from-managed-instance-group-request"; -export import DetachManagedInstanceFromManagedInstanceGroupRequest = DetachManagedInstanceFromManagedInstanceGroupRequest.DetachManagedInstanceFromManagedInstanceGroupRequest; -import * as DetachParentSoftwareSourceFromManagedInstanceRequest from "./detach-parent-software-source-from-managed-instance-request"; -export import DetachParentSoftwareSourceFromManagedInstanceRequest = DetachParentSoftwareSourceFromManagedInstanceRequest.DetachParentSoftwareSourceFromManagedInstanceRequest; -import * as DisableModuleStreamOnManagedInstanceRequest from "./disable-module-stream-on-managed-instance-request"; -export import DisableModuleStreamOnManagedInstanceRequest = DisableModuleStreamOnManagedInstanceRequest.DisableModuleStreamOnManagedInstanceRequest; -import * as EnableModuleStreamOnManagedInstanceRequest from "./enable-module-stream-on-managed-instance-request"; -export import EnableModuleStreamOnManagedInstanceRequest = EnableModuleStreamOnManagedInstanceRequest.EnableModuleStreamOnManagedInstanceRequest; -import * as GetErratumRequest from "./get-erratum-request"; -export import GetErratumRequest = GetErratumRequest.GetErratumRequest; -import * as GetManagedInstanceRequest from "./get-managed-instance-request"; -export import GetManagedInstanceRequest = GetManagedInstanceRequest.GetManagedInstanceRequest; -import * as GetManagedInstanceGroupRequest from "./get-managed-instance-group-request"; -export import GetManagedInstanceGroupRequest = GetManagedInstanceGroupRequest.GetManagedInstanceGroupRequest; -import * as GetModuleStreamRequest from "./get-module-stream-request"; -export import GetModuleStreamRequest = GetModuleStreamRequest.GetModuleStreamRequest; -import * as GetModuleStreamProfileRequest from "./get-module-stream-profile-request"; -export import GetModuleStreamProfileRequest = GetModuleStreamProfileRequest.GetModuleStreamProfileRequest; -import * as GetScheduledJobRequest from "./get-scheduled-job-request"; -export import GetScheduledJobRequest = GetScheduledJobRequest.GetScheduledJobRequest; -import * as GetSoftwarePackageRequest from "./get-software-package-request"; -export import GetSoftwarePackageRequest = GetSoftwarePackageRequest.GetSoftwarePackageRequest; -import * as GetSoftwareSourceRequest from "./get-software-source-request"; -export import GetSoftwareSourceRequest = GetSoftwareSourceRequest.GetSoftwareSourceRequest; -import * as GetWindowsUpdateRequest from "./get-windows-update-request"; -export import GetWindowsUpdateRequest = GetWindowsUpdateRequest.GetWindowsUpdateRequest; -import * as GetWorkRequestRequest from "./get-work-request-request"; -export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; -import * as InstallAllPackageUpdatesOnManagedInstanceRequest from "./install-all-package-updates-on-managed-instance-request"; -export import InstallAllPackageUpdatesOnManagedInstanceRequest = InstallAllPackageUpdatesOnManagedInstanceRequest.InstallAllPackageUpdatesOnManagedInstanceRequest; -import * as InstallAllUpdatesOnManagedInstanceGroupRequest from "./install-all-updates-on-managed-instance-group-request"; -export import InstallAllUpdatesOnManagedInstanceGroupRequest = InstallAllUpdatesOnManagedInstanceGroupRequest.InstallAllUpdatesOnManagedInstanceGroupRequest; -import * as InstallAllWindowsUpdatesOnManagedInstanceRequest from "./install-all-windows-updates-on-managed-instance-request"; -export import InstallAllWindowsUpdatesOnManagedInstanceRequest = InstallAllWindowsUpdatesOnManagedInstanceRequest.InstallAllWindowsUpdatesOnManagedInstanceRequest; -import * as InstallModuleStreamProfileOnManagedInstanceRequest from "./install-module-stream-profile-on-managed-instance-request"; -export import InstallModuleStreamProfileOnManagedInstanceRequest = InstallModuleStreamProfileOnManagedInstanceRequest.InstallModuleStreamProfileOnManagedInstanceRequest; -import * as InstallPackageOnManagedInstanceRequest from "./install-package-on-managed-instance-request"; -export import InstallPackageOnManagedInstanceRequest = InstallPackageOnManagedInstanceRequest.InstallPackageOnManagedInstanceRequest; -import * as InstallPackageUpdateOnManagedInstanceRequest from "./install-package-update-on-managed-instance-request"; -export import InstallPackageUpdateOnManagedInstanceRequest = InstallPackageUpdateOnManagedInstanceRequest.InstallPackageUpdateOnManagedInstanceRequest; -import * as InstallWindowsUpdateOnManagedInstanceRequest from "./install-windows-update-on-managed-instance-request"; -export import InstallWindowsUpdateOnManagedInstanceRequest = InstallWindowsUpdateOnManagedInstanceRequest.InstallWindowsUpdateOnManagedInstanceRequest; -import * as ListAvailablePackagesForManagedInstanceRequest from "./list-available-packages-for-managed-instance-request"; -export import ListAvailablePackagesForManagedInstanceRequest = ListAvailablePackagesForManagedInstanceRequest.ListAvailablePackagesForManagedInstanceRequest; -import * as ListAvailableSoftwareSourcesForManagedInstanceRequest from "./list-available-software-sources-for-managed-instance-request"; -export import ListAvailableSoftwareSourcesForManagedInstanceRequest = ListAvailableSoftwareSourcesForManagedInstanceRequest.ListAvailableSoftwareSourcesForManagedInstanceRequest; -import * as ListAvailableUpdatesForManagedInstanceRequest from "./list-available-updates-for-managed-instance-request"; -export import ListAvailableUpdatesForManagedInstanceRequest = ListAvailableUpdatesForManagedInstanceRequest.ListAvailableUpdatesForManagedInstanceRequest; -import * as ListAvailableWindowsUpdatesForManagedInstanceRequest from "./list-available-windows-updates-for-managed-instance-request"; -export import ListAvailableWindowsUpdatesForManagedInstanceRequest = ListAvailableWindowsUpdatesForManagedInstanceRequest.ListAvailableWindowsUpdatesForManagedInstanceRequest; -import * as ListErrataRequest from "./list-errata-request"; -export import ListErrataRequest = ListErrataRequest.ListErrataRequest; -import * as ListManagedInstanceErrataRequest from "./list-managed-instance-errata-request"; -export import ListManagedInstanceErrataRequest = ListManagedInstanceErrataRequest.ListManagedInstanceErrataRequest; -import * as ListManagedInstanceGroupsRequest from "./list-managed-instance-groups-request"; -export import ListManagedInstanceGroupsRequest = ListManagedInstanceGroupsRequest.ListManagedInstanceGroupsRequest; -import * as ListManagedInstancesRequest from "./list-managed-instances-request"; -export import ListManagedInstancesRequest = ListManagedInstancesRequest.ListManagedInstancesRequest; -import * as ListModuleStreamProfilesRequest from "./list-module-stream-profiles-request"; -export import ListModuleStreamProfilesRequest = ListModuleStreamProfilesRequest.ListModuleStreamProfilesRequest; -import * as ListModuleStreamProfilesOnManagedInstanceRequest from "./list-module-stream-profiles-on-managed-instance-request"; -export import ListModuleStreamProfilesOnManagedInstanceRequest = ListModuleStreamProfilesOnManagedInstanceRequest.ListModuleStreamProfilesOnManagedInstanceRequest; -import * as ListModuleStreamsRequest from "./list-module-streams-request"; -export import ListModuleStreamsRequest = ListModuleStreamsRequest.ListModuleStreamsRequest; -import * as ListModuleStreamsOnManagedInstanceRequest from "./list-module-streams-on-managed-instance-request"; -export import ListModuleStreamsOnManagedInstanceRequest = ListModuleStreamsOnManagedInstanceRequest.ListModuleStreamsOnManagedInstanceRequest; -import * as ListPackagesInstalledOnManagedInstanceRequest from "./list-packages-installed-on-managed-instance-request"; -export import ListPackagesInstalledOnManagedInstanceRequest = ListPackagesInstalledOnManagedInstanceRequest.ListPackagesInstalledOnManagedInstanceRequest; -import * as ListScheduledJobsRequest from "./list-scheduled-jobs-request"; -export import ListScheduledJobsRequest = ListScheduledJobsRequest.ListScheduledJobsRequest; -import * as ListSoftwareSourcePackagesRequest from "./list-software-source-packages-request"; -export import ListSoftwareSourcePackagesRequest = ListSoftwareSourcePackagesRequest.ListSoftwareSourcePackagesRequest; -import * as ListSoftwareSourcesRequest from "./list-software-sources-request"; -export import ListSoftwareSourcesRequest = ListSoftwareSourcesRequest.ListSoftwareSourcesRequest; -import * as ListUpcomingScheduledJobsRequest from "./list-upcoming-scheduled-jobs-request"; -export import ListUpcomingScheduledJobsRequest = ListUpcomingScheduledJobsRequest.ListUpcomingScheduledJobsRequest; -import * as ListWindowsUpdatesRequest from "./list-windows-updates-request"; -export import ListWindowsUpdatesRequest = ListWindowsUpdatesRequest.ListWindowsUpdatesRequest; -import * as ListWindowsUpdatesInstalledOnManagedInstanceRequest from "./list-windows-updates-installed-on-managed-instance-request"; -export import ListWindowsUpdatesInstalledOnManagedInstanceRequest = ListWindowsUpdatesInstalledOnManagedInstanceRequest.ListWindowsUpdatesInstalledOnManagedInstanceRequest; -import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; -export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; -import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; -export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; -import * as ListWorkRequestsRequest from "./list-work-requests-request"; -export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; -import * as ManageModuleStreamsOnManagedInstanceRequest from "./manage-module-streams-on-managed-instance-request"; -export import ManageModuleStreamsOnManagedInstanceRequest = ManageModuleStreamsOnManagedInstanceRequest.ManageModuleStreamsOnManagedInstanceRequest; -import * as RemoveModuleStreamProfileFromManagedInstanceRequest from "./remove-module-stream-profile-from-managed-instance-request"; -export import RemoveModuleStreamProfileFromManagedInstanceRequest = RemoveModuleStreamProfileFromManagedInstanceRequest.RemoveModuleStreamProfileFromManagedInstanceRequest; -import * as RemovePackageFromManagedInstanceRequest from "./remove-package-from-managed-instance-request"; -export import RemovePackageFromManagedInstanceRequest = RemovePackageFromManagedInstanceRequest.RemovePackageFromManagedInstanceRequest; -import * as RemovePackagesFromSoftwareSourceRequest from "./remove-packages-from-software-source-request"; -export import RemovePackagesFromSoftwareSourceRequest = RemovePackagesFromSoftwareSourceRequest.RemovePackagesFromSoftwareSourceRequest; -import * as RunScheduledJobNowRequest from "./run-scheduled-job-now-request"; -export import RunScheduledJobNowRequest = RunScheduledJobNowRequest.RunScheduledJobNowRequest; -import * as SearchSoftwarePackagesRequest from "./search-software-packages-request"; -export import SearchSoftwarePackagesRequest = SearchSoftwarePackagesRequest.SearchSoftwarePackagesRequest; -import * as SkipNextScheduledJobExecutionRequest from "./skip-next-scheduled-job-execution-request"; -export import SkipNextScheduledJobExecutionRequest = SkipNextScheduledJobExecutionRequest.SkipNextScheduledJobExecutionRequest; -import * as SwitchModuleStreamOnManagedInstanceRequest from "./switch-module-stream-on-managed-instance-request"; -export import SwitchModuleStreamOnManagedInstanceRequest = SwitchModuleStreamOnManagedInstanceRequest.SwitchModuleStreamOnManagedInstanceRequest; -import * as UpdateManagedInstanceRequest from "./update-managed-instance-request"; -export import UpdateManagedInstanceRequest = UpdateManagedInstanceRequest.UpdateManagedInstanceRequest; -import * as UpdateManagedInstanceGroupRequest from "./update-managed-instance-group-request"; -export import UpdateManagedInstanceGroupRequest = UpdateManagedInstanceGroupRequest.UpdateManagedInstanceGroupRequest; -import * as UpdateScheduledJobRequest from "./update-scheduled-job-request"; -export import UpdateScheduledJobRequest = UpdateScheduledJobRequest.UpdateScheduledJobRequest; -import * as UpdateSoftwareSourceRequest from "./update-software-source-request"; -export import UpdateSoftwareSourceRequest = UpdateSoftwareSourceRequest.UpdateSoftwareSourceRequest; diff --git a/lib/osmanagement/lib/request/install-all-package-updates-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-all-package-updates-on-managed-instance-request.ts deleted file mode 100644 index f4343e3cf8..0000000000 --- a/lib/osmanagement/lib/request/install-all-package-updates-on-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallAllPackageUpdatesOnManagedInstance.ts.html |here} to see how to use InstallAllPackageUpdatesOnManagedInstanceRequest. - */ -export interface InstallAllPackageUpdatesOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The type of updates to be applied - */ - "updateType"?: model.PackageUpdateTypes; - /** - * 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/osmanagement/lib/request/install-all-updates-on-managed-instance-group-request.ts b/lib/osmanagement/lib/request/install-all-updates-on-managed-instance-group-request.ts deleted file mode 100644 index fc3672bbe9..0000000000 --- a/lib/osmanagement/lib/request/install-all-updates-on-managed-instance-group-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallAllUpdatesOnManagedInstanceGroup.ts.html |here} to see how to use InstallAllUpdatesOnManagedInstanceGroupRequest. - */ -export interface InstallAllUpdatesOnManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * The type of updates to be applied - */ - "updateType"?: model.PackageUpdateTypes; - /** - * 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/osmanagement/lib/request/install-all-windows-updates-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-all-windows-updates-on-managed-instance-request.ts deleted file mode 100644 index 66e060c492..0000000000 --- a/lib/osmanagement/lib/request/install-all-windows-updates-on-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallAllWindowsUpdatesOnManagedInstance.ts.html |here} to see how to use InstallAllWindowsUpdatesOnManagedInstanceRequest. - */ -export interface InstallAllWindowsUpdatesOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The type of updates to be applied - */ - "updateType"?: model.PackageUpdateTypes; - /** - * 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/osmanagement/lib/request/install-module-stream-profile-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-module-stream-profile-on-managed-instance-request.ts deleted file mode 100644 index 18f9ffc794..0000000000 --- a/lib/osmanagement/lib/request/install-module-stream-profile-on-managed-instance-request.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallModuleStreamProfileOnManagedInstance.ts.html |here} to see how to use InstallModuleStreamProfileOnManagedInstanceRequest. - */ -export interface InstallModuleStreamProfileOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The name of a module. - */ - "moduleName": 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; - /** - * 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 name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; - /** - * The name of the profile of the containing module stream - */ - "profileName"?: string; -} diff --git a/lib/osmanagement/lib/request/install-package-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-package-on-managed-instance-request.ts deleted file mode 100644 index 15894383c0..0000000000 --- a/lib/osmanagement/lib/request/install-package-on-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallPackageOnManagedInstance.ts.html |here} to see how to use InstallPackageOnManagedInstanceRequest. - */ -export interface InstallPackageOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Package name - */ - "softwarePackageName": 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/osmanagement/lib/request/install-package-update-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-package-update-on-managed-instance-request.ts deleted file mode 100644 index 6a16e93091..0000000000 --- a/lib/osmanagement/lib/request/install-package-update-on-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallPackageUpdateOnManagedInstance.ts.html |here} to see how to use InstallPackageUpdateOnManagedInstanceRequest. - */ -export interface InstallPackageUpdateOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Package name - */ - "softwarePackageName": 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/osmanagement/lib/request/install-windows-update-on-managed-instance-request.ts b/lib/osmanagement/lib/request/install-windows-update-on-managed-instance-request.ts deleted file mode 100644 index 6d6be5fec5..0000000000 --- a/lib/osmanagement/lib/request/install-windows-update-on-managed-instance-request.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/InstallWindowsUpdateOnManagedInstance.ts.html |here} to see how to use InstallWindowsUpdateOnManagedInstanceRequest. - */ -export interface InstallWindowsUpdateOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Unique identifier for the Windows update. NOTE - This is not an OCID, - * but is a unique identifier assigned by Microsoft. - * Example: {@code 6981d463-cd91-4a26-b7c4-ea4ded9183ed} - * - */ - "windowsUpdateName": 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/osmanagement/lib/request/list-available-packages-for-managed-instance-request.ts b/lib/osmanagement/lib/request/list-available-packages-for-managed-instance-request.ts deleted file mode 100644 index 307c4d3ef9..0000000000 --- a/lib/osmanagement/lib/request/list-available-packages-for-managed-instance-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListAvailablePackagesForManagedInstance.ts.html |here} to see how to use ListAvailablePackagesForManagedInstanceRequest. - */ -export interface ListAvailablePackagesForManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListAvailablePackagesForManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListAvailablePackagesForManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListAvailablePackagesForManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-available-software-sources-for-managed-instance-request.ts b/lib/osmanagement/lib/request/list-available-software-sources-for-managed-instance-request.ts deleted file mode 100644 index 23d6a21545..0000000000 --- a/lib/osmanagement/lib/request/list-available-software-sources-for-managed-instance-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListAvailableSoftwareSourcesForManagedInstance.ts.html |here} to see how to use ListAvailableSoftwareSourcesForManagedInstanceRequest. - */ -export interface ListAvailableSoftwareSourcesForManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListAvailableSoftwareSourcesForManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListAvailableSoftwareSourcesForManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListAvailableSoftwareSourcesForManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-available-updates-for-managed-instance-request.ts b/lib/osmanagement/lib/request/list-available-updates-for-managed-instance-request.ts deleted file mode 100644 index e40d2d581c..0000000000 --- a/lib/osmanagement/lib/request/list-available-updates-for-managed-instance-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListAvailableUpdatesForManagedInstance.ts.html |here} to see how to use ListAvailableUpdatesForManagedInstanceRequest. - */ -export interface ListAvailableUpdatesForManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListAvailableUpdatesForManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListAvailableUpdatesForManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListAvailableUpdatesForManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-available-windows-updates-for-managed-instance-request.ts b/lib/osmanagement/lib/request/list-available-windows-updates-for-managed-instance-request.ts deleted file mode 100644 index 14492e296e..0000000000 --- a/lib/osmanagement/lib/request/list-available-windows-updates-for-managed-instance-request.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListAvailableWindowsUpdatesForManagedInstance.ts.html |here} to see how to use ListAvailableWindowsUpdatesForManagedInstanceRequest. - */ -export interface ListAvailableWindowsUpdatesForManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListAvailableWindowsUpdatesForManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListAvailableWindowsUpdatesForManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Indicator of whether the update can be installed using OSMS. - */ - "isEligibleForInstallation"?: model.IsEligibleForInstallation; -} - -export namespace ListAvailableWindowsUpdatesForManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-errata-request.ts b/lib/osmanagement/lib/request/list-errata-request.ts deleted file mode 100644 index c08016d934..0000000000 --- a/lib/osmanagement/lib/request/list-errata-request.ts +++ /dev/null @@ -1,83 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListErrata.ts.html |here} to see how to use ListErrataRequest. - */ -export interface ListErrataRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * The OCID of the erratum. - */ - "erratumId"?: string; - /** - * The assigned erratum name. It's unique and not changeable. -*

-Example: {@code ELSA-2020-5804} -* - */ - "advisoryName"?: string; - /** - * The issue date after which to list all errata, in ISO 8601 format -*

-Example: 2017-07-14T02:40:00.000Z -* - */ - "timeIssueDateStart"?: Date; - /** - * The issue date before which to list all errata, in ISO 8601 format -*

-Example: 2017-07-14T02:40:00.000Z -* - */ - "timeIssueDateEnd"?: Date; - /** - * 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"?: ListErrataRequest.SortOrder; - /** - * The field to sort errata by. Only one sort order may be provided. Default order for ISSUEDATE is descending. Default order for ADVISORYNAME is ascending. If no value is specified ISSUEDATE is default. - * - */ - "sortBy"?: ListErrataRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListErrataRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Issuedate = "ISSUEDATE", - Advisoryname = "ADVISORYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-events-request.ts b/lib/osmanagement/lib/request/list-events-request.ts deleted file mode 100644 index d34832dfbb..0000000000 --- a/lib/osmanagement/lib/request/list-events-request.ts +++ /dev/null @@ -1,82 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListEvents.ts.html |here} to see how to use ListEventsRequest. - */ -export interface ListEventsRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * Unique event identifier (OCID) - */ - "eventId"?: 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"?: ListEventsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListEventsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * A filter to return only event of given type. - */ - "eventType"?: model.EventType; - /** - * filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampLessThan"?: Date; - /** - * filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampGreaterThanOrEqualTo"?: Date; -} - -export namespace ListEventsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-managed-instance-errata-request.ts b/lib/osmanagement/lib/request/list-managed-instance-errata-request.ts deleted file mode 100644 index a824448b81..0000000000 --- a/lib/osmanagement/lib/request/list-managed-instance-errata-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListManagedInstanceErrata.ts.html |here} to see how to use ListManagedInstanceErrataRequest. - */ -export interface ListManagedInstanceErrataRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListManagedInstanceErrataRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListManagedInstanceErrataRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListManagedInstanceErrataRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-managed-instance-groups-request.ts b/lib/osmanagement/lib/request/list-managed-instance-groups-request.ts deleted file mode 100644 index 12b60f0f28..0000000000 --- a/lib/osmanagement/lib/request/list-managed-instance-groups-request.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListManagedInstanceGroups.ts.html |here} to see how to use ListManagedInstanceGroupsRequest. - */ -export interface ListManagedInstanceGroupsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListManagedInstanceGroupsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListManagedInstanceGroupsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The current lifecycle state for the object. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * The OS family for which to list resources. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ListManagedInstanceGroupsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-managed-instances-request.ts b/lib/osmanagement/lib/request/list-managed-instances-request.ts deleted file mode 100644 index 2f339eb471..0000000000 --- a/lib/osmanagement/lib/request/list-managed-instances-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListManagedInstances.ts.html |here} to see how to use ListManagedInstancesRequest. - */ -export interface ListManagedInstancesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListManagedInstancesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListManagedInstancesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The OS family for which to list resources. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ListManagedInstancesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-module-stream-profiles-on-managed-instance-request.ts b/lib/osmanagement/lib/request/list-module-stream-profiles-on-managed-instance-request.ts deleted file mode 100644 index 8b73dfa4a1..0000000000 --- a/lib/osmanagement/lib/request/list-module-stream-profiles-on-managed-instance-request.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListModuleStreamProfilesOnManagedInstance.ts.html |here} to see how to use ListModuleStreamProfilesOnManagedInstanceRequest. - */ -export interface ListModuleStreamProfilesOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * The name of a module. This parameter is required if a - * streamName is specified. - * - */ - "moduleName"?: string; - /** - * The name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; - /** - * The name of the profile of the containing module stream - */ - "profileName"?: string; - /** - * The status of the profile. -*

-A profile with the \"INSTALLED\" status indicates that the -* profile has been installed. -*

-A profile with the \"AVAILABLE\" status indicates that the -* profile is not installed, but can be. -* - */ - "profileStatus"?: ListModuleStreamProfilesOnManagedInstanceRequest.ProfileStatus; - /** - * 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"?: ListModuleStreamProfilesOnManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListModuleStreamProfilesOnManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListModuleStreamProfilesOnManagedInstanceRequest { - export enum ProfileStatus { - Installed = "INSTALLED", - Available = "AVAILABLE" - } - - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-module-stream-profiles-request.ts b/lib/osmanagement/lib/request/list-module-stream-profiles-request.ts deleted file mode 100644 index 2e5662280b..0000000000 --- a/lib/osmanagement/lib/request/list-module-stream-profiles-request.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListModuleStreamProfiles.ts.html |here} to see how to use ListModuleStreamProfilesRequest. - */ -export interface ListModuleStreamProfilesRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * The name of a module. This parameter is required if a - * streamName is specified. - * - */ - "moduleName"?: string; - /** - * The name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; - /** - * The name of the profile of the containing module stream - */ - "profileName"?: 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"?: ListModuleStreamProfilesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListModuleStreamProfilesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListModuleStreamProfilesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-module-streams-on-managed-instance-request.ts b/lib/osmanagement/lib/request/list-module-streams-on-managed-instance-request.ts deleted file mode 100644 index 026a58a67a..0000000000 --- a/lib/osmanagement/lib/request/list-module-streams-on-managed-instance-request.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListModuleStreamsOnManagedInstance.ts.html |here} to see how to use ListModuleStreamsOnManagedInstanceRequest. - */ -export interface ListModuleStreamsOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * The name of a module. This parameter is required if a - * streamName is specified. - * - */ - "moduleName"?: string; - /** - * The name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; - /** - * The status of the stream -*

-A stream with the \"ENABLED\" status can be used as a source for installing -* profiles. Streams with this status are also \"ACTIVE\". -*

-A stream with the \"DISABLED\" status cannot be the source for installing -* profiles. To install profiles and packages from this stream, it must be -* enabled. -*

-A stream with the \"ACTIVE\" status can be used as a source for installing -* profiles. The packages that comprise the stream are also used when a -* matching package is installed directly. In general, a stream can have -* this status if it is the default stream for the module and no stream has -* been explicitly enabled. -* - */ - "streamStatus"?: ListModuleStreamsOnManagedInstanceRequest.StreamStatus; - /** - * 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"?: ListModuleStreamsOnManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListModuleStreamsOnManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListModuleStreamsOnManagedInstanceRequest { - export enum StreamStatus { - Enabled = "ENABLED", - Disabled = "DISABLED", - Active = "ACTIVE" - } - - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-module-streams-request.ts b/lib/osmanagement/lib/request/list-module-streams-request.ts deleted file mode 100644 index 349ebf6c1f..0000000000 --- a/lib/osmanagement/lib/request/list-module-streams-request.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListModuleStreams.ts.html |here} to see how to use ListModuleStreamsRequest. - */ -export interface ListModuleStreamsRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * The name of a module. This parameter is required if a - * streamName is specified. - * - */ - "moduleName"?: string; - /** - * The name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: 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"?: ListModuleStreamsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListModuleStreamsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListModuleStreamsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-packages-installed-on-managed-instance-request.ts b/lib/osmanagement/lib/request/list-packages-installed-on-managed-instance-request.ts deleted file mode 100644 index 9fd0f02004..0000000000 --- a/lib/osmanagement/lib/request/list-packages-installed-on-managed-instance-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListPackagesInstalledOnManagedInstance.ts.html |here} to see how to use ListPackagesInstalledOnManagedInstanceRequest. - */ -export interface ListPackagesInstalledOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListPackagesInstalledOnManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListPackagesInstalledOnManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListPackagesInstalledOnManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-related-events-request.ts b/lib/osmanagement/lib/request/list-related-events-request.ts deleted file mode 100644 index b3d0de7ac1..0000000000 --- a/lib/osmanagement/lib/request/list-related-events-request.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListRelatedEvents.ts.html |here} to see how to use ListRelatedEventsRequest. - */ -export interface ListRelatedEventsRequest extends common.BaseRequest { - /** - * Event fingerprint identifier - */ - "eventFingerprint": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: 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"?: ListRelatedEventsRequest.SortOrder; - /** - * The field to sort by. Only one sort order may be provided. Default order for id is descending. - * - */ - "sortBy"?: ListRelatedEventsRequest.SortBy; - /** - * filter event occurrence. Selecting only those last occurred before given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampLessThan"?: Date; - /** - * filter event occurrence. Selecting only those last occurred on or after given date in ISO 8601 format - * Example: 2017-07-14T02:40:00.000Z - * - */ - "latestTimestampGreaterThanOrEqualTo"?: Date; -} - -export namespace ListRelatedEventsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - InstanceId = "instanceId", - Id = "id", - EventFingerprint = "eventFingerprint" - } -} diff --git a/lib/osmanagement/lib/request/list-scheduled-jobs-request.ts b/lib/osmanagement/lib/request/list-scheduled-jobs-request.ts deleted file mode 100644 index 1c0bfbc343..0000000000 --- a/lib/osmanagement/lib/request/list-scheduled-jobs-request.ts +++ /dev/null @@ -1,89 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListScheduledJobs.ts.html |here} to see how to use ListScheduledJobsRequest. - */ -export interface ListScheduledJobsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the managed instance for which to list resources. - */ - "managedInstanceId"?: string; - /** - * The ID of the managed instace group for which to list resources. - */ - "managedInstanceGroupId"?: string; - /** - * The operation type for which to list resources - */ - "operationType"?: model.OperationTypes; - /** - * 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"?: ListScheduledJobsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListScheduledJobsRequest.SortBy; - /** - * The current lifecycle state for the object. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The OS family for which to list resources. - */ - "osFamily"?: model.OsFamilies; - /** - * If true, will only filter out restricted Autonomous Linux Scheduled Job - */ - "isRestricted"?: boolean; -} - -export namespace ListScheduledJobsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-software-source-packages-request.ts b/lib/osmanagement/lib/request/list-software-source-packages-request.ts deleted file mode 100644 index 828ad23eaa..0000000000 --- a/lib/osmanagement/lib/request/list-software-source-packages-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListSoftwareSourcePackages.ts.html |here} to see how to use ListSoftwareSourcePackagesRequest. - */ -export interface ListSoftwareSourcePackagesRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListSoftwareSourcePackagesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListSoftwareSourcePackagesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListSoftwareSourcePackagesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-software-sources-request.ts b/lib/osmanagement/lib/request/list-software-sources-request.ts deleted file mode 100644 index 925144b8e4..0000000000 --- a/lib/osmanagement/lib/request/list-software-sources-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListSoftwareSources.ts.html |here} to see how to use ListSoftwareSourcesRequest. - */ -export interface ListSoftwareSourcesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListSoftwareSourcesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListSoftwareSourcesRequest.SortBy; - /** - * The current lifecycle state for the object. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListSoftwareSourcesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-upcoming-scheduled-jobs-request.ts b/lib/osmanagement/lib/request/list-upcoming-scheduled-jobs-request.ts deleted file mode 100644 index 0900cba845..0000000000 --- a/lib/osmanagement/lib/request/list-upcoming-scheduled-jobs-request.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListUpcomingScheduledJobs.ts.html |here} to see how to use ListUpcomingScheduledJobsRequest. - */ -export interface ListUpcomingScheduledJobsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The cut-off time before which to list all upcoming schedules, in ISO 8601 format -*

-Example: 2017-07-14T02:40:00.000Z -* - */ - "timeEnd": Date; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListUpcomingScheduledJobsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListUpcomingScheduledJobsRequest.SortBy; - /** - * The name of the tag. - */ - "tagName"?: string; - /** - * The value for the tag. - */ - "tagValue"?: string; - /** - * The current lifecycle state for the object. - */ - "lifecycleState"?: model.LifecycleStates; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The OS family for which to list resources. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ListUpcomingScheduledJobsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-windows-updates-installed-on-managed-instance-request.ts b/lib/osmanagement/lib/request/list-windows-updates-installed-on-managed-instance-request.ts deleted file mode 100644 index 00c0b31ca6..0000000000 --- a/lib/osmanagement/lib/request/list-windows-updates-installed-on-managed-instance-request.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListWindowsUpdatesInstalledOnManagedInstance.ts.html |here} to see how to use ListWindowsUpdatesInstalledOnManagedInstanceRequest. - */ -export interface ListWindowsUpdatesInstalledOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: 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"?: ListWindowsUpdatesInstalledOnManagedInstanceRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListWindowsUpdatesInstalledOnManagedInstanceRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListWindowsUpdatesInstalledOnManagedInstanceRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-windows-updates-request.ts b/lib/osmanagement/lib/request/list-windows-updates-request.ts deleted file mode 100644 index 79e79d098d..0000000000 --- a/lib/osmanagement/lib/request/list-windows-updates-request.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListWindowsUpdates.ts.html |here} to see how to use ListWindowsUpdatesRequest. - */ -export interface ListWindowsUpdatesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. This parameter is optional and in some cases may have no effect. - */ - "compartmentId"?: string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: 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"?: ListWindowsUpdatesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListWindowsUpdatesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListWindowsUpdatesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-work-request-errors-request.ts b/lib/osmanagement/lib/request/list-work-request-errors-request.ts deleted file mode 100644 index c17b444258..0000000000 --- a/lib/osmanagement/lib/request/list-work-request-errors-request.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. - */ -export interface ListWorkRequestErrorsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": 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"?: ListWorkRequestErrorsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListWorkRequestErrorsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListWorkRequestErrorsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-work-request-logs-request.ts b/lib/osmanagement/lib/request/list-work-request-logs-request.ts deleted file mode 100644 index fc0633f7e2..0000000000 --- a/lib/osmanagement/lib/request/list-work-request-logs-request.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. - */ -export interface ListWorkRequestLogsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": 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"?: ListWorkRequestLogsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListWorkRequestLogsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace ListWorkRequestLogsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/list-work-requests-request.ts b/lib/osmanagement/lib/request/list-work-requests-request.ts deleted file mode 100644 index 9e80f1874b..0000000000 --- a/lib/osmanagement/lib/request/list-work-requests-request.ts +++ /dev/null @@ -1,73 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. - */ -export interface ListWorkRequestsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The ID of the managed instance for which to list resources. - */ - "managedInstanceId"?: 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"?: ListWorkRequestsRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: ListWorkRequestsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * The OS family for which to list resources. - */ - "osFamily"?: model.OsFamilies; -} - -export namespace ListWorkRequestsRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/manage-module-streams-on-managed-instance-request.ts b/lib/osmanagement/lib/request/manage-module-streams-on-managed-instance-request.ts deleted file mode 100644 index dd9b745ad6..0000000000 --- a/lib/osmanagement/lib/request/manage-module-streams-on-managed-instance-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/ManageModuleStreamsOnManagedInstance.ts.html |here} to see how to use ManageModuleStreamsOnManagedInstanceRequest. - */ -export interface ManageModuleStreamsOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * A description of an operation to perform against the modules, streams, and profiles of a managed instance - */ - "manageModuleStreamsOnManagedInstanceDetails": model.ManageModuleStreamsOnManagedInstanceDetails; - /** - * 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; - /** - * 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/osmanagement/lib/request/remove-module-stream-profile-from-managed-instance-request.ts b/lib/osmanagement/lib/request/remove-module-stream-profile-from-managed-instance-request.ts deleted file mode 100644 index 4c21a58617..0000000000 --- a/lib/osmanagement/lib/request/remove-module-stream-profile-from-managed-instance-request.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/RemoveModuleStreamProfileFromManagedInstance.ts.html |here} to see how to use RemoveModuleStreamProfileFromManagedInstanceRequest. - */ -export interface RemoveModuleStreamProfileFromManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The name of a module. - */ - "moduleName": 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; - /** - * 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 name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; - /** - * The name of the profile of the containing module stream - */ - "profileName"?: string; -} diff --git a/lib/osmanagement/lib/request/remove-package-from-managed-instance-request.ts b/lib/osmanagement/lib/request/remove-package-from-managed-instance-request.ts deleted file mode 100644 index 3bb668fbda..0000000000 --- a/lib/osmanagement/lib/request/remove-package-from-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/RemovePackageFromManagedInstance.ts.html |here} to see how to use RemovePackageFromManagedInstanceRequest. - */ -export interface RemovePackageFromManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Package name - */ - "softwarePackageName": 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/osmanagement/lib/request/remove-packages-from-software-source-request.ts b/lib/osmanagement/lib/request/remove-packages-from-software-source-request.ts deleted file mode 100644 index 1b64988e79..0000000000 --- a/lib/osmanagement/lib/request/remove-packages-from-software-source-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/RemovePackagesFromSoftwareSource.ts.html |here} to see how to use RemovePackagesFromSoftwareSourceRequest. - */ -export interface RemovePackagesFromSoftwareSourceRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * A list of package identifiers - */ - "removePackagesFromSoftwareSourceDetails": model.RemovePackagesFromSoftwareSourceDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/osmanagement/lib/request/run-scheduled-job-now-request.ts b/lib/osmanagement/lib/request/run-scheduled-job-now-request.ts deleted file mode 100644 index 29c8824fd1..0000000000 --- a/lib/osmanagement/lib/request/run-scheduled-job-now-request.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/RunScheduledJobNow.ts.html |here} to see how to use RunScheduledJobNowRequest. - */ -export interface RunScheduledJobNowRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/search-software-packages-request.ts b/lib/osmanagement/lib/request/search-software-packages-request.ts deleted file mode 100644 index b05d9bc0f7..0000000000 --- a/lib/osmanagement/lib/request/search-software-packages-request.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/SearchSoftwarePackages.ts.html |here} to see how to use SearchSoftwarePackagesRequest. - */ -export interface SearchSoftwarePackagesRequest extends common.BaseRequest { - /** - * the identifier for the software package (not an OCID) - */ - "softwarePackageName"?: string; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * The name of the CVE as published. - * Example: {@code CVE-2006-4535} - * - */ - "cveName"?: 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"?: SearchSoftwarePackagesRequest.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 TIMECREATED is default. - * - */ - "sortBy"?: SearchSoftwarePackagesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} - -export namespace SearchSoftwarePackagesRequest { - export enum SortOrder { - Asc = "ASC", - Desc = "DESC" - } - - export enum SortBy { - Timecreated = "TIMECREATED", - Displayname = "DISPLAYNAME" - } -} diff --git a/lib/osmanagement/lib/request/skip-next-scheduled-job-execution-request.ts b/lib/osmanagement/lib/request/skip-next-scheduled-job-execution-request.ts deleted file mode 100644 index 3bc2534b01..0000000000 --- a/lib/osmanagement/lib/request/skip-next-scheduled-job-execution-request.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/SkipNextScheduledJobExecution.ts.html |here} to see how to use SkipNextScheduledJobExecutionRequest. - */ -export interface SkipNextScheduledJobExecutionRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/request/switch-module-stream-on-managed-instance-request.ts b/lib/osmanagement/lib/request/switch-module-stream-on-managed-instance-request.ts deleted file mode 100644 index 290f74a7fe..0000000000 --- a/lib/osmanagement/lib/request/switch-module-stream-on-managed-instance-request.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/SwitchModuleStreamOnManagedInstance.ts.html |here} to see how to use SwitchModuleStreamOnManagedInstanceRequest. - */ -export interface SwitchModuleStreamOnManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * The name of a module. - */ - "moduleName": 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; - /** - * 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 name of the stream of the containing module. This parameter - * is required if a profileName is specified. - * - */ - "streamName"?: string; -} diff --git a/lib/osmanagement/lib/request/update-event-request.ts b/lib/osmanagement/lib/request/update-event-request.ts deleted file mode 100644 index d87cb815f2..0000000000 --- a/lib/osmanagement/lib/request/update-event-request.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UpdateEvent.ts.html |here} to see how to use UpdateEventRequest. - */ -export interface UpdateEventRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * Unique Event identifier (OCID) - */ - "eventId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * Details about the event to update - */ - "updateEventDetails": model.UpdateEventDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/update-managed-instance-group-request.ts b/lib/osmanagement/lib/request/update-managed-instance-group-request.ts deleted file mode 100644 index ce8ad7b7dd..0000000000 --- a/lib/osmanagement/lib/request/update-managed-instance-group-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UpdateManagedInstanceGroup.ts.html |here} to see how to use UpdateManagedInstanceGroupRequest. - */ -export interface UpdateManagedInstanceGroupRequest extends common.BaseRequest { - /** - * OCID for the managed instance group - */ - "managedInstanceGroupId": string; - /** - * Details about a Managed Instance Group to update - */ - "updateManagedInstanceGroupDetails": model.UpdateManagedInstanceGroupDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/update-managed-instance-request.ts b/lib/osmanagement/lib/request/update-managed-instance-request.ts deleted file mode 100644 index 7891028c5b..0000000000 --- a/lib/osmanagement/lib/request/update-managed-instance-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UpdateManagedInstance.ts.html |here} to see how to use UpdateManagedInstanceRequest. - */ -export interface UpdateManagedInstanceRequest extends common.BaseRequest { - /** - * OCID for the managed instance - */ - "managedInstanceId": string; - /** - * Details about a Managed Instance to update - */ - "updateManagedInstanceDetails": model.UpdateManagedInstanceDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/update-scheduled-job-request.ts b/lib/osmanagement/lib/request/update-scheduled-job-request.ts deleted file mode 100644 index e576821045..0000000000 --- a/lib/osmanagement/lib/request/update-scheduled-job-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UpdateScheduledJob.ts.html |here} to see how to use UpdateScheduledJobRequest. - */ -export interface UpdateScheduledJobRequest extends common.BaseRequest { - /** - * The ID of the scheduled job. - */ - "scheduledJobId": string; - /** - * Details about a Scheduled Job to update - */ - "updateScheduledJobDetails": model.UpdateScheduledJobDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/update-software-source-request.ts b/lib/osmanagement/lib/request/update-software-source-request.ts deleted file mode 100644 index 29ddc6601c..0000000000 --- a/lib/osmanagement/lib/request/update-software-source-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UpdateSoftwareSource.ts.html |here} to see how to use UpdateSoftwareSourceRequest. - */ -export interface UpdateSoftwareSourceRequest extends common.BaseRequest { - /** - * The OCID of the software source. - */ - "softwareSourceId": string; - /** - * Details about a Sofware Source to update - */ - "updateSoftwareSourceDetails": model.UpdateSoftwareSourceDetails; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; -} diff --git a/lib/osmanagement/lib/request/upload-event-content-request.ts b/lib/osmanagement/lib/request/upload-event-content-request.ts deleted file mode 100644 index 53b59f1027..0000000000 --- a/lib/osmanagement/lib/request/upload-event-content-request.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/osmanagement/UploadEventContent.ts.html |here} to see how to use UploadEventContentRequest. - */ -export interface UploadEventContentRequest extends common.BaseRequest { - /** - * Instance Oracle Cloud identifier (ocid) - */ - "managedInstanceId": string; - /** - * Unique Event identifier (OCID) - */ - "eventId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; -} diff --git a/lib/osmanagement/lib/response/add-packages-to-software-source-response.ts b/lib/osmanagement/lib/response/add-packages-to-software-source-response.ts deleted file mode 100644 index 8a9146125b..0000000000 --- a/lib/osmanagement/lib/response/add-packages-to-software-source-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AddPackagesToSoftwareSourceResponse { - /** - * 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/osmanagement/lib/response/attach-child-software-source-to-managed-instance-response.ts b/lib/osmanagement/lib/response/attach-child-software-source-to-managed-instance-response.ts deleted file mode 100644 index cbf0b175b2..0000000000 --- a/lib/osmanagement/lib/response/attach-child-software-source-to-managed-instance-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AttachChildSoftwareSourceToManagedInstanceResponse { - /** - * 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/osmanagement/lib/response/attach-managed-instance-to-managed-instance-group-response.ts b/lib/osmanagement/lib/response/attach-managed-instance-to-managed-instance-group-response.ts deleted file mode 100644 index 73c08ebd3c..0000000000 --- a/lib/osmanagement/lib/response/attach-managed-instance-to-managed-instance-group-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AttachManagedInstanceToManagedInstanceGroupResponse { - /** - * 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/osmanagement/lib/response/attach-parent-software-source-to-managed-instance-response.ts b/lib/osmanagement/lib/response/attach-parent-software-source-to-managed-instance-response.ts deleted file mode 100644 index 693dfbc9f2..0000000000 --- a/lib/osmanagement/lib/response/attach-parent-software-source-to-managed-instance-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 AttachParentSoftwareSourceToManagedInstanceResponse { - /** - * 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/osmanagement/lib/response/change-managed-instance-group-compartment-response.ts b/lib/osmanagement/lib/response/change-managed-instance-group-compartment-response.ts deleted file mode 100644 index b7bb7d6d43..0000000000 --- a/lib/osmanagement/lib/response/change-managed-instance-group-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeManagedInstanceGroupCompartmentResponse { - /** - * 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/osmanagement/lib/response/change-scheduled-job-compartment-response.ts b/lib/osmanagement/lib/response/change-scheduled-job-compartment-response.ts deleted file mode 100644 index 2bc560078e..0000000000 --- a/lib/osmanagement/lib/response/change-scheduled-job-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeScheduledJobCompartmentResponse { - /** - * 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/osmanagement/lib/response/change-software-source-compartment-response.ts b/lib/osmanagement/lib/response/change-software-source-compartment-response.ts deleted file mode 100644 index 6a226fbf4d..0000000000 --- a/lib/osmanagement/lib/response/change-software-source-compartment-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeSoftwareSourceCompartmentResponse { - /** - * 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/osmanagement/lib/response/create-managed-instance-group-response.ts b/lib/osmanagement/lib/response/create-managed-instance-group-response.ts deleted file mode 100644 index 5b94e77998..0000000000 --- a/lib/osmanagement/lib/response/create-managed-instance-group-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateManagedInstanceGroupResponse { - /** - * A link to the created Managed Instance Group - */ - "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; - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * The returned model.ManagedInstanceGroup instance. - */ - "managedInstanceGroup": model.ManagedInstanceGroup; -} diff --git a/lib/osmanagement/lib/response/create-scheduled-job-response.ts b/lib/osmanagement/lib/response/create-scheduled-job-response.ts deleted file mode 100644 index c5c56b6281..0000000000 --- a/lib/osmanagement/lib/response/create-scheduled-job-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateScheduledJobResponse { - /** - * A link to the created Scheduled Job - */ - "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; - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * The returned model.ScheduledJob instance. - */ - "scheduledJob": model.ScheduledJob; -} diff --git a/lib/osmanagement/lib/response/create-software-source-response.ts b/lib/osmanagement/lib/response/create-software-source-response.ts deleted file mode 100644 index b06b808a50..0000000000 --- a/lib/osmanagement/lib/response/create-software-source-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateSoftwareSourceResponse { - /** - * A link to the created Software Source - */ - "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; - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * The returned model.SoftwareSource instance. - */ - "softwareSource": model.SoftwareSource; -} diff --git a/lib/osmanagement/lib/response/delete-event-content-response.ts b/lib/osmanagement/lib/response/delete-event-content-response.ts deleted file mode 100644 index ac5a57ec78..0000000000 --- a/lib/osmanagement/lib/response/delete-event-content-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteEventContentResponse { - /** - * 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/osmanagement/lib/response/delete-managed-instance-group-response.ts b/lib/osmanagement/lib/response/delete-managed-instance-group-response.ts deleted file mode 100644 index 7584dfbbe6..0000000000 --- a/lib/osmanagement/lib/response/delete-managed-instance-group-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteManagedInstanceGroupResponse { - /** - * 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/osmanagement/lib/response/delete-scheduled-job-response.ts b/lib/osmanagement/lib/response/delete-scheduled-job-response.ts deleted file mode 100644 index f49b125a72..0000000000 --- a/lib/osmanagement/lib/response/delete-scheduled-job-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteScheduledJobResponse { - /** - * 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/osmanagement/lib/response/delete-software-source-response.ts b/lib/osmanagement/lib/response/delete-software-source-response.ts deleted file mode 100644 index e425b549a8..0000000000 --- a/lib/osmanagement/lib/response/delete-software-source-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteSoftwareSourceResponse { - /** - * 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/osmanagement/lib/response/detach-child-software-source-from-managed-instance-response.ts b/lib/osmanagement/lib/response/detach-child-software-source-from-managed-instance-response.ts deleted file mode 100644 index 05ea56896d..0000000000 --- a/lib/osmanagement/lib/response/detach-child-software-source-from-managed-instance-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetachChildSoftwareSourceFromManagedInstanceResponse { - /** - * 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/osmanagement/lib/response/detach-managed-instance-from-managed-instance-group-response.ts b/lib/osmanagement/lib/response/detach-managed-instance-from-managed-instance-group-response.ts deleted file mode 100644 index 4da743c0a5..0000000000 --- a/lib/osmanagement/lib/response/detach-managed-instance-from-managed-instance-group-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetachManagedInstanceFromManagedInstanceGroupResponse { - /** - * 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/osmanagement/lib/response/detach-parent-software-source-from-managed-instance-response.ts b/lib/osmanagement/lib/response/detach-parent-software-source-from-managed-instance-response.ts deleted file mode 100644 index 9fced6ff03..0000000000 --- a/lib/osmanagement/lib/response/detach-parent-software-source-from-managed-instance-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DetachParentSoftwareSourceFromManagedInstanceResponse { - /** - * 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/osmanagement/lib/response/disable-module-stream-on-managed-instance-response.ts b/lib/osmanagement/lib/response/disable-module-stream-on-managed-instance-response.ts deleted file mode 100644 index b1b94846d7..0000000000 --- a/lib/osmanagement/lib/response/disable-module-stream-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DisableModuleStreamOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/enable-module-stream-on-managed-instance-response.ts b/lib/osmanagement/lib/response/enable-module-stream-on-managed-instance-response.ts deleted file mode 100644 index 5712c00e4a..0000000000 --- a/lib/osmanagement/lib/response/enable-module-stream-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 EnableModuleStreamOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/get-erratum-response.ts b/lib/osmanagement/lib/response/get-erratum-response.ts deleted file mode 100644 index 562887bafb..0000000000 --- a/lib/osmanagement/lib/response/get-erratum-response.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetErratumResponse { - /** - * 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.Erratum instance. - */ - "erratum": model.Erratum; -} diff --git a/lib/osmanagement/lib/response/get-event-content-response.ts b/lib/osmanagement/lib/response/get-event-content-response.ts deleted file mode 100644 index 469c40bc34..0000000000 --- a/lib/osmanagement/lib/response/get-event-content-response.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 stream = require("stream"); - -export interface GetEventContentResponse { - /** - * 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 stream.Readable | ReadableStream instance. - */ - "value": stream.Readable | ReadableStream; -} diff --git a/lib/osmanagement/lib/response/get-event-report-response.ts b/lib/osmanagement/lib/response/get-event-report-response.ts deleted file mode 100644 index 865d9f8841..0000000000 --- a/lib/osmanagement/lib/response/get-event-report-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetEventReportResponse { - /** - * identifier for the request - */ - "opcRequestId": string; - /** - * The returned model.EventReport instance. - */ - "eventReport": model.EventReport; -} diff --git a/lib/osmanagement/lib/response/get-event-response.ts b/lib/osmanagement/lib/response/get-event-response.ts deleted file mode 100644 index e084e6cfc8..0000000000 --- a/lib/osmanagement/lib/response/get-event-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetEventResponse { - /** - * 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.Event instance. - */ - "event": model.Event; -} diff --git a/lib/osmanagement/lib/response/get-managed-instance-group-response.ts b/lib/osmanagement/lib/response/get-managed-instance-group-response.ts deleted file mode 100644 index 29efe1716d..0000000000 --- a/lib/osmanagement/lib/response/get-managed-instance-group-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetManagedInstanceGroupResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * The returned model.ManagedInstanceGroup instance. - */ - "managedInstanceGroup": model.ManagedInstanceGroup; -} diff --git a/lib/osmanagement/lib/response/get-managed-instance-response.ts b/lib/osmanagement/lib/response/get-managed-instance-response.ts deleted file mode 100644 index b79b6e6f11..0000000000 --- a/lib/osmanagement/lib/response/get-managed-instance-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetManagedInstanceResponse { - /** - * 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.ManagedInstance instance. - */ - "managedInstance": model.ManagedInstance; -} diff --git a/lib/osmanagement/lib/response/get-module-stream-profile-response.ts b/lib/osmanagement/lib/response/get-module-stream-profile-response.ts deleted file mode 100644 index d0729fb795..0000000000 --- a/lib/osmanagement/lib/response/get-module-stream-profile-response.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetModuleStreamProfileResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * The returned model.ModuleStreamProfile instance. - */ - "moduleStreamProfile": model.ModuleStreamProfile; -} diff --git a/lib/osmanagement/lib/response/get-module-stream-response.ts b/lib/osmanagement/lib/response/get-module-stream-response.ts deleted file mode 100644 index 0077b5c7f5..0000000000 --- a/lib/osmanagement/lib/response/get-module-stream-response.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetModuleStreamResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * The returned model.ModuleStream instance. - */ - "moduleStream": model.ModuleStream; -} diff --git a/lib/osmanagement/lib/response/get-scheduled-job-response.ts b/lib/osmanagement/lib/response/get-scheduled-job-response.ts deleted file mode 100644 index bc28b9d141..0000000000 --- a/lib/osmanagement/lib/response/get-scheduled-job-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetScheduledJobResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * The returned model.ScheduledJob instance. - */ - "scheduledJob": model.ScheduledJob; -} diff --git a/lib/osmanagement/lib/response/get-software-package-response.ts b/lib/osmanagement/lib/response/get-software-package-response.ts deleted file mode 100644 index 4b6d9f554c..0000000000 --- a/lib/osmanagement/lib/response/get-software-package-response.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetSoftwarePackageResponse { - /** - * 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.SoftwarePackage instance. - */ - "softwarePackage": model.SoftwarePackage; -} diff --git a/lib/osmanagement/lib/response/get-software-source-response.ts b/lib/osmanagement/lib/response/get-software-source-response.ts deleted file mode 100644 index a62022b0cb..0000000000 --- a/lib/osmanagement/lib/response/get-software-source-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetSoftwareSourceResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * The returned model.SoftwareSource instance. - */ - "softwareSource": model.SoftwareSource; -} diff --git a/lib/osmanagement/lib/response/get-windows-update-response.ts b/lib/osmanagement/lib/response/get-windows-update-response.ts deleted file mode 100644 index 0ad33555bb..0000000000 --- a/lib/osmanagement/lib/response/get-windows-update-response.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetWindowsUpdateResponse { - /** - * 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.WindowsUpdate instance. - */ - "windowsUpdate": model.WindowsUpdate; -} diff --git a/lib/osmanagement/lib/response/get-work-request-response.ts b/lib/osmanagement/lib/response/get-work-request-response.ts deleted file mode 100644 index b26356ab74..0000000000 --- a/lib/osmanagement/lib/response/get-work-request-response.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetWorkRequestResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * A decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * The returned model.WorkRequest instance. - */ - "workRequest": model.WorkRequest; -} diff --git a/lib/osmanagement/lib/response/index.ts b/lib/osmanagement/lib/response/index.ts deleted file mode 100644 index b65380daf5..0000000000 --- a/lib/osmanagement/lib/response/index.ts +++ /dev/null @@ -1,169 +0,0 @@ -/** - * OS Management API - * API for the OS Management service. Use these API operations for working -with Managed instances and Managed instance groups. - - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as DeleteEventContentResponse from "./delete-event-content-response"; -export import DeleteEventContentResponse = DeleteEventContentResponse.DeleteEventContentResponse; -import * as GetEventResponse from "./get-event-response"; -export import GetEventResponse = GetEventResponse.GetEventResponse; -import * as GetEventContentResponse from "./get-event-content-response"; -export import GetEventContentResponse = GetEventContentResponse.GetEventContentResponse; -import * as GetEventReportResponse from "./get-event-report-response"; -export import GetEventReportResponse = GetEventReportResponse.GetEventReportResponse; -import * as ListEventsResponse from "./list-events-response"; -export import ListEventsResponse = ListEventsResponse.ListEventsResponse; -import * as ListRelatedEventsResponse from "./list-related-events-response"; -export import ListRelatedEventsResponse = ListRelatedEventsResponse.ListRelatedEventsResponse; -import * as UpdateEventResponse from "./update-event-response"; -export import UpdateEventResponse = UpdateEventResponse.UpdateEventResponse; -import * as UploadEventContentResponse from "./upload-event-content-response"; -export import UploadEventContentResponse = UploadEventContentResponse.UploadEventContentResponse; -import * as AddPackagesToSoftwareSourceResponse from "./add-packages-to-software-source-response"; -export import AddPackagesToSoftwareSourceResponse = AddPackagesToSoftwareSourceResponse.AddPackagesToSoftwareSourceResponse; -import * as AttachChildSoftwareSourceToManagedInstanceResponse from "./attach-child-software-source-to-managed-instance-response"; -export import AttachChildSoftwareSourceToManagedInstanceResponse = AttachChildSoftwareSourceToManagedInstanceResponse.AttachChildSoftwareSourceToManagedInstanceResponse; -import * as AttachManagedInstanceToManagedInstanceGroupResponse from "./attach-managed-instance-to-managed-instance-group-response"; -export import AttachManagedInstanceToManagedInstanceGroupResponse = AttachManagedInstanceToManagedInstanceGroupResponse.AttachManagedInstanceToManagedInstanceGroupResponse; -import * as AttachParentSoftwareSourceToManagedInstanceResponse from "./attach-parent-software-source-to-managed-instance-response"; -export import AttachParentSoftwareSourceToManagedInstanceResponse = AttachParentSoftwareSourceToManagedInstanceResponse.AttachParentSoftwareSourceToManagedInstanceResponse; -import * as ChangeManagedInstanceGroupCompartmentResponse from "./change-managed-instance-group-compartment-response"; -export import ChangeManagedInstanceGroupCompartmentResponse = ChangeManagedInstanceGroupCompartmentResponse.ChangeManagedInstanceGroupCompartmentResponse; -import * as ChangeScheduledJobCompartmentResponse from "./change-scheduled-job-compartment-response"; -export import ChangeScheduledJobCompartmentResponse = ChangeScheduledJobCompartmentResponse.ChangeScheduledJobCompartmentResponse; -import * as ChangeSoftwareSourceCompartmentResponse from "./change-software-source-compartment-response"; -export import ChangeSoftwareSourceCompartmentResponse = ChangeSoftwareSourceCompartmentResponse.ChangeSoftwareSourceCompartmentResponse; -import * as CreateManagedInstanceGroupResponse from "./create-managed-instance-group-response"; -export import CreateManagedInstanceGroupResponse = CreateManagedInstanceGroupResponse.CreateManagedInstanceGroupResponse; -import * as CreateScheduledJobResponse from "./create-scheduled-job-response"; -export import CreateScheduledJobResponse = CreateScheduledJobResponse.CreateScheduledJobResponse; -import * as CreateSoftwareSourceResponse from "./create-software-source-response"; -export import CreateSoftwareSourceResponse = CreateSoftwareSourceResponse.CreateSoftwareSourceResponse; -import * as DeleteManagedInstanceGroupResponse from "./delete-managed-instance-group-response"; -export import DeleteManagedInstanceGroupResponse = DeleteManagedInstanceGroupResponse.DeleteManagedInstanceGroupResponse; -import * as DeleteScheduledJobResponse from "./delete-scheduled-job-response"; -export import DeleteScheduledJobResponse = DeleteScheduledJobResponse.DeleteScheduledJobResponse; -import * as DeleteSoftwareSourceResponse from "./delete-software-source-response"; -export import DeleteSoftwareSourceResponse = DeleteSoftwareSourceResponse.DeleteSoftwareSourceResponse; -import * as DetachChildSoftwareSourceFromManagedInstanceResponse from "./detach-child-software-source-from-managed-instance-response"; -export import DetachChildSoftwareSourceFromManagedInstanceResponse = DetachChildSoftwareSourceFromManagedInstanceResponse.DetachChildSoftwareSourceFromManagedInstanceResponse; -import * as DetachManagedInstanceFromManagedInstanceGroupResponse from "./detach-managed-instance-from-managed-instance-group-response"; -export import DetachManagedInstanceFromManagedInstanceGroupResponse = DetachManagedInstanceFromManagedInstanceGroupResponse.DetachManagedInstanceFromManagedInstanceGroupResponse; -import * as DetachParentSoftwareSourceFromManagedInstanceResponse from "./detach-parent-software-source-from-managed-instance-response"; -export import DetachParentSoftwareSourceFromManagedInstanceResponse = DetachParentSoftwareSourceFromManagedInstanceResponse.DetachParentSoftwareSourceFromManagedInstanceResponse; -import * as DisableModuleStreamOnManagedInstanceResponse from "./disable-module-stream-on-managed-instance-response"; -export import DisableModuleStreamOnManagedInstanceResponse = DisableModuleStreamOnManagedInstanceResponse.DisableModuleStreamOnManagedInstanceResponse; -import * as EnableModuleStreamOnManagedInstanceResponse from "./enable-module-stream-on-managed-instance-response"; -export import EnableModuleStreamOnManagedInstanceResponse = EnableModuleStreamOnManagedInstanceResponse.EnableModuleStreamOnManagedInstanceResponse; -import * as GetErratumResponse from "./get-erratum-response"; -export import GetErratumResponse = GetErratumResponse.GetErratumResponse; -import * as GetManagedInstanceResponse from "./get-managed-instance-response"; -export import GetManagedInstanceResponse = GetManagedInstanceResponse.GetManagedInstanceResponse; -import * as GetManagedInstanceGroupResponse from "./get-managed-instance-group-response"; -export import GetManagedInstanceGroupResponse = GetManagedInstanceGroupResponse.GetManagedInstanceGroupResponse; -import * as GetModuleStreamResponse from "./get-module-stream-response"; -export import GetModuleStreamResponse = GetModuleStreamResponse.GetModuleStreamResponse; -import * as GetModuleStreamProfileResponse from "./get-module-stream-profile-response"; -export import GetModuleStreamProfileResponse = GetModuleStreamProfileResponse.GetModuleStreamProfileResponse; -import * as GetScheduledJobResponse from "./get-scheduled-job-response"; -export import GetScheduledJobResponse = GetScheduledJobResponse.GetScheduledJobResponse; -import * as GetSoftwarePackageResponse from "./get-software-package-response"; -export import GetSoftwarePackageResponse = GetSoftwarePackageResponse.GetSoftwarePackageResponse; -import * as GetSoftwareSourceResponse from "./get-software-source-response"; -export import GetSoftwareSourceResponse = GetSoftwareSourceResponse.GetSoftwareSourceResponse; -import * as GetWindowsUpdateResponse from "./get-windows-update-response"; -export import GetWindowsUpdateResponse = GetWindowsUpdateResponse.GetWindowsUpdateResponse; -import * as GetWorkRequestResponse from "./get-work-request-response"; -export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; -import * as InstallAllPackageUpdatesOnManagedInstanceResponse from "./install-all-package-updates-on-managed-instance-response"; -export import InstallAllPackageUpdatesOnManagedInstanceResponse = InstallAllPackageUpdatesOnManagedInstanceResponse.InstallAllPackageUpdatesOnManagedInstanceResponse; -import * as InstallAllUpdatesOnManagedInstanceGroupResponse from "./install-all-updates-on-managed-instance-group-response"; -export import InstallAllUpdatesOnManagedInstanceGroupResponse = InstallAllUpdatesOnManagedInstanceGroupResponse.InstallAllUpdatesOnManagedInstanceGroupResponse; -import * as InstallAllWindowsUpdatesOnManagedInstanceResponse from "./install-all-windows-updates-on-managed-instance-response"; -export import InstallAllWindowsUpdatesOnManagedInstanceResponse = InstallAllWindowsUpdatesOnManagedInstanceResponse.InstallAllWindowsUpdatesOnManagedInstanceResponse; -import * as InstallModuleStreamProfileOnManagedInstanceResponse from "./install-module-stream-profile-on-managed-instance-response"; -export import InstallModuleStreamProfileOnManagedInstanceResponse = InstallModuleStreamProfileOnManagedInstanceResponse.InstallModuleStreamProfileOnManagedInstanceResponse; -import * as InstallPackageOnManagedInstanceResponse from "./install-package-on-managed-instance-response"; -export import InstallPackageOnManagedInstanceResponse = InstallPackageOnManagedInstanceResponse.InstallPackageOnManagedInstanceResponse; -import * as InstallPackageUpdateOnManagedInstanceResponse from "./install-package-update-on-managed-instance-response"; -export import InstallPackageUpdateOnManagedInstanceResponse = InstallPackageUpdateOnManagedInstanceResponse.InstallPackageUpdateOnManagedInstanceResponse; -import * as InstallWindowsUpdateOnManagedInstanceResponse from "./install-windows-update-on-managed-instance-response"; -export import InstallWindowsUpdateOnManagedInstanceResponse = InstallWindowsUpdateOnManagedInstanceResponse.InstallWindowsUpdateOnManagedInstanceResponse; -import * as ListAvailablePackagesForManagedInstanceResponse from "./list-available-packages-for-managed-instance-response"; -export import ListAvailablePackagesForManagedInstanceResponse = ListAvailablePackagesForManagedInstanceResponse.ListAvailablePackagesForManagedInstanceResponse; -import * as ListAvailableSoftwareSourcesForManagedInstanceResponse from "./list-available-software-sources-for-managed-instance-response"; -export import ListAvailableSoftwareSourcesForManagedInstanceResponse = ListAvailableSoftwareSourcesForManagedInstanceResponse.ListAvailableSoftwareSourcesForManagedInstanceResponse; -import * as ListAvailableUpdatesForManagedInstanceResponse from "./list-available-updates-for-managed-instance-response"; -export import ListAvailableUpdatesForManagedInstanceResponse = ListAvailableUpdatesForManagedInstanceResponse.ListAvailableUpdatesForManagedInstanceResponse; -import * as ListAvailableWindowsUpdatesForManagedInstanceResponse from "./list-available-windows-updates-for-managed-instance-response"; -export import ListAvailableWindowsUpdatesForManagedInstanceResponse = ListAvailableWindowsUpdatesForManagedInstanceResponse.ListAvailableWindowsUpdatesForManagedInstanceResponse; -import * as ListErrataResponse from "./list-errata-response"; -export import ListErrataResponse = ListErrataResponse.ListErrataResponse; -import * as ListManagedInstanceErrataResponse from "./list-managed-instance-errata-response"; -export import ListManagedInstanceErrataResponse = ListManagedInstanceErrataResponse.ListManagedInstanceErrataResponse; -import * as ListManagedInstanceGroupsResponse from "./list-managed-instance-groups-response"; -export import ListManagedInstanceGroupsResponse = ListManagedInstanceGroupsResponse.ListManagedInstanceGroupsResponse; -import * as ListManagedInstancesResponse from "./list-managed-instances-response"; -export import ListManagedInstancesResponse = ListManagedInstancesResponse.ListManagedInstancesResponse; -import * as ListModuleStreamProfilesResponse from "./list-module-stream-profiles-response"; -export import ListModuleStreamProfilesResponse = ListModuleStreamProfilesResponse.ListModuleStreamProfilesResponse; -import * as ListModuleStreamProfilesOnManagedInstanceResponse from "./list-module-stream-profiles-on-managed-instance-response"; -export import ListModuleStreamProfilesOnManagedInstanceResponse = ListModuleStreamProfilesOnManagedInstanceResponse.ListModuleStreamProfilesOnManagedInstanceResponse; -import * as ListModuleStreamsResponse from "./list-module-streams-response"; -export import ListModuleStreamsResponse = ListModuleStreamsResponse.ListModuleStreamsResponse; -import * as ListModuleStreamsOnManagedInstanceResponse from "./list-module-streams-on-managed-instance-response"; -export import ListModuleStreamsOnManagedInstanceResponse = ListModuleStreamsOnManagedInstanceResponse.ListModuleStreamsOnManagedInstanceResponse; -import * as ListPackagesInstalledOnManagedInstanceResponse from "./list-packages-installed-on-managed-instance-response"; -export import ListPackagesInstalledOnManagedInstanceResponse = ListPackagesInstalledOnManagedInstanceResponse.ListPackagesInstalledOnManagedInstanceResponse; -import * as ListScheduledJobsResponse from "./list-scheduled-jobs-response"; -export import ListScheduledJobsResponse = ListScheduledJobsResponse.ListScheduledJobsResponse; -import * as ListSoftwareSourcePackagesResponse from "./list-software-source-packages-response"; -export import ListSoftwareSourcePackagesResponse = ListSoftwareSourcePackagesResponse.ListSoftwareSourcePackagesResponse; -import * as ListSoftwareSourcesResponse from "./list-software-sources-response"; -export import ListSoftwareSourcesResponse = ListSoftwareSourcesResponse.ListSoftwareSourcesResponse; -import * as ListUpcomingScheduledJobsResponse from "./list-upcoming-scheduled-jobs-response"; -export import ListUpcomingScheduledJobsResponse = ListUpcomingScheduledJobsResponse.ListUpcomingScheduledJobsResponse; -import * as ListWindowsUpdatesResponse from "./list-windows-updates-response"; -export import ListWindowsUpdatesResponse = ListWindowsUpdatesResponse.ListWindowsUpdatesResponse; -import * as ListWindowsUpdatesInstalledOnManagedInstanceResponse from "./list-windows-updates-installed-on-managed-instance-response"; -export import ListWindowsUpdatesInstalledOnManagedInstanceResponse = ListWindowsUpdatesInstalledOnManagedInstanceResponse.ListWindowsUpdatesInstalledOnManagedInstanceResponse; -import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; -export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; -import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; -export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; -import * as ListWorkRequestsResponse from "./list-work-requests-response"; -export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; -import * as ManageModuleStreamsOnManagedInstanceResponse from "./manage-module-streams-on-managed-instance-response"; -export import ManageModuleStreamsOnManagedInstanceResponse = ManageModuleStreamsOnManagedInstanceResponse.ManageModuleStreamsOnManagedInstanceResponse; -import * as RemoveModuleStreamProfileFromManagedInstanceResponse from "./remove-module-stream-profile-from-managed-instance-response"; -export import RemoveModuleStreamProfileFromManagedInstanceResponse = RemoveModuleStreamProfileFromManagedInstanceResponse.RemoveModuleStreamProfileFromManagedInstanceResponse; -import * as RemovePackageFromManagedInstanceResponse from "./remove-package-from-managed-instance-response"; -export import RemovePackageFromManagedInstanceResponse = RemovePackageFromManagedInstanceResponse.RemovePackageFromManagedInstanceResponse; -import * as RemovePackagesFromSoftwareSourceResponse from "./remove-packages-from-software-source-response"; -export import RemovePackagesFromSoftwareSourceResponse = RemovePackagesFromSoftwareSourceResponse.RemovePackagesFromSoftwareSourceResponse; -import * as RunScheduledJobNowResponse from "./run-scheduled-job-now-response"; -export import RunScheduledJobNowResponse = RunScheduledJobNowResponse.RunScheduledJobNowResponse; -import * as SearchSoftwarePackagesResponse from "./search-software-packages-response"; -export import SearchSoftwarePackagesResponse = SearchSoftwarePackagesResponse.SearchSoftwarePackagesResponse; -import * as SkipNextScheduledJobExecutionResponse from "./skip-next-scheduled-job-execution-response"; -export import SkipNextScheduledJobExecutionResponse = SkipNextScheduledJobExecutionResponse.SkipNextScheduledJobExecutionResponse; -import * as SwitchModuleStreamOnManagedInstanceResponse from "./switch-module-stream-on-managed-instance-response"; -export import SwitchModuleStreamOnManagedInstanceResponse = SwitchModuleStreamOnManagedInstanceResponse.SwitchModuleStreamOnManagedInstanceResponse; -import * as UpdateManagedInstanceResponse from "./update-managed-instance-response"; -export import UpdateManagedInstanceResponse = UpdateManagedInstanceResponse.UpdateManagedInstanceResponse; -import * as UpdateManagedInstanceGroupResponse from "./update-managed-instance-group-response"; -export import UpdateManagedInstanceGroupResponse = UpdateManagedInstanceGroupResponse.UpdateManagedInstanceGroupResponse; -import * as UpdateScheduledJobResponse from "./update-scheduled-job-response"; -export import UpdateScheduledJobResponse = UpdateScheduledJobResponse.UpdateScheduledJobResponse; -import * as UpdateSoftwareSourceResponse from "./update-software-source-response"; -export import UpdateSoftwareSourceResponse = UpdateSoftwareSourceResponse.UpdateSoftwareSourceResponse; diff --git a/lib/osmanagement/lib/response/install-all-package-updates-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-all-package-updates-on-managed-instance-response.ts deleted file mode 100644 index 6a137f1719..0000000000 --- a/lib/osmanagement/lib/response/install-all-package-updates-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallAllPackageUpdatesOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-all-updates-on-managed-instance-group-response.ts b/lib/osmanagement/lib/response/install-all-updates-on-managed-instance-group-response.ts deleted file mode 100644 index f66b03d1d5..0000000000 --- a/lib/osmanagement/lib/response/install-all-updates-on-managed-instance-group-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallAllUpdatesOnManagedInstanceGroupResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-all-windows-updates-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-all-windows-updates-on-managed-instance-response.ts deleted file mode 100644 index 68929d4776..0000000000 --- a/lib/osmanagement/lib/response/install-all-windows-updates-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallAllWindowsUpdatesOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-module-stream-profile-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-module-stream-profile-on-managed-instance-response.ts deleted file mode 100644 index 1b0f9cb6db..0000000000 --- a/lib/osmanagement/lib/response/install-module-stream-profile-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallModuleStreamProfileOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-package-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-package-on-managed-instance-response.ts deleted file mode 100644 index 51178dd36d..0000000000 --- a/lib/osmanagement/lib/response/install-package-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallPackageOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-package-update-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-package-update-on-managed-instance-response.ts deleted file mode 100644 index c23b97df89..0000000000 --- a/lib/osmanagement/lib/response/install-package-update-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallPackageUpdateOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/install-windows-update-on-managed-instance-response.ts b/lib/osmanagement/lib/response/install-windows-update-on-managed-instance-response.ts deleted file mode 100644 index 53c0feec27..0000000000 --- a/lib/osmanagement/lib/response/install-windows-update-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 InstallWindowsUpdateOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/list-available-packages-for-managed-instance-response.ts b/lib/osmanagement/lib/response/list-available-packages-for-managed-instance-response.ts deleted file mode 100644 index 980067532d..0000000000 --- a/lib/osmanagement/lib/response/list-available-packages-for-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAvailablePackagesForManagedInstanceResponse { - /** - * 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 list of InstallablePackageSummary instances. - */ - "items": model.InstallablePackageSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-available-software-sources-for-managed-instance-response.ts b/lib/osmanagement/lib/response/list-available-software-sources-for-managed-instance-response.ts deleted file mode 100644 index eed61657fe..0000000000 --- a/lib/osmanagement/lib/response/list-available-software-sources-for-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAvailableSoftwareSourcesForManagedInstanceResponse { - /** - * 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 list of AvailableSoftwareSourceSummary instances. - */ - "items": model.AvailableSoftwareSourceSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-available-updates-for-managed-instance-response.ts b/lib/osmanagement/lib/response/list-available-updates-for-managed-instance-response.ts deleted file mode 100644 index 26c0a0f113..0000000000 --- a/lib/osmanagement/lib/response/list-available-updates-for-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAvailableUpdatesForManagedInstanceResponse { - /** - * 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 list of AvailableUpdateSummary instances. - */ - "items": model.AvailableUpdateSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-available-windows-updates-for-managed-instance-response.ts b/lib/osmanagement/lib/response/list-available-windows-updates-for-managed-instance-response.ts deleted file mode 100644 index ba29484a8b..0000000000 --- a/lib/osmanagement/lib/response/list-available-windows-updates-for-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAvailableWindowsUpdatesForManagedInstanceResponse { - /** - * 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 list of AvailableWindowsUpdateSummary instances. - */ - "items": model.AvailableWindowsUpdateSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-errata-response.ts b/lib/osmanagement/lib/response/list-errata-response.ts deleted file mode 100644 index ad8b2f17cb..0000000000 --- a/lib/osmanagement/lib/response/list-errata-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListErrataResponse { - /** - * 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 list of ErratumSummary instances. - */ - "items": model.ErratumSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-events-response.ts b/lib/osmanagement/lib/response/list-events-response.ts deleted file mode 100644 index cd4ac314fa..0000000000 --- a/lib/osmanagement/lib/response/list-events-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListEventsResponse { - /** - * 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.EventCollection instance. - */ - "eventCollection": model.EventCollection; -} diff --git a/lib/osmanagement/lib/response/list-managed-instance-errata-response.ts b/lib/osmanagement/lib/response/list-managed-instance-errata-response.ts deleted file mode 100644 index 0169908a51..0000000000 --- a/lib/osmanagement/lib/response/list-managed-instance-errata-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListManagedInstanceErrataResponse { - /** - * 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 list of ErratumSummary instances. - */ - "items": model.ErratumSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-managed-instance-groups-response.ts b/lib/osmanagement/lib/response/list-managed-instance-groups-response.ts deleted file mode 100644 index e2bf808df5..0000000000 --- a/lib/osmanagement/lib/response/list-managed-instance-groups-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListManagedInstanceGroupsResponse { - /** - * 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 list of ManagedInstanceGroupSummary instances. - */ - "items": model.ManagedInstanceGroupSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-managed-instances-response.ts b/lib/osmanagement/lib/response/list-managed-instances-response.ts deleted file mode 100644 index 399d4d05d3..0000000000 --- a/lib/osmanagement/lib/response/list-managed-instances-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListManagedInstancesResponse { - /** - * 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 list of ManagedInstanceSummary instances. - */ - "items": model.ManagedInstanceSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-module-stream-profiles-on-managed-instance-response.ts b/lib/osmanagement/lib/response/list-module-stream-profiles-on-managed-instance-response.ts deleted file mode 100644 index 3fc578552e..0000000000 --- a/lib/osmanagement/lib/response/list-module-stream-profiles-on-managed-instance-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListModuleStreamProfilesOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * 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 list of ModuleStreamProfileOnManagedInstanceSummary instances. - */ - "items": model.ModuleStreamProfileOnManagedInstanceSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-module-stream-profiles-response.ts b/lib/osmanagement/lib/response/list-module-stream-profiles-response.ts deleted file mode 100644 index 70a5cbec9d..0000000000 --- a/lib/osmanagement/lib/response/list-module-stream-profiles-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListModuleStreamProfilesResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * 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 list of ModuleStreamProfileSummary instances. - */ - "items": model.ModuleStreamProfileSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-module-streams-on-managed-instance-response.ts b/lib/osmanagement/lib/response/list-module-streams-on-managed-instance-response.ts deleted file mode 100644 index 69de7f216f..0000000000 --- a/lib/osmanagement/lib/response/list-module-streams-on-managed-instance-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListModuleStreamsOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * 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 list of ModuleStreamOnManagedInstanceSummary instances. - */ - "items": model.ModuleStreamOnManagedInstanceSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-module-streams-response.ts b/lib/osmanagement/lib/response/list-module-streams-response.ts deleted file mode 100644 index 24fef8a60f..0000000000 --- a/lib/osmanagement/lib/response/list-module-streams-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListModuleStreamsResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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; - /** - * 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 list of ModuleStreamSummary instances. - */ - "items": model.ModuleStreamSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-packages-installed-on-managed-instance-response.ts b/lib/osmanagement/lib/response/list-packages-installed-on-managed-instance-response.ts deleted file mode 100644 index 1e19b5ec5d..0000000000 --- a/lib/osmanagement/lib/response/list-packages-installed-on-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListPackagesInstalledOnManagedInstanceResponse { - /** - * 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 list of InstalledPackageSummary instances. - */ - "items": model.InstalledPackageSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-related-events-response.ts b/lib/osmanagement/lib/response/list-related-events-response.ts deleted file mode 100644 index d10e461728..0000000000 --- a/lib/osmanagement/lib/response/list-related-events-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListRelatedEventsResponse { - /** - * 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.RelatedEventCollection instance. - */ - "relatedEventCollection": model.RelatedEventCollection; -} diff --git a/lib/osmanagement/lib/response/list-scheduled-jobs-response.ts b/lib/osmanagement/lib/response/list-scheduled-jobs-response.ts deleted file mode 100644 index 8df3c45808..0000000000 --- a/lib/osmanagement/lib/response/list-scheduled-jobs-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListScheduledJobsResponse { - /** - * 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 list of ScheduledJobSummary instances. - */ - "items": model.ScheduledJobSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-software-source-packages-response.ts b/lib/osmanagement/lib/response/list-software-source-packages-response.ts deleted file mode 100644 index 0454a87d3e..0000000000 --- a/lib/osmanagement/lib/response/list-software-source-packages-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListSoftwareSourcePackagesResponse { - /** - * 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 list of SoftwarePackageSummary instances. - */ - "items": model.SoftwarePackageSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-software-sources-response.ts b/lib/osmanagement/lib/response/list-software-sources-response.ts deleted file mode 100644 index d513b7969a..0000000000 --- a/lib/osmanagement/lib/response/list-software-sources-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListSoftwareSourcesResponse { - /** - * 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 list of SoftwareSourceSummary instances. - */ - "items": model.SoftwareSourceSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-upcoming-scheduled-jobs-response.ts b/lib/osmanagement/lib/response/list-upcoming-scheduled-jobs-response.ts deleted file mode 100644 index e70f63e882..0000000000 --- a/lib/osmanagement/lib/response/list-upcoming-scheduled-jobs-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListUpcomingScheduledJobsResponse { - /** - * 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 list of ScheduledJobSummary instances. - */ - "items": model.ScheduledJobSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-windows-updates-installed-on-managed-instance-response.ts b/lib/osmanagement/lib/response/list-windows-updates-installed-on-managed-instance-response.ts deleted file mode 100644 index 111aa4e051..0000000000 --- a/lib/osmanagement/lib/response/list-windows-updates-installed-on-managed-instance-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListWindowsUpdatesInstalledOnManagedInstanceResponse { - /** - * 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 list of InstalledWindowsUpdateSummary instances. - */ - "items": model.InstalledWindowsUpdateSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-windows-updates-response.ts b/lib/osmanagement/lib/response/list-windows-updates-response.ts deleted file mode 100644 index 9ebd6b01d9..0000000000 --- a/lib/osmanagement/lib/response/list-windows-updates-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListWindowsUpdatesResponse { - /** - * 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 list of WindowsUpdateSummary instances. - */ - "items": model.WindowsUpdateSummary[]; -} diff --git a/lib/osmanagement/lib/response/list-work-request-errors-response.ts b/lib/osmanagement/lib/response/list-work-request-errors-response.ts deleted file mode 100644 index 9892c44fff..0000000000 --- a/lib/osmanagement/lib/response/list-work-request-errors-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestErrorsResponse { - /** - * 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 decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * A list of WorkRequestError instances. - */ - "items": model.WorkRequestError[]; -} diff --git a/lib/osmanagement/lib/response/list-work-request-logs-response.ts b/lib/osmanagement/lib/response/list-work-request-logs-response.ts deleted file mode 100644 index a1ed0ec4dd..0000000000 --- a/lib/osmanagement/lib/response/list-work-request-logs-response.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestLogsResponse { - /** - * 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 decimal number representing the number of seconds the client - * should wait before polling this endpoint again. - * - */ - "retryAfter": number; - /** - * A list of WorkRequestLogEntry instances. - */ - "items": model.WorkRequestLogEntry[]; -} diff --git a/lib/osmanagement/lib/response/list-work-requests-response.ts b/lib/osmanagement/lib/response/list-work-requests-response.ts deleted file mode 100644 index 51b097a3f6..0000000000 --- a/lib/osmanagement/lib/response/list-work-requests-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestsResponse { - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * For 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 list of WorkRequestSummary instances. - */ - "items": model.WorkRequestSummary[]; -} diff --git a/lib/osmanagement/lib/response/manage-module-streams-on-managed-instance-response.ts b/lib/osmanagement/lib/response/manage-module-streams-on-managed-instance-response.ts deleted file mode 100644 index 264f675717..0000000000 --- a/lib/osmanagement/lib/response/manage-module-streams-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ManageModuleStreamsOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/remove-module-stream-profile-from-managed-instance-response.ts b/lib/osmanagement/lib/response/remove-module-stream-profile-from-managed-instance-response.ts deleted file mode 100644 index b009502fe4..0000000000 --- a/lib/osmanagement/lib/response/remove-module-stream-profile-from-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RemoveModuleStreamProfileFromManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/remove-package-from-managed-instance-response.ts b/lib/osmanagement/lib/response/remove-package-from-managed-instance-response.ts deleted file mode 100644 index b5551de74d..0000000000 --- a/lib/osmanagement/lib/response/remove-package-from-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RemovePackageFromManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/remove-packages-from-software-source-response.ts b/lib/osmanagement/lib/response/remove-packages-from-software-source-response.ts deleted file mode 100644 index ec8c7b9b90..0000000000 --- a/lib/osmanagement/lib/response/remove-packages-from-software-source-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RemovePackagesFromSoftwareSourceResponse { - /** - * 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/osmanagement/lib/response/run-scheduled-job-now-response.ts b/lib/osmanagement/lib/response/run-scheduled-job-now-response.ts deleted file mode 100644 index c45de302e2..0000000000 --- a/lib/osmanagement/lib/response/run-scheduled-job-now-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 RunScheduledJobNowResponse { - /** - * 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; -} diff --git a/lib/osmanagement/lib/response/search-software-packages-response.ts b/lib/osmanagement/lib/response/search-software-packages-response.ts deleted file mode 100644 index fa30ee9339..0000000000 --- a/lib/osmanagement/lib/response/search-software-packages-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 SearchSoftwarePackagesResponse { - /** - * 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 list of SoftwarePackageSearchSummary instances. - */ - "items": model.SoftwarePackageSearchSummary[]; -} diff --git a/lib/osmanagement/lib/response/skip-next-scheduled-job-execution-response.ts b/lib/osmanagement/lib/response/skip-next-scheduled-job-execution-response.ts deleted file mode 100644 index 9d6ce1cac6..0000000000 --- a/lib/osmanagement/lib/response/skip-next-scheduled-job-execution-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 SkipNextScheduledJobExecutionResponse { - /** - * 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; -} diff --git a/lib/osmanagement/lib/response/switch-module-stream-on-managed-instance-response.ts b/lib/osmanagement/lib/response/switch-module-stream-on-managed-instance-response.ts deleted file mode 100644 index b19fe62eb1..0000000000 --- a/lib/osmanagement/lib/response/switch-module-stream-on-managed-instance-response.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 SwitchModuleStreamOnManagedInstanceResponse { - /** - * Unique Oracle-assigned identifier for the asynchronous request. - * You can use this to query the 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/osmanagement/lib/response/update-event-response.ts b/lib/osmanagement/lib/response/update-event-response.ts deleted file mode 100644 index e2846eb608..0000000000 --- a/lib/osmanagement/lib/response/update-event-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateEventResponse { - /** - * 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.Event instance. - */ - "event": model.Event; -} diff --git a/lib/osmanagement/lib/response/update-managed-instance-group-response.ts b/lib/osmanagement/lib/response/update-managed-instance-group-response.ts deleted file mode 100644 index db580881a7..0000000000 --- a/lib/osmanagement/lib/response/update-managed-instance-group-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateManagedInstanceGroupResponse { - /** - * 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.ManagedInstanceGroup instance. - */ - "managedInstanceGroup": model.ManagedInstanceGroup; -} diff --git a/lib/osmanagement/lib/response/update-managed-instance-response.ts b/lib/osmanagement/lib/response/update-managed-instance-response.ts deleted file mode 100644 index ac01c6dda4..0000000000 --- a/lib/osmanagement/lib/response/update-managed-instance-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateManagedInstanceResponse { - /** - * 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.ManagedInstance instance. - */ - "managedInstance": model.ManagedInstance; -} diff --git a/lib/osmanagement/lib/response/update-scheduled-job-response.ts b/lib/osmanagement/lib/response/update-scheduled-job-response.ts deleted file mode 100644 index b9f37b19b5..0000000000 --- a/lib/osmanagement/lib/response/update-scheduled-job-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateScheduledJobResponse { - /** - * 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.ScheduledJob instance. - */ - "scheduledJob": model.ScheduledJob; -} diff --git a/lib/osmanagement/lib/response/update-software-source-response.ts b/lib/osmanagement/lib/response/update-software-source-response.ts deleted file mode 100644 index a31d5aca0c..0000000000 --- a/lib/osmanagement/lib/response/update-software-source-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateSoftwareSourceResponse { - /** - * 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.SoftwareSource instance. - */ - "softwareSource": model.SoftwareSource; -} diff --git a/lib/osmanagement/lib/response/upload-event-content-response.ts b/lib/osmanagement/lib/response/upload-event-content-response.ts deleted file mode 100644 index 8eeee35c5d..0000000000 --- a/lib/osmanagement/lib/response/upload-event-content-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20190801 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UploadEventContentResponse { - /** - * 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/osmanagement/package.json b/lib/osmanagement/package.json deleted file mode 100644 index 10f1747685..0000000000 --- a/lib/osmanagement/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "oci-osmanagement", - "version": "2.114.1", - "description": "OCI NodeJS client for OS Management", - "repository": { - "type": "git", - "url": "https://github.com/oracle/oci-typescript-sdk" - }, - "main": "../../target/lib/osmanagement/index.js", - "typings": "../../target/lib/osmanagement/index.d.ts", - "scripts": {}, - "author": { - "name": "Oracle Cloud Infrastructure", - "email": "" - }, - "license": "(UPL-1.0 OR Apache-2.0)", - "dependencies": { - "oci-common": "../common" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org" - }, - "contributors": [ - "Jyoti Saini ", - "Joe Levy ", - "Walt Tran " - ] -} diff --git a/lib/osmanagement/tsconfig.json b/lib/osmanagement/tsconfig.json deleted file mode 100644 index bf9170b6ce..0000000000 --- a/lib/osmanagement/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "declaration": true, /* Generates corresponding '.d.ts' file. */ - "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "target", /* Redirect output structure to the directory. */ - "strict": true, /* Enable all strict type-checking options. */ - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - } -} \ No newline at end of file diff --git a/lib/servicemesh/README.md b/lib/servicemesh/README.md deleted file mode 100644 index 0f76e9e71e..0000000000 --- a/lib/servicemesh/README.md +++ /dev/null @@ -1,22 +0,0 @@ - -# OCI NodeJS client for Service Mesh Service - -This module enables you to write code to manage resources for Service Mesh Service. - -## Requirements - -To use this module, you must have the following: - -- An Oracle Cloud Infrastructure account. -- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). -- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) - -## Installing - -Use the following command to install this module: - -``` -npm install oci-servicemesh -``` - -Alternatively you can git clone this repo. diff --git a/lib/servicemesh/index.ts b/lib/servicemesh/index.ts deleted file mode 100644 index f2b671611b..0000000000 --- a/lib/servicemesh/index.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as requests from "./lib/request"; -import * as models from "./lib/model"; -import * as responses from "./lib/response"; -import * as client from "./lib/client"; -import * as servicemesh_waiter from "./lib/servicemesh-waiter"; - -export { models }; -export { requests }; -export { responses }; -export import ServiceMeshClient = client.ServiceMeshClient; -export import ServiceMeshWaiter = servicemesh_waiter.ServiceMeshWaiter; diff --git a/lib/servicemesh/lib/client.ts b/lib/servicemesh/lib/client.ts deleted file mode 100644 index 3ac27b1d77..0000000000 --- a/lib/servicemesh/lib/client.ts +++ /dev/null @@ -1,4117 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import common = require("oci-common"); -import * as requests from "./request"; -import * as model from "./model"; -import * as responses from "./response"; -import { ServiceMeshWaiter } from "./servicemesh-waiter"; -import { - composeResponse, - composeRequest, - GenericRetrier, - developerToolConfiguration -} from "oci-common"; -const Breaker = require("opossum"); - -// =============================================== -// This file is autogenerated - Please do not edit -// =============================================== - -export enum ServiceMeshApiKeys {} -/** - * 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 ServiceMeshClient { - protected static serviceEndpointTemplate = "https://servicemesh.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": ServiceMeshWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "ServiceMesh"; - 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("servicemesh")) { - 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("servicemesh"); - } - - // 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 + "/20220615"; - if (this.logger) this.logger.info(`ServiceMeshClient 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( - ServiceMeshClient.serviceEndpointTemplate, - this._region, - ServiceMeshClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - ServiceMeshClient.serviceEndpointTemplate, - this._regionId, - ServiceMeshClient.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( - ServiceMeshClient.serviceEndpointTemplate, - region, - ServiceMeshClient.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( - ServiceMeshClient.serviceEndpointTemplate, - regionId, - ServiceMeshClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new ServiceMeshWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): ServiceMeshWaiter { - this._waiters = new ServiceMeshWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): ServiceMeshWaiter { - if (this._waiters) { - return this._waiters; - } - throw Error("Waiters do not exist. Please create waiters."); - } - - /** - * Shutdown the circuit breaker used by the client when it is no longer needed - */ - public shutdownCircuitBreaker() { - if (this._circuitBreaker) { - this._circuitBreaker.shutdown(); - } - } - - /** - * Close the provider if possible which in turn shuts down any associated circuit breaker - */ - public closeProvider() { - if (this._authProvider) { - if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) - (( - this._authProvider - )).closeProvider(); - } - } - - /** - * Close the client once it is no longer needed - */ - public close() { - this.shutdownCircuitBreaker(); - this.closeProvider(); - } - - /** - * Cancels the work request with the given ID. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CancelWorkRequestRequest - * @return CancelWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. - */ - public async cancelWorkRequest( - cancelWorkRequestRequest: requests.CancelWorkRequestRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#cancelWorkRequest."); - const operationName = "cancelWorkRequest"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/WorkRequest/CancelWorkRequest"; - const pathParams = { - "{workRequestId}": cancelWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": cancelWorkRequestRequest.ifMatch, - "opc-request-id": cancelWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - cancelWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "DELETE", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Moves an AccessPolicy resource from one compartment identifier to another. 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 ChangeAccessPolicyCompartmentRequest - * @return ChangeAccessPolicyCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeAccessPolicyCompartment.ts.html |here} to see how to use ChangeAccessPolicyCompartment API. - */ - public async changeAccessPolicyCompartment( - changeAccessPolicyCompartmentRequest: requests.ChangeAccessPolicyCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#changeAccessPolicyCompartment."); - const operationName = "changeAccessPolicyCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/ChangeAccessPolicyCompartment"; - const pathParams = { - "{accessPolicyId}": changeAccessPolicyCompartmentRequest.accessPolicyId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeAccessPolicyCompartmentRequest.ifMatch, - "opc-request-id": changeAccessPolicyCompartmentRequest.opcRequestId, - "opc-retry-token": changeAccessPolicyCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeAccessPolicyCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies/{accessPolicyId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeAccessPolicyCompartmentRequest.changeAccessPolicyCompartmentDetails, - "ChangeAccessPolicyCompartmentDetails", - model.ChangeAccessPolicyCompartmentDetails.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 IngressGateway resource from one compartment identifier to another. 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 ChangeIngressGatewayCompartmentRequest - * @return ChangeIngressGatewayCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeIngressGatewayCompartment.ts.html |here} to see how to use ChangeIngressGatewayCompartment API. - */ - public async changeIngressGatewayCompartment( - changeIngressGatewayCompartmentRequest: requests.ChangeIngressGatewayCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#changeIngressGatewayCompartment."); - const operationName = "changeIngressGatewayCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/ChangeIngressGatewayCompartment"; - const pathParams = { - "{ingressGatewayId}": changeIngressGatewayCompartmentRequest.ingressGatewayId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeIngressGatewayCompartmentRequest.ifMatch, - "opc-request-id": changeIngressGatewayCompartmentRequest.opcRequestId, - "opc-retry-token": changeIngressGatewayCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeIngressGatewayCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways/{ingressGatewayId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeIngressGatewayCompartmentRequest.changeIngressGatewayCompartmentDetails, - "ChangeIngressGatewayCompartmentDetails", - model.ChangeIngressGatewayCompartmentDetails.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 IngressGatewayRouteTable resource from one compartment identifier to another. 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 ChangeIngressGatewayRouteTableCompartmentRequest - * @return ChangeIngressGatewayRouteTableCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeIngressGatewayRouteTableCompartment.ts.html |here} to see how to use ChangeIngressGatewayRouteTableCompartment API. - */ - public async changeIngressGatewayRouteTableCompartment( - changeIngressGatewayRouteTableCompartmentRequest: requests.ChangeIngressGatewayRouteTableCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation ServiceMeshClient#changeIngressGatewayRouteTableCompartment." - ); - const operationName = "changeIngressGatewayRouteTableCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/ChangeIngressGatewayRouteTableCompartment"; - const pathParams = { - "{ingressGatewayRouteTableId}": - changeIngressGatewayRouteTableCompartmentRequest.ingressGatewayRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeIngressGatewayRouteTableCompartmentRequest.ifMatch, - "opc-request-id": changeIngressGatewayRouteTableCompartmentRequest.opcRequestId, - "opc-retry-token": changeIngressGatewayRouteTableCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeIngressGatewayRouteTableCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables/{ingressGatewayRouteTableId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeIngressGatewayRouteTableCompartmentRequest.changeIngressGatewayRouteTableCompartmentDetails, - "ChangeIngressGatewayRouteTableCompartmentDetails", - model.ChangeIngressGatewayRouteTableCompartmentDetails.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 Mesh resource from one compartment identifier to another. 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 ChangeMeshCompartmentRequest - * @return ChangeMeshCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeMeshCompartment.ts.html |here} to see how to use ChangeMeshCompartment API. - */ - public async changeMeshCompartment( - changeMeshCompartmentRequest: requests.ChangeMeshCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#changeMeshCompartment."); - const operationName = "changeMeshCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/ChangeMeshCompartment"; - const pathParams = { - "{meshId}": changeMeshCompartmentRequest.meshId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeMeshCompartmentRequest.ifMatch, - "opc-request-id": changeMeshCompartmentRequest.opcRequestId, - "opc-retry-token": changeMeshCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeMeshCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes/{meshId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeMeshCompartmentRequest.changeMeshCompartmentDetails, - "ChangeMeshCompartmentDetails", - model.ChangeMeshCompartmentDetails.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 VirtualDeployment resource from one compartment identifier to another. 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 ChangeVirtualDeploymentCompartmentRequest - * @return ChangeVirtualDeploymentCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeVirtualDeploymentCompartment.ts.html |here} to see how to use ChangeVirtualDeploymentCompartment API. - */ - public async changeVirtualDeploymentCompartment( - changeVirtualDeploymentCompartmentRequest: requests.ChangeVirtualDeploymentCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#changeVirtualDeploymentCompartment."); - const operationName = "changeVirtualDeploymentCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/ChangeVirtualDeploymentCompartment"; - const pathParams = { - "{virtualDeploymentId}": changeVirtualDeploymentCompartmentRequest.virtualDeploymentId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeVirtualDeploymentCompartmentRequest.ifMatch, - "opc-request-id": changeVirtualDeploymentCompartmentRequest.opcRequestId, - "opc-retry-token": changeVirtualDeploymentCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeVirtualDeploymentCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments/{virtualDeploymentId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeVirtualDeploymentCompartmentRequest.changeVirtualDeploymentCompartmentDetails, - "ChangeVirtualDeploymentCompartmentDetails", - model.ChangeVirtualDeploymentCompartmentDetails.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 VirtualService resource from one compartment identifier to another. 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 ChangeVirtualServiceCompartmentRequest - * @return ChangeVirtualServiceCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeVirtualServiceCompartment.ts.html |here} to see how to use ChangeVirtualServiceCompartment API. - */ - public async changeVirtualServiceCompartment( - changeVirtualServiceCompartmentRequest: requests.ChangeVirtualServiceCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#changeVirtualServiceCompartment."); - const operationName = "changeVirtualServiceCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/ChangeVirtualServiceCompartment"; - const pathParams = { - "{virtualServiceId}": changeVirtualServiceCompartmentRequest.virtualServiceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeVirtualServiceCompartmentRequest.ifMatch, - "opc-request-id": changeVirtualServiceCompartmentRequest.opcRequestId, - "opc-retry-token": changeVirtualServiceCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeVirtualServiceCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices/{virtualServiceId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeVirtualServiceCompartmentRequest.changeVirtualServiceCompartmentDetails, - "ChangeVirtualServiceCompartmentDetails", - model.ChangeVirtualServiceCompartmentDetails.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 VirtualServiceRouteTable resource from one compartment identifier to another. 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 ChangeVirtualServiceRouteTableCompartmentRequest - * @return ChangeVirtualServiceRouteTableCompartmentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ChangeVirtualServiceRouteTableCompartment.ts.html |here} to see how to use ChangeVirtualServiceRouteTableCompartment API. - */ - public async changeVirtualServiceRouteTableCompartment( - changeVirtualServiceRouteTableCompartmentRequest: requests.ChangeVirtualServiceRouteTableCompartmentRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation ServiceMeshClient#changeVirtualServiceRouteTableCompartment." - ); - const operationName = "changeVirtualServiceRouteTableCompartment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/ChangeVirtualServiceRouteTableCompartment"; - const pathParams = { - "{virtualServiceRouteTableId}": - changeVirtualServiceRouteTableCompartmentRequest.virtualServiceRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": changeVirtualServiceRouteTableCompartmentRequest.ifMatch, - "opc-request-id": changeVirtualServiceRouteTableCompartmentRequest.opcRequestId, - "opc-retry-token": changeVirtualServiceRouteTableCompartmentRequest.opcRetryToken - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - changeVirtualServiceRouteTableCompartmentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables/{virtualServiceRouteTableId}/actions/changeCompartment", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - changeVirtualServiceRouteTableCompartmentRequest.changeVirtualServiceRouteTableCompartmentDetails, - "ChangeVirtualServiceRouteTableCompartmentDetails", - model.ChangeVirtualServiceRouteTableCompartmentDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new AccessPolicy. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateAccessPolicyRequest - * @return CreateAccessPolicyResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateAccessPolicy.ts.html |here} to see how to use CreateAccessPolicy API. - */ - public async createAccessPolicy( - createAccessPolicyRequest: requests.CreateAccessPolicyRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#createAccessPolicy."); - const operationName = "createAccessPolicy"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/CreateAccessPolicy"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createAccessPolicyRequest.opcRetryToken, - "opc-request-id": createAccessPolicyRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createAccessPolicyRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createAccessPolicyRequest.createAccessPolicyDetails, - "CreateAccessPolicyDetails", - model.CreateAccessPolicyDetails.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: "accessPolicy", - bodyModel: model.AccessPolicy, - type: "model.AccessPolicy", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new IngressGateway. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateIngressGatewayRequest - * @return CreateIngressGatewayResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateIngressGateway.ts.html |here} to see how to use CreateIngressGateway API. - */ - public async createIngressGateway( - createIngressGatewayRequest: requests.CreateIngressGatewayRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#createIngressGateway."); - const operationName = "createIngressGateway"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/CreateIngressGateway"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createIngressGatewayRequest.opcRetryToken, - "opc-request-id": createIngressGatewayRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createIngressGatewayRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createIngressGatewayRequest.createIngressGatewayDetails, - "CreateIngressGatewayDetails", - model.CreateIngressGatewayDetails.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: "ingressGateway", - bodyModel: model.IngressGateway, - type: "model.IngressGateway", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new IngressGatewayRouteTable. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateIngressGatewayRouteTableRequest - * @return CreateIngressGatewayRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateIngressGatewayRouteTable.ts.html |here} to see how to use CreateIngressGatewayRouteTable API. - */ - public async createIngressGatewayRouteTable( - createIngressGatewayRouteTableRequest: requests.CreateIngressGatewayRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#createIngressGatewayRouteTable."); - const operationName = "createIngressGatewayRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/CreateIngressGatewayRouteTable"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createIngressGatewayRouteTableRequest.opcRetryToken, - "opc-request-id": createIngressGatewayRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createIngressGatewayRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createIngressGatewayRouteTableRequest.createIngressGatewayRouteTableDetails, - "CreateIngressGatewayRouteTableDetails", - model.CreateIngressGatewayRouteTableDetails.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: "ingressGatewayRouteTable", - bodyModel: model.IngressGatewayRouteTable, - type: "model.IngressGatewayRouteTable", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new Mesh. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateMeshRequest - * @return CreateMeshResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateMesh.ts.html |here} to see how to use CreateMesh API. - */ - public async createMesh( - createMeshRequest: requests.CreateMeshRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#createMesh."); - const operationName = "createMesh"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/CreateMesh"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createMeshRequest.opcRetryToken, - "opc-request-id": createMeshRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createMeshRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createMeshRequest.createMeshDetails, - "CreateMeshDetails", - model.CreateMeshDetails.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: "mesh", - bodyModel: model.Mesh, - type: "model.Mesh", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new VirtualDeployment. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateVirtualDeploymentRequest - * @return CreateVirtualDeploymentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateVirtualDeployment.ts.html |here} to see how to use CreateVirtualDeployment API. - */ - public async createVirtualDeployment( - createVirtualDeploymentRequest: requests.CreateVirtualDeploymentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#createVirtualDeployment."); - const operationName = "createVirtualDeployment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/CreateVirtualDeployment"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createVirtualDeploymentRequest.opcRetryToken, - "opc-request-id": createVirtualDeploymentRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createVirtualDeploymentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createVirtualDeploymentRequest.createVirtualDeploymentDetails, - "CreateVirtualDeploymentDetails", - model.CreateVirtualDeploymentDetails.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: "virtualDeployment", - bodyModel: model.VirtualDeployment, - type: "model.VirtualDeployment", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new VirtualService. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateVirtualServiceRequest - * @return CreateVirtualServiceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateVirtualService.ts.html |here} to see how to use CreateVirtualService API. - */ - public async createVirtualService( - createVirtualServiceRequest: requests.CreateVirtualServiceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#createVirtualService."); - const operationName = "createVirtualService"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/CreateVirtualService"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createVirtualServiceRequest.opcRetryToken, - "opc-request-id": createVirtualServiceRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createVirtualServiceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createVirtualServiceRequest.createVirtualServiceDetails, - "CreateVirtualServiceDetails", - model.CreateVirtualServiceDetails.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: "virtualService", - bodyModel: model.VirtualService, - type: "model.VirtualService", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Creates a new VirtualServiceRouteTable. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateVirtualServiceRouteTableRequest - * @return CreateVirtualServiceRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/CreateVirtualServiceRouteTable.ts.html |here} to see how to use CreateVirtualServiceRouteTable API. - */ - public async createVirtualServiceRouteTable( - createVirtualServiceRouteTableRequest: requests.CreateVirtualServiceRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#createVirtualServiceRouteTable."); - const operationName = "createVirtualServiceRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/CreateVirtualServiceRouteTable"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createVirtualServiceRouteTableRequest.opcRetryToken, - "opc-request-id": createVirtualServiceRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createVirtualServiceRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createVirtualServiceRouteTableRequest.createVirtualServiceRouteTableDetails, - "CreateVirtualServiceRouteTableDetails", - model.CreateVirtualServiceRouteTableDetails.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: "virtualServiceRouteTable", - bodyModel: model.VirtualServiceRouteTable, - type: "model.VirtualServiceRouteTable", - 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" - }, - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Deletes an AccessPolicy resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteAccessPolicyRequest - * @return DeleteAccessPolicyResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteAccessPolicy.ts.html |here} to see how to use DeleteAccessPolicy API. - */ - public async deleteAccessPolicy( - deleteAccessPolicyRequest: requests.DeleteAccessPolicyRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#deleteAccessPolicy."); - const operationName = "deleteAccessPolicy"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/DeleteAccessPolicy"; - const pathParams = { - "{accessPolicyId}": deleteAccessPolicyRequest.accessPolicyId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteAccessPolicyRequest.ifMatch, - "opc-request-id": deleteAccessPolicyRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteAccessPolicyRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies/{accessPolicyId}", - 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 an IngressGateway resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteIngressGatewayRequest - * @return DeleteIngressGatewayResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteIngressGateway.ts.html |here} to see how to use DeleteIngressGateway API. - */ - public async deleteIngressGateway( - deleteIngressGatewayRequest: requests.DeleteIngressGatewayRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#deleteIngressGateway."); - const operationName = "deleteIngressGateway"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/DeleteIngressGateway"; - const pathParams = { - "{ingressGatewayId}": deleteIngressGatewayRequest.ingressGatewayId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteIngressGatewayRequest.ifMatch, - "opc-request-id": deleteIngressGatewayRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteIngressGatewayRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways/{ingressGatewayId}", - 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 IngressGatewayRouteTable resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteIngressGatewayRouteTableRequest - * @return DeleteIngressGatewayRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteIngressGatewayRouteTable.ts.html |here} to see how to use DeleteIngressGatewayRouteTable API. - */ - public async deleteIngressGatewayRouteTable( - deleteIngressGatewayRouteTableRequest: requests.DeleteIngressGatewayRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#deleteIngressGatewayRouteTable."); - const operationName = "deleteIngressGatewayRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/DeleteIngressGatewayRouteTable"; - const pathParams = { - "{ingressGatewayRouteTableId}": - deleteIngressGatewayRouteTableRequest.ingressGatewayRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteIngressGatewayRouteTableRequest.ifMatch, - "opc-request-id": deleteIngressGatewayRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteIngressGatewayRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables/{ingressGatewayRouteTableId}", - 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 Mesh resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteMeshRequest - * @return DeleteMeshResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteMesh.ts.html |here} to see how to use DeleteMesh API. - */ - public async deleteMesh( - deleteMeshRequest: requests.DeleteMeshRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#deleteMesh."); - const operationName = "deleteMesh"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/DeleteMesh"; - const pathParams = { - "{meshId}": deleteMeshRequest.meshId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteMeshRequest.ifMatch, - "opc-request-id": deleteMeshRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteMeshRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes/{meshId}", - 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 VirtualDeployment resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteVirtualDeploymentRequest - * @return DeleteVirtualDeploymentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteVirtualDeployment.ts.html |here} to see how to use DeleteVirtualDeployment API. - */ - public async deleteVirtualDeployment( - deleteVirtualDeploymentRequest: requests.DeleteVirtualDeploymentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#deleteVirtualDeployment."); - const operationName = "deleteVirtualDeployment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/DeleteVirtualDeployment"; - const pathParams = { - "{virtualDeploymentId}": deleteVirtualDeploymentRequest.virtualDeploymentId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteVirtualDeploymentRequest.ifMatch, - "opc-request-id": deleteVirtualDeploymentRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteVirtualDeploymentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments/{virtualDeploymentId}", - 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 VirtualService resource by identifier - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteVirtualServiceRequest - * @return DeleteVirtualServiceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteVirtualService.ts.html |here} to see how to use DeleteVirtualService API. - */ - public async deleteVirtualService( - deleteVirtualServiceRequest: requests.DeleteVirtualServiceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#deleteVirtualService."); - const operationName = "deleteVirtualService"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/DeleteVirtualService"; - const pathParams = { - "{virtualServiceId}": deleteVirtualServiceRequest.virtualServiceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteVirtualServiceRequest.ifMatch, - "opc-request-id": deleteVirtualServiceRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteVirtualServiceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices/{virtualServiceId}", - 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 VirtualServiceRouteTable resource by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteVirtualServiceRouteTableRequest - * @return DeleteVirtualServiceRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/DeleteVirtualServiceRouteTable.ts.html |here} to see how to use DeleteVirtualServiceRouteTable API. - */ - public async deleteVirtualServiceRouteTable( - deleteVirtualServiceRouteTableRequest: requests.DeleteVirtualServiceRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#deleteVirtualServiceRouteTable."); - const operationName = "deleteVirtualServiceRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/DeleteVirtualServiceRouteTable"; - const pathParams = { - "{virtualServiceRouteTableId}": - deleteVirtualServiceRouteTableRequest.virtualServiceRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteVirtualServiceRouteTableRequest.ifMatch, - "opc-request-id": deleteVirtualServiceRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteVirtualServiceRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables/{virtualServiceRouteTableId}", - 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; - } - } - - /** - * Get an AccessPolicy by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetAccessPolicyRequest - * @return GetAccessPolicyResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetAccessPolicy.ts.html |here} to see how to use GetAccessPolicy API. - */ - public async getAccessPolicy( - getAccessPolicyRequest: requests.GetAccessPolicyRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getAccessPolicy."); - const operationName = "getAccessPolicy"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/GetAccessPolicy"; - const pathParams = { - "{accessPolicyId}": getAccessPolicyRequest.accessPolicyId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getAccessPolicyRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getAccessPolicyRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies/{accessPolicyId}", - 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: "accessPolicy", - bodyModel: model.AccessPolicy, - type: "model.AccessPolicy", - 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 an IngressGateway by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetIngressGatewayRequest - * @return GetIngressGatewayResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetIngressGateway.ts.html |here} to see how to use GetIngressGateway API. - */ - public async getIngressGateway( - getIngressGatewayRequest: requests.GetIngressGatewayRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getIngressGateway."); - const operationName = "getIngressGateway"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/GetIngressGateway"; - const pathParams = { - "{ingressGatewayId}": getIngressGatewayRequest.ingressGatewayId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getIngressGatewayRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getIngressGatewayRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways/{ingressGatewayId}", - 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: "ingressGateway", - bodyModel: model.IngressGateway, - type: "model.IngressGateway", - 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 IngressGatewayRouteTable by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetIngressGatewayRouteTableRequest - * @return GetIngressGatewayRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetIngressGatewayRouteTable.ts.html |here} to see how to use GetIngressGatewayRouteTable API. - */ - public async getIngressGatewayRouteTable( - getIngressGatewayRouteTableRequest: requests.GetIngressGatewayRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#getIngressGatewayRouteTable."); - const operationName = "getIngressGatewayRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/GetIngressGatewayRouteTable"; - const pathParams = { - "{ingressGatewayRouteTableId}": getIngressGatewayRouteTableRequest.ingressGatewayRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getIngressGatewayRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getIngressGatewayRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables/{ingressGatewayRouteTableId}", - 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: "ingressGatewayRouteTable", - bodyModel: model.IngressGatewayRouteTable, - type: "model.IngressGatewayRouteTable", - 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 Mesh by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetMeshRequest - * @return GetMeshResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetMesh.ts.html |here} to see how to use GetMesh API. - */ - public async getMesh( - getMeshRequest: requests.GetMeshRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getMesh."); - const operationName = "getMesh"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/GetMesh"; - const pathParams = { - "{meshId}": getMeshRequest.meshId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getMeshRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getMeshRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes/{meshId}", - 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: "mesh", - bodyModel: model.Mesh, - type: "model.Mesh", - 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; - } - } - - /** - * Returns the attributes of the Proxy such as proxy image version. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetProxyDetailsRequest - * @return GetProxyDetailsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetProxyDetails.ts.html |here} to see how to use GetProxyDetails API. - */ - public async getProxyDetails( - getProxyDetailsRequest: requests.GetProxyDetailsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getProxyDetails."); - const operationName = "getProxyDetails"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/ProxyDetails/GetProxyDetails"; - const pathParams = {}; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getProxyDetailsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getProxyDetailsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/proxyDetails", - 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: "proxyDetails", - bodyModel: model.ProxyDetails, - type: "model.ProxyDetails", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets a VirtualDeployment by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetVirtualDeploymentRequest - * @return GetVirtualDeploymentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetVirtualDeployment.ts.html |here} to see how to use GetVirtualDeployment API. - */ - public async getVirtualDeployment( - getVirtualDeploymentRequest: requests.GetVirtualDeploymentRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getVirtualDeployment."); - const operationName = "getVirtualDeployment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/GetVirtualDeployment"; - const pathParams = { - "{virtualDeploymentId}": getVirtualDeploymentRequest.virtualDeploymentId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getVirtualDeploymentRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getVirtualDeploymentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments/{virtualDeploymentId}", - 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: "virtualDeployment", - bodyModel: model.VirtualDeployment, - type: "model.VirtualDeployment", - 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 VirtualService by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetVirtualServiceRequest - * @return GetVirtualServiceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetVirtualService.ts.html |here} to see how to use GetVirtualService API. - */ - public async getVirtualService( - getVirtualServiceRequest: requests.GetVirtualServiceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getVirtualService."); - const operationName = "getVirtualService"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/GetVirtualService"; - const pathParams = { - "{virtualServiceId}": getVirtualServiceRequest.virtualServiceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getVirtualServiceRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getVirtualServiceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices/{virtualServiceId}", - 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: "virtualService", - bodyModel: model.VirtualService, - type: "model.VirtualService", - 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 VirtualServiceRouteTable by identifier. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetVirtualServiceRouteTableRequest - * @return GetVirtualServiceRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetVirtualServiceRouteTable.ts.html |here} to see how to use GetVirtualServiceRouteTable API. - */ - public async getVirtualServiceRouteTable( - getVirtualServiceRouteTableRequest: requests.GetVirtualServiceRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#getVirtualServiceRouteTable."); - const operationName = "getVirtualServiceRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/GetVirtualServiceRouteTable"; - const pathParams = { - "{virtualServiceRouteTableId}": getVirtualServiceRouteTableRequest.virtualServiceRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getVirtualServiceRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getVirtualServiceRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables/{virtualServiceRouteTableId}", - 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: "virtualServiceRouteTable", - bodyModel: model.VirtualServiceRouteTable, - type: "model.VirtualServiceRouteTable", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Gets the status of the work request with the given ID. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetWorkRequestRequest - * @return GetWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. - */ - public async getWorkRequest( - getWorkRequestRequest: requests.GetWorkRequestRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#getWorkRequest."); - const operationName = "getWorkRequest"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/WorkRequest/GetWorkRequest"; - const pathParams = { - "{workRequestId}": getWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequest", - bodyModel: model.WorkRequest, - type: "model.WorkRequest", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Returns a list of AccessPolicy objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListAccessPoliciesRequest - * @return ListAccessPoliciesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListAccessPolicies.ts.html |here} to see how to use ListAccessPolicies API. - */ - public async listAccessPolicies( - listAccessPoliciesRequest: requests.ListAccessPoliciesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listAccessPolicies."); - const operationName = "listAccessPolicies"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/ListAccessPolicies"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listAccessPoliciesRequest.compartmentId, - "name": listAccessPoliciesRequest.name, - "limit": listAccessPoliciesRequest.limit, - "page": listAccessPoliciesRequest.page, - "sortOrder": listAccessPoliciesRequest.sortOrder, - "sortBy": listAccessPoliciesRequest.sortBy, - "meshId": listAccessPoliciesRequest.meshId, - "id": listAccessPoliciesRequest.id, - "lifecycleState": listAccessPoliciesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listAccessPoliciesRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listAccessPoliciesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies", - 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: "accessPolicyCollection", - bodyModel: model.AccessPolicyCollection, - type: "model.AccessPolicyCollection", - 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 IngressGatewayRouteTable objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListIngressGatewayRouteTablesRequest - * @return ListIngressGatewayRouteTablesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListIngressGatewayRouteTables.ts.html |here} to see how to use ListIngressGatewayRouteTables API. - */ - public async listIngressGatewayRouteTables( - listIngressGatewayRouteTablesRequest: requests.ListIngressGatewayRouteTablesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#listIngressGatewayRouteTables."); - const operationName = "listIngressGatewayRouteTables"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/ListIngressGatewayRouteTables"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listIngressGatewayRouteTablesRequest.compartmentId, - "name": listIngressGatewayRouteTablesRequest.name, - "limit": listIngressGatewayRouteTablesRequest.limit, - "page": listIngressGatewayRouteTablesRequest.page, - "sortOrder": listIngressGatewayRouteTablesRequest.sortOrder, - "sortBy": listIngressGatewayRouteTablesRequest.sortBy, - "ingressGatewayId": listIngressGatewayRouteTablesRequest.ingressGatewayId, - "id": listIngressGatewayRouteTablesRequest.id, - "lifecycleState": listIngressGatewayRouteTablesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listIngressGatewayRouteTablesRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listIngressGatewayRouteTablesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables", - 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: "ingressGatewayRouteTableCollection", - bodyModel: model.IngressGatewayRouteTableCollection, - type: "model.IngressGatewayRouteTableCollection", - 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 IngressGateway objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListIngressGatewaysRequest - * @return ListIngressGatewaysResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListIngressGateways.ts.html |here} to see how to use ListIngressGateways API. - */ - public async listIngressGateways( - listIngressGatewaysRequest: requests.ListIngressGatewaysRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listIngressGateways."); - const operationName = "listIngressGateways"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/ListIngressGateways"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listIngressGatewaysRequest.compartmentId, - "name": listIngressGatewaysRequest.name, - "limit": listIngressGatewaysRequest.limit, - "page": listIngressGatewaysRequest.page, - "sortOrder": listIngressGatewaysRequest.sortOrder, - "sortBy": listIngressGatewaysRequest.sortBy, - "meshId": listIngressGatewaysRequest.meshId, - "id": listIngressGatewaysRequest.id, - "lifecycleState": listIngressGatewaysRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listIngressGatewaysRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listIngressGatewaysRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways", - 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: "ingressGatewayCollection", - bodyModel: model.IngressGatewayCollection, - type: "model.IngressGatewayCollection", - 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 Mesh objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListMeshesRequest - * @return ListMeshesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListMeshes.ts.html |here} to see how to use ListMeshes API. - */ - public async listMeshes( - listMeshesRequest: requests.ListMeshesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listMeshes."); - const operationName = "listMeshes"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/ListMeshes"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listMeshesRequest.compartmentId, - "displayName": listMeshesRequest.displayName, - "limit": listMeshesRequest.limit, - "page": listMeshesRequest.page, - "sortOrder": listMeshesRequest.sortOrder, - "sortBy": listMeshesRequest.sortBy, - "lifecycleState": listMeshesRequest.lifecycleState, - "id": listMeshesRequest.id - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listMeshesRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listMeshesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes", - 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: "meshCollection", - bodyModel: model.MeshCollection, - type: "model.MeshCollection", - 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 VirtualDeployments. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListVirtualDeploymentsRequest - * @return ListVirtualDeploymentsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListVirtualDeployments.ts.html |here} to see how to use ListVirtualDeployments API. - */ - public async listVirtualDeployments( - listVirtualDeploymentsRequest: requests.ListVirtualDeploymentsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#listVirtualDeployments."); - const operationName = "listVirtualDeployments"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/ListVirtualDeployments"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listVirtualDeploymentsRequest.compartmentId, - "name": listVirtualDeploymentsRequest.name, - "limit": listVirtualDeploymentsRequest.limit, - "page": listVirtualDeploymentsRequest.page, - "sortOrder": listVirtualDeploymentsRequest.sortOrder, - "sortBy": listVirtualDeploymentsRequest.sortBy, - "virtualServiceId": listVirtualDeploymentsRequest.virtualServiceId, - "id": listVirtualDeploymentsRequest.id, - "lifecycleState": listVirtualDeploymentsRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listVirtualDeploymentsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listVirtualDeploymentsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments", - 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: "virtualDeploymentCollection", - bodyModel: model.VirtualDeploymentCollection, - type: "model.VirtualDeploymentCollection", - 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 VirtualServiceRouteTable objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListVirtualServiceRouteTablesRequest - * @return ListVirtualServiceRouteTablesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListVirtualServiceRouteTables.ts.html |here} to see how to use ListVirtualServiceRouteTables API. - */ - public async listVirtualServiceRouteTables( - listVirtualServiceRouteTablesRequest: requests.ListVirtualServiceRouteTablesRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#listVirtualServiceRouteTables."); - const operationName = "listVirtualServiceRouteTables"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/ListVirtualServiceRouteTables"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listVirtualServiceRouteTablesRequest.compartmentId, - "name": listVirtualServiceRouteTablesRequest.name, - "limit": listVirtualServiceRouteTablesRequest.limit, - "page": listVirtualServiceRouteTablesRequest.page, - "sortOrder": listVirtualServiceRouteTablesRequest.sortOrder, - "sortBy": listVirtualServiceRouteTablesRequest.sortBy, - "virtualServiceId": listVirtualServiceRouteTablesRequest.virtualServiceId, - "id": listVirtualServiceRouteTablesRequest.id, - "lifecycleState": listVirtualServiceRouteTablesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listVirtualServiceRouteTablesRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listVirtualServiceRouteTablesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables", - 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: "virtualServiceRouteTableCollection", - bodyModel: model.VirtualServiceRouteTableCollection, - type: "model.VirtualServiceRouteTableCollection", - 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 VirtualService objects. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListVirtualServicesRequest - * @return ListVirtualServicesResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListVirtualServices.ts.html |here} to see how to use ListVirtualServices API. - */ - public async listVirtualServices( - listVirtualServicesRequest: requests.ListVirtualServicesRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listVirtualServices."); - const operationName = "listVirtualServices"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/ListVirtualServices"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listVirtualServicesRequest.compartmentId, - "name": listVirtualServicesRequest.name, - "limit": listVirtualServicesRequest.limit, - "page": listVirtualServicesRequest.page, - "sortOrder": listVirtualServicesRequest.sortOrder, - "sortBy": listVirtualServicesRequest.sortBy, - "meshId": listVirtualServicesRequest.meshId, - "id": listVirtualServicesRequest.id, - "lifecycleState": listVirtualServicesRequest.lifecycleState - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listVirtualServicesRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listVirtualServicesRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices", - 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: "virtualServiceCollection", - bodyModel: model.VirtualServiceCollection, - type: "model.VirtualServiceCollection", - 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; - } - } - - /** - * Return a (paginated) list of errors for a given work request. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestErrorsRequest - * @return ListWorkRequestErrorsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. - */ - public async listWorkRequestErrors( - listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#listWorkRequestErrors."); - const operationName = "listWorkRequestErrors"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/WorkRequest/ListWorkRequestErrors"; - const pathParams = { - "{workRequestId}": listWorkRequestErrorsRequest.workRequestId - }; - - const queryParams = { - "page": listWorkRequestErrorsRequest.page, - "limit": listWorkRequestErrorsRequest.limit, - "sortOrder": listWorkRequestErrorsRequest.sortOrder, - "sortBy": listWorkRequestErrorsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestErrorsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestErrorsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/errors", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestErrorCollection", - bodyModel: model.WorkRequestErrorCollection, - type: "model.WorkRequestErrorCollection", - responseHeaders: [ - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Return a (paginated) list of logs for a given work request. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestLogsRequest - * @return ListWorkRequestLogsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. - */ - public async listWorkRequestLogs( - listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listWorkRequestLogs."); - const operationName = "listWorkRequestLogs"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/WorkRequest/ListWorkRequestLogs"; - const pathParams = { - "{workRequestId}": listWorkRequestLogsRequest.workRequestId - }; - - const queryParams = { - "page": listWorkRequestLogsRequest.page, - "limit": listWorkRequestLogsRequest.limit, - "sortOrder": listWorkRequestLogsRequest.sortOrder, - "sortBy": listWorkRequestLogsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestLogsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestLogsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/logs", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestLogEntryCollection", - bodyModel: model.WorkRequestLogEntryCollection, - type: "model.WorkRequestLogEntryCollection", - responseHeaders: [ - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Lists the work requests in a compartment. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestsRequest - * @return ListWorkRequestsResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. - */ - public async listWorkRequests( - listWorkRequestsRequest: requests.ListWorkRequestsRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#listWorkRequests."); - const operationName = "listWorkRequests"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/WorkRequest/ListWorkRequests"; - const pathParams = {}; - - const queryParams = { - "compartmentId": listWorkRequestsRequest.compartmentId, - "workRequestId": listWorkRequestsRequest.workRequestId, - "resourceId": listWorkRequestsRequest.resourceId, - "operationStatus": listWorkRequestsRequest.operationStatus, - "sortOrder": listWorkRequestsRequest.sortOrder, - "sortBy": listWorkRequestsRequest.sortBy, - "page": listWorkRequestsRequest.page, - "limit": listWorkRequestsRequest.limit - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestCollection", - bodyModel: model.WorkRequestCollection, - type: "model.WorkRequestCollection", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Updates the AccessPolicy. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateAccessPolicyRequest - * @return UpdateAccessPolicyResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateAccessPolicy.ts.html |here} to see how to use UpdateAccessPolicy API. - */ - public async updateAccessPolicy( - updateAccessPolicyRequest: requests.UpdateAccessPolicyRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#updateAccessPolicy."); - const operationName = "updateAccessPolicy"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/AccessPolicy/UpdateAccessPolicy"; - const pathParams = { - "{accessPolicyId}": updateAccessPolicyRequest.accessPolicyId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateAccessPolicyRequest.ifMatch, - "opc-retry-token": updateAccessPolicyRequest.opcRetryToken, - "opc-request-id": updateAccessPolicyRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateAccessPolicyRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/accessPolicies/{accessPolicyId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateAccessPolicyRequest.updateAccessPolicyDetails, - "UpdateAccessPolicyDetails", - model.UpdateAccessPolicyDetails.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; - } - } - - /** - * Updates the IngressGateway. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateIngressGatewayRequest - * @return UpdateIngressGatewayResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateIngressGateway.ts.html |here} to see how to use UpdateIngressGateway API. - */ - public async updateIngressGateway( - updateIngressGatewayRequest: requests.UpdateIngressGatewayRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#updateIngressGateway."); - const operationName = "updateIngressGateway"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGateway/UpdateIngressGateway"; - const pathParams = { - "{ingressGatewayId}": updateIngressGatewayRequest.ingressGatewayId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateIngressGatewayRequest.ifMatch, - "opc-retry-token": updateIngressGatewayRequest.opcRetryToken, - "opc-request-id": updateIngressGatewayRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateIngressGatewayRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGateways/{ingressGatewayId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateIngressGatewayRequest.updateIngressGatewayDetails, - "UpdateIngressGatewayDetails", - model.UpdateIngressGatewayDetails.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; - } - } - - /** - * Updates the IngressGatewayRouteTable. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateIngressGatewayRouteTableRequest - * @return UpdateIngressGatewayRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateIngressGatewayRouteTable.ts.html |here} to see how to use UpdateIngressGatewayRouteTable API. - */ - public async updateIngressGatewayRouteTable( - updateIngressGatewayRouteTableRequest: requests.UpdateIngressGatewayRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#updateIngressGatewayRouteTable."); - const operationName = "updateIngressGatewayRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/IngressGatewayRouteTable/UpdateIngressGatewayRouteTable"; - const pathParams = { - "{ingressGatewayRouteTableId}": - updateIngressGatewayRouteTableRequest.ingressGatewayRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateIngressGatewayRouteTableRequest.ifMatch, - "opc-retry-token": updateIngressGatewayRouteTableRequest.opcRetryToken, - "opc-request-id": updateIngressGatewayRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateIngressGatewayRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/ingressGatewayRouteTables/{ingressGatewayRouteTableId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateIngressGatewayRouteTableRequest.updateIngressGatewayRouteTableDetails, - "UpdateIngressGatewayRouteTableDetails", - model.UpdateIngressGatewayRouteTableDetails.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; - } - } - - /** - * Updates the Mesh. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateMeshRequest - * @return UpdateMeshResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateMesh.ts.html |here} to see how to use UpdateMesh API. - */ - public async updateMesh( - updateMeshRequest: requests.UpdateMeshRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#updateMesh."); - const operationName = "updateMesh"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/Mesh/UpdateMesh"; - const pathParams = { - "{meshId}": updateMeshRequest.meshId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateMeshRequest.ifMatch, - "opc-retry-token": updateMeshRequest.opcRetryToken, - "opc-request-id": updateMeshRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateMeshRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/meshes/{meshId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateMeshRequest.updateMeshDetails, - "UpdateMeshDetails", - model.UpdateMeshDetails.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; - } - } - - /** - * Updates the VirtualDeployment. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateVirtualDeploymentRequest - * @return UpdateVirtualDeploymentResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateVirtualDeployment.ts.html |here} to see how to use UpdateVirtualDeployment API. - */ - public async updateVirtualDeployment( - updateVirtualDeploymentRequest: requests.UpdateVirtualDeploymentRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#updateVirtualDeployment."); - const operationName = "updateVirtualDeployment"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualDeployment/UpdateVirtualDeployment"; - const pathParams = { - "{virtualDeploymentId}": updateVirtualDeploymentRequest.virtualDeploymentId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVirtualDeploymentRequest.ifMatch, - "opc-retry-token": updateVirtualDeploymentRequest.opcRetryToken, - "opc-request-id": updateVirtualDeploymentRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateVirtualDeploymentRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualDeployments/{virtualDeploymentId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateVirtualDeploymentRequest.updateVirtualDeploymentDetails, - "UpdateVirtualDeploymentDetails", - model.UpdateVirtualDeploymentDetails.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; - } - } - - /** - * Updates the VirtualService. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateVirtualServiceRequest - * @return UpdateVirtualServiceResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateVirtualService.ts.html |here} to see how to use UpdateVirtualService API. - */ - public async updateVirtualService( - updateVirtualServiceRequest: requests.UpdateVirtualServiceRequest - ): Promise { - if (this.logger) this.logger.debug("Calling operation ServiceMeshClient#updateVirtualService."); - const operationName = "updateVirtualService"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualService/UpdateVirtualService"; - const pathParams = { - "{virtualServiceId}": updateVirtualServiceRequest.virtualServiceId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVirtualServiceRequest.ifMatch, - "opc-retry-token": updateVirtualServiceRequest.opcRetryToken, - "opc-request-id": updateVirtualServiceRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateVirtualServiceRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServices/{virtualServiceId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateVirtualServiceRequest.updateVirtualServiceDetails, - "UpdateVirtualServiceDetails", - model.UpdateVirtualServiceDetails.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; - } - } - - /** - * Updates the VirtualServiceRouteTable. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateVirtualServiceRouteTableRequest - * @return UpdateVirtualServiceRouteTableResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/servicemesh/UpdateVirtualServiceRouteTable.ts.html |here} to see how to use UpdateVirtualServiceRouteTable API. - */ - public async updateVirtualServiceRouteTable( - updateVirtualServiceRouteTableRequest: requests.UpdateVirtualServiceRouteTableRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation ServiceMeshClient#updateVirtualServiceRouteTable."); - const operationName = "updateVirtualServiceRouteTable"; - const apiReferenceLink = - "https://docs.oracle.com/iaas/api/#/en/service-mesh/20220615/VirtualServiceRouteTable/UpdateVirtualServiceRouteTable"; - const pathParams = { - "{virtualServiceRouteTableId}": - updateVirtualServiceRouteTableRequest.virtualServiceRouteTableId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateVirtualServiceRouteTableRequest.ifMatch, - "opc-retry-token": updateVirtualServiceRouteTableRequest.opcRetryToken, - "opc-request-id": updateVirtualServiceRouteTableRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateVirtualServiceRouteTableRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/virtualServiceRouteTables/{virtualServiceRouteTableId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateVirtualServiceRouteTableRequest.updateVirtualServiceRouteTableDetails, - "UpdateVirtualServiceRouteTableDetails", - model.UpdateVirtualServiceRouteTableDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} diff --git a/lib/servicemesh/lib/model/access-logging-configuration.ts b/lib/servicemesh/lib/model/access-logging-configuration.ts deleted file mode 100644 index 0602ed4dc6..0000000000 --- a/lib/servicemesh/lib/model/access-logging-configuration.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 configuration determines if logging is enabled and where the logs will be output. - */ -export interface AccessLoggingConfiguration { - /** - * Determines if the logging configuration is enabled. - */ - "isEnabled"?: boolean; -} - -export namespace AccessLoggingConfiguration { - export function getJsonObj(obj: AccessLoggingConfiguration): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessLoggingConfiguration): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-collection.ts b/lib/servicemesh/lib/model/access-policy-collection.ts deleted file mode 100644 index eb79ff609c..0000000000 --- a/lib/servicemesh/lib/model/access-policy-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 access policy search. Contains both AccessPolicySummary items and other information such as metadata. - */ -export interface AccessPolicyCollection { - /** - * List of access policies. - */ - "items": Array; -} - -export namespace AccessPolicyCollection { - export function getJsonObj(obj: AccessPolicyCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AccessPolicySummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicyCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AccessPolicySummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-rule-details.ts b/lib/servicemesh/lib/model/access-policy-rule-details.ts deleted file mode 100644 index 5f4ac51a30..0000000000 --- a/lib/servicemesh/lib/model/access-policy-rule-details.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Access policy rule. - */ -export interface AccessPolicyRuleDetails { - /** - * Action for the traffic between the source and the destination. - */ - "action": AccessPolicyRuleDetails.Action; - "source": - | model.ExternalServiceAccessPolicyTargetDetails - | model.VirtualServiceAccessPolicyTargetDetails - | model.AllVirtualServicesAccessPolicyTargetDetails - | model.IngressGatewayAccessPolicyTargetDetails; - "destination": - | model.ExternalServiceAccessPolicyTargetDetails - | model.VirtualServiceAccessPolicyTargetDetails - | model.AllVirtualServicesAccessPolicyTargetDetails - | model.IngressGatewayAccessPolicyTargetDetails; -} - -export namespace AccessPolicyRuleDetails { - export enum Action { - Allow = "ALLOW" - } - - export function getJsonObj(obj: AccessPolicyRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "source": obj.source ? model.AccessPolicyTargetDetails.getJsonObj(obj.source) : undefined, - "destination": obj.destination - ? model.AccessPolicyTargetDetails.getJsonObj(obj.destination) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicyRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "source": obj.source - ? model.AccessPolicyTargetDetails.getDeserializedJsonObj(obj.source) - : undefined, - "destination": obj.destination - ? model.AccessPolicyTargetDetails.getDeserializedJsonObj(obj.destination) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-rule.ts b/lib/servicemesh/lib/model/access-policy-rule.ts deleted file mode 100644 index bff485d69d..0000000000 --- a/lib/servicemesh/lib/model/access-policy-rule.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Access policy rule. - */ -export interface AccessPolicyRule { - /** - * Action for the traffic between the source and the destination. - */ - "action": AccessPolicyRule.Action; - "source": - | model.VirtualServiceAccessPolicyTarget - | model.AllVirtualServicesAccessPolicyTarget - | model.ExternalServiceAccessPolicyTarget - | model.IngressGatewayAccessPolicyTarget; - "destination": - | model.VirtualServiceAccessPolicyTarget - | model.AllVirtualServicesAccessPolicyTarget - | model.ExternalServiceAccessPolicyTarget - | model.IngressGatewayAccessPolicyTarget; -} - -export namespace AccessPolicyRule { - export enum Action { - Allow = "ALLOW", - /** - * 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: AccessPolicyRule): object { - const jsonObj = { - ...obj, - ...{ - "source": obj.source ? model.AccessPolicyTarget.getJsonObj(obj.source) : undefined, - "destination": obj.destination - ? model.AccessPolicyTarget.getJsonObj(obj.destination) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicyRule): object { - const jsonObj = { - ...obj, - ...{ - "source": obj.source - ? model.AccessPolicyTarget.getDeserializedJsonObj(obj.source) - : undefined, - "destination": obj.destination - ? model.AccessPolicyTarget.getDeserializedJsonObj(obj.destination) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-summary.ts b/lib/servicemesh/lib/model/access-policy-summary.ts deleted file mode 100644 index 02570e6f7d..0000000000 --- a/lib/servicemesh/lib/model/access-policy-summary.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 access policy. - */ -export interface AccessPolicySummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The OCID of the service mesh in which this access policy is created. - */ - "meshId"?: string; - /** - * The current state of the access policy. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 AccessPolicySummary { - export function getJsonObj(obj: AccessPolicySummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicySummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-target-details.ts b/lib/servicemesh/lib/model/access-policy-target-details.ts deleted file mode 100644 index 74941d0b8d..0000000000 --- a/lib/servicemesh/lib/model/access-policy-target-details.ts +++ /dev/null @@ -1,87 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Target of the access policy. This can either be the source or the destination of the traffic. - */ -export interface AccessPolicyTargetDetails { - "type": string; -} - -export namespace AccessPolicyTargetDetails { - export function getJsonObj(obj: AccessPolicyTargetDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "EXTERNAL_SERVICE": - return model.ExternalServiceAccessPolicyTargetDetails.getJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceAccessPolicyTargetDetails.getJsonObj( - (jsonObj), - true - ); - case "ALL_VIRTUAL_SERVICES": - return model.AllVirtualServicesAccessPolicyTargetDetails.getJsonObj( - (jsonObj), - true - ); - case "INGRESS_GATEWAY": - return model.IngressGatewayAccessPolicyTargetDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicyTargetDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "EXTERNAL_SERVICE": - return model.ExternalServiceAccessPolicyTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceAccessPolicyTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "ALL_VIRTUAL_SERVICES": - return model.AllVirtualServicesAccessPolicyTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "INGRESS_GATEWAY": - return model.IngressGatewayAccessPolicyTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy-target.ts b/lib/servicemesh/lib/model/access-policy-target.ts deleted file mode 100644 index 561c6fd47e..0000000000 --- a/lib/servicemesh/lib/model/access-policy-target.ts +++ /dev/null @@ -1,87 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Target of the access policy. This can either be the source or the destination of the traffic. - */ -export interface AccessPolicyTarget { - "type": string; -} - -export namespace AccessPolicyTarget { - export function getJsonObj(obj: AccessPolicyTarget): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_SERVICE": - return model.VirtualServiceAccessPolicyTarget.getJsonObj( - (jsonObj), - true - ); - case "ALL_VIRTUAL_SERVICES": - return model.AllVirtualServicesAccessPolicyTarget.getJsonObj( - (jsonObj), - true - ); - case "EXTERNAL_SERVICE": - return model.ExternalServiceAccessPolicyTarget.getJsonObj( - (jsonObj), - true - ); - case "INGRESS_GATEWAY": - return model.IngressGatewayAccessPolicyTarget.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicyTarget): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_SERVICE": - return model.VirtualServiceAccessPolicyTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - case "ALL_VIRTUAL_SERVICES": - return model.AllVirtualServicesAccessPolicyTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - case "EXTERNAL_SERVICE": - return model.ExternalServiceAccessPolicyTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - case "INGRESS_GATEWAY": - return model.IngressGatewayAccessPolicyTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/access-policy.ts b/lib/servicemesh/lib/model/access-policy.ts deleted file mode 100644 index e6fbc64260..0000000000 --- a/lib/servicemesh/lib/model/access-policy.ts +++ /dev/null @@ -1,133 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Access policies enable administrators to restrict the access of certain services. - */ -export interface AccessPolicy { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the service mesh in which this access policy is created. - */ - "meshId"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * List of applicable rules. - */ - "rules"?: Array; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": AccessPolicy.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 AccessPolicy { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: AccessPolicy): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRule.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AccessPolicy): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRule.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/action-type.ts b/lib/servicemesh/lib/model/action-type.ts deleted file mode 100644 index 9351175e83..0000000000 --- a/lib/servicemesh/lib/model/action-type.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Possible types of actions. - **/ -export enum ActionType { - Created = "CREATED", - Updated = "UPDATED", - Deleted = "DELETED", - InProgress = "IN_PROGRESS", - Related = "RELATED", - Failed = "FAILED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace ActionType { - export function getJsonObj(obj: ActionType): ActionType { - return obj; - } - export function getDeserializedJsonObj(obj: ActionType): ActionType { - return obj; - } -} diff --git a/lib/servicemesh/lib/model/all-virtual-services-access-policy-target-details.ts b/lib/servicemesh/lib/model/all-virtual-services-access-policy-target-details.ts deleted file mode 100644 index 89c664d062..0000000000 --- a/lib/servicemesh/lib/model/all-virtual-services-access-policy-target-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 internal virtual service directs traffic to all virtual services in a mesh using this target type or vice versa. - */ -export interface AllVirtualServicesAccessPolicyTargetDetails - extends model.AccessPolicyTargetDetails { - "type": string; -} - -export namespace AllVirtualServicesAccessPolicyTargetDetails { - export function getJsonObj( - obj: AllVirtualServicesAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getJsonObj( - obj - ) as AllVirtualServicesAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "ALL_VIRTUAL_SERVICES"; - export function getDeserializedJsonObj( - obj: AllVirtualServicesAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getDeserializedJsonObj( - obj - ) as AllVirtualServicesAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/all-virtual-services-access-policy-target.ts b/lib/servicemesh/lib/model/all-virtual-services-access-policy-target.ts deleted file mode 100644 index f833ed4971..0000000000 --- a/lib/servicemesh/lib/model/all-virtual-services-access-policy-target.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 internal virtual service directs traffic to all virtual services in a mesh using this target type or vice versa. - */ -export interface AllVirtualServicesAccessPolicyTarget extends model.AccessPolicyTarget { - "type": string; -} - -export namespace AllVirtualServicesAccessPolicyTarget { - export function getJsonObj( - obj: AllVirtualServicesAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getJsonObj(obj) as AllVirtualServicesAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "ALL_VIRTUAL_SERVICES"; - export function getDeserializedJsonObj( - obj: AllVirtualServicesAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getDeserializedJsonObj( - obj - ) as AllVirtualServicesAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ca-bundle.ts b/lib/servicemesh/lib/model/ca-bundle.ts deleted file mode 100644 index 39731c3a6f..0000000000 --- a/lib/servicemesh/lib/model/ca-bundle.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Resource representing the CA bundle. - */ -export interface CaBundle { - "type": string; -} - -export namespace CaBundle { - export function getJsonObj(obj: CaBundle): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "LOCAL_FILE": - return model.LocalFileCaBundle.getJsonObj( - (jsonObj), - true - ); - case "OCI_CERTIFICATES": - return model.OciCaBundle.getJsonObj((jsonObj), true); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: CaBundle): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "LOCAL_FILE": - return model.LocalFileCaBundle.getDeserializedJsonObj( - (jsonObj), - true - ); - case "OCI_CERTIFICATES": - return model.OciCaBundle.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/certificate-authority.ts b/lib/servicemesh/lib/model/certificate-authority.ts deleted file mode 100644 index 59f621d1a0..0000000000 --- a/lib/servicemesh/lib/model/certificate-authority.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 certificate authority resource to use for creating leaf certificates. - */ -export interface CertificateAuthority { - /** - * The OCID of the certificate authority resource. - */ - "id": string; -} - -export namespace CertificateAuthority { - export function getJsonObj(obj: CertificateAuthority): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CertificateAuthority): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-access-policy-compartment-details.ts b/lib/servicemesh/lib/model/change-access-policy-compartment-details.ts deleted file mode 100644 index f96a13ac8a..0000000000 --- a/lib/servicemesh/lib/model/change-access-policy-compartment-details.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeAccessPolicyCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeAccessPolicyCompartmentDetails { - export function getJsonObj(obj: ChangeAccessPolicyCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeAccessPolicyCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-ingress-gateway-compartment-details.ts b/lib/servicemesh/lib/model/change-ingress-gateway-compartment-details.ts deleted file mode 100644 index 2464d0951d..0000000000 --- a/lib/servicemesh/lib/model/change-ingress-gateway-compartment-details.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeIngressGatewayCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeIngressGatewayCompartmentDetails { - export function getJsonObj(obj: ChangeIngressGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeIngressGatewayCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-ingress-gateway-route-table-compartment-details.ts b/lib/servicemesh/lib/model/change-ingress-gateway-route-table-compartment-details.ts deleted file mode 100644 index d3bee7058b..0000000000 --- a/lib/servicemesh/lib/model/change-ingress-gateway-route-table-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeIngressGatewayRouteTableCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeIngressGatewayRouteTableCompartmentDetails { - export function getJsonObj(obj: ChangeIngressGatewayRouteTableCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: ChangeIngressGatewayRouteTableCompartmentDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-mesh-compartment-details.ts b/lib/servicemesh/lib/model/change-mesh-compartment-details.ts deleted file mode 100644 index bc9409fb68..0000000000 --- a/lib/servicemesh/lib/model/change-mesh-compartment-details.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeMeshCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeMeshCompartmentDetails { - export function getJsonObj(obj: ChangeMeshCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeMeshCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-virtual-deployment-compartment-details.ts b/lib/servicemesh/lib/model/change-virtual-deployment-compartment-details.ts deleted file mode 100644 index 9c353412c9..0000000000 --- a/lib/servicemesh/lib/model/change-virtual-deployment-compartment-details.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeVirtualDeploymentCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeVirtualDeploymentCompartmentDetails { - export function getJsonObj(obj: ChangeVirtualDeploymentCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeVirtualDeploymentCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-virtual-service-compartment-details.ts b/lib/servicemesh/lib/model/change-virtual-service-compartment-details.ts deleted file mode 100644 index 2f45ee5bdd..0000000000 --- a/lib/servicemesh/lib/model/change-virtual-service-compartment-details.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeVirtualServiceCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeVirtualServiceCompartmentDetails { - export function getJsonObj(obj: ChangeVirtualServiceCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ChangeVirtualServiceCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/change-virtual-service-route-table-compartment-details.ts b/lib/servicemesh/lib/model/change-virtual-service-route-table-compartment-details.ts deleted file mode 100644 index 366b518939..0000000000 --- a/lib/servicemesh/lib/model/change-virtual-service-route-table-compartment-details.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface ChangeVirtualServiceRouteTableCompartmentDetails { - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; -} - -export namespace ChangeVirtualServiceRouteTableCompartmentDetails { - export function getJsonObj(obj: ChangeVirtualServiceRouteTableCompartmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: ChangeVirtualServiceRouteTableCompartmentDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-access-policy-details.ts b/lib/servicemesh/lib/model/create-access-policy-details.ts deleted file mode 100644 index 58050b3ae7..0000000000 --- a/lib/servicemesh/lib/model/create-access-policy-details.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about a new access policy. - */ -export interface CreateAccessPolicyDetails { - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the service mesh in which this access policy is created. - */ - "meshId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * List of applicable rules - */ - "rules": 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 CreateAccessPolicyDetails { - export function getJsonObj(obj: CreateAccessPolicyDetails): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateAccessPolicyDetails): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-ingress-gateway-details.ts b/lib/servicemesh/lib/model/create-ingress-gateway-details.ts deleted file mode 100644 index f8d1c3a70d..0000000000 --- a/lib/servicemesh/lib/model/create-ingress-gateway-details.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about a new IngressGateway. - */ -export interface CreateIngressGatewayDetails { - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the service mesh in which this ingress gateway is created. - */ - "meshId": string; - /** - * An array of hostnames and their listener configuration that this gateway will bind to. - */ - "hosts": Array; - "accessLogging"?: model.AccessLoggingConfiguration; - "mtls"?: model.IngressGatewayMutualTransportLayerSecurityDetails; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateIngressGatewayDetails { - export function getJsonObj(obj: CreateIngressGatewayDetails): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurityDetails.getJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateIngressGatewayDetails): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getDeserializedJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurityDetails.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-ingress-gateway-route-table-details.ts b/lib/servicemesh/lib/model/create-ingress-gateway-route-table-details.ts deleted file mode 100644 index af3861bf3a..0000000000 --- a/lib/servicemesh/lib/model/create-ingress-gateway-route-table-details.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about a new IngressGatewayRouteTable. - */ -export interface CreateIngressGatewayRouteTableDetails { - /** - * The OCID of the service mesh in which this access policy is created. - */ - "ingressGatewayId": string; - /** - * A user-friendly name. The name must be unique within the same ingress gateway and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the ingress gateway. - */ - "routeRules": Array; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateIngressGatewayRouteTableDetails { - export function getJsonObj(obj: CreateIngressGatewayRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateIngressGatewayRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-mesh-details.ts b/lib/servicemesh/lib/model/create-mesh-details.ts deleted file mode 100644 index 5a272599de..0000000000 --- a/lib/servicemesh/lib/model/create-mesh-details.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about a new Mesh. - */ -export interface CreateMeshDetails { - /** - * A user-friendly name. The name does not have to be unique and can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My new resource} -* - */ - "displayName": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the certificate authority resource OCID to use for creating leaf certificates. - */ - "certificateAuthorities": Array; - "mtls"?: model.MeshMutualTransportLayerSecurity; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateMeshDetails { - export function getJsonObj(obj: CreateMeshDetails): object { - const jsonObj = { - ...obj, - ...{ - "certificateAuthorities": obj.certificateAuthorities - ? obj.certificateAuthorities.map(item => { - return model.CertificateAuthority.getJsonObj(item); - }) - : undefined, - "mtls": obj.mtls ? model.MeshMutualTransportLayerSecurity.getJsonObj(obj.mtls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateMeshDetails): object { - const jsonObj = { - ...obj, - ...{ - "certificateAuthorities": obj.certificateAuthorities - ? obj.certificateAuthorities.map(item => { - return model.CertificateAuthority.getDeserializedJsonObj(item); - }) - : undefined, - "mtls": obj.mtls - ? model.MeshMutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-virtual-deployment-details.ts b/lib/servicemesh/lib/model/create-virtual-deployment-details.ts deleted file mode 100644 index 7b92d564ab..0000000000 --- a/lib/servicemesh/lib/model/create-virtual-deployment-details.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about a new VirtualDeployment. - */ -export interface CreateVirtualDeploymentDetails { - /** - * The OCID of the service mesh in which this access policy is created. - */ - "virtualServiceId": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "serviceDiscovery"?: - | model.DnsServiceDiscoveryConfiguration - | model.DisabledServiceDiscoveryConfiguration; - /** - * The listeners for the virtual deployment. - */ - "listeners"?: Array; - "accessLogging"?: model.AccessLoggingConfiguration; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateVirtualDeploymentDetails { - export function getJsonObj(obj: CreateVirtualDeploymentDetails): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVirtualDeploymentDetails): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getDeserializedJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getDeserializedJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-virtual-service-details.ts b/lib/servicemesh/lib/model/create-virtual-service-details.ts deleted file mode 100644 index 8a4610b231..0000000000 --- a/lib/servicemesh/lib/model/create-virtual-service-details.ts +++ /dev/null @@ -1,105 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about the new VirtualService. - */ -export interface CreateVirtualServiceDetails { - /** - * The OCID of the service mesh in which this virtual service is created. - */ - "meshId": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "defaultRoutingPolicy"?: model.DefaultVirtualServiceRoutingPolicy; - /** - * The DNS hostnames of the virtual service that is used by its callers. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\". - * Can be omitted if the virtual service will only have TCP virtual deployments. - * - */ - "hosts"?: Array; - "mtls"?: model.VirtualServiceMutualTransportLayerSecurityDetails; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateVirtualServiceDetails { - export function getJsonObj(obj: CreateVirtualServiceDetails): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getJsonObj(obj.defaultRoutingPolicy) - : undefined, - - "mtls": obj.mtls - ? model.VirtualServiceMutualTransportLayerSecurityDetails.getJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVirtualServiceDetails): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getDeserializedJsonObj( - obj.defaultRoutingPolicy - ) - : undefined, - - "mtls": obj.mtls - ? model.VirtualServiceMutualTransportLayerSecurityDetails.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/create-virtual-service-route-table-details.ts b/lib/servicemesh/lib/model/create-virtual-service-route-table-details.ts deleted file mode 100644 index ddb1bd1575..0000000000 --- a/lib/servicemesh/lib/model/create-virtual-service-route-table-details.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about the new VirtualServiceRouteTable. - */ -export interface CreateVirtualServiceRouteTableDetails { - /** - * The OCID of the service mesh in which this access policy is created. - */ - "virtualServiceId": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the virtual service. - */ - "routeRules": Array; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 CreateVirtualServiceRouteTableDetails { - export function getJsonObj(obj: CreateVirtualServiceRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateVirtualServiceRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/default-virtual-service-routing-policy.ts b/lib/servicemesh/lib/model/default-virtual-service-routing-policy.ts deleted file mode 100644 index 18ea2a1d7a..0000000000 --- a/lib/servicemesh/lib/model/default-virtual-service-routing-policy.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Routing policy for the virtual service. - */ -export interface DefaultVirtualServiceRoutingPolicy { - /** - * Type of the virtual service routing policy. - */ - "type": DefaultVirtualServiceRoutingPolicy.Type; -} - -export namespace DefaultVirtualServiceRoutingPolicy { - export enum Type { - Uniform = "UNIFORM", - Deny = "DENY", - /** - * 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: DefaultVirtualServiceRoutingPolicy): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: DefaultVirtualServiceRoutingPolicy): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/disabled-service-discovery-configuration.ts b/lib/servicemesh/lib/model/disabled-service-discovery-configuration.ts deleted file mode 100644 index cbb0995b27..0000000000 --- a/lib/servicemesh/lib/model/disabled-service-discovery-configuration.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Disabled service discovery configuration for virtual deployments. - */ -export interface DisabledServiceDiscoveryConfiguration extends model.ServiceDiscoveryConfiguration { - "type": string; -} - -export namespace DisabledServiceDiscoveryConfiguration { - export function getJsonObj( - obj: DisabledServiceDiscoveryConfiguration, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.ServiceDiscoveryConfiguration.getJsonObj( - obj - ) as DisabledServiceDiscoveryConfiguration)), - ...{} - }; - - return jsonObj; - } - export const type = "DISABLED"; - export function getDeserializedJsonObj( - obj: DisabledServiceDiscoveryConfiguration, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.ServiceDiscoveryConfiguration.getDeserializedJsonObj( - obj - ) as DisabledServiceDiscoveryConfiguration)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/dns-service-discovery-configuration.ts b/lib/servicemesh/lib/model/dns-service-discovery-configuration.ts deleted file mode 100644 index d4876c08c6..0000000000 --- a/lib/servicemesh/lib/model/dns-service-discovery-configuration.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * DNS-based service discovery configuration for virtual deployments. - */ -export interface DnsServiceDiscoveryConfiguration extends model.ServiceDiscoveryConfiguration { - /** - * The hostname of the virtual deployments. - */ - "hostname": string; - - "type": string; -} - -export namespace DnsServiceDiscoveryConfiguration { - export function getJsonObj( - obj: DnsServiceDiscoveryConfiguration, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.ServiceDiscoveryConfiguration.getJsonObj( - obj - ) as DnsServiceDiscoveryConfiguration)), - ...{} - }; - - return jsonObj; - } - export const type = "DNS"; - export function getDeserializedJsonObj( - obj: DnsServiceDiscoveryConfiguration, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.ServiceDiscoveryConfiguration.getDeserializedJsonObj( - obj - ) as DnsServiceDiscoveryConfiguration)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/external-service-access-policy-target-details.ts b/lib/servicemesh/lib/model/external-service-access-policy-target-details.ts deleted file mode 100644 index 81fc02bf49..0000000000 --- a/lib/servicemesh/lib/model/external-service-access-policy-target-details.ts +++ /dev/null @@ -1,86 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * External service target that internal virtual services direct traffic to. - */ -export interface ExternalServiceAccessPolicyTargetDetails extends model.AccessPolicyTargetDetails { - /** - * The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\", \"*\". - * Hostname \"*\" can be used to allow all hosts. - * - */ - "hostnames"?: Array; - /** - * The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. - * All requests matching the given CIDR notation will pass through. - * In case a wildcard CIDR \"0.0.0.0/0\" is provided, the same port cannot be used for a virtual service communication. - * - */ - "ipAddresses"?: Array; - /** - * Ports exposed by an external service. If left empty all ports will be allowed. - */ - "ports"?: Array; - /** - * Protocol of the external service - */ - "protocol"?: ExternalServiceAccessPolicyTargetDetails.Protocol; - - "type": string; -} - -export namespace ExternalServiceAccessPolicyTargetDetails { - export enum Protocol { - Http = "HTTP", - Https = "HTTPS", - Tcp = "TCP" - } - - export function getJsonObj( - obj: ExternalServiceAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getJsonObj( - obj - ) as ExternalServiceAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "EXTERNAL_SERVICE"; - export function getDeserializedJsonObj( - obj: ExternalServiceAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getDeserializedJsonObj( - obj - ) as ExternalServiceAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/external-service-access-policy-target.ts b/lib/servicemesh/lib/model/external-service-access-policy-target.ts deleted file mode 100644 index 68bd9fb7fe..0000000000 --- a/lib/servicemesh/lib/model/external-service-access-policy-target.ts +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * External service target that internal virtual services direct traffic to. - */ -export interface ExternalServiceAccessPolicyTarget extends model.AccessPolicyTarget { - /** - * The hostnames of the external service. Only applicable for HTTP and HTTPS protocols. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\", \"*\". - * Hostname \"*\" can be used to allow all hosts. - * - */ - "hostnames"?: Array; - /** - * The ipAddresses of the external service in CIDR notation. Only applicable for TCP protocol. - * All requests matching the given CIDR notation will pass through. - * In case a wildcard CIDR \"0.0.0.0/0\" is provided, the same port cannot be used for a virtual service communication. - * - */ - "ipAddresses"?: Array; - /** - * Ports exposed by an external service. If left empty all ports will be allowed. - */ - "ports"?: Array; - /** - * Protocol of the external service - */ - "protocol"?: ExternalServiceAccessPolicyTarget.Protocol; - - "type": string; -} - -export namespace ExternalServiceAccessPolicyTarget { - export enum Protocol { - Http = "HTTP", - Https = "HTTPS", - Tcp = "TCP", - /** - * 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: ExternalServiceAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getJsonObj(obj) as ExternalServiceAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "EXTERNAL_SERVICE"; - export function getDeserializedJsonObj( - obj: ExternalServiceAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getDeserializedJsonObj( - obj - ) as ExternalServiceAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule-details.ts deleted file mode 100644 index eeb18e5b2c..0000000000 --- a/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule-details.ts +++ /dev/null @@ -1,94 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with HTTP protocol - */ -export interface HttpIngressGatewayTrafficRouteRuleDetails - extends model.IngressGatewayTrafficRouteRuleDetails { - /** - * Route to match - */ - "path"?: string; - /** - * Match type for the route - */ - "pathType"?: HttpIngressGatewayTrafficRouteRuleDetails.PathType; - /** - * If true, the rule will check that the content-type header has a application/grpc - * or one of the various application/grpc+ values. - * - */ - "isGrpc"?: boolean; - /** - * If true, the hostname will be rewritten to the target virtual deployment's DNS hostname. - * - */ - "isHostRewriteEnabled"?: boolean; - /** - * If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment. - * - */ - "isPathRewriteEnabled"?: boolean; - /** - * The maximum duration in milliseconds for the upstream service to respond to a request. - * If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. - * The value 0 (zero) indicates that the timeout is disabled. - * For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requestTimeoutInMs"?: number; - - "type": string; -} - -export namespace HttpIngressGatewayTrafficRouteRuleDetails { - export enum PathType { - Prefix = "PREFIX" - } - - export function getJsonObj( - obj: HttpIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getJsonObj( - obj - ) as HttpIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "HTTP"; - export function getDeserializedJsonObj( - obj: HttpIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as HttpIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule.ts b/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule.ts deleted file mode 100644 index 1c9d5f2397..0000000000 --- a/lib/servicemesh/lib/model/http-ingress-gateway-traffic-route-rule.ts +++ /dev/null @@ -1,98 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with HTTP protocol - */ -export interface HttpIngressGatewayTrafficRouteRule extends model.IngressGatewayTrafficRouteRule { - /** - * Route to match - */ - "path"?: string; - /** - * Match type for the route - */ - "pathType"?: HttpIngressGatewayTrafficRouteRule.PathType; - /** - * If true, the rule will check that the content-type header has a application/grpc - * or one of the various application/grpc+ values. - * - */ - "isGrpc"?: boolean; - /** - * If true, the hostname will be rewritten to the target virtual deployment's DNS hostname. - * - */ - "isHostRewriteEnabled"?: boolean; - /** - * If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment. - * - */ - "isPathRewriteEnabled"?: boolean; - /** - * The maximum duration in milliseconds for the upstream service to respond to a request. - * If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. - * The value 0 (zero) indicates that the timeout is disabled. - * For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requestTimeoutInMs"?: number; - - "type": string; -} - -export namespace HttpIngressGatewayTrafficRouteRule { - export enum PathType { - Prefix = "PREFIX", - /** - * 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: HttpIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getJsonObj( - obj - ) as HttpIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "HTTP"; - export function getDeserializedJsonObj( - obj: HttpIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getDeserializedJsonObj( - obj - ) as HttpIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule-details.ts deleted file mode 100644 index 3f8a4c467d..0000000000 --- a/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule-details.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with HTTP protocol - */ -export interface HttpVirtualServiceTrafficRouteRuleDetails - extends model.VirtualServiceTrafficRouteRuleDetails { - /** - * Route to match - */ - "path"?: string; - /** - * Match type for the route - */ - "pathType"?: HttpVirtualServiceTrafficRouteRuleDetails.PathType; - /** - * If true, the rule will check that the content-type header has a application/grpc - * or one of the various application/grpc+ values. - * - */ - "isGrpc"?: boolean; - /** - * The maximum duration in milliseconds for the target service to respond to a request. - * If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. - * The value 0 (zero) indicates that the timeout is disabled. - * For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requestTimeoutInMs"?: number; - - "type": string; -} - -export namespace HttpVirtualServiceTrafficRouteRuleDetails { - export enum PathType { - Prefix = "PREFIX" - } - - export function getJsonObj( - obj: HttpVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getJsonObj( - obj - ) as HttpVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "HTTP"; - export function getDeserializedJsonObj( - obj: HttpVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as HttpVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule.ts b/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule.ts deleted file mode 100644 index 1db0d56386..0000000000 --- a/lib/servicemesh/lib/model/http-virtual-service-traffic-route-rule.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with HTTP protocol - */ -export interface HttpVirtualServiceTrafficRouteRule extends model.VirtualServiceTrafficRouteRule { - /** - * Route to match - */ - "path"?: string; - /** - * Match type for the route - */ - "pathType"?: HttpVirtualServiceTrafficRouteRule.PathType; - /** - * If true, the rule will check that the content-type header has a application/grpc - * or one of the various application/grpc+ values. - * - */ - "isGrpc"?: boolean; - /** - * The maximum duration in milliseconds for the target service to respond to a request. - * If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. - * The value 0 (zero) indicates that the timeout is disabled. - * For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requestTimeoutInMs"?: number; - - "type": string; -} - -export namespace HttpVirtualServiceTrafficRouteRule { - export enum PathType { - Prefix = "PREFIX", - /** - * 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: HttpVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getJsonObj( - obj - ) as HttpVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "HTTP"; - export function getDeserializedJsonObj( - obj: HttpVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getDeserializedJsonObj( - obj - ) as HttpVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/index.ts b/lib/servicemesh/lib/model/index.ts deleted file mode 100644 index 97b3a84bbc..0000000000 --- a/lib/servicemesh/lib/model/index.ts +++ /dev/null @@ -1,238 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as AccessLoggingConfiguration from "./access-logging-configuration"; -export import AccessLoggingConfiguration = AccessLoggingConfiguration.AccessLoggingConfiguration; -import * as AccessPolicy from "./access-policy"; -export import AccessPolicy = AccessPolicy.AccessPolicy; -import * as AccessPolicyCollection from "./access-policy-collection"; -export import AccessPolicyCollection = AccessPolicyCollection.AccessPolicyCollection; -import * as AccessPolicyRule from "./access-policy-rule"; -export import AccessPolicyRule = AccessPolicyRule.AccessPolicyRule; -import * as AccessPolicyRuleDetails from "./access-policy-rule-details"; -export import AccessPolicyRuleDetails = AccessPolicyRuleDetails.AccessPolicyRuleDetails; -import * as AccessPolicySummary from "./access-policy-summary"; -export import AccessPolicySummary = AccessPolicySummary.AccessPolicySummary; -import * as AccessPolicyTarget from "./access-policy-target"; -export import AccessPolicyTarget = AccessPolicyTarget.AccessPolicyTarget; -import * as AccessPolicyTargetDetails from "./access-policy-target-details"; -export import AccessPolicyTargetDetails = AccessPolicyTargetDetails.AccessPolicyTargetDetails; -import * as ActionType from "./action-type"; -export import ActionType = ActionType.ActionType; -import * as CaBundle from "./ca-bundle"; -export import CaBundle = CaBundle.CaBundle; -import * as CertificateAuthority from "./certificate-authority"; -export import CertificateAuthority = CertificateAuthority.CertificateAuthority; -import * as ChangeAccessPolicyCompartmentDetails from "./change-access-policy-compartment-details"; -export import ChangeAccessPolicyCompartmentDetails = ChangeAccessPolicyCompartmentDetails.ChangeAccessPolicyCompartmentDetails; -import * as ChangeIngressGatewayCompartmentDetails from "./change-ingress-gateway-compartment-details"; -export import ChangeIngressGatewayCompartmentDetails = ChangeIngressGatewayCompartmentDetails.ChangeIngressGatewayCompartmentDetails; -import * as ChangeIngressGatewayRouteTableCompartmentDetails from "./change-ingress-gateway-route-table-compartment-details"; -export import ChangeIngressGatewayRouteTableCompartmentDetails = ChangeIngressGatewayRouteTableCompartmentDetails.ChangeIngressGatewayRouteTableCompartmentDetails; -import * as ChangeMeshCompartmentDetails from "./change-mesh-compartment-details"; -export import ChangeMeshCompartmentDetails = ChangeMeshCompartmentDetails.ChangeMeshCompartmentDetails; -import * as ChangeVirtualDeploymentCompartmentDetails from "./change-virtual-deployment-compartment-details"; -export import ChangeVirtualDeploymentCompartmentDetails = ChangeVirtualDeploymentCompartmentDetails.ChangeVirtualDeploymentCompartmentDetails; -import * as ChangeVirtualServiceCompartmentDetails from "./change-virtual-service-compartment-details"; -export import ChangeVirtualServiceCompartmentDetails = ChangeVirtualServiceCompartmentDetails.ChangeVirtualServiceCompartmentDetails; -import * as ChangeVirtualServiceRouteTableCompartmentDetails from "./change-virtual-service-route-table-compartment-details"; -export import ChangeVirtualServiceRouteTableCompartmentDetails = ChangeVirtualServiceRouteTableCompartmentDetails.ChangeVirtualServiceRouteTableCompartmentDetails; -import * as CreateAccessPolicyDetails from "./create-access-policy-details"; -export import CreateAccessPolicyDetails = CreateAccessPolicyDetails.CreateAccessPolicyDetails; -import * as CreateIngressGatewayDetails from "./create-ingress-gateway-details"; -export import CreateIngressGatewayDetails = CreateIngressGatewayDetails.CreateIngressGatewayDetails; -import * as CreateIngressGatewayRouteTableDetails from "./create-ingress-gateway-route-table-details"; -export import CreateIngressGatewayRouteTableDetails = CreateIngressGatewayRouteTableDetails.CreateIngressGatewayRouteTableDetails; -import * as CreateMeshDetails from "./create-mesh-details"; -export import CreateMeshDetails = CreateMeshDetails.CreateMeshDetails; -import * as CreateVirtualDeploymentDetails from "./create-virtual-deployment-details"; -export import CreateVirtualDeploymentDetails = CreateVirtualDeploymentDetails.CreateVirtualDeploymentDetails; -import * as CreateVirtualServiceDetails from "./create-virtual-service-details"; -export import CreateVirtualServiceDetails = CreateVirtualServiceDetails.CreateVirtualServiceDetails; -import * as CreateVirtualServiceRouteTableDetails from "./create-virtual-service-route-table-details"; -export import CreateVirtualServiceRouteTableDetails = CreateVirtualServiceRouteTableDetails.CreateVirtualServiceRouteTableDetails; -import * as DefaultVirtualServiceRoutingPolicy from "./default-virtual-service-routing-policy"; -export import DefaultVirtualServiceRoutingPolicy = DefaultVirtualServiceRoutingPolicy.DefaultVirtualServiceRoutingPolicy; -import * as IngressGateway from "./ingress-gateway"; -export import IngressGateway = IngressGateway.IngressGateway; -import * as IngressGatewayCollection from "./ingress-gateway-collection"; -export import IngressGatewayCollection = IngressGatewayCollection.IngressGatewayCollection; -import * as IngressGatewayHost from "./ingress-gateway-host"; -export import IngressGatewayHost = IngressGatewayHost.IngressGatewayHost; -import * as IngressGatewayHostRef from "./ingress-gateway-host-ref"; -export import IngressGatewayHostRef = IngressGatewayHostRef.IngressGatewayHostRef; -import * as IngressGatewayListener from "./ingress-gateway-listener"; -export import IngressGatewayListener = IngressGatewayListener.IngressGatewayListener; -import * as IngressGatewayMutualTransportLayerSecurity from "./ingress-gateway-mutual-transport-layer-security"; -export import IngressGatewayMutualTransportLayerSecurity = IngressGatewayMutualTransportLayerSecurity.IngressGatewayMutualTransportLayerSecurity; -import * as IngressGatewayMutualTransportLayerSecurityDetails from "./ingress-gateway-mutual-transport-layer-security-details"; -export import IngressGatewayMutualTransportLayerSecurityDetails = IngressGatewayMutualTransportLayerSecurityDetails.IngressGatewayMutualTransportLayerSecurityDetails; -import * as IngressGatewayRouteTable from "./ingress-gateway-route-table"; -export import IngressGatewayRouteTable = IngressGatewayRouteTable.IngressGatewayRouteTable; -import * as IngressGatewayRouteTableCollection from "./ingress-gateway-route-table-collection"; -export import IngressGatewayRouteTableCollection = IngressGatewayRouteTableCollection.IngressGatewayRouteTableCollection; -import * as IngressGatewayRouteTableSummary from "./ingress-gateway-route-table-summary"; -export import IngressGatewayRouteTableSummary = IngressGatewayRouteTableSummary.IngressGatewayRouteTableSummary; -import * as IngressGatewaySummary from "./ingress-gateway-summary"; -export import IngressGatewaySummary = IngressGatewaySummary.IngressGatewaySummary; -import * as IngressGatewayTrafficRouteRule from "./ingress-gateway-traffic-route-rule"; -export import IngressGatewayTrafficRouteRule = IngressGatewayTrafficRouteRule.IngressGatewayTrafficRouteRule; -import * as IngressGatewayTrafficRouteRuleDetails from "./ingress-gateway-traffic-route-rule-details"; -export import IngressGatewayTrafficRouteRuleDetails = IngressGatewayTrafficRouteRuleDetails.IngressGatewayTrafficRouteRuleDetails; -import * as IngressListenerClientValidationConfig from "./ingress-listener-client-validation-config"; -export import IngressListenerClientValidationConfig = IngressListenerClientValidationConfig.IngressListenerClientValidationConfig; -import * as IngressListenerTlsConfig from "./ingress-listener-tls-config"; -export import IngressListenerTlsConfig = IngressListenerTlsConfig.IngressListenerTlsConfig; -import * as Mesh from "./mesh"; -export import Mesh = Mesh.Mesh; -import * as MeshCollection from "./mesh-collection"; -export import MeshCollection = MeshCollection.MeshCollection; -import * as MeshMutualTransportLayerSecurity from "./mesh-mutual-transport-layer-security"; -export import MeshMutualTransportLayerSecurity = MeshMutualTransportLayerSecurity.MeshMutualTransportLayerSecurity; -import * as MeshSummary from "./mesh-summary"; -export import MeshSummary = MeshSummary.MeshSummary; -import * as MutualTransportLayerSecurity from "./mutual-transport-layer-security"; -export import MutualTransportLayerSecurity = MutualTransportLayerSecurity.MutualTransportLayerSecurity; -import * as OperationStatus from "./operation-status"; -export import OperationStatus = OperationStatus.OperationStatus; -import * as OperationType from "./operation-type"; -export import OperationType = OperationType.OperationType; -import * as ProxyDetails from "./proxy-details"; -export import ProxyDetails = ProxyDetails.ProxyDetails; -import * as ServiceDiscoveryConfiguration from "./service-discovery-configuration"; -export import ServiceDiscoveryConfiguration = ServiceDiscoveryConfiguration.ServiceDiscoveryConfiguration; -import * as SortOrder from "./sort-order"; -export import SortOrder = SortOrder.SortOrder; -import * as TlsCertificate from "./tls-certificate"; -export import TlsCertificate = TlsCertificate.TlsCertificate; -import * as TrafficRuleTarget from "./traffic-rule-target"; -export import TrafficRuleTarget = TrafficRuleTarget.TrafficRuleTarget; -import * as TrafficRuleTargetDetails from "./traffic-rule-target-details"; -export import TrafficRuleTargetDetails = TrafficRuleTargetDetails.TrafficRuleTargetDetails; -import * as UpdateAccessPolicyDetails from "./update-access-policy-details"; -export import UpdateAccessPolicyDetails = UpdateAccessPolicyDetails.UpdateAccessPolicyDetails; -import * as UpdateIngressGatewayDetails from "./update-ingress-gateway-details"; -export import UpdateIngressGatewayDetails = UpdateIngressGatewayDetails.UpdateIngressGatewayDetails; -import * as UpdateIngressGatewayRouteTableDetails from "./update-ingress-gateway-route-table-details"; -export import UpdateIngressGatewayRouteTableDetails = UpdateIngressGatewayRouteTableDetails.UpdateIngressGatewayRouteTableDetails; -import * as UpdateMeshDetails from "./update-mesh-details"; -export import UpdateMeshDetails = UpdateMeshDetails.UpdateMeshDetails; -import * as UpdateVirtualDeploymentDetails from "./update-virtual-deployment-details"; -export import UpdateVirtualDeploymentDetails = UpdateVirtualDeploymentDetails.UpdateVirtualDeploymentDetails; -import * as UpdateVirtualServiceDetails from "./update-virtual-service-details"; -export import UpdateVirtualServiceDetails = UpdateVirtualServiceDetails.UpdateVirtualServiceDetails; -import * as UpdateVirtualServiceRouteTableDetails from "./update-virtual-service-route-table-details"; -export import UpdateVirtualServiceRouteTableDetails = UpdateVirtualServiceRouteTableDetails.UpdateVirtualServiceRouteTableDetails; -import * as VirtualDeployment from "./virtual-deployment"; -export import VirtualDeployment = VirtualDeployment.VirtualDeployment; -import * as VirtualDeploymentCollection from "./virtual-deployment-collection"; -export import VirtualDeploymentCollection = VirtualDeploymentCollection.VirtualDeploymentCollection; -import * as VirtualDeploymentListener from "./virtual-deployment-listener"; -export import VirtualDeploymentListener = VirtualDeploymentListener.VirtualDeploymentListener; -import * as VirtualDeploymentSummary from "./virtual-deployment-summary"; -export import VirtualDeploymentSummary = VirtualDeploymentSummary.VirtualDeploymentSummary; -import * as VirtualService from "./virtual-service"; -export import VirtualService = VirtualService.VirtualService; -import * as VirtualServiceCollection from "./virtual-service-collection"; -export import VirtualServiceCollection = VirtualServiceCollection.VirtualServiceCollection; -import * as VirtualServiceMutualTransportLayerSecurityDetails from "./virtual-service-mutual-transport-layer-security-details"; -export import VirtualServiceMutualTransportLayerSecurityDetails = VirtualServiceMutualTransportLayerSecurityDetails.VirtualServiceMutualTransportLayerSecurityDetails; -import * as VirtualServiceRouteTable from "./virtual-service-route-table"; -export import VirtualServiceRouteTable = VirtualServiceRouteTable.VirtualServiceRouteTable; -import * as VirtualServiceRouteTableCollection from "./virtual-service-route-table-collection"; -export import VirtualServiceRouteTableCollection = VirtualServiceRouteTableCollection.VirtualServiceRouteTableCollection; -import * as VirtualServiceRouteTableSummary from "./virtual-service-route-table-summary"; -export import VirtualServiceRouteTableSummary = VirtualServiceRouteTableSummary.VirtualServiceRouteTableSummary; -import * as VirtualServiceSummary from "./virtual-service-summary"; -export import VirtualServiceSummary = VirtualServiceSummary.VirtualServiceSummary; -import * as VirtualServiceTrafficRouteRule from "./virtual-service-traffic-route-rule"; -export import VirtualServiceTrafficRouteRule = VirtualServiceTrafficRouteRule.VirtualServiceTrafficRouteRule; -import * as VirtualServiceTrafficRouteRuleDetails from "./virtual-service-traffic-route-rule-details"; -export import VirtualServiceTrafficRouteRuleDetails = VirtualServiceTrafficRouteRuleDetails.VirtualServiceTrafficRouteRuleDetails; -import * as WorkRequest from "./work-request"; -export import WorkRequest = WorkRequest.WorkRequest; -import * as WorkRequestCollection from "./work-request-collection"; -export import WorkRequestCollection = WorkRequestCollection.WorkRequestCollection; -import * as WorkRequestError from "./work-request-error"; -export import WorkRequestError = WorkRequestError.WorkRequestError; -import * as WorkRequestErrorCollection from "./work-request-error-collection"; -export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; -import * as WorkRequestLogEntry from "./work-request-log-entry"; -export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; -import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; -export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; -import * as WorkRequestResource from "./work-request-resource"; -export import WorkRequestResource = WorkRequestResource.WorkRequestResource; -import * as WorkRequestSummary from "./work-request-summary"; -export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; - -import * as AllVirtualServicesAccessPolicyTarget from "./all-virtual-services-access-policy-target"; -export import AllVirtualServicesAccessPolicyTarget = AllVirtualServicesAccessPolicyTarget.AllVirtualServicesAccessPolicyTarget; -import * as AllVirtualServicesAccessPolicyTargetDetails from "./all-virtual-services-access-policy-target-details"; -export import AllVirtualServicesAccessPolicyTargetDetails = AllVirtualServicesAccessPolicyTargetDetails.AllVirtualServicesAccessPolicyTargetDetails; -import * as DisabledServiceDiscoveryConfiguration from "./disabled-service-discovery-configuration"; -export import DisabledServiceDiscoveryConfiguration = DisabledServiceDiscoveryConfiguration.DisabledServiceDiscoveryConfiguration; -import * as DnsServiceDiscoveryConfiguration from "./dns-service-discovery-configuration"; -export import DnsServiceDiscoveryConfiguration = DnsServiceDiscoveryConfiguration.DnsServiceDiscoveryConfiguration; -import * as ExternalServiceAccessPolicyTarget from "./external-service-access-policy-target"; -export import ExternalServiceAccessPolicyTarget = ExternalServiceAccessPolicyTarget.ExternalServiceAccessPolicyTarget; -import * as ExternalServiceAccessPolicyTargetDetails from "./external-service-access-policy-target-details"; -export import ExternalServiceAccessPolicyTargetDetails = ExternalServiceAccessPolicyTargetDetails.ExternalServiceAccessPolicyTargetDetails; -import * as HttpIngressGatewayTrafficRouteRule from "./http-ingress-gateway-traffic-route-rule"; -export import HttpIngressGatewayTrafficRouteRule = HttpIngressGatewayTrafficRouteRule.HttpIngressGatewayTrafficRouteRule; -import * as HttpIngressGatewayTrafficRouteRuleDetails from "./http-ingress-gateway-traffic-route-rule-details"; -export import HttpIngressGatewayTrafficRouteRuleDetails = HttpIngressGatewayTrafficRouteRuleDetails.HttpIngressGatewayTrafficRouteRuleDetails; -import * as HttpVirtualServiceTrafficRouteRule from "./http-virtual-service-traffic-route-rule"; -export import HttpVirtualServiceTrafficRouteRule = HttpVirtualServiceTrafficRouteRule.HttpVirtualServiceTrafficRouteRule; -import * as HttpVirtualServiceTrafficRouteRuleDetails from "./http-virtual-service-traffic-route-rule-details"; -export import HttpVirtualServiceTrafficRouteRuleDetails = HttpVirtualServiceTrafficRouteRuleDetails.HttpVirtualServiceTrafficRouteRuleDetails; -import * as IngressGatewayAccessPolicyTarget from "./ingress-gateway-access-policy-target"; -export import IngressGatewayAccessPolicyTarget = IngressGatewayAccessPolicyTarget.IngressGatewayAccessPolicyTarget; -import * as IngressGatewayAccessPolicyTargetDetails from "./ingress-gateway-access-policy-target-details"; -export import IngressGatewayAccessPolicyTargetDetails = IngressGatewayAccessPolicyTargetDetails.IngressGatewayAccessPolicyTargetDetails; -import * as LocalFileCaBundle from "./local-file-ca-bundle"; -export import LocalFileCaBundle = LocalFileCaBundle.LocalFileCaBundle; -import * as LocalFileTlsCertificate from "./local-file-tls-certificate"; -export import LocalFileTlsCertificate = LocalFileTlsCertificate.LocalFileTlsCertificate; -import * as OciCaBundle from "./oci-ca-bundle"; -export import OciCaBundle = OciCaBundle.OciCaBundle; -import * as OciTlsCertificate from "./oci-tls-certificate"; -export import OciTlsCertificate = OciTlsCertificate.OciTlsCertificate; -import * as TcpIngressGatewayTrafficRouteRule from "./tcp-ingress-gateway-traffic-route-rule"; -export import TcpIngressGatewayTrafficRouteRule = TcpIngressGatewayTrafficRouteRule.TcpIngressGatewayTrafficRouteRule; -import * as TcpIngressGatewayTrafficRouteRuleDetails from "./tcp-ingress-gateway-traffic-route-rule-details"; -export import TcpIngressGatewayTrafficRouteRuleDetails = TcpIngressGatewayTrafficRouteRuleDetails.TcpIngressGatewayTrafficRouteRuleDetails; -import * as TcpVirtualServiceTrafficRouteRule from "./tcp-virtual-service-traffic-route-rule"; -export import TcpVirtualServiceTrafficRouteRule = TcpVirtualServiceTrafficRouteRule.TcpVirtualServiceTrafficRouteRule; -import * as TcpVirtualServiceTrafficRouteRuleDetails from "./tcp-virtual-service-traffic-route-rule-details"; -export import TcpVirtualServiceTrafficRouteRuleDetails = TcpVirtualServiceTrafficRouteRuleDetails.TcpVirtualServiceTrafficRouteRuleDetails; -import * as TlsPassthroughIngressGatewayTrafficRouteRule from "./tls-passthrough-ingress-gateway-traffic-route-rule"; -export import TlsPassthroughIngressGatewayTrafficRouteRule = TlsPassthroughIngressGatewayTrafficRouteRule.TlsPassthroughIngressGatewayTrafficRouteRule; -import * as TlsPassthroughIngressGatewayTrafficRouteRuleDetails from "./tls-passthrough-ingress-gateway-traffic-route-rule-details"; -export import TlsPassthroughIngressGatewayTrafficRouteRuleDetails = TlsPassthroughIngressGatewayTrafficRouteRuleDetails.TlsPassthroughIngressGatewayTrafficRouteRuleDetails; -import * as TlsPassthroughVirtualServiceTrafficRouteRule from "./tls-passthrough-virtual-service-traffic-route-rule"; -export import TlsPassthroughVirtualServiceTrafficRouteRule = TlsPassthroughVirtualServiceTrafficRouteRule.TlsPassthroughVirtualServiceTrafficRouteRule; -import * as TlsPassthroughVirtualServiceTrafficRouteRuleDetails from "./tls-passthrough-virtual-service-traffic-route-rule-details"; -export import TlsPassthroughVirtualServiceTrafficRouteRuleDetails = TlsPassthroughVirtualServiceTrafficRouteRuleDetails.TlsPassthroughVirtualServiceTrafficRouteRuleDetails; -import * as VirtualDeploymentTrafficRuleTarget from "./virtual-deployment-traffic-rule-target"; -export import VirtualDeploymentTrafficRuleTarget = VirtualDeploymentTrafficRuleTarget.VirtualDeploymentTrafficRuleTarget; -import * as VirtualDeploymentTrafficRuleTargetDetails from "./virtual-deployment-traffic-rule-target-details"; -export import VirtualDeploymentTrafficRuleTargetDetails = VirtualDeploymentTrafficRuleTargetDetails.VirtualDeploymentTrafficRuleTargetDetails; -import * as VirtualServiceAccessPolicyTarget from "./virtual-service-access-policy-target"; -export import VirtualServiceAccessPolicyTarget = VirtualServiceAccessPolicyTarget.VirtualServiceAccessPolicyTarget; -import * as VirtualServiceAccessPolicyTargetDetails from "./virtual-service-access-policy-target-details"; -export import VirtualServiceAccessPolicyTargetDetails = VirtualServiceAccessPolicyTargetDetails.VirtualServiceAccessPolicyTargetDetails; -import * as VirtualServiceTrafficRuleTarget from "./virtual-service-traffic-rule-target"; -export import VirtualServiceTrafficRuleTarget = VirtualServiceTrafficRuleTarget.VirtualServiceTrafficRuleTarget; -import * as VirtualServiceTrafficRuleTargetDetails from "./virtual-service-traffic-rule-target-details"; -export import VirtualServiceTrafficRuleTargetDetails = VirtualServiceTrafficRuleTargetDetails.VirtualServiceTrafficRuleTargetDetails; diff --git a/lib/servicemesh/lib/model/ingress-gateway-access-policy-target-details.ts b/lib/servicemesh/lib/model/ingress-gateway-access-policy-target-details.ts deleted file mode 100644 index 5b033015e5..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-access-policy-target-details.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Ingress gateway target that virtual services in mesh receive traffic from. - */ -export interface IngressGatewayAccessPolicyTargetDetails extends model.AccessPolicyTargetDetails { - /** - * The OCID of the ingress gateway resource. - */ - "ingressGatewayId": string; - - "type": string; -} - -export namespace IngressGatewayAccessPolicyTargetDetails { - export function getJsonObj( - obj: IngressGatewayAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getJsonObj( - obj - ) as IngressGatewayAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "INGRESS_GATEWAY"; - export function getDeserializedJsonObj( - obj: IngressGatewayAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getDeserializedJsonObj( - obj - ) as IngressGatewayAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-access-policy-target.ts b/lib/servicemesh/lib/model/ingress-gateway-access-policy-target.ts deleted file mode 100644 index b56c13628e..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-access-policy-target.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Ingress gateway target that virtual services in mesh receive traffic from. - */ -export interface IngressGatewayAccessPolicyTarget extends model.AccessPolicyTarget { - /** - * The OCID of the ingress gateway resource. - */ - "ingressGatewayId"?: string; - - "type": string; -} - -export namespace IngressGatewayAccessPolicyTarget { - export function getJsonObj( - obj: IngressGatewayAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getJsonObj(obj) as IngressGatewayAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "INGRESS_GATEWAY"; - export function getDeserializedJsonObj( - obj: IngressGatewayAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getDeserializedJsonObj( - obj - ) as IngressGatewayAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-collection.ts b/lib/servicemesh/lib/model/ingress-gateway-collection.ts deleted file mode 100644 index e2ae4f5422..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ingressGateway search. Contains both IngressGatewaySummary items and other information such as metadata. - */ -export interface IngressGatewayCollection { - /** - * List of IngressGateway objects. - */ - "items": Array; -} - -export namespace IngressGatewayCollection { - export function getJsonObj(obj: IngressGatewayCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.IngressGatewaySummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.IngressGatewaySummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-host-ref.ts b/lib/servicemesh/lib/model/ingress-gateway-host-ref.ts deleted file mode 100644 index a8932eb6ea..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-host-ref.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway. - * - */ -export interface IngressGatewayHostRef { - /** - * Name of the ingress gateway host that this route should apply to. - * - */ - "name": string; - /** - * The port of the ingress gateway host listener. Leave empty to match all ports for the host. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port"?: number; -} - -export namespace IngressGatewayHostRef { - export function getJsonObj(obj: IngressGatewayHostRef): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayHostRef): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-host.ts b/lib/servicemesh/lib/model/ingress-gateway-host.ts deleted file mode 100644 index a9c5b5d6f4..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-host.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Host for the ingress listener. - */ -export interface IngressGatewayHost { - /** - * A user-friendly name for the host. The name must be unique within the same ingress gateway. -* This name can be used in the ingress gateway route table resource to attach a route to this host. -*

-Example: {@code MyExampleHost} -* - */ - "name": string; - /** - * Hostnames of the host. Applicable only for HTTP and TLS_PASSTHROUGH listeners. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\". - * - */ - "hostnames"?: Array; - /** - * The listeners for the ingress gateway. - */ - "listeners": Array; -} - -export namespace IngressGatewayHost { - export function getJsonObj(obj: IngressGatewayHost): object { - const jsonObj = { - ...obj, - ...{ - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.IngressGatewayListener.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayHost): object { - const jsonObj = { - ...obj, - ...{ - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.IngressGatewayListener.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-listener.ts b/lib/servicemesh/lib/model/ingress-gateway-listener.ts deleted file mode 100644 index 2435b7ccec..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-listener.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Listener configuration. - */ -export interface IngressGatewayListener { - /** - * Type of protocol used. - */ - "protocol": IngressGatewayListener.Protocol; - /** - * Port on which ingress gateway is listening. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port": number; - "tls"?: model.IngressListenerTlsConfig; -} - -export namespace IngressGatewayListener { - export enum Protocol { - Http = "HTTP", - TlsPassthrough = "TLS_PASSTHROUGH", - Tcp = "TCP", - /** - * 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: IngressGatewayListener): object { - const jsonObj = { - ...obj, - ...{ - "tls": obj.tls ? model.IngressListenerTlsConfig.getJsonObj(obj.tls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayListener): object { - const jsonObj = { - ...obj, - ...{ - "tls": obj.tls ? model.IngressListenerTlsConfig.getDeserializedJsonObj(obj.tls) : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security-details.ts b/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security-details.ts deleted file mode 100644 index afb51cae20..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security-details.ts +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Mutual TLS settings used when sending requests to virtual services within the mesh. - * - */ -export interface IngressGatewayMutualTransportLayerSecurityDetails { - /** - * The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration - * for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will - * be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days - * will be renewed every 30 days. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maximumValidity"?: number; -} - -export namespace IngressGatewayMutualTransportLayerSecurityDetails { - export function getJsonObj(obj: IngressGatewayMutualTransportLayerSecurityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: IngressGatewayMutualTransportLayerSecurityDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security.ts b/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security.ts deleted file mode 100644 index 28293ef21c..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-mutual-transport-layer-security.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Mutual TLS settings used when sending requests to virtual services within the mesh. - * - */ -export interface IngressGatewayMutualTransportLayerSecurity { - /** - * The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. - * - */ - "certificateId": string; - /** - * The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration - * for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will - * be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days - * will be renewed every 30 days. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maximumValidity"?: number; -} - -export namespace IngressGatewayMutualTransportLayerSecurity { - export function getJsonObj(obj: IngressGatewayMutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayMutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-route-table-collection.ts b/lib/servicemesh/lib/model/ingress-gateway-route-table-collection.ts deleted file mode 100644 index ed6187e2e1..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-route-table-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 serviceMesh search. Contains both IngressGatewayRouteTableSummary items and other information such as metadata. - */ -export interface IngressGatewayRouteTableCollection { - /** - * List of ingress gateway route tables. - */ - "items": Array; -} - -export namespace IngressGatewayRouteTableCollection { - export function getJsonObj(obj: IngressGatewayRouteTableCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.IngressGatewayRouteTableSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayRouteTableCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.IngressGatewayRouteTableSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-route-table-summary.ts b/lib/servicemesh/lib/model/ingress-gateway-route-table-summary.ts deleted file mode 100644 index efbb85b306..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-route-table-summary.ts +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 IngressGatewayRouteTable. - */ -export interface IngressGatewayRouteTableSummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name must be unique within the same ingress gateway and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the ingress gateway. - */ - "ingressGatewayId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the ingress gateway. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 IngressGatewayRouteTableSummary { - export function getJsonObj(obj: IngressGatewayRouteTableSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayRouteTableSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-route-table.ts b/lib/servicemesh/lib/model/ingress-gateway-route-table.ts deleted file mode 100644 index 31a42e81ee..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-route-table.ts +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This resource represents a customer-managed ingress gateway route table in the Service Mesh. - */ -export interface IngressGatewayRouteTable { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The OCID of the ingress gateway. - */ - "ingressGatewayId": string; - /** - * A user-friendly name. The name must be unique within the same ingress gateway and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. A lower value means a higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the ingress gateway. - */ - "routeRules"?: Array; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": IngressGatewayRouteTable.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 IngressGatewayRouteTable { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: IngressGatewayRouteTable): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRule.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayRouteTable): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRule.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-summary.ts b/lib/servicemesh/lib/model/ingress-gateway-summary.ts deleted file mode 100644 index 7a49d39e9e..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-summary.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 IngressGateway. - */ -export interface IngressGatewaySummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The OCID of the service mesh in which this ingress gateway is created. - */ - "meshId": string; - /** - * The current state of the IngressGateway. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 IngressGatewaySummary { - export function getJsonObj(obj: IngressGatewaySummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewaySummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule-details.ts deleted file mode 100644 index 79998eeb27..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule-details.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic to a virtual service. - */ -export interface IngressGatewayTrafficRouteRuleDetails { - "ingressGatewayHost"?: model.IngressGatewayHostRef; - /** - * The destination of the request. - */ - "destinations": Array; - - "type": string; -} - -export namespace IngressGatewayTrafficRouteRuleDetails { - export function getJsonObj(obj: IngressGatewayTrafficRouteRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "ingressGatewayHost": obj.ingressGatewayHost - ? model.IngressGatewayHostRef.getJsonObj(obj.ingressGatewayHost) - : undefined, - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualServiceTrafficRuleTargetDetails.getJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TLS_PASSTHROUGH": - return model.TlsPassthroughIngressGatewayTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - case "TCP": - return model.TcpIngressGatewayTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpIngressGatewayTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayTrafficRouteRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "ingressGatewayHost": obj.ingressGatewayHost - ? model.IngressGatewayHostRef.getDeserializedJsonObj(obj.ingressGatewayHost) - : undefined, - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualServiceTrafficRuleTargetDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TLS_PASSTHROUGH": - return model.TlsPassthroughIngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "TCP": - return model.TcpIngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpIngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule.ts b/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule.ts deleted file mode 100644 index 7d6965bb27..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway-traffic-route-rule.ts +++ /dev/null @@ -1,107 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic to a virtual service. - */ -export interface IngressGatewayTrafficRouteRule { - "ingressGatewayHost"?: model.IngressGatewayHostRef; - /** - * The destination of the request. - */ - "destinations": Array; - - "type": string; -} - -export namespace IngressGatewayTrafficRouteRule { - export function getJsonObj(obj: IngressGatewayTrafficRouteRule): object { - const jsonObj = { - ...obj, - ...{ - "ingressGatewayHost": obj.ingressGatewayHost - ? model.IngressGatewayHostRef.getJsonObj(obj.ingressGatewayHost) - : undefined, - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualServiceTrafficRuleTarget.getJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "HTTP": - return model.HttpIngressGatewayTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughIngressGatewayTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - case "TCP": - return model.TcpIngressGatewayTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGatewayTrafficRouteRule): object { - const jsonObj = { - ...obj, - ...{ - "ingressGatewayHost": obj.ingressGatewayHost - ? model.IngressGatewayHostRef.getDeserializedJsonObj(obj.ingressGatewayHost) - : undefined, - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualServiceTrafficRuleTarget.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "HTTP": - return model.HttpIngressGatewayTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughIngressGatewayTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - case "TCP": - return model.TcpIngressGatewayTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-gateway.ts b/lib/servicemesh/lib/model/ingress-gateway.ts deleted file mode 100644 index 0583da0781..0000000000 --- a/lib/servicemesh/lib/model/ingress-gateway.ts +++ /dev/null @@ -1,147 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ingress gateway allows resources that are outside of a mesh to communicate to resources that are inside the mesh. It sits on the edge of a service mesh receiving incoming HTTP/TCP connections to the mesh. - */ -export interface IngressGateway { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The OCID of the service mesh in which this ingress gateway is created. - */ - "meshId": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * Array of hostnames and their listener configuration that this gateway will bind to. - */ - "hosts"?: Array; - "mtls"?: model.IngressGatewayMutualTransportLayerSecurity; - "accessLogging"?: model.AccessLoggingConfiguration; - /** - * The current state of the Resource. - */ - "lifecycleState": IngressGateway.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 IngressGateway { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: IngressGateway): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getJsonObj(item); - }) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurity.getJsonObj(obj.mtls) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressGateway): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getDeserializedJsonObj(item); - }) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-listener-client-validation-config.ts b/lib/servicemesh/lib/model/ingress-listener-client-validation-config.ts deleted file mode 100644 index b7b918b605..0000000000 --- a/lib/servicemesh/lib/model/ingress-listener-client-validation-config.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Resource representing the TLS configuration used for validating client certificates. - * - */ -export interface IngressListenerClientValidationConfig { - "trustedCaBundle"?: model.LocalFileCaBundle | model.OciCaBundle; - /** - * A list of alternate names to verify the subject identity in the certificate presented by the client. - * - */ - "subjectAlternateNames"?: Array; -} - -export namespace IngressListenerClientValidationConfig { - export function getJsonObj(obj: IngressListenerClientValidationConfig): object { - const jsonObj = { - ...obj, - ...{ - "trustedCaBundle": obj.trustedCaBundle - ? model.CaBundle.getJsonObj(obj.trustedCaBundle) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressListenerClientValidationConfig): object { - const jsonObj = { - ...obj, - ...{ - "trustedCaBundle": obj.trustedCaBundle - ? model.CaBundle.getDeserializedJsonObj(obj.trustedCaBundle) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/ingress-listener-tls-config.ts b/lib/servicemesh/lib/model/ingress-listener-tls-config.ts deleted file mode 100644 index 071d207d4d..0000000000 --- a/lib/servicemesh/lib/model/ingress-listener-tls-config.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * TLS enforcement config for the ingress listener. - */ -export interface IngressListenerTlsConfig { - /** - * DISABLED: Connection can only be plaintext. - * PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS is performed and the client's certificates are validated by the gateway. - * TLS: Connection can only be TLS. - * MUTUAL_TLS: Connection can only be MTLS. - * - */ - "mode": IngressListenerTlsConfig.Mode; - "serverCertificate"?: model.OciTlsCertificate | model.LocalFileTlsCertificate; - "clientValidation"?: model.IngressListenerClientValidationConfig; -} - -export namespace IngressListenerTlsConfig { - export enum Mode { - Disabled = "DISABLED", - Permissive = "PERMISSIVE", - Tls = "TLS", - MutualTls = "MUTUAL_TLS", - /** - * 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: IngressListenerTlsConfig): object { - const jsonObj = { - ...obj, - ...{ - "serverCertificate": obj.serverCertificate - ? model.TlsCertificate.getJsonObj(obj.serverCertificate) - : undefined, - "clientValidation": obj.clientValidation - ? model.IngressListenerClientValidationConfig.getJsonObj(obj.clientValidation) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: IngressListenerTlsConfig): object { - const jsonObj = { - ...obj, - ...{ - "serverCertificate": obj.serverCertificate - ? model.TlsCertificate.getDeserializedJsonObj(obj.serverCertificate) - : undefined, - "clientValidation": obj.clientValidation - ? model.IngressListenerClientValidationConfig.getDeserializedJsonObj(obj.clientValidation) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/local-file-ca-bundle.ts b/lib/servicemesh/lib/model/local-file-ca-bundle.ts deleted file mode 100644 index 7a02b02c4b..0000000000 --- a/lib/servicemesh/lib/model/local-file-ca-bundle.ts +++ /dev/null @@ -1,55 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * CA Bundle from the filesystem. - */ -export interface LocalFileCaBundle extends model.CaBundle { - /** - * Name of the secret. - * For Kubernetes this will be the name of an opaque Kubernetes secret with key ca.crt. - * For other platforms the secret must be mounted at: /etc/oci/secrets/${secretName}/ca.crt - * - */ - "secretName"?: string; - - "type": string; -} - -export namespace LocalFileCaBundle { - export function getJsonObj(obj: LocalFileCaBundle, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.CaBundle.getJsonObj(obj) as LocalFileCaBundle)), - ...{} - }; - - return jsonObj; - } - export const type = "LOCAL_FILE"; - export function getDeserializedJsonObj( - obj: LocalFileCaBundle, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.CaBundle.getDeserializedJsonObj(obj) as LocalFileCaBundle)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/local-file-tls-certificate.ts b/lib/servicemesh/lib/model/local-file-tls-certificate.ts deleted file mode 100644 index c419785d5c..0000000000 --- a/lib/servicemesh/lib/model/local-file-tls-certificate.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * TLS certificate from the filesystem. - */ -export interface LocalFileTlsCertificate extends model.TlsCertificate { - /** - * Name of the secret. - * For Kubernetes this is the name of the Kubernetes secret of type tls. - * For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} - * - */ - "secretName"?: string; - - "type": string; -} - -export namespace LocalFileTlsCertificate { - export function getJsonObj(obj: LocalFileTlsCertificate, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TlsCertificate.getJsonObj(obj) as LocalFileTlsCertificate)), - ...{} - }; - - return jsonObj; - } - export const type = "LOCAL_FILE"; - export function getDeserializedJsonObj( - obj: LocalFileTlsCertificate, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TlsCertificate.getDeserializedJsonObj(obj) as LocalFileTlsCertificate)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/mesh-collection.ts b/lib/servicemesh/lib/model/mesh-collection.ts deleted file mode 100644 index 97db6dadcd..0000000000 --- a/lib/servicemesh/lib/model/mesh-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Mesh search. Contains both MeshSummary items and other information such as metadata. - */ -export interface MeshCollection { - /** - * List of Mesh objects. - */ - "items": Array; -} - -export namespace MeshCollection { - export function getJsonObj(obj: MeshCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.MeshSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MeshCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.MeshSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/mesh-mutual-transport-layer-security.ts b/lib/servicemesh/lib/model/mesh-mutual-transport-layer-security.ts deleted file mode 100644 index d566fb3b02..0000000000 --- a/lib/servicemesh/lib/model/mesh-mutual-transport-layer-security.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Sets a minimum level of mTLS authentication for all virtual services within the mesh. - */ -export interface MeshMutualTransportLayerSecurity { - /** - * DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. - * PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. - * STRICT: All virtual services within this mesh must use STRICT mode. - * - */ - "minimum": string; -} - -export namespace MeshMutualTransportLayerSecurity { - export function getJsonObj(obj: MeshMutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MeshMutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/mesh-summary.ts b/lib/servicemesh/lib/model/mesh-summary.ts deleted file mode 100644 index 965b50581d..0000000000 --- a/lib/servicemesh/lib/model/mesh-summary.ts +++ /dev/null @@ -1,106 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Mesh. - */ -export interface MeshSummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name does not have to be unique and can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My new resource} -* - */ - "displayName": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "mtls"?: model.MeshMutualTransportLayerSecurity; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Mesh. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 MeshSummary { - export function getJsonObj(obj: MeshSummary): object { - const jsonObj = { - ...obj, - ...{ - "mtls": obj.mtls ? model.MeshMutualTransportLayerSecurity.getJsonObj(obj.mtls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MeshSummary): object { - const jsonObj = { - ...obj, - ...{ - "mtls": obj.mtls - ? model.MeshMutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/mesh.ts b/lib/servicemesh/lib/model/mesh.ts deleted file mode 100644 index 950efe03cf..0000000000 --- a/lib/servicemesh/lib/model/mesh.ts +++ /dev/null @@ -1,138 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 mesh resource is the top-level container that represents the logical boundary of application traffic between the services and deployments that reside within it. A mesh also provides a unit of access control. - * - */ -export interface Mesh { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name does not have to be unique and can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My new resource} -* - */ - "displayName": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * A list of certificate authority resources to use for creating leaf certificates for mTLS authentication. - * Currently we only support one certificate authority, but this may expand in future releases. Request with - * more than one certificate authority will be rejected. - * - */ - "certificateAuthorities"?: Array; - "mtls"?: model.MeshMutualTransportLayerSecurity; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": Mesh.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 Mesh { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: Mesh): object { - const jsonObj = { - ...obj, - ...{ - "certificateAuthorities": obj.certificateAuthorities - ? obj.certificateAuthorities.map(item => { - return model.CertificateAuthority.getJsonObj(item); - }) - : undefined, - "mtls": obj.mtls ? model.MeshMutualTransportLayerSecurity.getJsonObj(obj.mtls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Mesh): object { - const jsonObj = { - ...obj, - ...{ - "certificateAuthorities": obj.certificateAuthorities - ? obj.certificateAuthorities.map(item => { - return model.CertificateAuthority.getDeserializedJsonObj(item); - }) - : undefined, - "mtls": obj.mtls - ? model.MeshMutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/mutual-transport-layer-security.ts b/lib/servicemesh/lib/model/mutual-transport-layer-security.ts deleted file mode 100644 index 7767e2b8f0..0000000000 --- a/lib/servicemesh/lib/model/mutual-transport-layer-security.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh. - * - */ -export interface MutualTransportLayerSecurity { - /** - * The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. - * - */ - "certificateId": string; - /** - * The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration - * for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will - * be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days - * will be renewed every 30 days. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maximumValidity"?: number; - /** - * DISABLED: Connection is not tunneled. - * PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. - * STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. - * - */ - "mode": MutualTransportLayerSecurity.Mode; -} - -export namespace MutualTransportLayerSecurity { - export enum Mode { - Disabled = "DISABLED", - Permissive = "PERMISSIVE", - Strict = "STRICT", - /** - * 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: MutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: MutualTransportLayerSecurity): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/oci-ca-bundle.ts b/lib/servicemesh/lib/model/oci-ca-bundle.ts deleted file mode 100644 index 21e50ce707..0000000000 --- a/lib/servicemesh/lib/model/oci-ca-bundle.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * CA Bundle from OCI Certificates service. - */ -export interface OciCaBundle extends model.CaBundle { - /** - * The OCID of the CA Bundle resource. - */ - "caBundleId"?: string; - - "type": string; -} - -export namespace OciCaBundle { - export function getJsonObj(obj: OciCaBundle, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.CaBundle.getJsonObj(obj) as OciCaBundle)), - ...{} - }; - - return jsonObj; - } - export const type = "OCI_CERTIFICATES"; - export function getDeserializedJsonObj(obj: OciCaBundle, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.CaBundle.getDeserializedJsonObj(obj) as OciCaBundle)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/oci-tls-certificate.ts b/lib/servicemesh/lib/model/oci-tls-certificate.ts deleted file mode 100644 index b7a14c7b10..0000000000 --- a/lib/servicemesh/lib/model/oci-tls-certificate.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * TLS certificate from OCI Certificates service. - */ -export interface OciTlsCertificate extends model.TlsCertificate { - /** - * The OCID of the leaf certificate resource. - */ - "certificateId"?: string; - - "type": string; -} - -export namespace OciTlsCertificate { - export function getJsonObj(obj: OciTlsCertificate, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.TlsCertificate.getJsonObj(obj) as OciTlsCertificate)), - ...{} - }; - - return jsonObj; - } - export const type = "OCI_CERTIFICATES"; - export function getDeserializedJsonObj( - obj: OciTlsCertificate, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TlsCertificate.getDeserializedJsonObj(obj) as OciTlsCertificate)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/operation-status.ts b/lib/servicemesh/lib/model/operation-status.ts deleted file mode 100644 index 825c87a660..0000000000 --- a/lib/servicemesh/lib/model/operation-status.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 operation status. - **/ -export enum OperationStatus { - Accepted = "ACCEPTED", - InProgress = "IN_PROGRESS", - Failed = "FAILED", - Succeeded = "SUCCEEDED", - Waiting = "WAITING", - NeedsAttention = "NEEDS_ATTENTION", - Canceling = "CANCELING", - Canceled = "CANCELED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace OperationStatus { - export function getJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } - export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { - return obj; - } -} diff --git a/lib/servicemesh/lib/model/operation-type.ts b/lib/servicemesh/lib/model/operation-type.ts deleted file mode 100644 index 0c4183b59d..0000000000 --- a/lib/servicemesh/lib/model/operation-type.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 operation types. - **/ -export enum OperationType { - CreateMesh = "CREATE_MESH", - UpdateMesh = "UPDATE_MESH", - DeleteMesh = "DELETE_MESH", - MoveMesh = "MOVE_MESH", - CreateAccessPolicy = "CREATE_ACCESS_POLICY", - UpdateAccessPolicy = "UPDATE_ACCESS_POLICY", - DeleteAccessPolicy = "DELETE_ACCESS_POLICY", - MoveAccessPolicy = "MOVE_ACCESS_POLICY", - CreateVirtualService = "CREATE_VIRTUAL_SERVICE", - UpdateVirtualService = "UPDATE_VIRTUAL_SERVICE", - DeleteVirtualService = "DELETE_VIRTUAL_SERVICE", - MoveVirtualService = "MOVE_VIRTUAL_SERVICE", - CreateVirtualServiceRouteTable = "CREATE_VIRTUAL_SERVICE_ROUTE_TABLE", - UpdateVirtualServiceRouteTable = "UPDATE_VIRTUAL_SERVICE_ROUTE_TABLE", - DeleteVirtualServiceRouteTable = "DELETE_VIRTUAL_SERVICE_ROUTE_TABLE", - MoveVirtualServiceRouteTable = "MOVE_VIRTUAL_SERVICE_ROUTE_TABLE", - CreateVirtualDeployment = "CREATE_VIRTUAL_DEPLOYMENT", - UpdateVirtualDeployment = "UPDATE_VIRTUAL_DEPLOYMENT", - DeleteVirtualDeployment = "DELETE_VIRTUAL_DEPLOYMENT", - MoveVirtualDeployment = "MOVE_VIRTUAL_DEPLOYMENT", - CreateIngressGateway = "CREATE_INGRESS_GATEWAY", - UpdateIngressGateway = "UPDATE_INGRESS_GATEWAY", - DeleteIngressGateway = "DELETE_INGRESS_GATEWAY", - MoveIngressGateway = "MOVE_INGRESS_GATEWAY", - CreateIngressGatewayRouteTable = "CREATE_INGRESS_GATEWAY_ROUTE_TABLE", - UpdateIngressGatewayRouteTable = "UPDATE_INGRESS_GATEWAY_ROUTE_TABLE", - DeleteIngressGatewayRouteTable = "DELETE_INGRESS_GATEWAY_ROUTE_TABLE", - MoveIngressGatewayRouteTable = "MOVE_INGRESS_GATEWAY_ROUTE_TABLE", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" -} - -export namespace OperationType { - export function getJsonObj(obj: OperationType): OperationType { - return obj; - } - export function getDeserializedJsonObj(obj: OperationType): OperationType { - return obj; - } -} diff --git a/lib/servicemesh/lib/model/proxy-details.ts b/lib/servicemesh/lib/model/proxy-details.ts deleted file mode 100644 index a2afe3509d..0000000000 --- a/lib/servicemesh/lib/model/proxy-details.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 proxy such as version of the proxy image. - */ -export interface ProxyDetails { - /** - * Proxy container image version to be deployed. - */ - "proxyImage": string; -} - -export namespace ProxyDetails { - export function getJsonObj(obj: ProxyDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ProxyDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/service-discovery-configuration.ts b/lib/servicemesh/lib/model/service-discovery-configuration.ts deleted file mode 100644 index cd6c3ab4e1..0000000000 --- a/lib/servicemesh/lib/model/service-discovery-configuration.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 Discovery configuration for virtual deployments. - */ -export interface ServiceDiscoveryConfiguration { - "type": string; -} - -export namespace ServiceDiscoveryConfiguration { - export function getJsonObj(obj: ServiceDiscoveryConfiguration): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "DNS": - return model.DnsServiceDiscoveryConfiguration.getJsonObj( - (jsonObj), - true - ); - case "DISABLED": - return model.DisabledServiceDiscoveryConfiguration.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: ServiceDiscoveryConfiguration): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "DNS": - return model.DnsServiceDiscoveryConfiguration.getDeserializedJsonObj( - (jsonObj), - true - ); - case "DISABLED": - return model.DisabledServiceDiscoveryConfiguration.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/sort-order.ts b/lib/servicemesh/lib/model/sort-order.ts deleted file mode 100644 index be7e896ca5..0000000000 --- a/lib/servicemesh/lib/model/sort-order.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Sort orders. - **/ -export enum SortOrder { - Asc = "ASC", - Desc = "DESC" -} - -export namespace SortOrder { - export function getJsonObj(obj: SortOrder): SortOrder { - return obj; - } - export function getDeserializedJsonObj(obj: SortOrder): SortOrder { - return obj; - } -} diff --git a/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule-details.ts deleted file mode 100644 index 06e492ac35..0000000000 --- a/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with TCP protocol. - */ -export interface TcpIngressGatewayTrafficRouteRuleDetails - extends model.IngressGatewayTrafficRouteRuleDetails { - "type": string; -} - -export namespace TcpIngressGatewayTrafficRouteRuleDetails { - export function getJsonObj( - obj: TcpIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getJsonObj( - obj - ) as TcpIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "TCP"; - export function getDeserializedJsonObj( - obj: TcpIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as TcpIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule.ts b/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule.ts deleted file mode 100644 index 35430612ab..0000000000 --- a/lib/servicemesh/lib/model/tcp-ingress-gateway-traffic-route-rule.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with TCP protocol. - */ -export interface TcpIngressGatewayTrafficRouteRule extends model.IngressGatewayTrafficRouteRule { - "type": string; -} - -export namespace TcpIngressGatewayTrafficRouteRule { - export function getJsonObj( - obj: TcpIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getJsonObj( - obj - ) as TcpIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "TCP"; - export function getDeserializedJsonObj( - obj: TcpIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getDeserializedJsonObj( - obj - ) as TcpIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule-details.ts deleted file mode 100644 index f94b09acf9..0000000000 --- a/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with TCP protocol - */ -export interface TcpVirtualServiceTrafficRouteRuleDetails - extends model.VirtualServiceTrafficRouteRuleDetails { - "type": string; -} - -export namespace TcpVirtualServiceTrafficRouteRuleDetails { - export function getJsonObj( - obj: TcpVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getJsonObj( - obj - ) as TcpVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "TCP"; - export function getDeserializedJsonObj( - obj: TcpVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as TcpVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule.ts b/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule.ts deleted file mode 100644 index 49ec68f284..0000000000 --- a/lib/servicemesh/lib/model/tcp-virtual-service-traffic-route-rule.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with TCP protocol - */ -export interface TcpVirtualServiceTrafficRouteRule extends model.VirtualServiceTrafficRouteRule { - "type": string; -} - -export namespace TcpVirtualServiceTrafficRouteRule { - export function getJsonObj( - obj: TcpVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getJsonObj( - obj - ) as TcpVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "TCP"; - export function getDeserializedJsonObj( - obj: TcpVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getDeserializedJsonObj( - obj - ) as TcpVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tls-certificate.ts b/lib/servicemesh/lib/model/tls-certificate.ts deleted file mode 100644 index 713a9ca9a5..0000000000 --- a/lib/servicemesh/lib/model/tls-certificate.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Resource representing the location of the TLS certificate. - */ -export interface TlsCertificate { - "type": string; -} - -export namespace TlsCertificate { - export function getJsonObj(obj: TlsCertificate): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "OCI_CERTIFICATES": - return model.OciTlsCertificate.getJsonObj( - (jsonObj), - true - ); - case "LOCAL_FILE": - return model.LocalFileTlsCertificate.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: TlsCertificate): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "OCI_CERTIFICATES": - return model.OciTlsCertificate.getDeserializedJsonObj( - (jsonObj), - true - ); - case "LOCAL_FILE": - return model.LocalFileTlsCertificate.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule-details.ts deleted file mode 100644 index f6abf3c97f..0000000000 --- a/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with TCP protocol. - */ -export interface TlsPassthroughIngressGatewayTrafficRouteRuleDetails - extends model.IngressGatewayTrafficRouteRuleDetails { - "type": string; -} - -export namespace TlsPassthroughIngressGatewayTrafficRouteRuleDetails { - export function getJsonObj( - obj: TlsPassthroughIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getJsonObj( - obj - ) as TlsPassthroughIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "TLS_PASSTHROUGH"; - export function getDeserializedJsonObj( - obj: TlsPassthroughIngressGatewayTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as TlsPassthroughIngressGatewayTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule.ts b/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule.ts deleted file mode 100644 index 958607296a..0000000000 --- a/lib/servicemesh/lib/model/tls-passthrough-ingress-gateway-traffic-route-rule.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming ingress gateway traffic with TCP protocol. - */ -export interface TlsPassthroughIngressGatewayTrafficRouteRule - extends model.IngressGatewayTrafficRouteRule { - "type": string; -} - -export namespace TlsPassthroughIngressGatewayTrafficRouteRule { - export function getJsonObj( - obj: TlsPassthroughIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getJsonObj( - obj - ) as TlsPassthroughIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "TLS_PASSTHROUGH"; - export function getDeserializedJsonObj( - obj: TlsPassthroughIngressGatewayTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.IngressGatewayTrafficRouteRule.getDeserializedJsonObj( - obj - ) as TlsPassthroughIngressGatewayTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule-details.ts deleted file mode 100644 index 60208e2486..0000000000 --- a/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with TLS_PASSTHROUGH protocol - */ -export interface TlsPassthroughVirtualServiceTrafficRouteRuleDetails - extends model.VirtualServiceTrafficRouteRuleDetails { - "type": string; -} - -export namespace TlsPassthroughVirtualServiceTrafficRouteRuleDetails { - export function getJsonObj( - obj: TlsPassthroughVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getJsonObj( - obj - ) as TlsPassthroughVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "TLS_PASSTHROUGH"; - export function getDeserializedJsonObj( - obj: TlsPassthroughVirtualServiceTrafficRouteRuleDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - obj - ) as TlsPassthroughVirtualServiceTrafficRouteRuleDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule.ts b/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule.ts deleted file mode 100644 index 037fdb8a5e..0000000000 --- a/lib/servicemesh/lib/model/tls-passthrough-virtual-service-traffic-route-rule.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming Virtual Service traffic with TLS_PASSTHROUGH protocol - */ -export interface TlsPassthroughVirtualServiceTrafficRouteRule - extends model.VirtualServiceTrafficRouteRule { - "type": string; -} - -export namespace TlsPassthroughVirtualServiceTrafficRouteRule { - export function getJsonObj( - obj: TlsPassthroughVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getJsonObj( - obj - ) as TlsPassthroughVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } - export const type = "TLS_PASSTHROUGH"; - export function getDeserializedJsonObj( - obj: TlsPassthroughVirtualServiceTrafficRouteRule, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.VirtualServiceTrafficRouteRule.getDeserializedJsonObj( - obj - ) as TlsPassthroughVirtualServiceTrafficRouteRule)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/traffic-rule-target-details.ts b/lib/servicemesh/lib/model/traffic-rule-target-details.ts deleted file mode 100644 index c436fed216..0000000000 --- a/lib/servicemesh/lib/model/traffic-rule-target-details.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Target of the traffic router rule. - */ -export interface TrafficRuleTargetDetails { - "type": string; -} - -export namespace TrafficRuleTargetDetails { - export function getJsonObj(obj: TrafficRuleTargetDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_DEPLOYMENT": - return model.VirtualDeploymentTrafficRuleTargetDetails.getJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceTrafficRuleTargetDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: TrafficRuleTargetDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_DEPLOYMENT": - return model.VirtualDeploymentTrafficRuleTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceTrafficRuleTargetDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/traffic-rule-target.ts b/lib/servicemesh/lib/model/traffic-rule-target.ts deleted file mode 100644 index a1a40740af..0000000000 --- a/lib/servicemesh/lib/model/traffic-rule-target.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Target of the traffic router rule. - */ -export interface TrafficRuleTarget { - "type": string; -} - -export namespace TrafficRuleTarget { - export function getJsonObj(obj: TrafficRuleTarget): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_DEPLOYMENT": - return model.VirtualDeploymentTrafficRuleTarget.getJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceTrafficRuleTarget.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: TrafficRuleTarget): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "VIRTUAL_DEPLOYMENT": - return model.VirtualDeploymentTrafficRuleTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - case "VIRTUAL_SERVICE": - return model.VirtualServiceTrafficRuleTarget.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-access-policy-details.ts b/lib/servicemesh/lib/model/update-access-policy-details.ts deleted file mode 100644 index 0ae007eb6e..0000000000 --- a/lib/servicemesh/lib/model/update-access-policy-details.ts +++ /dev/null @@ -1,76 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateAccessPolicyDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * List of applicable rules. - */ - "rules"?: 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 UpdateAccessPolicyDetails { - export function getJsonObj(obj: UpdateAccessPolicyDetails): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateAccessPolicyDetails): object { - const jsonObj = { - ...obj, - ...{ - "rules": obj.rules - ? obj.rules.map(item => { - return model.AccessPolicyRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-ingress-gateway-details.ts b/lib/servicemesh/lib/model/update-ingress-gateway-details.ts deleted file mode 100644 index 10f6b7f233..0000000000 --- a/lib/servicemesh/lib/model/update-ingress-gateway-details.ts +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateIngressGatewayDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * An array of hostnames and their listener configuration that this gateway will bind to. - */ - "hosts"?: Array; - "accessLogging"?: model.AccessLoggingConfiguration; - "mtls"?: model.IngressGatewayMutualTransportLayerSecurityDetails; - /** - * 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 UpdateIngressGatewayDetails { - export function getJsonObj(obj: UpdateIngressGatewayDetails): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurityDetails.getJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateIngressGatewayDetails): object { - const jsonObj = { - ...obj, - ...{ - "hosts": obj.hosts - ? obj.hosts.map(item => { - return model.IngressGatewayHost.getDeserializedJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined, - "mtls": obj.mtls - ? model.IngressGatewayMutualTransportLayerSecurityDetails.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-ingress-gateway-route-table-details.ts b/lib/servicemesh/lib/model/update-ingress-gateway-route-table-details.ts deleted file mode 100644 index 262dcfd982..0000000000 --- a/lib/servicemesh/lib/model/update-ingress-gateway-route-table-details.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateIngressGatewayRouteTableDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the ingress gateway. - */ - "routeRules"?: 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 UpdateIngressGatewayRouteTableDetails { - export function getJsonObj(obj: UpdateIngressGatewayRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateIngressGatewayRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.IngressGatewayTrafficRouteRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-mesh-details.ts b/lib/servicemesh/lib/model/update-mesh-details.ts deleted file mode 100644 index 77f83b8fa4..0000000000 --- a/lib/servicemesh/lib/model/update-mesh-details.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateMeshDetails { - /** - * A user-friendly name. The name does not have to be unique and can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My new resource} -* - */ - "displayName"?: string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "mtls"?: model.MeshMutualTransportLayerSecurity; - /** - * 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 UpdateMeshDetails { - export function getJsonObj(obj: UpdateMeshDetails): object { - const jsonObj = { - ...obj, - ...{ - "mtls": obj.mtls ? model.MeshMutualTransportLayerSecurity.getJsonObj(obj.mtls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateMeshDetails): object { - const jsonObj = { - ...obj, - ...{ - "mtls": obj.mtls - ? model.MeshMutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-virtual-deployment-details.ts b/lib/servicemesh/lib/model/update-virtual-deployment-details.ts deleted file mode 100644 index ea0f9810e0..0000000000 --- a/lib/servicemesh/lib/model/update-virtual-deployment-details.ts +++ /dev/null @@ -1,92 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateVirtualDeploymentDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "serviceDiscovery"?: - | model.DnsServiceDiscoveryConfiguration - | model.DisabledServiceDiscoveryConfiguration; - /** - * The listeners for the virtual deployment. - */ - "listeners"?: Array; - "accessLogging"?: model.AccessLoggingConfiguration; - /** - * 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 UpdateVirtualDeploymentDetails { - export function getJsonObj(obj: UpdateVirtualDeploymentDetails): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateVirtualDeploymentDetails): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getDeserializedJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getDeserializedJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-virtual-service-details.ts b/lib/servicemesh/lib/model/update-virtual-service-details.ts deleted file mode 100644 index 8842a375eb..0000000000 --- a/lib/servicemesh/lib/model/update-virtual-service-details.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateVirtualServiceDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "defaultRoutingPolicy"?: model.DefaultVirtualServiceRoutingPolicy; - /** - * The DNS hostnames of the virtual service that is used by its callers. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\". - * Can be omitted if the virtual service will only have TCP virtual deployments. - * - */ - "hosts"?: Array; - "mtls"?: model.VirtualServiceMutualTransportLayerSecurityDetails; - /** - * 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 UpdateVirtualServiceDetails { - export function getJsonObj(obj: UpdateVirtualServiceDetails): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getJsonObj(obj.defaultRoutingPolicy) - : undefined, - - "mtls": obj.mtls - ? model.VirtualServiceMutualTransportLayerSecurityDetails.getJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateVirtualServiceDetails): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getDeserializedJsonObj( - obj.defaultRoutingPolicy - ) - : undefined, - - "mtls": obj.mtls - ? model.VirtualServiceMutualTransportLayerSecurityDetails.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/update-virtual-service-route-table-details.ts b/lib/servicemesh/lib/model/update-virtual-service-route-table-details.ts deleted file mode 100644 index dc8dc342a4..0000000000 --- a/lib/servicemesh/lib/model/update-virtual-service-route-table-details.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateVirtualServiceRouteTableDetails { - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the virtual service. - */ - "routeRules"?: 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 UpdateVirtualServiceRouteTableDetails { - export function getJsonObj(obj: UpdateVirtualServiceRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRuleDetails.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateVirtualServiceRouteTableDetails): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment-collection.ts b/lib/servicemesh/lib/model/virtual-deployment-collection.ts deleted file mode 100644 index 2f305e50b6..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 mesh search. Contains both VirtualDeploymentSummary items and other information, such as metadata. - */ -export interface VirtualDeploymentCollection { - /** - * List of virtual deployments. - */ - "items": Array; -} - -export namespace VirtualDeploymentCollection { - export function getJsonObj(obj: VirtualDeploymentCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualDeploymentSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualDeploymentCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualDeploymentSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment-listener.ts b/lib/servicemesh/lib/model/virtual-deployment-listener.ts deleted file mode 100644 index 6f80a729ee..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment-listener.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Listener configuration for a virtual deployment. - */ -export interface VirtualDeploymentListener { - /** - * Type of protocol used in virtual deployment. - */ - "protocol": VirtualDeploymentListener.Protocol; - /** - * Port in which virtual deployment is running. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port": number; - /** - * The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. - * If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. - * The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. - * For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "requestTimeoutInMs"?: number; - /** - * The maximum duration in milliseconds for which the request's stream may be idle. The value 0 (zero) indicates that the timeout is disabled. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "idleTimeoutInMs"?: number; -} - -export namespace VirtualDeploymentListener { - export enum Protocol { - Http = "HTTP", - TlsPassthrough = "TLS_PASSTHROUGH", - Tcp = "TCP", - Http2 = "HTTP2", - Grpc = "GRPC", - /** - * 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: VirtualDeploymentListener): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualDeploymentListener): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment-summary.ts b/lib/servicemesh/lib/model/virtual-deployment-summary.ts deleted file mode 100644 index e947504c2c..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment-summary.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 VirtualDeployment. - */ -export interface VirtualDeploymentSummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The OCID of the virtual service in which this virtual deployment is created. - */ - "virtualServiceId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the virtual deployment. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualDeploymentSummary { - export function getJsonObj(obj: VirtualDeploymentSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualDeploymentSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target-details.ts b/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target-details.ts deleted file mode 100644 index 33b168e662..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target-details.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Traffic router target for a virtual service version. - */ -export interface VirtualDeploymentTrafficRuleTargetDetails extends model.TrafficRuleTargetDetails { - /** - * The OCID of the virtual deployment where the request will be routed. - */ - "virtualDeploymentId": string; - /** - * Port on virtual deployment to target. - * If port is missing, the rule will target all ports on the virtual deployment. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port"?: number; - /** - * Weight of traffic target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "weight": number; - - "type": string; -} - -export namespace VirtualDeploymentTrafficRuleTargetDetails { - export function getJsonObj( - obj: VirtualDeploymentTrafficRuleTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTargetDetails.getJsonObj( - obj - ) as VirtualDeploymentTrafficRuleTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_DEPLOYMENT"; - export function getDeserializedJsonObj( - obj: VirtualDeploymentTrafficRuleTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTargetDetails.getDeserializedJsonObj( - obj - ) as VirtualDeploymentTrafficRuleTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target.ts b/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target.ts deleted file mode 100644 index 5e0292c678..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment-traffic-rule-target.ts +++ /dev/null @@ -1,69 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Traffic router target for a virtual service version. - */ -export interface VirtualDeploymentTrafficRuleTarget extends model.TrafficRuleTarget { - /** - * The OCID of the virtual deployment where the request will be routed. - */ - "virtualDeploymentId"?: string; - /** - * Port on virtual deployment to target. - * If port is missing, the rule will target all ports on the virtual deployment. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port"?: number; - /** - * Weight of traffic target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "weight": number; - - "type": string; -} - -export namespace VirtualDeploymentTrafficRuleTarget { - export function getJsonObj( - obj: VirtualDeploymentTrafficRuleTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTarget.getJsonObj(obj) as VirtualDeploymentTrafficRuleTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_DEPLOYMENT"; - export function getDeserializedJsonObj( - obj: VirtualDeploymentTrafficRuleTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTarget.getDeserializedJsonObj( - obj - ) as VirtualDeploymentTrafficRuleTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-deployment.ts b/lib/servicemesh/lib/model/virtual-deployment.ts deleted file mode 100644 index cfafe0f3ac..0000000000 --- a/lib/servicemesh/lib/model/virtual-deployment.ts +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This resource represents a customer-managed virtual service deployment in the Service Mesh. - */ -export interface VirtualDeployment { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The OCID of the virtual service in which this virtual deployment is created. - */ - "virtualServiceId": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "serviceDiscovery"?: - | model.DnsServiceDiscoveryConfiguration - | model.DisabledServiceDiscoveryConfiguration; - /** - * The listeners for the virtual deployment - */ - "listeners"?: Array; - "accessLogging"?: model.AccessLoggingConfiguration; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": VirtualDeployment.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualDeployment { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: VirtualDeployment): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualDeployment): object { - const jsonObj = { - ...obj, - ...{ - "serviceDiscovery": obj.serviceDiscovery - ? model.ServiceDiscoveryConfiguration.getDeserializedJsonObj(obj.serviceDiscovery) - : undefined, - "listeners": obj.listeners - ? obj.listeners.map(item => { - return model.VirtualDeploymentListener.getDeserializedJsonObj(item); - }) - : undefined, - "accessLogging": obj.accessLogging - ? model.AccessLoggingConfiguration.getDeserializedJsonObj(obj.accessLogging) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-access-policy-target-details.ts b/lib/servicemesh/lib/model/virtual-service-access-policy-target-details.ts deleted file mode 100644 index 5d5cd5b4b6..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-access-policy-target-details.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Virtual service target which communicates with other virtual services in a mesh. - */ -export interface VirtualServiceAccessPolicyTargetDetails extends model.AccessPolicyTargetDetails { - /** - * The OCID of the virtual service resource. - */ - "virtualServiceId": string; - - "type": string; -} - -export namespace VirtualServiceAccessPolicyTargetDetails { - export function getJsonObj( - obj: VirtualServiceAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getJsonObj( - obj - ) as VirtualServiceAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_SERVICE"; - export function getDeserializedJsonObj( - obj: VirtualServiceAccessPolicyTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTargetDetails.getDeserializedJsonObj( - obj - ) as VirtualServiceAccessPolicyTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-access-policy-target.ts b/lib/servicemesh/lib/model/virtual-service-access-policy-target.ts deleted file mode 100644 index 49cbbbcb45..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-access-policy-target.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Virtual service target which communicates with other virtual services in a mesh. - */ -export interface VirtualServiceAccessPolicyTarget extends model.AccessPolicyTarget { - /** - * The OCID of the virtual service resource. - */ - "virtualServiceId"?: string; - - "type": string; -} - -export namespace VirtualServiceAccessPolicyTarget { - export function getJsonObj( - obj: VirtualServiceAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getJsonObj(obj) as VirtualServiceAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_SERVICE"; - export function getDeserializedJsonObj( - obj: VirtualServiceAccessPolicyTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.AccessPolicyTarget.getDeserializedJsonObj( - obj - ) as VirtualServiceAccessPolicyTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-collection.ts b/lib/servicemesh/lib/model/virtual-service-collection.ts deleted file mode 100644 index b2f46e839b..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 mesh search. Contains both VirtualServiceSummary items and other information, such as metadata. - */ -export interface VirtualServiceCollection { - /** - * List of virtual services. - */ - "items": Array; -} - -export namespace VirtualServiceCollection { - export function getJsonObj(obj: VirtualServiceCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualServiceSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualServiceSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-mutual-transport-layer-security-details.ts b/lib/servicemesh/lib/model/virtual-service-mutual-transport-layer-security-details.ts deleted file mode 100644 index c96cea0ef9..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-mutual-transport-layer-security-details.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 mTLS authentication mode to use when receiving requests from other virtual services or ingress gateways within the mesh. - * - */ -export interface VirtualServiceMutualTransportLayerSecurityDetails { - /** - * The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration - * for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will - * be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days - * will be renewed every 30 days. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "maximumValidity"?: number; - /** - * DISABLED: Connection is not tunneled. - * PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. - * STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. - * - */ - "mode": string; -} - -export namespace VirtualServiceMutualTransportLayerSecurityDetails { - export function getJsonObj(obj: VirtualServiceMutualTransportLayerSecurityDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj( - obj: VirtualServiceMutualTransportLayerSecurityDetails - ): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-route-table-collection.ts b/lib/servicemesh/lib/model/virtual-service-route-table-collection.ts deleted file mode 100644 index 77a1da6b8e..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-route-table-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 mesh search. Contains both VirtualServiceRouteTableSummary items and other information, such as metadata. - */ -export interface VirtualServiceRouteTableCollection { - /** - * List of virtual service route tables. - */ - "items": Array; -} - -export namespace VirtualServiceRouteTableCollection { - export function getJsonObj(obj: VirtualServiceRouteTableCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualServiceRouteTableSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceRouteTableCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.VirtualServiceRouteTableSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-route-table-summary.ts b/lib/servicemesh/lib/model/virtual-service-route-table-summary.ts deleted file mode 100644 index 6c349b7c59..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-route-table-summary.ts +++ /dev/null @@ -1,101 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 VirtualServiceRouteTable. - */ -export interface VirtualServiceRouteTableSummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The OCID of the virtual service in which this virtual service route table is created. - */ - "virtualServiceId": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the virtual service. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualServiceRouteTableSummary { - export function getJsonObj(obj: VirtualServiceRouteTableSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceRouteTableSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-route-table.ts b/lib/servicemesh/lib/model/virtual-service-route-table.ts deleted file mode 100644 index 6261fdee7f..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-route-table.ts +++ /dev/null @@ -1,137 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This resource represents a customer-managed service route table in the Service Mesh. - */ -export interface VirtualServiceRouteTable { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The OCID of the virtual service in which this virtual service route table is created. - */ - "virtualServiceId": string; - /** - * A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "priority"?: number; - /** - * The route rules for the virtual service. - */ - "routeRules"?: Array; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": VirtualServiceRouteTable.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualServiceRouteTable { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: VirtualServiceRouteTable): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRule.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceRouteTable): object { - const jsonObj = { - ...obj, - ...{ - "routeRules": obj.routeRules - ? obj.routeRules.map(item => { - return model.VirtualServiceTrafficRouteRule.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-summary.ts b/lib/servicemesh/lib/model/virtual-service-summary.ts deleted file mode 100644 index 45930a0ffc..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-summary.ts +++ /dev/null @@ -1,97 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 VirtualService. - */ -export interface VirtualServiceSummary { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The OCID of the service mesh in which this access policy is created. - */ - "meshId": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the virtual service. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualServiceSummary { - export function getJsonObj(obj: VirtualServiceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-traffic-route-rule-details.ts b/lib/servicemesh/lib/model/virtual-service-traffic-route-rule-details.ts deleted file mode 100644 index b59ef89436..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-traffic-route-rule-details.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming virtual service traffic to a version. - */ -export interface VirtualServiceTrafficRouteRuleDetails { - /** - * The destination of the request. - */ - "destinations": Array; - - "type": string; -} - -export namespace VirtualServiceTrafficRouteRuleDetails { - export function getJsonObj(obj: VirtualServiceTrafficRouteRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualDeploymentTrafficRuleTargetDetails.getJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TCP": - return model.TcpVirtualServiceTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughVirtualServiceTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpVirtualServiceTrafficRouteRuleDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceTrafficRouteRuleDetails): object { - const jsonObj = { - ...obj, - ...{ - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualDeploymentTrafficRuleTargetDetails.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TCP": - return model.TcpVirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughVirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpVirtualServiceTrafficRouteRuleDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-traffic-route-rule.ts b/lib/servicemesh/lib/model/virtual-service-traffic-route-rule.ts deleted file mode 100644 index 735a679d35..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-traffic-route-rule.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Rule for routing incoming virtual service traffic to a version. - */ -export interface VirtualServiceTrafficRouteRule { - /** - * The destination of the request. - */ - "destinations": Array; - - "type": string; -} - -export namespace VirtualServiceTrafficRouteRule { - export function getJsonObj(obj: VirtualServiceTrafficRouteRule): object { - const jsonObj = { - ...obj, - ...{ - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualDeploymentTrafficRuleTarget.getJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TCP": - return model.TcpVirtualServiceTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughVirtualServiceTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpVirtualServiceTrafficRouteRule.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualServiceTrafficRouteRule): object { - const jsonObj = { - ...obj, - ...{ - "destinations": obj.destinations - ? obj.destinations.map(item => { - return model.VirtualDeploymentTrafficRuleTarget.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - if (obj && "type" in obj && obj.type) { - switch (obj.type) { - case "TCP": - return model.TcpVirtualServiceTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - case "TLS_PASSTHROUGH": - return model.TlsPassthroughVirtualServiceTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - case "HTTP": - return model.HttpVirtualServiceTrafficRouteRule.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); - } - } - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-traffic-rule-target-details.ts b/lib/servicemesh/lib/model/virtual-service-traffic-rule-target-details.ts deleted file mode 100644 index 535e65f149..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-traffic-rule-target-details.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Traffic router target for an ingress gateway. - */ -export interface VirtualServiceTrafficRuleTargetDetails extends model.TrafficRuleTargetDetails { - /** - * The OCID of the virtual service where the request will be routed. - */ - "virtualServiceId": string; - /** - * The port on the virtual service to target. - * Mandatory if the virtual deployments are listening on multiple ports. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port"?: number; - /** - * Weight of traffic target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "weight"?: number; - - "type": string; -} - -export namespace VirtualServiceTrafficRuleTargetDetails { - export function getJsonObj( - obj: VirtualServiceTrafficRuleTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTargetDetails.getJsonObj( - obj - ) as VirtualServiceTrafficRuleTargetDetails)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_SERVICE"; - export function getDeserializedJsonObj( - obj: VirtualServiceTrafficRuleTargetDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTargetDetails.getDeserializedJsonObj( - obj - ) as VirtualServiceTrafficRuleTargetDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service-traffic-rule-target.ts b/lib/servicemesh/lib/model/virtual-service-traffic-rule-target.ts deleted file mode 100644 index bddbcfa29a..0000000000 --- a/lib/servicemesh/lib/model/virtual-service-traffic-rule-target.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Traffic router target for an ingress gateway. - */ -export interface VirtualServiceTrafficRuleTarget extends model.TrafficRuleTarget { - /** - * The OCID of the virtual service where the request will be routed. - */ - "virtualServiceId"?: string; - /** - * The port on the virtual service to target. - * Mandatory if the virtual deployments are listening on multiple ports. - * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "port"?: number; - /** - * Weight of traffic target. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "weight"?: number; - - "type": string; -} - -export namespace VirtualServiceTrafficRuleTarget { - export function getJsonObj( - obj: VirtualServiceTrafficRuleTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTarget.getJsonObj(obj) as VirtualServiceTrafficRuleTarget)), - ...{} - }; - - return jsonObj; - } - export const type = "VIRTUAL_SERVICE"; - export function getDeserializedJsonObj( - obj: VirtualServiceTrafficRuleTarget, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.TrafficRuleTarget.getDeserializedJsonObj(obj) as VirtualServiceTrafficRuleTarget)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/virtual-service.ts b/lib/servicemesh/lib/model/virtual-service.ts deleted file mode 100644 index e28fce6bad..0000000000 --- a/lib/servicemesh/lib/model/virtual-service.ts +++ /dev/null @@ -1,143 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * This resource represents a customer-managed service in the Service Mesh. Each virtual service declares multiple running versions of the service and maps to a group of instances/pods running a specific version of the actual service. - */ -export interface VirtualService { - /** - * Unique identifier that is immutable on creation. - */ - "id": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The OCID of the service mesh in which this virtual service is created. - */ - "meshId": string; - /** - * A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code My unique resource name} -* - */ - "name": string; - /** - * Description of the resource. It can be changed after creation. -* Avoid entering confidential information. -*

-Example: {@code This is my new resource} -* - */ - "description"?: string; - "defaultRoutingPolicy"?: model.DefaultVirtualServiceRoutingPolicy; - /** - * The DNS hostnames of the virtual service that is used by its callers. - * Wildcard hostnames are supported in the prefix form. - * Examples of valid hostnames are \"www.example.com\", \"*.example.com\", \"*.com\". - * Can be omitted if the virtual service will only have TCP virtual deployments. - * - */ - "hosts"?: Array; - "mtls"?: model.MutualTransportLayerSecurity; - /** - * The time when this resource was created in an RFC3339 formatted datetime string. - */ - "timeCreated": Date; - /** - * The time when this resource was updated in an RFC3339 formatted datetime string. - */ - "timeUpdated": Date; - /** - * The current state of the Resource. - */ - "lifecycleState": VirtualService.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state. - */ - "lifecycleDetails"?: string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "freeformTags"?: { [key: string]: string }; - /** - * 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 } }; - /** - * 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 VirtualService { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: VirtualService): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getJsonObj(obj.defaultRoutingPolicy) - : undefined, - - "mtls": obj.mtls ? model.MutualTransportLayerSecurity.getJsonObj(obj.mtls) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: VirtualService): object { - const jsonObj = { - ...obj, - ...{ - "defaultRoutingPolicy": obj.defaultRoutingPolicy - ? model.DefaultVirtualServiceRoutingPolicy.getDeserializedJsonObj( - obj.defaultRoutingPolicy - ) - : undefined, - - "mtls": obj.mtls - ? model.MutualTransportLayerSecurity.getDeserializedJsonObj(obj.mtls) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-collection.ts b/lib/servicemesh/lib/model/work-request-collection.ts deleted file mode 100644 index 67fdc8ece6..0000000000 --- a/lib/servicemesh/lib/model/work-request-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequest search. Contains both WorkRequest items and other information, such as metadata. - */ -export interface WorkRequestCollection { - /** - * List of WorkRequestSummary objects. - */ - "items": Array; -} - -export namespace WorkRequestCollection { - export function getJsonObj(obj: WorkRequestCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-error-collection.ts b/lib/servicemesh/lib/model/work-request-error-collection.ts deleted file mode 100644 index a9708b594e..0000000000 --- a/lib/servicemesh/lib/model/work-request-error-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequestError search. Contains both WorkRequestError items and other information, such as metadata. - */ -export interface WorkRequestErrorCollection { - /** - * List of WorkRequestError objects. - */ - "items": Array; -} - -export namespace WorkRequestErrorCollection { - export function getJsonObj(obj: WorkRequestErrorCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestError.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestError.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-error.ts b/lib/servicemesh/lib/model/work-request-error.ts deleted file mode 100644 index 9a41759ee8..0000000000 --- a/lib/servicemesh/lib/model/work-request-error.ts +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An error encountered while executing a work request. - */ -export interface WorkRequestError { - /** - * A machine-usable code for the error that occurred. Error codes are listed on - * (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm) - * - */ - "code": string; - /** - * A human readable description of the issue encountered. - */ - "message": string; - /** - * The time the error occurred in an RFC3339 formatted datetime string. - */ - "timestamp": Date; -} - -export namespace WorkRequestError { - export function getJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestError): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-log-entry-collection.ts b/lib/servicemesh/lib/model/work-request-log-entry-collection.ts deleted file mode 100644 index 12e645d8ce..0000000000 --- a/lib/servicemesh/lib/model/work-request-log-entry-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 workRequestLog search. Contains both WorkRequestLogEntry items and other information, such as metadata. - */ -export interface WorkRequestLogEntryCollection { - /** - * List of WorkRequestLogEntry objects. - */ - "items": Array; -} - -export namespace WorkRequestLogEntryCollection { - export function getJsonObj(obj: WorkRequestLogEntryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestLogEntry.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.WorkRequestLogEntry.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-log-entry.ts b/lib/servicemesh/lib/model/work-request-log-entry.ts deleted file mode 100644 index ec23f2beed..0000000000 --- a/lib/servicemesh/lib/model/work-request-log-entry.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A log message from the execution of a work request. - */ -export interface WorkRequestLogEntry { - /** - * Human-readable log message. - */ - "message": string; - /** - * The time the log message was written in an RFC3339 formatted datetime string. - */ - "timestamp": Date; -} - -export namespace WorkRequestLogEntry { - export function getJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-resource.ts b/lib/servicemesh/lib/model/work-request-resource.ts deleted file mode 100644 index c265d9e836..0000000000 --- a/lib/servicemesh/lib/model/work-request-resource.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A resource created or operated on by a work request. - */ -export interface WorkRequestResource { - /** - * The resource type the work request affects. - */ - "entityType": string; - /** - * The way in which this resource is affected by the work tracked in the work request. - * A resource being created, updated, or deleted remains in the IN_PROGRESS state until - * work is complete for that resource at which point it transitions to CREATED, UPDATED, - * or DELETED, respectively. - * - */ - "actionType": model.ActionType; - /** - * The identifier of the resource the work request affects. - */ - "identifier": string; - /** - * The URI path that the user can do a GET on to access the resource metadata. - */ - "entityUri"?: string; -} - -export namespace WorkRequestResource { - export function getJsonObj(obj: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestResource): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request-summary.ts b/lib/servicemesh/lib/model/work-request-summary.ts deleted file mode 100644 index 7cf536f338..0000000000 --- a/lib/servicemesh/lib/model/work-request-summary.ts +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * A summary of the status of a work request. - */ -export interface WorkRequestSummary { - /** - * Type of the work request. - */ - "operationType": model.OperationType; - /** - * Status of current work request. - */ - "status": model.OperationStatus; - /** - * The ID of the work request. - */ - "id": string; - /** - * The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request affects multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary - * resource whose compartment should be used. - * - */ - "compartmentId": string; - /** - * The resources affected by this work request. - */ - "resources": Array; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete": number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), - * section 14.29. - * - */ - "timeStarted"?: Date; - /** - * The date and time the object was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). - * - */ - "timeFinished"?: Date; -} - -export namespace WorkRequestSummary { - export function getJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequestSummary): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/model/work-request.ts b/lib/servicemesh/lib/model/work-request.ts deleted file mode 100644 index 93a91fb3f9..0000000000 --- a/lib/servicemesh/lib/model/work-request.ts +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 description of the work request status. - */ -export interface WorkRequest { - /** - * Type of the work request. - */ - "operationType": model.OperationType; - /** - * Status of current work request. - */ - "status": model.OperationStatus; - /** - * The ID of the work request. - */ - "id": string; - /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - * - */ - "compartmentId": string; - /** - * The resources affected by this work request. - */ - "resources": Array; - /** - * Percentage of the request completed. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "percentComplete": number; - /** - * The date and time the request was created, as described in - * [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeAccepted": Date; - /** - * The date and time the request was started, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. - * - */ - "timeStarted"?: Date; - /** - * The date and time the request was finished, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). - * - */ - "timeFinished"?: Date; -} - -export namespace WorkRequest { - export function getJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: WorkRequest): object { - const jsonObj = { - ...obj, - ...{ - "resources": obj.resources - ? obj.resources.map(item => { - return model.WorkRequestResource.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/servicemesh/lib/request/cancel-work-request-request.ts b/lib/servicemesh/lib/request/cancel-work-request-request.ts deleted file mode 100644 index 646d166331..0000000000 --- a/lib/servicemesh/lib/request/cancel-work-request-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. - */ -export interface CancelWorkRequestRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/change-access-policy-compartment-request.ts b/lib/servicemesh/lib/request/change-access-policy-compartment-request.ts deleted file mode 100644 index 02d5473437..0000000000 --- a/lib/servicemesh/lib/request/change-access-policy-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeAccessPolicyCompartment.ts.html |here} to see how to use ChangeAccessPolicyCompartmentRequest. - */ -export interface ChangeAccessPolicyCompartmentRequest extends common.BaseRequest { - /** - * Unique AccessPolicy identifier. - */ - "accessPolicyId": string; - /** - * The information to be updated. - */ - "changeAccessPolicyCompartmentDetails": model.ChangeAccessPolicyCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-ingress-gateway-compartment-request.ts b/lib/servicemesh/lib/request/change-ingress-gateway-compartment-request.ts deleted file mode 100644 index 7f70e3eac1..0000000000 --- a/lib/servicemesh/lib/request/change-ingress-gateway-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeIngressGatewayCompartment.ts.html |here} to see how to use ChangeIngressGatewayCompartmentRequest. - */ -export interface ChangeIngressGatewayCompartmentRequest extends common.BaseRequest { - /** - * Unique IngressGateway identifier. - */ - "ingressGatewayId": string; - /** - * The information to be updated. - */ - "changeIngressGatewayCompartmentDetails": model.ChangeIngressGatewayCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-ingress-gateway-route-table-compartment-request.ts b/lib/servicemesh/lib/request/change-ingress-gateway-route-table-compartment-request.ts deleted file mode 100644 index 913195bb38..0000000000 --- a/lib/servicemesh/lib/request/change-ingress-gateway-route-table-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeIngressGatewayRouteTableCompartment.ts.html |here} to see how to use ChangeIngressGatewayRouteTableCompartmentRequest. - */ -export interface ChangeIngressGatewayRouteTableCompartmentRequest extends common.BaseRequest { - /** - * Unique IngressGatewayRouteTable identifier. - */ - "ingressGatewayRouteTableId": string; - /** - * The information to be updated. - */ - "changeIngressGatewayRouteTableCompartmentDetails": model.ChangeIngressGatewayRouteTableCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-mesh-compartment-request.ts b/lib/servicemesh/lib/request/change-mesh-compartment-request.ts deleted file mode 100644 index e380bf19fb..0000000000 --- a/lib/servicemesh/lib/request/change-mesh-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeMeshCompartment.ts.html |here} to see how to use ChangeMeshCompartmentRequest. - */ -export interface ChangeMeshCompartmentRequest extends common.BaseRequest { - /** - * Unique Mesh identifier. - */ - "meshId": string; - /** - * The information to be updated. - */ - "changeMeshCompartmentDetails": model.ChangeMeshCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-virtual-deployment-compartment-request.ts b/lib/servicemesh/lib/request/change-virtual-deployment-compartment-request.ts deleted file mode 100644 index 2518a6f818..0000000000 --- a/lib/servicemesh/lib/request/change-virtual-deployment-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeVirtualDeploymentCompartment.ts.html |here} to see how to use ChangeVirtualDeploymentCompartmentRequest. - */ -export interface ChangeVirtualDeploymentCompartmentRequest extends common.BaseRequest { - /** - * Unique VirtualDeployment identifier. - */ - "virtualDeploymentId": string; - /** - * The information to be updated. - */ - "changeVirtualDeploymentCompartmentDetails": model.ChangeVirtualDeploymentCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-virtual-service-compartment-request.ts b/lib/servicemesh/lib/request/change-virtual-service-compartment-request.ts deleted file mode 100644 index adf0d2fbe2..0000000000 --- a/lib/servicemesh/lib/request/change-virtual-service-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeVirtualServiceCompartment.ts.html |here} to see how to use ChangeVirtualServiceCompartmentRequest. - */ -export interface ChangeVirtualServiceCompartmentRequest extends common.BaseRequest { - /** - * Unique VirtualService identifier. - */ - "virtualServiceId": string; - /** - * The information to be updated. - */ - "changeVirtualServiceCompartmentDetails": model.ChangeVirtualServiceCompartmentDetails; - /** - * 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/servicemesh/lib/request/change-virtual-service-route-table-compartment-request.ts b/lib/servicemesh/lib/request/change-virtual-service-route-table-compartment-request.ts deleted file mode 100644 index 8147fb98cf..0000000000 --- a/lib/servicemesh/lib/request/change-virtual-service-route-table-compartment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ChangeVirtualServiceRouteTableCompartment.ts.html |here} to see how to use ChangeVirtualServiceRouteTableCompartmentRequest. - */ -export interface ChangeVirtualServiceRouteTableCompartmentRequest extends common.BaseRequest { - /** - * Unique VirtualServiceRouteTable identifier. - */ - "virtualServiceRouteTableId": string; - /** - * The information to be updated. - */ - "changeVirtualServiceRouteTableCompartmentDetails": model.ChangeVirtualServiceRouteTableCompartmentDetails; - /** - * 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/servicemesh/lib/request/create-access-policy-request.ts b/lib/servicemesh/lib/request/create-access-policy-request.ts deleted file mode 100644 index f703d4f88a..0000000000 --- a/lib/servicemesh/lib/request/create-access-policy-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateAccessPolicy.ts.html |here} to see how to use CreateAccessPolicyRequest. - */ -export interface CreateAccessPolicyRequest extends common.BaseRequest { - /** - * Details for the new AccessPolicy. - */ - "createAccessPolicyDetails": model.CreateAccessPolicyDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-ingress-gateway-request.ts b/lib/servicemesh/lib/request/create-ingress-gateway-request.ts deleted file mode 100644 index ea231b3860..0000000000 --- a/lib/servicemesh/lib/request/create-ingress-gateway-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateIngressGateway.ts.html |here} to see how to use CreateIngressGatewayRequest. - */ -export interface CreateIngressGatewayRequest extends common.BaseRequest { - /** - * Details for the new IngressGateway. - */ - "createIngressGatewayDetails": model.CreateIngressGatewayDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-ingress-gateway-route-table-request.ts b/lib/servicemesh/lib/request/create-ingress-gateway-route-table-request.ts deleted file mode 100644 index e61dfaf39a..0000000000 --- a/lib/servicemesh/lib/request/create-ingress-gateway-route-table-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateIngressGatewayRouteTable.ts.html |here} to see how to use CreateIngressGatewayRouteTableRequest. - */ -export interface CreateIngressGatewayRouteTableRequest extends common.BaseRequest { - /** - * Details for the new IngressGatewayRouteTable. - */ - "createIngressGatewayRouteTableDetails": model.CreateIngressGatewayRouteTableDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-mesh-request.ts b/lib/servicemesh/lib/request/create-mesh-request.ts deleted file mode 100644 index 60a80f0607..0000000000 --- a/lib/servicemesh/lib/request/create-mesh-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateMesh.ts.html |here} to see how to use CreateMeshRequest. - */ -export interface CreateMeshRequest extends common.BaseRequest { - /** - * Details for the new Mesh. - */ - "createMeshDetails": model.CreateMeshDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-virtual-deployment-request.ts b/lib/servicemesh/lib/request/create-virtual-deployment-request.ts deleted file mode 100644 index 60fbe56c01..0000000000 --- a/lib/servicemesh/lib/request/create-virtual-deployment-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateVirtualDeployment.ts.html |here} to see how to use CreateVirtualDeploymentRequest. - */ -export interface CreateVirtualDeploymentRequest extends common.BaseRequest { - /** - * Details for the new VirtualDeployment. - */ - "createVirtualDeploymentDetails": model.CreateVirtualDeploymentDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-virtual-service-request.ts b/lib/servicemesh/lib/request/create-virtual-service-request.ts deleted file mode 100644 index 9b7970483a..0000000000 --- a/lib/servicemesh/lib/request/create-virtual-service-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateVirtualService.ts.html |here} to see how to use CreateVirtualServiceRequest. - */ -export interface CreateVirtualServiceRequest extends common.BaseRequest { - /** - * Details for the new VirtualService. - */ - "createVirtualServiceDetails": model.CreateVirtualServiceDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/create-virtual-service-route-table-request.ts b/lib/servicemesh/lib/request/create-virtual-service-route-table-request.ts deleted file mode 100644 index 884dc31f44..0000000000 --- a/lib/servicemesh/lib/request/create-virtual-service-route-table-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/CreateVirtualServiceRouteTable.ts.html |here} to see how to use CreateVirtualServiceRouteTableRequest. - */ -export interface CreateVirtualServiceRouteTableRequest extends common.BaseRequest { - /** - * Details for the new VirtualServiceRouteTable. - */ - "createVirtualServiceRouteTableDetails": model.CreateVirtualServiceRouteTableDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/delete-access-policy-request.ts b/lib/servicemesh/lib/request/delete-access-policy-request.ts deleted file mode 100644 index 672f71aaa5..0000000000 --- a/lib/servicemesh/lib/request/delete-access-policy-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteAccessPolicy.ts.html |here} to see how to use DeleteAccessPolicyRequest. - */ -export interface DeleteAccessPolicyRequest extends common.BaseRequest { - /** - * Unique AccessPolicy identifier. - */ - "accessPolicyId": 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/servicemesh/lib/request/delete-ingress-gateway-request.ts b/lib/servicemesh/lib/request/delete-ingress-gateway-request.ts deleted file mode 100644 index 30318a86f0..0000000000 --- a/lib/servicemesh/lib/request/delete-ingress-gateway-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteIngressGateway.ts.html |here} to see how to use DeleteIngressGatewayRequest. - */ -export interface DeleteIngressGatewayRequest extends common.BaseRequest { - /** - * Unique IngressGateway identifier. - */ - "ingressGatewayId": 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/servicemesh/lib/request/delete-ingress-gateway-route-table-request.ts b/lib/servicemesh/lib/request/delete-ingress-gateway-route-table-request.ts deleted file mode 100644 index dac4e50387..0000000000 --- a/lib/servicemesh/lib/request/delete-ingress-gateway-route-table-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteIngressGatewayRouteTable.ts.html |here} to see how to use DeleteIngressGatewayRouteTableRequest. - */ -export interface DeleteIngressGatewayRouteTableRequest extends common.BaseRequest { - /** - * Unique IngressGatewayRouteTable identifier. - */ - "ingressGatewayRouteTableId": 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/servicemesh/lib/request/delete-mesh-request.ts b/lib/servicemesh/lib/request/delete-mesh-request.ts deleted file mode 100644 index a3ec492c35..0000000000 --- a/lib/servicemesh/lib/request/delete-mesh-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteMesh.ts.html |here} to see how to use DeleteMeshRequest. - */ -export interface DeleteMeshRequest extends common.BaseRequest { - /** - * Unique Mesh identifier. - */ - "meshId": 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/servicemesh/lib/request/delete-virtual-deployment-request.ts b/lib/servicemesh/lib/request/delete-virtual-deployment-request.ts deleted file mode 100644 index 7bb454c1ae..0000000000 --- a/lib/servicemesh/lib/request/delete-virtual-deployment-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteVirtualDeployment.ts.html |here} to see how to use DeleteVirtualDeploymentRequest. - */ -export interface DeleteVirtualDeploymentRequest extends common.BaseRequest { - /** - * Unique VirtualDeployment identifier. - */ - "virtualDeploymentId": 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/servicemesh/lib/request/delete-virtual-service-request.ts b/lib/servicemesh/lib/request/delete-virtual-service-request.ts deleted file mode 100644 index 861fb0fc8c..0000000000 --- a/lib/servicemesh/lib/request/delete-virtual-service-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteVirtualService.ts.html |here} to see how to use DeleteVirtualServiceRequest. - */ -export interface DeleteVirtualServiceRequest extends common.BaseRequest { - /** - * Unique VirtualService identifier. - */ - "virtualServiceId": 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/servicemesh/lib/request/delete-virtual-service-route-table-request.ts b/lib/servicemesh/lib/request/delete-virtual-service-route-table-request.ts deleted file mode 100644 index 1c253a80e6..0000000000 --- a/lib/servicemesh/lib/request/delete-virtual-service-route-table-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/DeleteVirtualServiceRouteTable.ts.html |here} to see how to use DeleteVirtualServiceRouteTableRequest. - */ -export interface DeleteVirtualServiceRouteTableRequest extends common.BaseRequest { - /** - * Unique VirtualServiceRouteTable identifier. - */ - "virtualServiceRouteTableId": 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/servicemesh/lib/request/get-access-policy-request.ts b/lib/servicemesh/lib/request/get-access-policy-request.ts deleted file mode 100644 index 7166ec6980..0000000000 --- a/lib/servicemesh/lib/request/get-access-policy-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetAccessPolicy.ts.html |here} to see how to use GetAccessPolicyRequest. - */ -export interface GetAccessPolicyRequest extends common.BaseRequest { - /** - * Unique AccessPolicy identifier. - */ - "accessPolicyId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-ingress-gateway-request.ts b/lib/servicemesh/lib/request/get-ingress-gateway-request.ts deleted file mode 100644 index 513b66a6f3..0000000000 --- a/lib/servicemesh/lib/request/get-ingress-gateway-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetIngressGateway.ts.html |here} to see how to use GetIngressGatewayRequest. - */ -export interface GetIngressGatewayRequest extends common.BaseRequest { - /** - * Unique IngressGateway identifier. - */ - "ingressGatewayId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-ingress-gateway-route-table-request.ts b/lib/servicemesh/lib/request/get-ingress-gateway-route-table-request.ts deleted file mode 100644 index ac2727a65e..0000000000 --- a/lib/servicemesh/lib/request/get-ingress-gateway-route-table-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetIngressGatewayRouteTable.ts.html |here} to see how to use GetIngressGatewayRouteTableRequest. - */ -export interface GetIngressGatewayRouteTableRequest extends common.BaseRequest { - /** - * Unique IngressGatewayRouteTable identifier. - */ - "ingressGatewayRouteTableId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-mesh-request.ts b/lib/servicemesh/lib/request/get-mesh-request.ts deleted file mode 100644 index 6e37dca645..0000000000 --- a/lib/servicemesh/lib/request/get-mesh-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetMesh.ts.html |here} to see how to use GetMeshRequest. - */ -export interface GetMeshRequest extends common.BaseRequest { - /** - * Unique Mesh identifier. - */ - "meshId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-proxy-details-request.ts b/lib/servicemesh/lib/request/get-proxy-details-request.ts deleted file mode 100644 index daceec9645..0000000000 --- a/lib/servicemesh/lib/request/get-proxy-details-request.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetProxyDetails.ts.html |here} to see how to use GetProxyDetailsRequest. - */ -export interface GetProxyDetailsRequest extends common.BaseRequest { - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-virtual-deployment-request.ts b/lib/servicemesh/lib/request/get-virtual-deployment-request.ts deleted file mode 100644 index 395d2a28ee..0000000000 --- a/lib/servicemesh/lib/request/get-virtual-deployment-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetVirtualDeployment.ts.html |here} to see how to use GetVirtualDeploymentRequest. - */ -export interface GetVirtualDeploymentRequest extends common.BaseRequest { - /** - * Unique VirtualDeployment identifier. - */ - "virtualDeploymentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-virtual-service-request.ts b/lib/servicemesh/lib/request/get-virtual-service-request.ts deleted file mode 100644 index b621424e40..0000000000 --- a/lib/servicemesh/lib/request/get-virtual-service-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetVirtualService.ts.html |here} to see how to use GetVirtualServiceRequest. - */ -export interface GetVirtualServiceRequest extends common.BaseRequest { - /** - * Unique VirtualService identifier. - */ - "virtualServiceId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-virtual-service-route-table-request.ts b/lib/servicemesh/lib/request/get-virtual-service-route-table-request.ts deleted file mode 100644 index 2f5731dbb5..0000000000 --- a/lib/servicemesh/lib/request/get-virtual-service-route-table-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetVirtualServiceRouteTable.ts.html |here} to see how to use GetVirtualServiceRouteTableRequest. - */ -export interface GetVirtualServiceRouteTableRequest extends common.BaseRequest { - /** - * Unique VirtualServiceRouteTable identifier. - */ - "virtualServiceRouteTableId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/get-work-request-request.ts b/lib/servicemesh/lib/request/get-work-request-request.ts deleted file mode 100644 index 032231895e..0000000000 --- a/lib/servicemesh/lib/request/get-work-request-request.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. - */ -export interface GetWorkRequestRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/index.ts b/lib/servicemesh/lib/request/index.ts deleted file mode 100644 index c59654c9c0..0000000000 --- a/lib/servicemesh/lib/request/index.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as CancelWorkRequestRequest from "./cancel-work-request-request"; -export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; -import * as ChangeAccessPolicyCompartmentRequest from "./change-access-policy-compartment-request"; -export import ChangeAccessPolicyCompartmentRequest = ChangeAccessPolicyCompartmentRequest.ChangeAccessPolicyCompartmentRequest; -import * as ChangeIngressGatewayCompartmentRequest from "./change-ingress-gateway-compartment-request"; -export import ChangeIngressGatewayCompartmentRequest = ChangeIngressGatewayCompartmentRequest.ChangeIngressGatewayCompartmentRequest; -import * as ChangeIngressGatewayRouteTableCompartmentRequest from "./change-ingress-gateway-route-table-compartment-request"; -export import ChangeIngressGatewayRouteTableCompartmentRequest = ChangeIngressGatewayRouteTableCompartmentRequest.ChangeIngressGatewayRouteTableCompartmentRequest; -import * as ChangeMeshCompartmentRequest from "./change-mesh-compartment-request"; -export import ChangeMeshCompartmentRequest = ChangeMeshCompartmentRequest.ChangeMeshCompartmentRequest; -import * as ChangeVirtualDeploymentCompartmentRequest from "./change-virtual-deployment-compartment-request"; -export import ChangeVirtualDeploymentCompartmentRequest = ChangeVirtualDeploymentCompartmentRequest.ChangeVirtualDeploymentCompartmentRequest; -import * as ChangeVirtualServiceCompartmentRequest from "./change-virtual-service-compartment-request"; -export import ChangeVirtualServiceCompartmentRequest = ChangeVirtualServiceCompartmentRequest.ChangeVirtualServiceCompartmentRequest; -import * as ChangeVirtualServiceRouteTableCompartmentRequest from "./change-virtual-service-route-table-compartment-request"; -export import ChangeVirtualServiceRouteTableCompartmentRequest = ChangeVirtualServiceRouteTableCompartmentRequest.ChangeVirtualServiceRouteTableCompartmentRequest; -import * as CreateAccessPolicyRequest from "./create-access-policy-request"; -export import CreateAccessPolicyRequest = CreateAccessPolicyRequest.CreateAccessPolicyRequest; -import * as CreateIngressGatewayRequest from "./create-ingress-gateway-request"; -export import CreateIngressGatewayRequest = CreateIngressGatewayRequest.CreateIngressGatewayRequest; -import * as CreateIngressGatewayRouteTableRequest from "./create-ingress-gateway-route-table-request"; -export import CreateIngressGatewayRouteTableRequest = CreateIngressGatewayRouteTableRequest.CreateIngressGatewayRouteTableRequest; -import * as CreateMeshRequest from "./create-mesh-request"; -export import CreateMeshRequest = CreateMeshRequest.CreateMeshRequest; -import * as CreateVirtualDeploymentRequest from "./create-virtual-deployment-request"; -export import CreateVirtualDeploymentRequest = CreateVirtualDeploymentRequest.CreateVirtualDeploymentRequest; -import * as CreateVirtualServiceRequest from "./create-virtual-service-request"; -export import CreateVirtualServiceRequest = CreateVirtualServiceRequest.CreateVirtualServiceRequest; -import * as CreateVirtualServiceRouteTableRequest from "./create-virtual-service-route-table-request"; -export import CreateVirtualServiceRouteTableRequest = CreateVirtualServiceRouteTableRequest.CreateVirtualServiceRouteTableRequest; -import * as DeleteAccessPolicyRequest from "./delete-access-policy-request"; -export import DeleteAccessPolicyRequest = DeleteAccessPolicyRequest.DeleteAccessPolicyRequest; -import * as DeleteIngressGatewayRequest from "./delete-ingress-gateway-request"; -export import DeleteIngressGatewayRequest = DeleteIngressGatewayRequest.DeleteIngressGatewayRequest; -import * as DeleteIngressGatewayRouteTableRequest from "./delete-ingress-gateway-route-table-request"; -export import DeleteIngressGatewayRouteTableRequest = DeleteIngressGatewayRouteTableRequest.DeleteIngressGatewayRouteTableRequest; -import * as DeleteMeshRequest from "./delete-mesh-request"; -export import DeleteMeshRequest = DeleteMeshRequest.DeleteMeshRequest; -import * as DeleteVirtualDeploymentRequest from "./delete-virtual-deployment-request"; -export import DeleteVirtualDeploymentRequest = DeleteVirtualDeploymentRequest.DeleteVirtualDeploymentRequest; -import * as DeleteVirtualServiceRequest from "./delete-virtual-service-request"; -export import DeleteVirtualServiceRequest = DeleteVirtualServiceRequest.DeleteVirtualServiceRequest; -import * as DeleteVirtualServiceRouteTableRequest from "./delete-virtual-service-route-table-request"; -export import DeleteVirtualServiceRouteTableRequest = DeleteVirtualServiceRouteTableRequest.DeleteVirtualServiceRouteTableRequest; -import * as GetAccessPolicyRequest from "./get-access-policy-request"; -export import GetAccessPolicyRequest = GetAccessPolicyRequest.GetAccessPolicyRequest; -import * as GetIngressGatewayRequest from "./get-ingress-gateway-request"; -export import GetIngressGatewayRequest = GetIngressGatewayRequest.GetIngressGatewayRequest; -import * as GetIngressGatewayRouteTableRequest from "./get-ingress-gateway-route-table-request"; -export import GetIngressGatewayRouteTableRequest = GetIngressGatewayRouteTableRequest.GetIngressGatewayRouteTableRequest; -import * as GetMeshRequest from "./get-mesh-request"; -export import GetMeshRequest = GetMeshRequest.GetMeshRequest; -import * as GetProxyDetailsRequest from "./get-proxy-details-request"; -export import GetProxyDetailsRequest = GetProxyDetailsRequest.GetProxyDetailsRequest; -import * as GetVirtualDeploymentRequest from "./get-virtual-deployment-request"; -export import GetVirtualDeploymentRequest = GetVirtualDeploymentRequest.GetVirtualDeploymentRequest; -import * as GetVirtualServiceRequest from "./get-virtual-service-request"; -export import GetVirtualServiceRequest = GetVirtualServiceRequest.GetVirtualServiceRequest; -import * as GetVirtualServiceRouteTableRequest from "./get-virtual-service-route-table-request"; -export import GetVirtualServiceRouteTableRequest = GetVirtualServiceRouteTableRequest.GetVirtualServiceRouteTableRequest; -import * as GetWorkRequestRequest from "./get-work-request-request"; -export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; -import * as ListAccessPoliciesRequest from "./list-access-policies-request"; -export import ListAccessPoliciesRequest = ListAccessPoliciesRequest.ListAccessPoliciesRequest; -import * as ListIngressGatewayRouteTablesRequest from "./list-ingress-gateway-route-tables-request"; -export import ListIngressGatewayRouteTablesRequest = ListIngressGatewayRouteTablesRequest.ListIngressGatewayRouteTablesRequest; -import * as ListIngressGatewaysRequest from "./list-ingress-gateways-request"; -export import ListIngressGatewaysRequest = ListIngressGatewaysRequest.ListIngressGatewaysRequest; -import * as ListMeshesRequest from "./list-meshes-request"; -export import ListMeshesRequest = ListMeshesRequest.ListMeshesRequest; -import * as ListVirtualDeploymentsRequest from "./list-virtual-deployments-request"; -export import ListVirtualDeploymentsRequest = ListVirtualDeploymentsRequest.ListVirtualDeploymentsRequest; -import * as ListVirtualServiceRouteTablesRequest from "./list-virtual-service-route-tables-request"; -export import ListVirtualServiceRouteTablesRequest = ListVirtualServiceRouteTablesRequest.ListVirtualServiceRouteTablesRequest; -import * as ListVirtualServicesRequest from "./list-virtual-services-request"; -export import ListVirtualServicesRequest = ListVirtualServicesRequest.ListVirtualServicesRequest; -import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; -export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; -import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; -export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; -import * as ListWorkRequestsRequest from "./list-work-requests-request"; -export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; -import * as UpdateAccessPolicyRequest from "./update-access-policy-request"; -export import UpdateAccessPolicyRequest = UpdateAccessPolicyRequest.UpdateAccessPolicyRequest; -import * as UpdateIngressGatewayRequest from "./update-ingress-gateway-request"; -export import UpdateIngressGatewayRequest = UpdateIngressGatewayRequest.UpdateIngressGatewayRequest; -import * as UpdateIngressGatewayRouteTableRequest from "./update-ingress-gateway-route-table-request"; -export import UpdateIngressGatewayRouteTableRequest = UpdateIngressGatewayRouteTableRequest.UpdateIngressGatewayRouteTableRequest; -import * as UpdateMeshRequest from "./update-mesh-request"; -export import UpdateMeshRequest = UpdateMeshRequest.UpdateMeshRequest; -import * as UpdateVirtualDeploymentRequest from "./update-virtual-deployment-request"; -export import UpdateVirtualDeploymentRequest = UpdateVirtualDeploymentRequest.UpdateVirtualDeploymentRequest; -import * as UpdateVirtualServiceRequest from "./update-virtual-service-request"; -export import UpdateVirtualServiceRequest = UpdateVirtualServiceRequest.UpdateVirtualServiceRequest; -import * as UpdateVirtualServiceRouteTableRequest from "./update-virtual-service-route-table-request"; -export import UpdateVirtualServiceRouteTableRequest = UpdateVirtualServiceRouteTableRequest.UpdateVirtualServiceRouteTableRequest; diff --git a/lib/servicemesh/lib/request/list-access-policies-request.ts b/lib/servicemesh/lib/request/list-access-policies-request.ts deleted file mode 100644 index 5e726c2322..0000000000 --- a/lib/servicemesh/lib/request/list-access-policies-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListAccessPolicies.ts.html |here} to see how to use ListAccessPoliciesRequest. - */ -export interface ListAccessPoliciesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListAccessPoliciesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique Mesh identifier. - */ - "meshId"?: string; - /** - * Unique AccessPolicy identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListAccessPoliciesRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-ingress-gateway-route-tables-request.ts b/lib/servicemesh/lib/request/list-ingress-gateway-route-tables-request.ts deleted file mode 100644 index 449dabb6c0..0000000000 --- a/lib/servicemesh/lib/request/list-ingress-gateway-route-tables-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListIngressGatewayRouteTables.ts.html |here} to see how to use ListIngressGatewayRouteTablesRequest. - */ -export interface ListIngressGatewayRouteTablesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListIngressGatewayRouteTablesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique IngressGateway identifier. - */ - "ingressGatewayId"?: string; - /** - * Unique IngressGatewayRouteTable identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListIngressGatewayRouteTablesRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-ingress-gateways-request.ts b/lib/servicemesh/lib/request/list-ingress-gateways-request.ts deleted file mode 100644 index 13640f2c0a..0000000000 --- a/lib/servicemesh/lib/request/list-ingress-gateways-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListIngressGateways.ts.html |here} to see how to use ListIngressGatewaysRequest. - */ -export interface ListIngressGatewaysRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListIngressGatewaysRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique Mesh identifier. - */ - "meshId"?: string; - /** - * Unique IngressGateway identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListIngressGatewaysRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-meshes-request.ts b/lib/servicemesh/lib/request/list-meshes-request.ts deleted file mode 100644 index 1cbd792af1..0000000000 --- a/lib/servicemesh/lib/request/list-meshes-request.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListMeshes.ts.html |here} to see how to use ListMeshesRequest. - */ -export interface ListMeshesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire displayName given. - */ - "displayName"?: 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"?: ListMeshesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; - /** - * Unique Mesh identifier. - */ - "id"?: string; -} - -export namespace ListMeshesRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/servicemesh/lib/request/list-virtual-deployments-request.ts b/lib/servicemesh/lib/request/list-virtual-deployments-request.ts deleted file mode 100644 index 02366c27f6..0000000000 --- a/lib/servicemesh/lib/request/list-virtual-deployments-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListVirtualDeployments.ts.html |here} to see how to use ListVirtualDeploymentsRequest. - */ -export interface ListVirtualDeploymentsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListVirtualDeploymentsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique VirtualService identifier. - */ - "virtualServiceId"?: string; - /** - * Unique VirtualDeployment identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListVirtualDeploymentsRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-virtual-service-route-tables-request.ts b/lib/servicemesh/lib/request/list-virtual-service-route-tables-request.ts deleted file mode 100644 index 347e1e3b8d..0000000000 --- a/lib/servicemesh/lib/request/list-virtual-service-route-tables-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListVirtualServiceRouteTables.ts.html |here} to see how to use ListVirtualServiceRouteTablesRequest. - */ -export interface ListVirtualServiceRouteTablesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListVirtualServiceRouteTablesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique VirtualService identifier. - */ - "virtualServiceId"?: string; - /** - * Unique VirtualServiceRouteTable identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListVirtualServiceRouteTablesRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-virtual-services-request.ts b/lib/servicemesh/lib/request/list-virtual-services-request.ts deleted file mode 100644 index b77dfb2eaf..0000000000 --- a/lib/servicemesh/lib/request/list-virtual-services-request.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListVirtualServices.ts.html |here} to see how to use ListVirtualServicesRequest. - */ -export interface ListVirtualServicesRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * A filter to return only resources that match the entire name given. - */ - "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 field to sort by. Only one sort order may be provided. Default order for 'timeCreated' is descending. Default order for 'name' is ascending. - * - */ - "sortBy"?: ListVirtualServicesRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * Unique Mesh identifier. - */ - "meshId"?: string; - /** - * Unique VirtualService identifier. - */ - "id"?: string; - /** - * A filter to return only resources that match the life cycle state given. - */ - "lifecycleState"?: string; -} - -export namespace ListVirtualServicesRequest { - export enum SortBy { - Id = "id", - TimeCreated = "timeCreated", - Name = "name" - } -} diff --git a/lib/servicemesh/lib/request/list-work-request-errors-request.ts b/lib/servicemesh/lib/request/list-work-request-errors-request.ts deleted file mode 100644 index 6cbdc1c7f8..0000000000 --- a/lib/servicemesh/lib/request/list-work-request-errors-request.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. - */ -export interface ListWorkRequestErrorsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * 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 maximum number of items to return. - */ - "limit"?: number; - /** - * 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 timestamp is descending. - * - */ - "sortBy"?: ListWorkRequestErrorsRequest.SortBy; -} - -export namespace ListWorkRequestErrorsRequest { - export enum SortBy { - Timestamp = "timestamp" - } -} diff --git a/lib/servicemesh/lib/request/list-work-request-logs-request.ts b/lib/servicemesh/lib/request/list-work-request-logs-request.ts deleted file mode 100644 index b822ea8f7b..0000000000 --- a/lib/servicemesh/lib/request/list-work-request-logs-request.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. - */ -export interface ListWorkRequestLogsRequest extends common.BaseRequest { - /** - * The ID of the asynchronous request. - */ - "workRequestId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * 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 maximum number of items to return. - */ - "limit"?: number; - /** - * 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 timestamp is descending. - * - */ - "sortBy"?: ListWorkRequestLogsRequest.SortBy; -} - -export namespace ListWorkRequestLogsRequest { - export enum SortBy { - Timestamp = "timestamp" - } -} diff --git a/lib/servicemesh/lib/request/list-work-requests-request.ts b/lib/servicemesh/lib/request/list-work-requests-request.ts deleted file mode 100644 index a127d0dc1e..0000000000 --- a/lib/servicemesh/lib/request/list-work-requests-request.ts +++ /dev/null @@ -1,64 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. - */ -export interface ListWorkRequestsRequest extends common.BaseRequest { - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId": string; - /** - * The ID of the asynchronous work request. - */ - "workRequestId"?: string; - /** - * A filter to return work requests that match the given resourceId. - */ - "resourceId"?: string; - /** - * A filter to return only resources that match the operation status given. - */ - "operationStatus"?: model.OperationStatus; - /** - * 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 timeAccepted is descending. - * - */ - "sortBy"?: ListWorkRequestsRequest.SortBy; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; - /** - * 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 maximum number of items to return. - */ - "limit"?: number; -} - -export namespace ListWorkRequestsRequest { - export enum SortBy { - TimeAccepted = "timeAccepted" - } -} diff --git a/lib/servicemesh/lib/request/update-access-policy-request.ts b/lib/servicemesh/lib/request/update-access-policy-request.ts deleted file mode 100644 index 61d02443eb..0000000000 --- a/lib/servicemesh/lib/request/update-access-policy-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateAccessPolicy.ts.html |here} to see how to use UpdateAccessPolicyRequest. - */ -export interface UpdateAccessPolicyRequest extends common.BaseRequest { - /** - * Unique AccessPolicy identifier. - */ - "accessPolicyId": string; - /** - * The information to be updated. - */ - "updateAccessPolicyDetails": model.UpdateAccessPolicyDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-ingress-gateway-request.ts b/lib/servicemesh/lib/request/update-ingress-gateway-request.ts deleted file mode 100644 index 535e58f11f..0000000000 --- a/lib/servicemesh/lib/request/update-ingress-gateway-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateIngressGateway.ts.html |here} to see how to use UpdateIngressGatewayRequest. - */ -export interface UpdateIngressGatewayRequest extends common.BaseRequest { - /** - * Unique IngressGateway identifier. - */ - "ingressGatewayId": string; - /** - * The information to be updated. - */ - "updateIngressGatewayDetails": model.UpdateIngressGatewayDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-ingress-gateway-route-table-request.ts b/lib/servicemesh/lib/request/update-ingress-gateway-route-table-request.ts deleted file mode 100644 index 9608e0ce1b..0000000000 --- a/lib/servicemesh/lib/request/update-ingress-gateway-route-table-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateIngressGatewayRouteTable.ts.html |here} to see how to use UpdateIngressGatewayRouteTableRequest. - */ -export interface UpdateIngressGatewayRouteTableRequest extends common.BaseRequest { - /** - * Unique IngressGatewayRouteTable identifier. - */ - "ingressGatewayRouteTableId": string; - /** - * The information to be updated. - */ - "updateIngressGatewayRouteTableDetails": model.UpdateIngressGatewayRouteTableDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-mesh-request.ts b/lib/servicemesh/lib/request/update-mesh-request.ts deleted file mode 100644 index f162f5501e..0000000000 --- a/lib/servicemesh/lib/request/update-mesh-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateMesh.ts.html |here} to see how to use UpdateMeshRequest. - */ -export interface UpdateMeshRequest extends common.BaseRequest { - /** - * Unique Mesh identifier. - */ - "meshId": string; - /** - * The information to be updated. - */ - "updateMeshDetails": model.UpdateMeshDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-virtual-deployment-request.ts b/lib/servicemesh/lib/request/update-virtual-deployment-request.ts deleted file mode 100644 index a313f607fa..0000000000 --- a/lib/servicemesh/lib/request/update-virtual-deployment-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateVirtualDeployment.ts.html |here} to see how to use UpdateVirtualDeploymentRequest. - */ -export interface UpdateVirtualDeploymentRequest extends common.BaseRequest { - /** - * Unique VirtualDeployment identifier. - */ - "virtualDeploymentId": string; - /** - * The information to be updated. - */ - "updateVirtualDeploymentDetails": model.UpdateVirtualDeploymentDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-virtual-service-request.ts b/lib/servicemesh/lib/request/update-virtual-service-request.ts deleted file mode 100644 index f4c308fd4a..0000000000 --- a/lib/servicemesh/lib/request/update-virtual-service-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateVirtualService.ts.html |here} to see how to use UpdateVirtualServiceRequest. - */ -export interface UpdateVirtualServiceRequest extends common.BaseRequest { - /** - * Unique VirtualService identifier. - */ - "virtualServiceId": string; - /** - * The information to be updated. - */ - "updateVirtualServiceDetails": model.UpdateVirtualServiceDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/request/update-virtual-service-route-table-request.ts b/lib/servicemesh/lib/request/update-virtual-service-route-table-request.ts deleted file mode 100644 index 72ae03f2d2..0000000000 --- a/lib/servicemesh/lib/request/update-virtual-service-route-table-request.ts +++ /dev/null @@ -1,51 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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/servicemesh/UpdateVirtualServiceRouteTable.ts.html |here} to see how to use UpdateVirtualServiceRouteTableRequest. - */ -export interface UpdateVirtualServiceRouteTableRequest extends common.BaseRequest { - /** - * Unique VirtualServiceRouteTable identifier. - */ - "virtualServiceRouteTableId": string; - /** - * The information to be updated. - */ - "updateVirtualServiceRouteTableDetails": model.UpdateVirtualServiceRouteTableDetails; - /** - * For optimistic concurrency control. In the PUT or DELETE call - * for a resource, set the {@code if-match} parameter to the value of the - * etag from a previous GET or POST response for that resource. - * The resource will be updated or deleted only if the etag you - * provide matches the resource's current etag value. - * - */ - "ifMatch"?: string; - /** - * A token that uniquely identifies a request so it can be retried in case of a timeout or - * server error without risk of executing that same action again. Retry tokens expire after 24 - * hours, but can be invalidated before then due to conflicting operations. For example, if a resource - * has been deleted and purged from the system, then a retry of the original creation request - * might be rejected. - * - */ - "opcRetryToken"?: string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/servicemesh/lib/response/cancel-work-request-response.ts b/lib/servicemesh/lib/response/cancel-work-request-response.ts deleted file mode 100644 index 3d2e9cb2fb..0000000000 --- a/lib/servicemesh/lib/response/cancel-work-request-response.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface CancelWorkRequestResponse { - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; -} diff --git a/lib/servicemesh/lib/response/change-access-policy-compartment-response.ts b/lib/servicemesh/lib/response/change-access-policy-compartment-response.ts deleted file mode 100644 index 47e4ef084d..0000000000 --- a/lib/servicemesh/lib/response/change-access-policy-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeAccessPolicyCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-ingress-gateway-compartment-response.ts b/lib/servicemesh/lib/response/change-ingress-gateway-compartment-response.ts deleted file mode 100644 index 8651816e72..0000000000 --- a/lib/servicemesh/lib/response/change-ingress-gateway-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeIngressGatewayCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-ingress-gateway-route-table-compartment-response.ts b/lib/servicemesh/lib/response/change-ingress-gateway-route-table-compartment-response.ts deleted file mode 100644 index 0cb9c78ced..0000000000 --- a/lib/servicemesh/lib/response/change-ingress-gateway-route-table-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeIngressGatewayRouteTableCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-mesh-compartment-response.ts b/lib/servicemesh/lib/response/change-mesh-compartment-response.ts deleted file mode 100644 index 6033f3d549..0000000000 --- a/lib/servicemesh/lib/response/change-mesh-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeMeshCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-virtual-deployment-compartment-response.ts b/lib/servicemesh/lib/response/change-virtual-deployment-compartment-response.ts deleted file mode 100644 index 04aec3ccb0..0000000000 --- a/lib/servicemesh/lib/response/change-virtual-deployment-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeVirtualDeploymentCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-virtual-service-compartment-response.ts b/lib/servicemesh/lib/response/change-virtual-service-compartment-response.ts deleted file mode 100644 index 1ff32ee261..0000000000 --- a/lib/servicemesh/lib/response/change-virtual-service-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeVirtualServiceCompartmentResponse { - /** - * 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/servicemesh/lib/response/change-virtual-service-route-table-compartment-response.ts b/lib/servicemesh/lib/response/change-virtual-service-route-table-compartment-response.ts deleted file mode 100644 index 6c2fdf3a9c..0000000000 --- a/lib/servicemesh/lib/response/change-virtual-service-route-table-compartment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ChangeVirtualServiceRouteTableCompartmentResponse { - /** - * 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/servicemesh/lib/response/create-access-policy-response.ts b/lib/servicemesh/lib/response/create-access-policy-response.ts deleted file mode 100644 index b4e7a8590f..0000000000 --- a/lib/servicemesh/lib/response/create-access-policy-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateAccessPolicyResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.AccessPolicy instance. - */ - "accessPolicy": model.AccessPolicy; -} diff --git a/lib/servicemesh/lib/response/create-ingress-gateway-response.ts b/lib/servicemesh/lib/response/create-ingress-gateway-response.ts deleted file mode 100644 index 13434e0551..0000000000 --- a/lib/servicemesh/lib/response/create-ingress-gateway-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateIngressGatewayResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.IngressGateway instance. - */ - "ingressGateway": model.IngressGateway; -} diff --git a/lib/servicemesh/lib/response/create-ingress-gateway-route-table-response.ts b/lib/servicemesh/lib/response/create-ingress-gateway-route-table-response.ts deleted file mode 100644 index 01edc0989a..0000000000 --- a/lib/servicemesh/lib/response/create-ingress-gateway-route-table-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateIngressGatewayRouteTableResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.IngressGatewayRouteTable instance. - */ - "ingressGatewayRouteTable": model.IngressGatewayRouteTable; -} diff --git a/lib/servicemesh/lib/response/create-mesh-response.ts b/lib/servicemesh/lib/response/create-mesh-response.ts deleted file mode 100644 index df02ab7816..0000000000 --- a/lib/servicemesh/lib/response/create-mesh-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateMeshResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.Mesh instance. - */ - "mesh": model.Mesh; -} diff --git a/lib/servicemesh/lib/response/create-virtual-deployment-response.ts b/lib/servicemesh/lib/response/create-virtual-deployment-response.ts deleted file mode 100644 index 58d2263476..0000000000 --- a/lib/servicemesh/lib/response/create-virtual-deployment-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateVirtualDeploymentResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.VirtualDeployment instance. - */ - "virtualDeployment": model.VirtualDeployment; -} diff --git a/lib/servicemesh/lib/response/create-virtual-service-response.ts b/lib/servicemesh/lib/response/create-virtual-service-response.ts deleted file mode 100644 index 1d01d43dfe..0000000000 --- a/lib/servicemesh/lib/response/create-virtual-service-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateVirtualServiceResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.VirtualService instance. - */ - "virtualService": model.VirtualService; -} diff --git a/lib/servicemesh/lib/response/create-virtual-service-route-table-response.ts b/lib/servicemesh/lib/response/create-virtual-service-route-table-response.ts deleted file mode 100644 index 51826654e3..0000000000 --- a/lib/servicemesh/lib/response/create-virtual-service-route-table-response.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 CreateVirtualServiceRouteTableResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * 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; - /** - * Location header field identifying the URL of the new resource. - * - */ - "location": string; - /** - * The returned model.VirtualServiceRouteTable instance. - */ - "virtualServiceRouteTable": model.VirtualServiceRouteTable; -} diff --git a/lib/servicemesh/lib/response/delete-access-policy-response.ts b/lib/servicemesh/lib/response/delete-access-policy-response.ts deleted file mode 100644 index b37c2e992e..0000000000 --- a/lib/servicemesh/lib/response/delete-access-policy-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteAccessPolicyResponse { - /** - * 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/servicemesh/lib/response/delete-ingress-gateway-response.ts b/lib/servicemesh/lib/response/delete-ingress-gateway-response.ts deleted file mode 100644 index 9b66d5fb14..0000000000 --- a/lib/servicemesh/lib/response/delete-ingress-gateway-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteIngressGatewayResponse { - /** - * 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/servicemesh/lib/response/delete-ingress-gateway-route-table-response.ts b/lib/servicemesh/lib/response/delete-ingress-gateway-route-table-response.ts deleted file mode 100644 index 74d9541b8e..0000000000 --- a/lib/servicemesh/lib/response/delete-ingress-gateway-route-table-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteIngressGatewayRouteTableResponse { - /** - * 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/servicemesh/lib/response/delete-mesh-response.ts b/lib/servicemesh/lib/response/delete-mesh-response.ts deleted file mode 100644 index ad831181d0..0000000000 --- a/lib/servicemesh/lib/response/delete-mesh-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteMeshResponse { - /** - * 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/servicemesh/lib/response/delete-virtual-deployment-response.ts b/lib/servicemesh/lib/response/delete-virtual-deployment-response.ts deleted file mode 100644 index 188d459cb6..0000000000 --- a/lib/servicemesh/lib/response/delete-virtual-deployment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteVirtualDeploymentResponse { - /** - * 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/servicemesh/lib/response/delete-virtual-service-response.ts b/lib/servicemesh/lib/response/delete-virtual-service-response.ts deleted file mode 100644 index a4f6fc592c..0000000000 --- a/lib/servicemesh/lib/response/delete-virtual-service-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteVirtualServiceResponse { - /** - * 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/servicemesh/lib/response/delete-virtual-service-route-table-response.ts b/lib/servicemesh/lib/response/delete-virtual-service-route-table-response.ts deleted file mode 100644 index 7def6016f2..0000000000 --- a/lib/servicemesh/lib/response/delete-virtual-service-route-table-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 DeleteVirtualServiceRouteTableResponse { - /** - * 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/servicemesh/lib/response/get-access-policy-response.ts b/lib/servicemesh/lib/response/get-access-policy-response.ts deleted file mode 100644 index 081dd299e1..0000000000 --- a/lib/servicemesh/lib/response/get-access-policy-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetAccessPolicyResponse { - /** - * 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.AccessPolicy instance. - */ - "accessPolicy": model.AccessPolicy; -} diff --git a/lib/servicemesh/lib/response/get-ingress-gateway-response.ts b/lib/servicemesh/lib/response/get-ingress-gateway-response.ts deleted file mode 100644 index 058ba588a1..0000000000 --- a/lib/servicemesh/lib/response/get-ingress-gateway-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetIngressGatewayResponse { - /** - * 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.IngressGateway instance. - */ - "ingressGateway": model.IngressGateway; -} diff --git a/lib/servicemesh/lib/response/get-ingress-gateway-route-table-response.ts b/lib/servicemesh/lib/response/get-ingress-gateway-route-table-response.ts deleted file mode 100644 index 6802dc8e86..0000000000 --- a/lib/servicemesh/lib/response/get-ingress-gateway-route-table-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetIngressGatewayRouteTableResponse { - /** - * 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.IngressGatewayRouteTable instance. - */ - "ingressGatewayRouteTable": model.IngressGatewayRouteTable; -} diff --git a/lib/servicemesh/lib/response/get-mesh-response.ts b/lib/servicemesh/lib/response/get-mesh-response.ts deleted file mode 100644 index 6d34a047fc..0000000000 --- a/lib/servicemesh/lib/response/get-mesh-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetMeshResponse { - /** - * 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.Mesh instance. - */ - "mesh": model.Mesh; -} diff --git a/lib/servicemesh/lib/response/get-proxy-details-response.ts b/lib/servicemesh/lib/response/get-proxy-details-response.ts deleted file mode 100644 index 58a97f0f0f..0000000000 --- a/lib/servicemesh/lib/response/get-proxy-details-response.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetProxyDetailsResponse { - /** - * 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.ProxyDetails instance. - */ - "proxyDetails": model.ProxyDetails; -} diff --git a/lib/servicemesh/lib/response/get-virtual-deployment-response.ts b/lib/servicemesh/lib/response/get-virtual-deployment-response.ts deleted file mode 100644 index 1c2c4a3636..0000000000 --- a/lib/servicemesh/lib/response/get-virtual-deployment-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetVirtualDeploymentResponse { - /** - * 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.VirtualDeployment instance. - */ - "virtualDeployment": model.VirtualDeployment; -} diff --git a/lib/servicemesh/lib/response/get-virtual-service-response.ts b/lib/servicemesh/lib/response/get-virtual-service-response.ts deleted file mode 100644 index 8a79f2ab34..0000000000 --- a/lib/servicemesh/lib/response/get-virtual-service-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetVirtualServiceResponse { - /** - * 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.VirtualService instance. - */ - "virtualService": model.VirtualService; -} diff --git a/lib/servicemesh/lib/response/get-virtual-service-route-table-response.ts b/lib/servicemesh/lib/response/get-virtual-service-route-table-response.ts deleted file mode 100644 index 9125ed1f43..0000000000 --- a/lib/servicemesh/lib/response/get-virtual-service-route-table-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 GetVirtualServiceRouteTableResponse { - /** - * 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.VirtualServiceRouteTable instance. - */ - "virtualServiceRouteTable": model.VirtualServiceRouteTable; -} diff --git a/lib/servicemesh/lib/response/get-work-request-response.ts b/lib/servicemesh/lib/response/get-work-request-response.ts deleted file mode 100644 index e53f362dfc..0000000000 --- a/lib/servicemesh/lib/response/get-work-request-response.ts +++ /dev/null @@ -1,37 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetWorkRequestResponse { - /** - * For optimistic concurrency control. See {@code if-match}. - * - */ - "etag": string; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * An integer representing the number of seconds the client should wait before polling this endpoint again. - */ - "retryAfter": number; - /** - * The returned model.WorkRequest instance. - */ - "workRequest": model.WorkRequest; -} diff --git a/lib/servicemesh/lib/response/index.ts b/lib/servicemesh/lib/response/index.ts deleted file mode 100644 index 9537312047..0000000000 --- a/lib/servicemesh/lib/response/index.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as CancelWorkRequestResponse from "./cancel-work-request-response"; -export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; -import * as ChangeAccessPolicyCompartmentResponse from "./change-access-policy-compartment-response"; -export import ChangeAccessPolicyCompartmentResponse = ChangeAccessPolicyCompartmentResponse.ChangeAccessPolicyCompartmentResponse; -import * as ChangeIngressGatewayCompartmentResponse from "./change-ingress-gateway-compartment-response"; -export import ChangeIngressGatewayCompartmentResponse = ChangeIngressGatewayCompartmentResponse.ChangeIngressGatewayCompartmentResponse; -import * as ChangeIngressGatewayRouteTableCompartmentResponse from "./change-ingress-gateway-route-table-compartment-response"; -export import ChangeIngressGatewayRouteTableCompartmentResponse = ChangeIngressGatewayRouteTableCompartmentResponse.ChangeIngressGatewayRouteTableCompartmentResponse; -import * as ChangeMeshCompartmentResponse from "./change-mesh-compartment-response"; -export import ChangeMeshCompartmentResponse = ChangeMeshCompartmentResponse.ChangeMeshCompartmentResponse; -import * as ChangeVirtualDeploymentCompartmentResponse from "./change-virtual-deployment-compartment-response"; -export import ChangeVirtualDeploymentCompartmentResponse = ChangeVirtualDeploymentCompartmentResponse.ChangeVirtualDeploymentCompartmentResponse; -import * as ChangeVirtualServiceCompartmentResponse from "./change-virtual-service-compartment-response"; -export import ChangeVirtualServiceCompartmentResponse = ChangeVirtualServiceCompartmentResponse.ChangeVirtualServiceCompartmentResponse; -import * as ChangeVirtualServiceRouteTableCompartmentResponse from "./change-virtual-service-route-table-compartment-response"; -export import ChangeVirtualServiceRouteTableCompartmentResponse = ChangeVirtualServiceRouteTableCompartmentResponse.ChangeVirtualServiceRouteTableCompartmentResponse; -import * as CreateAccessPolicyResponse from "./create-access-policy-response"; -export import CreateAccessPolicyResponse = CreateAccessPolicyResponse.CreateAccessPolicyResponse; -import * as CreateIngressGatewayResponse from "./create-ingress-gateway-response"; -export import CreateIngressGatewayResponse = CreateIngressGatewayResponse.CreateIngressGatewayResponse; -import * as CreateIngressGatewayRouteTableResponse from "./create-ingress-gateway-route-table-response"; -export import CreateIngressGatewayRouteTableResponse = CreateIngressGatewayRouteTableResponse.CreateIngressGatewayRouteTableResponse; -import * as CreateMeshResponse from "./create-mesh-response"; -export import CreateMeshResponse = CreateMeshResponse.CreateMeshResponse; -import * as CreateVirtualDeploymentResponse from "./create-virtual-deployment-response"; -export import CreateVirtualDeploymentResponse = CreateVirtualDeploymentResponse.CreateVirtualDeploymentResponse; -import * as CreateVirtualServiceResponse from "./create-virtual-service-response"; -export import CreateVirtualServiceResponse = CreateVirtualServiceResponse.CreateVirtualServiceResponse; -import * as CreateVirtualServiceRouteTableResponse from "./create-virtual-service-route-table-response"; -export import CreateVirtualServiceRouteTableResponse = CreateVirtualServiceRouteTableResponse.CreateVirtualServiceRouteTableResponse; -import * as DeleteAccessPolicyResponse from "./delete-access-policy-response"; -export import DeleteAccessPolicyResponse = DeleteAccessPolicyResponse.DeleteAccessPolicyResponse; -import * as DeleteIngressGatewayResponse from "./delete-ingress-gateway-response"; -export import DeleteIngressGatewayResponse = DeleteIngressGatewayResponse.DeleteIngressGatewayResponse; -import * as DeleteIngressGatewayRouteTableResponse from "./delete-ingress-gateway-route-table-response"; -export import DeleteIngressGatewayRouteTableResponse = DeleteIngressGatewayRouteTableResponse.DeleteIngressGatewayRouteTableResponse; -import * as DeleteMeshResponse from "./delete-mesh-response"; -export import DeleteMeshResponse = DeleteMeshResponse.DeleteMeshResponse; -import * as DeleteVirtualDeploymentResponse from "./delete-virtual-deployment-response"; -export import DeleteVirtualDeploymentResponse = DeleteVirtualDeploymentResponse.DeleteVirtualDeploymentResponse; -import * as DeleteVirtualServiceResponse from "./delete-virtual-service-response"; -export import DeleteVirtualServiceResponse = DeleteVirtualServiceResponse.DeleteVirtualServiceResponse; -import * as DeleteVirtualServiceRouteTableResponse from "./delete-virtual-service-route-table-response"; -export import DeleteVirtualServiceRouteTableResponse = DeleteVirtualServiceRouteTableResponse.DeleteVirtualServiceRouteTableResponse; -import * as GetAccessPolicyResponse from "./get-access-policy-response"; -export import GetAccessPolicyResponse = GetAccessPolicyResponse.GetAccessPolicyResponse; -import * as GetIngressGatewayResponse from "./get-ingress-gateway-response"; -export import GetIngressGatewayResponse = GetIngressGatewayResponse.GetIngressGatewayResponse; -import * as GetIngressGatewayRouteTableResponse from "./get-ingress-gateway-route-table-response"; -export import GetIngressGatewayRouteTableResponse = GetIngressGatewayRouteTableResponse.GetIngressGatewayRouteTableResponse; -import * as GetMeshResponse from "./get-mesh-response"; -export import GetMeshResponse = GetMeshResponse.GetMeshResponse; -import * as GetProxyDetailsResponse from "./get-proxy-details-response"; -export import GetProxyDetailsResponse = GetProxyDetailsResponse.GetProxyDetailsResponse; -import * as GetVirtualDeploymentResponse from "./get-virtual-deployment-response"; -export import GetVirtualDeploymentResponse = GetVirtualDeploymentResponse.GetVirtualDeploymentResponse; -import * as GetVirtualServiceResponse from "./get-virtual-service-response"; -export import GetVirtualServiceResponse = GetVirtualServiceResponse.GetVirtualServiceResponse; -import * as GetVirtualServiceRouteTableResponse from "./get-virtual-service-route-table-response"; -export import GetVirtualServiceRouteTableResponse = GetVirtualServiceRouteTableResponse.GetVirtualServiceRouteTableResponse; -import * as GetWorkRequestResponse from "./get-work-request-response"; -export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; -import * as ListAccessPoliciesResponse from "./list-access-policies-response"; -export import ListAccessPoliciesResponse = ListAccessPoliciesResponse.ListAccessPoliciesResponse; -import * as ListIngressGatewayRouteTablesResponse from "./list-ingress-gateway-route-tables-response"; -export import ListIngressGatewayRouteTablesResponse = ListIngressGatewayRouteTablesResponse.ListIngressGatewayRouteTablesResponse; -import * as ListIngressGatewaysResponse from "./list-ingress-gateways-response"; -export import ListIngressGatewaysResponse = ListIngressGatewaysResponse.ListIngressGatewaysResponse; -import * as ListMeshesResponse from "./list-meshes-response"; -export import ListMeshesResponse = ListMeshesResponse.ListMeshesResponse; -import * as ListVirtualDeploymentsResponse from "./list-virtual-deployments-response"; -export import ListVirtualDeploymentsResponse = ListVirtualDeploymentsResponse.ListVirtualDeploymentsResponse; -import * as ListVirtualServiceRouteTablesResponse from "./list-virtual-service-route-tables-response"; -export import ListVirtualServiceRouteTablesResponse = ListVirtualServiceRouteTablesResponse.ListVirtualServiceRouteTablesResponse; -import * as ListVirtualServicesResponse from "./list-virtual-services-response"; -export import ListVirtualServicesResponse = ListVirtualServicesResponse.ListVirtualServicesResponse; -import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; -export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; -import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; -export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; -import * as ListWorkRequestsResponse from "./list-work-requests-response"; -export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; -import * as UpdateAccessPolicyResponse from "./update-access-policy-response"; -export import UpdateAccessPolicyResponse = UpdateAccessPolicyResponse.UpdateAccessPolicyResponse; -import * as UpdateIngressGatewayResponse from "./update-ingress-gateway-response"; -export import UpdateIngressGatewayResponse = UpdateIngressGatewayResponse.UpdateIngressGatewayResponse; -import * as UpdateIngressGatewayRouteTableResponse from "./update-ingress-gateway-route-table-response"; -export import UpdateIngressGatewayRouteTableResponse = UpdateIngressGatewayRouteTableResponse.UpdateIngressGatewayRouteTableResponse; -import * as UpdateMeshResponse from "./update-mesh-response"; -export import UpdateMeshResponse = UpdateMeshResponse.UpdateMeshResponse; -import * as UpdateVirtualDeploymentResponse from "./update-virtual-deployment-response"; -export import UpdateVirtualDeploymentResponse = UpdateVirtualDeploymentResponse.UpdateVirtualDeploymentResponse; -import * as UpdateVirtualServiceResponse from "./update-virtual-service-response"; -export import UpdateVirtualServiceResponse = UpdateVirtualServiceResponse.UpdateVirtualServiceResponse; -import * as UpdateVirtualServiceRouteTableResponse from "./update-virtual-service-route-table-response"; -export import UpdateVirtualServiceRouteTableResponse = UpdateVirtualServiceRouteTableResponse.UpdateVirtualServiceRouteTableResponse; diff --git a/lib/servicemesh/lib/response/list-access-policies-response.ts b/lib/servicemesh/lib/response/list-access-policies-response.ts deleted file mode 100644 index 1fe76f16ad..0000000000 --- a/lib/servicemesh/lib/response/list-access-policies-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListAccessPoliciesResponse { - /** - * 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.AccessPolicyCollection instance. - */ - "accessPolicyCollection": model.AccessPolicyCollection; -} diff --git a/lib/servicemesh/lib/response/list-ingress-gateway-route-tables-response.ts b/lib/servicemesh/lib/response/list-ingress-gateway-route-tables-response.ts deleted file mode 100644 index 661678b6ac..0000000000 --- a/lib/servicemesh/lib/response/list-ingress-gateway-route-tables-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListIngressGatewayRouteTablesResponse { - /** - * 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.IngressGatewayRouteTableCollection instance. - */ - "ingressGatewayRouteTableCollection": model.IngressGatewayRouteTableCollection; -} diff --git a/lib/servicemesh/lib/response/list-ingress-gateways-response.ts b/lib/servicemesh/lib/response/list-ingress-gateways-response.ts deleted file mode 100644 index d90ddf9cec..0000000000 --- a/lib/servicemesh/lib/response/list-ingress-gateways-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListIngressGatewaysResponse { - /** - * 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.IngressGatewayCollection instance. - */ - "ingressGatewayCollection": model.IngressGatewayCollection; -} diff --git a/lib/servicemesh/lib/response/list-meshes-response.ts b/lib/servicemesh/lib/response/list-meshes-response.ts deleted file mode 100644 index b0272ff993..0000000000 --- a/lib/servicemesh/lib/response/list-meshes-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListMeshesResponse { - /** - * 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.MeshCollection instance. - */ - "meshCollection": model.MeshCollection; -} diff --git a/lib/servicemesh/lib/response/list-virtual-deployments-response.ts b/lib/servicemesh/lib/response/list-virtual-deployments-response.ts deleted file mode 100644 index be67c79d81..0000000000 --- a/lib/servicemesh/lib/response/list-virtual-deployments-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListVirtualDeploymentsResponse { - /** - * 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.VirtualDeploymentCollection instance. - */ - "virtualDeploymentCollection": model.VirtualDeploymentCollection; -} diff --git a/lib/servicemesh/lib/response/list-virtual-service-route-tables-response.ts b/lib/servicemesh/lib/response/list-virtual-service-route-tables-response.ts deleted file mode 100644 index 3a3c86e0a3..0000000000 --- a/lib/servicemesh/lib/response/list-virtual-service-route-tables-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListVirtualServiceRouteTablesResponse { - /** - * 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.VirtualServiceRouteTableCollection instance. - */ - "virtualServiceRouteTableCollection": model.VirtualServiceRouteTableCollection; -} diff --git a/lib/servicemesh/lib/response/list-virtual-services-response.ts b/lib/servicemesh/lib/response/list-virtual-services-response.ts deleted file mode 100644 index 1d57e1d34a..0000000000 --- a/lib/servicemesh/lib/response/list-virtual-services-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 ListVirtualServicesResponse { - /** - * 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.VirtualServiceCollection instance. - */ - "virtualServiceCollection": model.VirtualServiceCollection; -} diff --git a/lib/servicemesh/lib/response/list-work-request-errors-response.ts b/lib/servicemesh/lib/response/list-work-request-errors-response.ts deleted file mode 100644 index 702961a0ab..0000000000 --- a/lib/servicemesh/lib/response/list-work-request-errors-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestErrorsResponse { - /** - * For 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * The returned model.WorkRequestErrorCollection instance. - */ - "workRequestErrorCollection": model.WorkRequestErrorCollection; -} diff --git a/lib/servicemesh/lib/response/list-work-request-logs-response.ts b/lib/servicemesh/lib/response/list-work-request-logs-response.ts deleted file mode 100644 index 9391df57e8..0000000000 --- a/lib/servicemesh/lib/response/list-work-request-logs-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestLogsResponse { - /** - * For 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; - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * The returned model.WorkRequestLogEntryCollection instance. - */ - "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; -} diff --git a/lib/servicemesh/lib/response/list-work-requests-response.ts b/lib/servicemesh/lib/response/list-work-requests-response.ts deleted file mode 100644 index 30dce88a51..0000000000 --- a/lib/servicemesh/lib/response/list-work-requests-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListWorkRequestsResponse { - /** - * Unique Oracle-assigned identifier for the request. If you need to contact - * Oracle about a particular request, please provide the request ID. - * - */ - "opcRequestId": string; - /** - * For 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.WorkRequestCollection instance. - */ - "workRequestCollection": model.WorkRequestCollection; -} diff --git a/lib/servicemesh/lib/response/update-access-policy-response.ts b/lib/servicemesh/lib/response/update-access-policy-response.ts deleted file mode 100644 index 9513cc5417..0000000000 --- a/lib/servicemesh/lib/response/update-access-policy-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateAccessPolicyResponse { - /** - * 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/servicemesh/lib/response/update-ingress-gateway-response.ts b/lib/servicemesh/lib/response/update-ingress-gateway-response.ts deleted file mode 100644 index b5c7b6862d..0000000000 --- a/lib/servicemesh/lib/response/update-ingress-gateway-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateIngressGatewayResponse { - /** - * 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/servicemesh/lib/response/update-ingress-gateway-route-table-response.ts b/lib/servicemesh/lib/response/update-ingress-gateway-route-table-response.ts deleted file mode 100644 index bd6ce274d5..0000000000 --- a/lib/servicemesh/lib/response/update-ingress-gateway-route-table-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateIngressGatewayRouteTableResponse { - /** - * 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/servicemesh/lib/response/update-mesh-response.ts b/lib/servicemesh/lib/response/update-mesh-response.ts deleted file mode 100644 index eb441aa67f..0000000000 --- a/lib/servicemesh/lib/response/update-mesh-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateMeshResponse { - /** - * 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/servicemesh/lib/response/update-virtual-deployment-response.ts b/lib/servicemesh/lib/response/update-virtual-deployment-response.ts deleted file mode 100644 index 16cf08f8fb..0000000000 --- a/lib/servicemesh/lib/response/update-virtual-deployment-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateVirtualDeploymentResponse { - /** - * 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/servicemesh/lib/response/update-virtual-service-response.ts b/lib/servicemesh/lib/response/update-virtual-service-response.ts deleted file mode 100644 index 3e1edc786f..0000000000 --- a/lib/servicemesh/lib/response/update-virtual-service-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateVirtualServiceResponse { - /** - * 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/servicemesh/lib/response/update-virtual-service-route-table-response.ts b/lib/servicemesh/lib/response/update-virtual-service-route-table-response.ts deleted file mode 100644 index 4d7d174a78..0000000000 --- a/lib/servicemesh/lib/response/update-virtual-service-route-table-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 UpdateVirtualServiceRouteTableResponse { - /** - * 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/servicemesh/lib/servicemesh-waiter.ts b/lib/servicemesh/lib/servicemesh-waiter.ts deleted file mode 100644 index e9e5868051..0000000000 --- a/lib/servicemesh/lib/servicemesh-waiter.ts +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Service Mesh API - * Use the Service Mesh API to manage mesh, virtual service, access policy and other mesh related items. - * OpenAPI spec version: 20220615 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/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 { ServiceMeshClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class ServiceMeshWaiter { - public constructor( - private client: ServiceMeshClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forAccessPolicy 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 GetAccessPolicyResponse | null (null in case of 404 response) - */ - public async forAccessPolicy( - request: serviceRequests.GetAccessPolicyRequest, - ...targetStates: models.AccessPolicy.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getAccessPolicy(request), - response => targetStates.includes(response.accessPolicy.lifecycleState!), - targetStates.includes(models.AccessPolicy.LifecycleState.Deleted) - ); - } - - /** - * Waits forIngressGateway 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 GetIngressGatewayResponse | null (null in case of 404 response) - */ - public async forIngressGateway( - request: serviceRequests.GetIngressGatewayRequest, - ...targetStates: models.IngressGateway.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getIngressGateway(request), - response => targetStates.includes(response.ingressGateway.lifecycleState!), - targetStates.includes(models.IngressGateway.LifecycleState.Deleted) - ); - } - - /** - * Waits forIngressGatewayRouteTable 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 GetIngressGatewayRouteTableResponse | null (null in case of 404 response) - */ - public async forIngressGatewayRouteTable( - request: serviceRequests.GetIngressGatewayRouteTableRequest, - ...targetStates: models.IngressGatewayRouteTable.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getIngressGatewayRouteTable(request), - response => targetStates.includes(response.ingressGatewayRouteTable.lifecycleState!), - targetStates.includes(models.IngressGatewayRouteTable.LifecycleState.Deleted) - ); - } - - /** - * Waits forMesh 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 GetMeshResponse | null (null in case of 404 response) - */ - public async forMesh( - request: serviceRequests.GetMeshRequest, - ...targetStates: models.Mesh.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getMesh(request), - response => targetStates.includes(response.mesh.lifecycleState!), - targetStates.includes(models.Mesh.LifecycleState.Deleted) - ); - } - - /** - * Waits forVirtualDeployment 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 GetVirtualDeploymentResponse | null (null in case of 404 response) - */ - public async forVirtualDeployment( - request: serviceRequests.GetVirtualDeploymentRequest, - ...targetStates: models.VirtualDeployment.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getVirtualDeployment(request), - response => targetStates.includes(response.virtualDeployment.lifecycleState!), - targetStates.includes(models.VirtualDeployment.LifecycleState.Deleted) - ); - } - - /** - * Waits forVirtualService 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 GetVirtualServiceResponse | null (null in case of 404 response) - */ - public async forVirtualService( - request: serviceRequests.GetVirtualServiceRequest, - ...targetStates: models.VirtualService.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getVirtualService(request), - response => targetStates.includes(response.virtualService.lifecycleState!), - targetStates.includes(models.VirtualService.LifecycleState.Deleted) - ); - } - - /** - * Waits forVirtualServiceRouteTable 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 GetVirtualServiceRouteTableResponse | null (null in case of 404 response) - */ - public async forVirtualServiceRouteTable( - request: serviceRequests.GetVirtualServiceRouteTableRequest, - ...targetStates: models.VirtualServiceRouteTable.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getVirtualServiceRouteTable(request), - response => targetStates.includes(response.virtualServiceRouteTable.lifecycleState!), - targetStates.includes(models.VirtualServiceRouteTable.LifecycleState.Deleted) - ); - } - - /** - * Waits forWorkRequest - * - * @param request the request to send - * @return response returns GetWorkRequestResponse - */ - public async forWorkRequest( - request: serviceRequests.GetWorkRequestRequest - ): Promise { - return genericWaiter( - this.config, - () => this.client.getWorkRequest(request), - response => (response.workRequest.timeFinished ? true : false) - ); - } -} diff --git a/lib/servicemesh/package.json b/lib/servicemesh/package.json deleted file mode 100644 index f3a85a9a88..0000000000 --- a/lib/servicemesh/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "oci-servicemesh", - "version": "2.114.1", - "description": "OCI NodeJS client for Service Mesh Service", - "repository": { - "type": "git", - "url": "https://github.com/oracle/oci-typescript-sdk" - }, - "main": "../../target/lib/servicemesh/index.js", - "typings": "../../target/lib/servicemesh/index.d.ts", - "scripts": {}, - "author": { - "name": "Oracle Cloud Infrastructure", - "email": "" - }, - "license": "(UPL-1.0 OR Apache-2.0)", - "dependencies": { - "oci-common": "../common" - }, - "publishConfig": { - "registry": "https://registry.npmjs.org" - }, - "contributors": [ - "Jyoti Saini ", - "Joe Levy ", - "Walt Tran " - ] -} diff --git a/lib/servicemesh/tsconfig.json b/lib/servicemesh/tsconfig.json deleted file mode 100644 index bf9170b6ce..0000000000 --- a/lib/servicemesh/tsconfig.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "compilerOptions": { - "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ - "declaration": true, /* Generates corresponding '.d.ts' file. */ - "sourceMap": true, /* Generates corresponding '.map' file. */ - "outDir": "target", /* Redirect output structure to the directory. */ - "strict": true, /* Enable all strict type-checking options. */ - "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - } -} \ No newline at end of file From cbc765485a1ef08ef840e5540574125057603e85 Mon Sep 17 00:00:00 2001 From: Yash Chandra Date: Tue, 19 Aug 2025 16:07:43 -0700 Subject: [PATCH 2/2] Removed files to fix compilation issue --- .../generic-artifact-location-details.ts | 57 ------ lib/devops/lib/model/generic-artifacts.ts | 58 ------ ...orage-generic-artifact-location-details.ts | 74 ------- lib/devops/lib/model/stage-output.ts | 66 ------- lib/devops/lib/model/test-report-output.ts | 49 ----- .../lib/attachment-waiter.ts | 44 ----- .../lib/model/attachment-collection.ts | 56 ------ .../lib/model/attachment-summary.ts | 70 ------- .../lib/model/attachment.ts | 109 ----------- .../lib/model/buyer-information.ts | 71 ------- .../lib/model/create-attachment-details.ts | 46 ----- .../lib/model/create-offer-details.ts | 131 ------------- .../lib/model/offer-collection.ts | 56 ------ .../lib/model/offer-internal-detail.ts | 60 ------ .../lib/model/offer-summary.ts | 123 ------------ lib/marketplacepublisher/lib/model/offer.ts | 183 ------------------ .../lib/model/resource-bundle.ts | 72 ------- .../lib/model/seller-information.ts | 63 ------ .../lib/model/update-offer-details.ts | 127 ------------ lib/marketplacepublisher/lib/offer-waiter.ts | 41 ---- .../lib/request/create-attachment-request.ts | 42 ---- .../lib/request/create-offer-request.ts | 38 ---- .../lib/request/delete-attachment-request.ts | 42 ---- .../request/get-attachment-content-request.ts | 33 ---- .../lib/request/update-offer-request.ts | 42 ---- .../response/create-attachment-response.ts | 33 ---- .../lib/response/create-offer-response.ts | 33 ---- .../lib/response/delete-offer-response.ts | 29 --- .../lib/response/get-attachment-response.ts | 33 ---- .../get-offer-internal-detail-response.ts | 33 ---- .../lib/response/get-offer-response.ts | 33 ---- .../lib/response/list-attachments-response.ts | 35 ---- .../lib/response/list-offers-response.ts | 35 ---- .../lib/response/update-offer-response.ts | 33 ---- 34 files changed, 2050 deletions(-) delete mode 100644 lib/devops/lib/model/generic-artifact-location-details.ts delete mode 100644 lib/devops/lib/model/generic-artifacts.ts delete mode 100644 lib/devops/lib/model/object-storage-generic-artifact-location-details.ts delete mode 100644 lib/devops/lib/model/stage-output.ts delete mode 100644 lib/devops/lib/model/test-report-output.ts delete mode 100644 lib/marketplacepublisher/lib/attachment-waiter.ts delete mode 100644 lib/marketplacepublisher/lib/model/attachment-collection.ts delete mode 100644 lib/marketplacepublisher/lib/model/attachment-summary.ts delete mode 100644 lib/marketplacepublisher/lib/model/attachment.ts delete mode 100644 lib/marketplacepublisher/lib/model/buyer-information.ts delete mode 100644 lib/marketplacepublisher/lib/model/create-attachment-details.ts delete mode 100644 lib/marketplacepublisher/lib/model/create-offer-details.ts delete mode 100644 lib/marketplacepublisher/lib/model/offer-collection.ts delete mode 100644 lib/marketplacepublisher/lib/model/offer-internal-detail.ts delete mode 100644 lib/marketplacepublisher/lib/model/offer-summary.ts delete mode 100644 lib/marketplacepublisher/lib/model/offer.ts delete mode 100644 lib/marketplacepublisher/lib/model/resource-bundle.ts delete mode 100644 lib/marketplacepublisher/lib/model/seller-information.ts delete mode 100644 lib/marketplacepublisher/lib/model/update-offer-details.ts delete mode 100644 lib/marketplacepublisher/lib/offer-waiter.ts delete mode 100644 lib/marketplacepublisher/lib/request/create-attachment-request.ts delete mode 100644 lib/marketplacepublisher/lib/request/create-offer-request.ts delete mode 100644 lib/marketplacepublisher/lib/request/delete-attachment-request.ts delete mode 100644 lib/marketplacepublisher/lib/request/get-attachment-content-request.ts delete mode 100644 lib/marketplacepublisher/lib/request/update-offer-request.ts delete mode 100644 lib/marketplacepublisher/lib/response/create-attachment-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/create-offer-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/delete-offer-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/get-attachment-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/get-offer-internal-detail-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/get-offer-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/list-attachments-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/list-offers-response.ts delete mode 100644 lib/marketplacepublisher/lib/response/update-offer-response.ts diff --git a/lib/devops/lib/model/generic-artifact-location-details.ts b/lib/devops/lib/model/generic-artifact-location-details.ts deleted file mode 100644 index 4509531ddd..0000000000 --- a/lib/devops/lib/model/generic-artifact-location-details.ts +++ /dev/null @@ -1,57 +0,0 @@ -/** - * DevOps API - * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). - * OpenAPI spec version: 20210630 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Location where artifact is uploaded for user access. - */ -export interface GenericArtifactLocationDetails { - "storageType": string; -} - -export namespace GenericArtifactLocationDetails { - export function getJsonObj(obj: GenericArtifactLocationDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "storageType" in obj && obj.storageType) { - switch (obj.storageType) { - case "OBJECT_STORAGE": - return model.ObjectStorageGenericArtifactLocationDetails.getJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.storageType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: GenericArtifactLocationDetails): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "storageType" in obj && obj.storageType) { - switch (obj.storageType) { - case "OBJECT_STORAGE": - return model.ObjectStorageGenericArtifactLocationDetails.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.storageType}`); - } - } - return jsonObj; - } -} diff --git a/lib/devops/lib/model/generic-artifacts.ts b/lib/devops/lib/model/generic-artifacts.ts deleted file mode 100644 index f57cb5b4e2..0000000000 --- a/lib/devops/lib/model/generic-artifacts.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * DevOps API - * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). - * OpenAPI spec version: 20210630 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 artifact generated via pipeline run - */ -export interface GenericArtifacts extends model.StageOutput { - /** - * Name of artifact. - */ - "name": string; - "locationDetails": model.ObjectStorageGenericArtifactLocationDetails; - - "outputType": string; -} - -export namespace GenericArtifacts { - export function getJsonObj(obj: GenericArtifacts, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.StageOutput.getJsonObj(obj) as GenericArtifacts)), - ...{ - "locationDetails": obj.locationDetails - ? model.GenericArtifactLocationDetails.getJsonObj(obj.locationDetails) - : undefined - } - }; - - return jsonObj; - } - export const outputType = "ARTIFACT"; - export function getDeserializedJsonObj(obj: GenericArtifacts, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.StageOutput.getDeserializedJsonObj(obj) as GenericArtifacts)), - ...{ - "locationDetails": obj.locationDetails - ? model.GenericArtifactLocationDetails.getDeserializedJsonObj(obj.locationDetails) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/devops/lib/model/object-storage-generic-artifact-location-details.ts b/lib/devops/lib/model/object-storage-generic-artifact-location-details.ts deleted file mode 100644 index 9813192eac..0000000000 --- a/lib/devops/lib/model/object-storage-generic-artifact-location-details.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * DevOps API - * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). - * OpenAPI spec version: 20210630 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * ObjectStorage bucket details where artifact is located. - */ -export interface ObjectStorageGenericArtifactLocationDetails - extends model.GenericArtifactLocationDetails { - /** - * Unique namespace in the tenancy which contains the bucket - */ - "namespace": string; - /** - * Specifies the Object Storage bucket. - */ - "bucketName": string; - /** - * Specifies the name of object inside the bucket. - */ - "objectName": string; - /** - * Region identifier. - */ - "region": string; - - "storageType": string; -} - -export namespace ObjectStorageGenericArtifactLocationDetails { - export function getJsonObj( - obj: ObjectStorageGenericArtifactLocationDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.GenericArtifactLocationDetails.getJsonObj( - obj - ) as ObjectStorageGenericArtifactLocationDetails)), - ...{} - }; - - return jsonObj; - } - export const storageType = "OBJECT_STORAGE"; - export function getDeserializedJsonObj( - obj: ObjectStorageGenericArtifactLocationDetails, - isParentJsonObj?: boolean - ): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.GenericArtifactLocationDetails.getDeserializedJsonObj( - obj - ) as ObjectStorageGenericArtifactLocationDetails)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/devops/lib/model/stage-output.ts b/lib/devops/lib/model/stage-output.ts deleted file mode 100644 index beaeb3ae52..0000000000 --- a/lib/devops/lib/model/stage-output.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * DevOps API - * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). - * OpenAPI spec version: 20210630 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 generated artifact or report. - */ -export interface StageOutput { - /** - * Name of stage step at which this output is generated. - */ - "stepName": string; - - "outputType": string; -} - -export namespace StageOutput { - export function getJsonObj(obj: StageOutput): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "TEST_REPORT": - return model.TestReportOutput.getJsonObj((jsonObj), true); - case "ARTIFACT": - return model.GenericArtifacts.getJsonObj((jsonObj), true); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } - export function getDeserializedJsonObj(obj: StageOutput): object { - const jsonObj = { ...obj, ...{} }; - - if (obj && "outputType" in obj && obj.outputType) { - switch (obj.outputType) { - case "TEST_REPORT": - return model.TestReportOutput.getDeserializedJsonObj( - (jsonObj), - true - ); - case "ARTIFACT": - return model.GenericArtifacts.getDeserializedJsonObj( - (jsonObj), - true - ); - default: - if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.outputType}`); - } - } - return jsonObj; - } -} diff --git a/lib/devops/lib/model/test-report-output.ts b/lib/devops/lib/model/test-report-output.ts deleted file mode 100644 index b9bedf3f3c..0000000000 --- a/lib/devops/lib/model/test-report-output.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** - * DevOps API - * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](https://docs.oracle.com/iaas/Content/devops/using/home.htm). - * OpenAPI spec version: 20210630 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown 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 test report generated via pipeline run - */ -export interface TestReportOutput extends model.StageOutput { - /** - * The OCID of the test report. - */ - "id": string; - - "outputType": string; -} - -export namespace TestReportOutput { - export function getJsonObj(obj: TestReportOutput, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj ? obj : (model.StageOutput.getJsonObj(obj) as TestReportOutput)), - ...{} - }; - - return jsonObj; - } - export const outputType = "TEST_REPORT"; - export function getDeserializedJsonObj(obj: TestReportOutput, isParentJsonObj?: boolean): object { - const jsonObj = { - ...(isParentJsonObj - ? obj - : (model.StageOutput.getDeserializedJsonObj(obj) as TestReportOutput)), - ...{} - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/attachment-waiter.ts b/lib/marketplacepublisher/lib/attachment-waiter.ts deleted file mode 100644 index e1b4d893f5..0000000000 --- a/lib/marketplacepublisher/lib/attachment-waiter.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as serviceRequests from "./request"; -import * as serviceResponses from "./response"; -import * as models from "./model"; -import { AttachmentClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class AttachmentWaiter { - public constructor( - private client: AttachmentClient, - private readonly config?: WaiterConfiguration - ) {} - - /** - * Waits forAttachment 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 GetAttachmentResponse | null (null in case of 404 response) - */ - public async forAttachment( - request: serviceRequests.GetAttachmentRequest, - ...targetStates: models.Attachment.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getAttachment(request), - response => targetStates.includes(response.attachment.lifecycleState!), - targetStates.includes(models.Attachment.LifecycleState.Deleted) - ); - } -} diff --git a/lib/marketplacepublisher/lib/model/attachment-collection.ts b/lib/marketplacepublisher/lib/model/attachment-collection.ts deleted file mode 100644 index 0c68b9af32..0000000000 --- a/lib/marketplacepublisher/lib/model/attachment-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Results of a offers search. Contains boh AttachmentSummary items. - */ -export interface AttachmentCollection { - /** - * List of attachment. - */ - "items": Array; -} - -export namespace AttachmentCollection { - export function getJsonObj(obj: AttachmentCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AttachmentSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AttachmentCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.AttachmentSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/attachment-summary.ts b/lib/marketplacepublisher/lib/model/attachment-summary.ts deleted file mode 100644 index f6a84b1a75..0000000000 --- a/lib/marketplacepublisher/lib/model/attachment-summary.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of Attachment. - */ -export interface AttachmentSummary { - /** - * Unique identifier that is immutable on creation - */ - "id": string; - /** - * Unique identifier of the associated offer that is immutable on creation - */ - "offerId": string; - /** - * The MIME type of the uploaded data. - */ - "mimeType"?: string; - /** - * The name used to refer to the uploaded data. - */ - "displayName": string; - /** - * The type of offer attachment. - */ - "type": string; - /** - * The current state of the Attachment. - */ - "lifecycleState": string; - /** - * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. - * Example: {@code {\"bar-key\": \"value\"}} - * - */ - "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 AttachmentSummary { - export function getJsonObj(obj: AttachmentSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: AttachmentSummary): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/attachment.ts b/lib/marketplacepublisher/lib/model/attachment.ts deleted file mode 100644 index 991419ba17..0000000000 --- a/lib/marketplacepublisher/lib/model/attachment.ts +++ /dev/null @@ -1,109 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of Attachment. - */ -export interface Attachment { - /** - * Unique identifier that is immutable on creation - */ - "id": string; - /** - * OCID of the seller's tenancy (root compartment). - */ - "sellerCompartmentId": string; - /** - * Unique identifier of the associated offer that is immutable on creation - */ - "offerId": string; - /** - * OCID of the buyer's tenancy (root compartment). - */ - "buyerCompartmentId"?: string; - /** - * The MIME type of the uploaded data. - */ - "mimeType"?: string; - /** - * The name used to refer to the uploaded data. - */ - "displayName": string; - /** - * The type of offer attachment. - */ - "type": Attachment.Type; - /** - * The time the the Offer was created. An RFC3339 formatted datetime string - */ - "timeCreated": Date; - /** - * The current state of the Offer. - */ - "lifecycleState": Attachment.LifecycleState; - /** - * 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 Attachment { - export enum Type { - ContractTAndC = "CONTRACT_T_AND_C", - Quote = "QUOTE", - Eula = "EULA", - TermsOfUse = "TERMS_OF_USE", - Misc = "MISC", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * 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: Attachment): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Attachment): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/buyer-information.ts b/lib/marketplacepublisher/lib/model/buyer-information.ts deleted file mode 100644 index 72551a13b3..0000000000 --- a/lib/marketplacepublisher/lib/model/buyer-information.ts +++ /dev/null @@ -1,71 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information related to the buyer of an Offer - */ -export interface BuyerInformation { - /** - * the name of the company for the buyer - */ - "companyName"?: string; - /** - * a note the seller can specify for the buyer through a notification email - */ - "noteToBuyer"?: string; - "primaryContact"?: model.Contact; - /** - * the additional contacts associated with the buyer - */ - "additionalContacts"?: Array; -} - -export namespace BuyerInformation { - export function getJsonObj(obj: BuyerInformation): object { - const jsonObj = { - ...obj, - ...{ - "primaryContact": obj.primaryContact - ? model.Contact.getJsonObj(obj.primaryContact) - : undefined, - "additionalContacts": obj.additionalContacts - ? obj.additionalContacts.map(item => { - return model.Contact.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: BuyerInformation): object { - const jsonObj = { - ...obj, - ...{ - "primaryContact": obj.primaryContact - ? model.Contact.getDeserializedJsonObj(obj.primaryContact) - : undefined, - "additionalContacts": obj.additionalContacts - ? obj.additionalContacts.map(item => { - return model.Contact.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/create-attachment-details.ts b/lib/marketplacepublisher/lib/model/create-attachment-details.ts deleted file mode 100644 index a9ffb18c85..0000000000 --- a/lib/marketplacepublisher/lib/model/create-attachment-details.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * An attachment uploaded by the Publisher to be attached to an Offer. - */ -export interface CreateAttachmentDetails { - /** - * Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB - */ - "fileBase64Encoded": string; - /** - * The name used to refer to the uploaded data. - */ - "displayName": string; - /** - * The type of offer attachment. - */ - "type": string; -} - -export namespace CreateAttachmentDetails { - export function getJsonObj(obj: CreateAttachmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateAttachmentDetails): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/create-offer-details.ts b/lib/marketplacepublisher/lib/model/create-offer-details.ts deleted file mode 100644 index 4857dc7491..0000000000 --- a/lib/marketplacepublisher/lib/model/create-offer-details.ts +++ /dev/null @@ -1,131 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information about new Offers. - */ -export interface CreateOfferDetails { - /** - * Offers Identifier - */ - "displayName": string; - /** - * Compartment Identifier of the seller - */ - "sellerCompartmentId": string; - /** - * Compartment Identifier of the buyer - */ - "buyerCompartmentId"?: string; - /** - * Description of the Offer - */ - "description"?: string; - /** - * Internal notes of the Offer - */ - "internalNotes"?: string; - /** - * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string - */ - "timeStartDate"?: Date; - /** - * Duration the Offer will be active after its start date. An ISO8601 extended formatted string. - */ - "duration"?: string; - /** - * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string - */ - "timeAcceptBy"?: Date; - "pricing"?: model.Pricing; - "buyerInformation"?: model.BuyerInformation; - "sellerInformation"?: model.SellerInformation; - /** - * A list of Resource Bundles associated with an Offer. - */ - "resourceBundles"?: Array; - /** - * A list of key value pairs specified by the seller - */ - "customFields"?: 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 CreateOfferDetails { - export function getJsonObj(obj: CreateOfferDetails): object { - const jsonObj = { - ...obj, - ...{ - "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getJsonObj(item); - }) - : undefined, - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: CreateOfferDetails): object { - const jsonObj = { - ...obj, - ...{ - "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getDeserializedJsonObj(item); - }) - : undefined, - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/offer-collection.ts b/lib/marketplacepublisher/lib/model/offer-collection.ts deleted file mode 100644 index e9e64b782b..0000000000 --- a/lib/marketplacepublisher/lib/model/offer-collection.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Results of a offers search. Contains boh OfferSummary items and other information, such as metadata. - */ -export interface OfferCollection { - /** - * List of offers. - */ - "items": Array; -} - -export namespace OfferCollection { - export function getJsonObj(obj: OfferCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.OfferSummary.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: OfferCollection): object { - const jsonObj = { - ...obj, - ...{ - "items": obj.items - ? obj.items.map(item => { - return model.OfferSummary.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/offer-internal-detail.ts b/lib/marketplacepublisher/lib/model/offer-internal-detail.ts deleted file mode 100644 index fd0911b42d..0000000000 --- a/lib/marketplacepublisher/lib/model/offer-internal-detail.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * the internal details of an offer that are only visible to the seller - */ -export interface OfferInternalDetail { - /** - * A list of key value pairs specified by the seller - */ - "customFields": Array; - /** - * Internal notes only intended for the Publisher of the Offer - */ - "internalNotes": string; -} - -export namespace OfferInternalDetail { - export function getJsonObj(obj: OfferInternalDetail): object { - const jsonObj = { - ...obj, - ...{ - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: OfferInternalDetail): object { - const jsonObj = { - ...obj, - ...{ - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/offer-summary.ts b/lib/marketplacepublisher/lib/model/offer-summary.ts deleted file mode 100644 index aa3acf95ed..0000000000 --- a/lib/marketplacepublisher/lib/model/offer-summary.ts +++ /dev/null @@ -1,123 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Summary of the Offers. - */ -export interface OfferSummary { - /** - * Unique identifier that is immutable on creation - */ - "id": string; - /** - * Offer Identifier, can be renamed - */ - "displayName": string; - /** - * Ocid of the buyer tenancy. - */ - "buyerCompartmentId": string; - /** - * Ocid of the seller tenancy. - */ - "sellerCompartmentId": string; - /** - * The time the the Offer was created. An RFC3339 formatted datetime string - */ - "timeCreated": Date; - /** - * The time the Offer was updated. An RFC3339 formatted datetime string - */ - "timeUpdated"?: Date; - /** - * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string - */ - "timeAcceptBy"?: Date; - /** - * The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string - */ - "timeAccepted"?: Date; - /** - * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string - */ - "timeStartDate"?: Date; - /** - * The time the accepted Offer will end. An RFC3339 formatted datetime string - */ - "timeOfferEnd"?: Date; - /** - * The current state of the Offer. - */ - "lifecycleState": string; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. - */ - "lifecycleDetails"?: string; - /** - * The human readable representation of where the offer is at in it's contract lifecycle. - */ - "offerStatus"?: string; - "buyerInformation"?: model.BuyerInformation; - "sellerInformation"?: model.SellerInformation; - "pricing"?: model.Pricing; - /** - * 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 OfferSummary { - export function getJsonObj(obj: OfferSummary): object { - const jsonObj = { - ...obj, - ...{ - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getJsonObj(obj.sellerInformation) - : undefined, - "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: OfferSummary): object { - const jsonObj = { - ...obj, - ...{ - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation) - : undefined, - "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/offer.ts b/lib/marketplacepublisher/lib/model/offer.ts deleted file mode 100644 index 9e35bf685d..0000000000 --- a/lib/marketplacepublisher/lib/model/offer.ts +++ /dev/null @@ -1,183 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Description of Offer. - */ -export interface Offer { - /** - * Unique identifier that is immutable on creation - */ - "id": string; - /** - * Offer Identifier, can be renamed - */ - "displayName": string; - /** - * OCID of the seller's tenancy (root compartment). - */ - "sellerCompartmentId": string; - /** - * OCID of the buyer's tenancy (root compartment). - */ - "buyerCompartmentId"?: string; - /** - * The description of the offer - */ - "description"?: string; - /** - * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string - */ - "timeStartDate"?: Date; - /** - * Duration the Offer will be active after its start date. An ISO8601 extended formatted string. - */ - "duration"?: string; - /** - * The time the the Offer was created. An RFC3339 formatted datetime string - */ - "timeCreated": Date; - /** - * The time the Offer was updated. An RFC3339 formatted datetime string - */ - "timeUpdated"?: Date; - /** - * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string - */ - "timeAcceptBy"?: Date; - /** - * The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string - */ - "timeAccepted"?: Date; - /** - * The time the accepted Offer will end. An RFC3339 formatted datetime string - */ - "timeOfferEnd"?: Date; - /** - * The current state of the Offer. - */ - "lifecycleState": Offer.LifecycleState; - /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. - */ - "lifecycleDetails"?: string; - /** - * A substate for lifeCycleStatus to give a more human readable version of the offer - */ - "offerStatus"?: Offer.OfferStatus; - "publisherSummary"?: model.PublisherSummary; - "pricing"?: model.Pricing; - "buyerInformation"?: model.BuyerInformation; - "sellerInformation"?: model.SellerInformation; - /** - * A list of Resource Bundles associated with an Offer. - */ - "resourceBundles"?: 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 Offer { - export enum LifecycleState { - Creating = "CREATING", - Updating = "UPDATING", - Active = "ACTIVE", - Deleting = "DELETING", - Deleted = "DELETED", - Failed = "FAILED", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export enum OfferStatus { - Draft = "DRAFT", - PendingMarketplace = "PENDING_MARKETPLACE", - PendingBuyer = "PENDING_BUYER", - Expired = "EXPIRED", - Accepted = "ACCEPTED", - Active = "ACTIVE", - Ended = "ENDED", - FailedSend = "FAILED_SEND", - FailedAccept = "FAILED_ACCEPT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export function getJsonObj(obj: Offer): object { - const jsonObj = { - ...obj, - ...{ - "publisherSummary": obj.publisherSummary - ? model.PublisherSummary.getJsonObj(obj.publisherSummary) - : undefined, - "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: Offer): object { - const jsonObj = { - ...obj, - ...{ - "publisherSummary": obj.publisherSummary - ? model.PublisherSummary.getDeserializedJsonObj(obj.publisherSummary) - : undefined, - "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/resource-bundle.ts b/lib/marketplacepublisher/lib/model/resource-bundle.ts deleted file mode 100644 index db86bf180d..0000000000 --- a/lib/marketplacepublisher/lib/model/resource-bundle.ts +++ /dev/null @@ -1,72 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * Resource Bundle associated with an Offer - */ -export interface ResourceBundle { - /** - * The type of resources in the bundle - */ - "type"?: ResourceBundle.Type; - /** - * The quantity of a resources associated with the bundle Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "quantity"?: number; - /** - * The unit of measurement for the resource bundle - */ - "unitOfMeasurement"?: ResourceBundle.UnitOfMeasurement; - /** - * the ids of the resources in the Offer - */ - "resourceIds"?: Array; -} - -export namespace ResourceBundle { - export enum Type { - Listing = "LISTING", - /** - * 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 UnitOfMeasurement { - OcpuPerHour = "OCPU_PER_HOUR", - InstancePerHour = "INSTANCE_PER_HOUR", - Credits = "CREDITS", - Instances = "INSTANCES", - Nodes = "NODES", - /** - * 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: ResourceBundle): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: ResourceBundle): object { - const jsonObj = { ...obj, ...{} }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/seller-information.ts b/lib/marketplacepublisher/lib/model/seller-information.ts deleted file mode 100644 index b5178b9901..0000000000 --- a/lib/marketplacepublisher/lib/model/seller-information.ts +++ /dev/null @@ -1,63 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information related to the seller of an Offer - */ -export interface SellerInformation { - "primaryContact"?: model.Contact; - /** - * the additional contacts associated with the seller - */ - "additionalContacts"?: Array; -} - -export namespace SellerInformation { - export function getJsonObj(obj: SellerInformation): object { - const jsonObj = { - ...obj, - ...{ - "primaryContact": obj.primaryContact - ? model.Contact.getJsonObj(obj.primaryContact) - : undefined, - "additionalContacts": obj.additionalContacts - ? obj.additionalContacts.map(item => { - return model.Contact.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: SellerInformation): object { - const jsonObj = { - ...obj, - ...{ - "primaryContact": obj.primaryContact - ? model.Contact.getDeserializedJsonObj(obj.primaryContact) - : undefined, - "additionalContacts": obj.additionalContacts - ? obj.additionalContacts.map(item => { - return model.Contact.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/model/update-offer-details.ts b/lib/marketplacepublisher/lib/model/update-offer-details.ts deleted file mode 100644 index 3ac6d60921..0000000000 --- a/lib/marketplacepublisher/lib/model/update-offer-details.ts +++ /dev/null @@ -1,127 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * The information to be updated. - */ -export interface UpdateOfferDetails { - /** - * Offers Identifier - */ - "displayName"?: string; - /** - * OCID of the buyer's tenancy (root compartment). - */ - "buyerCompartmentId"?: string; - /** - * Description of the Offer - */ - "description"?: string; - /** - * Internal notes of the Offer - */ - "internalNotes"?: string; - /** - * The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string - */ - "timeStartDate"?: Date; - /** - * Duration the Offer will be active after its start date. An ISO8601 extended formatted string. - */ - "duration"?: string; - /** - * The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string - */ - "timeAcceptBy"?: Date; - "pricing"?: model.Pricing; - "buyerInformation"?: model.BuyerInformation; - "sellerInformation"?: model.SellerInformation; - /** - * A list of Resource Bundles associated with an Offer. - */ - "resourceBundles"?: Array; - /** - * A list of key value pairs specified by the seller - */ - "customFields"?: 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 UpdateOfferDetails { - export function getJsonObj(obj: UpdateOfferDetails): object { - const jsonObj = { - ...obj, - ...{ - "pricing": obj.pricing ? model.Pricing.getJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getJsonObj(item); - }) - : undefined, - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } - export function getDeserializedJsonObj(obj: UpdateOfferDetails): object { - const jsonObj = { - ...obj, - ...{ - "pricing": obj.pricing ? model.Pricing.getDeserializedJsonObj(obj.pricing) : undefined, - "buyerInformation": obj.buyerInformation - ? model.BuyerInformation.getDeserializedJsonObj(obj.buyerInformation) - : undefined, - "sellerInformation": obj.sellerInformation - ? model.SellerInformation.getDeserializedJsonObj(obj.sellerInformation) - : undefined, - "resourceBundles": obj.resourceBundles - ? obj.resourceBundles.map(item => { - return model.ResourceBundle.getDeserializedJsonObj(item); - }) - : undefined, - "customFields": obj.customFields - ? obj.customFields.map(item => { - return model.CustomField.getDeserializedJsonObj(item); - }) - : undefined - } - }; - - return jsonObj; - } -} diff --git a/lib/marketplacepublisher/lib/offer-waiter.ts b/lib/marketplacepublisher/lib/offer-waiter.ts deleted file mode 100644 index 04fceb4fe8..0000000000 --- a/lib/marketplacepublisher/lib/offer-waiter.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * MarketplacePublisherService API - * Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace. - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as serviceRequests from "./request"; -import * as serviceResponses from "./response"; -import * as models from "./model"; -import { OfferClient } from "./client"; -import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; - -export class OfferWaiter { - public constructor(private client: OfferClient, private readonly config?: WaiterConfiguration) {} - - /** - * Waits forOffer 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 GetOfferResponse | null (null in case of 404 response) - */ - public async forOffer( - request: serviceRequests.GetOfferRequest, - ...targetStates: models.Offer.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( - this.config, - () => this.client.getOffer(request), - response => targetStates.includes(response.offer.lifecycleState!), - targetStates.includes(models.Offer.LifecycleState.Deleted) - ); - } -} diff --git a/lib/marketplacepublisher/lib/request/create-attachment-request.ts b/lib/marketplacepublisher/lib/request/create-attachment-request.ts deleted file mode 100644 index b271a3601b..0000000000 --- a/lib/marketplacepublisher/lib/request/create-attachment-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplacepublisher/CreateAttachment.ts.html |here} to see how to use CreateAttachmentRequest. - */ -export interface CreateAttachmentRequest extends common.BaseRequest { - /** - * Details for the new Attachment. - */ - "createAttachmentDetails": model.CreateAttachmentDetails; - /** - * unique Offer identifier - */ - "offerId": 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; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/marketplacepublisher/lib/request/create-offer-request.ts b/lib/marketplacepublisher/lib/request/create-offer-request.ts deleted file mode 100644 index 976e953fa6..0000000000 --- a/lib/marketplacepublisher/lib/request/create-offer-request.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplacepublisher/CreateOffer.ts.html |here} to see how to use CreateOfferRequest. - */ -export interface CreateOfferRequest extends common.BaseRequest { - /** - * Details for the new Offer. - */ - "createOfferDetails": model.CreateOfferDetails; - /** - * 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 client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/marketplacepublisher/lib/request/delete-attachment-request.ts b/lib/marketplacepublisher/lib/request/delete-attachment-request.ts deleted file mode 100644 index 6e6da8d271..0000000000 --- a/lib/marketplacepublisher/lib/request/delete-attachment-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplacepublisher/DeleteAttachment.ts.html |here} to see how to use DeleteAttachmentRequest. - */ -export interface DeleteAttachmentRequest extends common.BaseRequest { - /** - * unique Offer identifier - */ - "offerId": string; - /** - * unique Offer identifier - */ - "attachmentId": 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/marketplacepublisher/lib/request/get-attachment-content-request.ts b/lib/marketplacepublisher/lib/request/get-attachment-content-request.ts deleted file mode 100644 index 58540e3237..0000000000 --- a/lib/marketplacepublisher/lib/request/get-attachment-content-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplacepublisher/GetAttachmentContent.ts.html |here} to see how to use GetAttachmentContentRequest. - */ -export interface GetAttachmentContentRequest extends common.BaseRequest { - /** - * unique Offer identifier - */ - "offerId": string; - /** - * unique Offer identifier - */ - "attachmentId": string; - /** - * The client request ID for tracing. - */ - "opcRequestId"?: string; -} diff --git a/lib/marketplacepublisher/lib/request/update-offer-request.ts b/lib/marketplacepublisher/lib/request/update-offer-request.ts deleted file mode 100644 index 48214f7436..0000000000 --- a/lib/marketplacepublisher/lib/request/update-offer-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -/** - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplacepublisher/UpdateOffer.ts.html |here} to see how to use UpdateOfferRequest. - */ -export interface UpdateOfferRequest extends common.BaseRequest { - /** - * unique Offer identifier - */ - "offerId": string; - /** - * The information to be updated. - */ - "updateOfferDetails": model.UpdateOfferDetails; - /** - * 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/marketplacepublisher/lib/response/create-attachment-response.ts b/lib/marketplacepublisher/lib/response/create-attachment-response.ts deleted file mode 100644 index 14df4fc7ff..0000000000 --- a/lib/marketplacepublisher/lib/response/create-attachment-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface CreateAttachmentResponse { - /** - * 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.Attachment instance. - */ - "attachment": model.Attachment; -} diff --git a/lib/marketplacepublisher/lib/response/create-offer-response.ts b/lib/marketplacepublisher/lib/response/create-offer-response.ts deleted file mode 100644 index 0264c6b93a..0000000000 --- a/lib/marketplacepublisher/lib/response/create-offer-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface CreateOfferResponse { - /** - * 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.Offer instance. - */ - "offer": model.Offer; -} diff --git a/lib/marketplacepublisher/lib/response/delete-offer-response.ts b/lib/marketplacepublisher/lib/response/delete-offer-response.ts deleted file mode 100644 index bb0601d88f..0000000000 --- a/lib/marketplacepublisher/lib/response/delete-offer-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface DeleteOfferResponse { - /** - * 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/marketplacepublisher/lib/response/get-attachment-response.ts b/lib/marketplacepublisher/lib/response/get-attachment-response.ts deleted file mode 100644 index e2243c3359..0000000000 --- a/lib/marketplacepublisher/lib/response/get-attachment-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetAttachmentResponse { - /** - * 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.Attachment instance. - */ - "attachment": model.Attachment; -} diff --git a/lib/marketplacepublisher/lib/response/get-offer-internal-detail-response.ts b/lib/marketplacepublisher/lib/response/get-offer-internal-detail-response.ts deleted file mode 100644 index 5b5b565f4b..0000000000 --- a/lib/marketplacepublisher/lib/response/get-offer-internal-detail-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetOfferInternalDetailResponse { - /** - * 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.OfferInternalDetail instance. - */ - "offerInternalDetail": model.OfferInternalDetail; -} diff --git a/lib/marketplacepublisher/lib/response/get-offer-response.ts b/lib/marketplacepublisher/lib/response/get-offer-response.ts deleted file mode 100644 index 60ed3ed031..0000000000 --- a/lib/marketplacepublisher/lib/response/get-offer-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface GetOfferResponse { - /** - * 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.Offer instance. - */ - "offer": model.Offer; -} diff --git a/lib/marketplacepublisher/lib/response/list-attachments-response.ts b/lib/marketplacepublisher/lib/response/list-attachments-response.ts deleted file mode 100644 index 6526544cd4..0000000000 --- a/lib/marketplacepublisher/lib/response/list-attachments-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListAttachmentsResponse { - /** - * 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.AttachmentCollection instance. - */ - "attachmentCollection": model.AttachmentCollection; -} diff --git a/lib/marketplacepublisher/lib/response/list-offers-response.ts b/lib/marketplacepublisher/lib/response/list-offers-response.ts deleted file mode 100644 index 59b13a2879..0000000000 --- a/lib/marketplacepublisher/lib/response/list-offers-response.ts +++ /dev/null @@ -1,35 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface ListOffersResponse { - /** - * 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.OfferCollection instance. - */ - "offerCollection": model.OfferCollection; -} diff --git a/lib/marketplacepublisher/lib/response/update-offer-response.ts b/lib/marketplacepublisher/lib/response/update-offer-response.ts deleted file mode 100644 index c69ec9afb3..0000000000 --- a/lib/marketplacepublisher/lib/response/update-offer-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * - * - * OpenAPI spec version: 20220901 - * - * - * NOTE: This class is auto generated by OracleSDKGenerator. - * Do not edit the class manually. - * - * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -import * as model from "../model"; -import common = require("oci-common"); - -export interface UpdateOfferResponse { - /** - * 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.Offer instance. - */ - "offer": model.Offer; -}