oci-functions 2.140.2 → 2.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -1
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/lib/client.d.ts +182 -40
- package/lib/client.js +838 -76
- package/lib/client.js.map +1 -1
- package/lib/functionsmanagement-waiter.d.ts +17 -1
- package/lib/functionsmanagement-waiter.js +25 -1
- package/lib/functionsmanagement-waiter.js.map +1 -1
- package/lib/model/action-type.d.ts +33 -0
- package/lib/model/action-type.js +44 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/application-logging-config.d.ts +1 -2
- package/lib/model/application-logging-config.js +1 -1
- package/lib/model/application-logging-config.js.map +1 -1
- package/lib/model/application-summary.d.ts +1 -2
- package/lib/model/application-summary.js +1 -1
- package/lib/model/application-summary.js.map +1 -1
- package/lib/model/application-trace-config.d.ts +1 -2
- package/lib/model/application-trace-config.js +1 -1
- package/lib/model/application-trace-config.js.map +1 -1
- package/lib/model/application.d.ts +1 -2
- package/lib/model/application.js +1 -1
- package/lib/model/application.js.map +1 -1
- package/lib/model/archive-function-source-details.d.ts +38 -0
- package/lib/model/archive-function-source-details.js +69 -0
- package/lib/model/archive-function-source-details.js.map +1 -0
- package/lib/model/archive-source-details.d.ts +26 -0
- package/lib/model/archive-source-details.js +73 -0
- package/lib/model/archive-source-details.js.map +1 -0
- package/lib/model/change-application-compartment-details.d.ts +1 -2
- package/lib/model/change-application-compartment-details.js +1 -1
- package/lib/model/change-application-compartment-details.js.map +1 -1
- package/lib/model/config-details.d.ts +1 -3
- package/lib/model/config-details.js +1 -1
- package/lib/model/config-details.js.map +1 -1
- package/lib/model/constant-provisioned-concurrency-config.d.ts +1 -2
- package/lib/model/constant-provisioned-concurrency-config.js +1 -1
- package/lib/model/constant-provisioned-concurrency-config.js.map +1 -1
- package/lib/model/container-image-function-source-details.d.ts +40 -0
- package/lib/model/container-image-function-source-details.js +55 -0
- package/lib/model/container-image-function-source-details.js.map +1 -0
- package/lib/model/create-application-details.d.ts +1 -1
- package/lib/model/create-application-details.js +1 -1
- package/lib/model/create-archive-function-source-details.d.ts +33 -0
- package/lib/model/create-archive-function-source-details.js +69 -0
- package/lib/model/create-archive-function-source-details.js.map +1 -0
- package/lib/model/create-archive-source-details.d.ts +26 -0
- package/lib/model/create-archive-source-details.js +73 -0
- package/lib/model/create-archive-source-details.js.map +1 -0
- package/lib/model/create-container-image-function-source-details.d.ts +40 -0
- package/lib/model/create-container-image-function-source-details.js +55 -0
- package/lib/model/create-container-image-function-source-details.js.map +1 -0
- package/lib/model/create-direct-archive-source-details.d.ts +33 -0
- package/lib/model/create-direct-archive-source-details.js +55 -0
- package/lib/model/create-direct-archive-source-details.js.map +1 -0
- package/lib/model/create-function-details.d.ts +2 -17
- package/lib/model/create-function-details.js +3 -3
- package/lib/model/create-function-details.js.map +1 -1
- package/lib/model/create-function-source-details.d.ts +24 -0
- package/lib/model/create-function-source-details.js +77 -0
- package/lib/model/create-function-source-details.js.map +1 -0
- package/lib/model/create-function-update-runtime-config.d.ts +31 -0
- package/lib/model/create-function-update-runtime-config.js +55 -0
- package/lib/model/create-function-update-runtime-config.js.map +1 -0
- package/lib/model/create-manual-runtime-config.d.ts +35 -0
- package/lib/model/create-manual-runtime-config.js +55 -0
- package/lib/model/create-manual-runtime-config.js.map +1 -0
- package/lib/model/create-object-storage-archive-source-details.d.ts +44 -0
- package/lib/model/create-object-storage-archive-source-details.js +55 -0
- package/lib/model/create-object-storage-archive-source-details.js.map +1 -0
- package/lib/model/create-pre-built-function-source-details.d.ts +32 -0
- package/lib/model/create-pre-built-function-source-details.js +55 -0
- package/lib/model/create-pre-built-function-source-details.js.map +1 -0
- package/lib/model/create-runtime-config.d.ts +24 -0
- package/lib/model/create-runtime-config.js +73 -0
- package/lib/model/create-runtime-config.js.map +1 -0
- package/lib/model/direct-archive-source-details.d.ts +27 -0
- package/lib/model/direct-archive-source-details.js +55 -0
- package/lib/model/direct-archive-source-details.js.map +1 -0
- package/lib/model/failure-destination-details.d.ts +1 -2
- package/lib/model/failure-destination-details.js +1 -1
- package/lib/model/failure-destination-details.js.map +1 -1
- package/lib/model/function-provisioned-concurrency-config.d.ts +1 -2
- package/lib/model/function-provisioned-concurrency-config.js +1 -1
- package/lib/model/function-provisioned-concurrency-config.js.map +1 -1
- package/lib/model/function-source-details.d.ts +1 -2
- package/lib/model/function-source-details.js +9 -1
- package/lib/model/function-source-details.js.map +1 -1
- package/lib/model/function-summary.d.ts +2 -17
- package/lib/model/function-summary.js +1 -1
- package/lib/model/function-summary.js.map +1 -1
- package/lib/model/function-trace-config.d.ts +1 -2
- package/lib/model/function-trace-config.js +1 -1
- package/lib/model/function-trace-config.js.map +1 -1
- package/lib/model/function-update-runtime-config.d.ts +35 -0
- package/lib/model/function-update-runtime-config.js +55 -0
- package/lib/model/function-update-runtime-config.js.map +1 -0
- package/lib/model/function.d.ts +2 -17
- package/lib/model/function.js +1 -1
- package/lib/model/function.js.map +1 -1
- package/lib/model/functions-runtime-collection.d.ts +27 -0
- package/lib/model/functions-runtime-collection.js +62 -0
- package/lib/model/functions-runtime-collection.js.map +1 -0
- package/lib/model/functions-runtime-summary.d.ts +100 -0
- package/lib/model/functions-runtime-summary.js +30 -0
- package/lib/model/functions-runtime-summary.js.map +1 -0
- package/lib/model/functions-runtime-version-collection.d.ts +27 -0
- package/lib/model/functions-runtime-version-collection.js +62 -0
- package/lib/model/functions-runtime-version-collection.js.map +1 -0
- package/lib/model/functions-runtime-version-summary.d.ts +103 -0
- package/lib/model/functions-runtime-version-summary.js +40 -0
- package/lib/model/functions-runtime-version-summary.js.map +1 -0
- package/lib/model/functions-runtime-version.d.ts +117 -0
- package/lib/model/functions-runtime-version.js +50 -0
- package/lib/model/functions-runtime-version.js.map +1 -0
- package/lib/model/functions-runtime.d.ts +114 -0
- package/lib/model/functions-runtime.js +40 -0
- package/lib/model/functions-runtime.js.map +1 -0
- package/lib/model/image-policy-config.d.ts +1 -2
- package/lib/model/image-policy-config.js +1 -1
- package/lib/model/image-policy-config.js.map +1 -1
- package/lib/model/index.d.ts +91 -1
- package/lib/model/index.js +93 -2
- package/lib/model/index.js.map +1 -1
- package/lib/model/key-details.d.ts +1 -3
- package/lib/model/key-details.js +1 -1
- package/lib/model/key-details.js.map +1 -1
- package/lib/model/manual-runtime-config.d.ts +35 -0
- package/lib/model/manual-runtime-config.js +53 -0
- package/lib/model/manual-runtime-config.js.map +1 -0
- package/lib/model/none-failure-destination-details.d.ts +1 -1
- package/lib/model/none-failure-destination-details.js +1 -1
- package/lib/model/none-provisioned-concurrency-config.d.ts +1 -1
- package/lib/model/none-provisioned-concurrency-config.js +1 -1
- package/lib/model/none-success-destination-details.d.ts +1 -2
- package/lib/model/none-success-destination-details.js +1 -1
- package/lib/model/none-success-destination-details.js.map +1 -1
- package/lib/model/notification-failure-destination-details.d.ts +1 -2
- package/lib/model/notification-failure-destination-details.js +1 -1
- package/lib/model/notification-failure-destination-details.js.map +1 -1
- package/lib/model/notification-success-destination-details.d.ts +1 -2
- package/lib/model/notification-success-destination-details.js +1 -1
- package/lib/model/notification-success-destination-details.js.map +1 -1
- package/lib/model/object-storage-archive-source-details.d.ts +44 -0
- package/lib/model/object-storage-archive-source-details.js +55 -0
- package/lib/model/object-storage-archive-source-details.js.map +1 -0
- package/lib/model/operation-status.d.ts +35 -0
- package/lib/model/operation-status.js +46 -0
- package/lib/model/operation-status.js.map +1 -0
- package/lib/model/operation-type.d.ts +39 -0
- package/lib/model/operation-type.js +50 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/pbf-listing-summary.d.ts +1 -3
- package/lib/model/pbf-listing-summary.js +1 -1
- package/lib/model/pbf-listing-summary.js.map +1 -1
- package/lib/model/pbf-listing-version-summary.d.ts +1 -3
- package/lib/model/pbf-listing-version-summary.js +1 -1
- package/lib/model/pbf-listing-version-summary.js.map +1 -1
- package/lib/model/pbf-listing-version.d.ts +1 -2
- package/lib/model/pbf-listing-version.js +1 -1
- package/lib/model/pbf-listing-version.js.map +1 -1
- package/lib/model/pbf-listing-versions-collection.d.ts +1 -2
- package/lib/model/pbf-listing-versions-collection.js +1 -1
- package/lib/model/pbf-listing-versions-collection.js.map +1 -1
- package/lib/model/pbf-listing.d.ts +1 -2
- package/lib/model/pbf-listing.js +1 -1
- package/lib/model/pbf-listing.js.map +1 -1
- package/lib/model/pbf-listings-collection.d.ts +1 -3
- package/lib/model/pbf-listings-collection.js +1 -1
- package/lib/model/pbf-listings-collection.js.map +1 -1
- package/lib/model/policy-details.d.ts +2 -4
- package/lib/model/policy-details.js +1 -1
- package/lib/model/policy-details.js.map +1 -1
- package/lib/model/pre-built-function-source-details.d.ts +1 -2
- package/lib/model/pre-built-function-source-details.js +1 -1
- package/lib/model/pre-built-function-source-details.js.map +1 -1
- package/lib/model/publisher-details.d.ts +1 -3
- package/lib/model/publisher-details.js +1 -1
- package/lib/model/publisher-details.js.map +1 -1
- package/lib/model/queue-failure-destination-details.d.ts +1 -2
- package/lib/model/queue-failure-destination-details.js +1 -1
- package/lib/model/queue-failure-destination-details.js.map +1 -1
- package/lib/model/queue-success-destination-details.d.ts +1 -2
- package/lib/model/queue-success-destination-details.js +1 -1
- package/lib/model/queue-success-destination-details.js.map +1 -1
- package/lib/model/requirement-details.d.ts +1 -2
- package/lib/model/requirement-details.js +1 -1
- package/lib/model/requirement-details.js.map +1 -1
- package/lib/model/runtime-config.d.ts +24 -0
- package/lib/model/runtime-config.js +73 -0
- package/lib/model/runtime-config.js.map +1 -0
- package/lib/model/stream-failure-destination-details.d.ts +1 -2
- package/lib/model/stream-failure-destination-details.js +1 -1
- package/lib/model/stream-failure-destination-details.js.map +1 -1
- package/lib/model/stream-success-destination-details.d.ts +1 -2
- package/lib/model/stream-success-destination-details.js +1 -1
- package/lib/model/stream-success-destination-details.js.map +1 -1
- package/lib/model/success-destination-details.d.ts +1 -2
- package/lib/model/success-destination-details.js +1 -1
- package/lib/model/success-destination-details.js.map +1 -1
- package/lib/model/trigger-summary.d.ts +1 -3
- package/lib/model/trigger-summary.js +1 -1
- package/lib/model/trigger-summary.js.map +1 -1
- package/lib/model/trigger.d.ts +1 -3
- package/lib/model/trigger.js +1 -1
- package/lib/model/trigger.js.map +1 -1
- package/lib/model/triggers-collection.d.ts +1 -3
- package/lib/model/triggers-collection.js +1 -1
- package/lib/model/triggers-collection.js.map +1 -1
- package/lib/model/update-application-details.d.ts +1 -2
- package/lib/model/update-application-details.js +1 -1
- package/lib/model/update-application-details.js.map +1 -1
- package/lib/model/update-archive-function-source-details.d.ts +33 -0
- package/lib/model/update-archive-function-source-details.js +69 -0
- package/lib/model/update-archive-function-source-details.js.map +1 -0
- package/lib/model/update-archive-source-details.d.ts +24 -0
- package/lib/model/update-archive-source-details.js +73 -0
- package/lib/model/update-archive-source-details.js.map +1 -0
- package/lib/model/update-container-image-function-source-details.d.ts +40 -0
- package/lib/model/update-container-image-function-source-details.js +55 -0
- package/lib/model/update-container-image-function-source-details.js.map +1 -0
- package/lib/model/update-direct-archive-source-details.d.ts +31 -0
- package/lib/model/update-direct-archive-source-details.js +55 -0
- package/lib/model/update-direct-archive-source-details.js.map +1 -0
- package/lib/model/update-function-details.d.ts +2 -16
- package/lib/model/update-function-details.js +7 -1
- package/lib/model/update-function-details.js.map +1 -1
- package/lib/model/update-function-source-details.d.ts +24 -0
- package/lib/model/update-function-source-details.js +73 -0
- package/lib/model/update-function-source-details.js.map +1 -0
- package/lib/model/update-function-update-runtime-config.d.ts +31 -0
- package/lib/model/update-function-update-runtime-config.js +55 -0
- package/lib/model/update-function-update-runtime-config.js.map +1 -0
- package/lib/model/update-manual-runtime-config.d.ts +35 -0
- package/lib/model/update-manual-runtime-config.js +55 -0
- package/lib/model/update-manual-runtime-config.js.map +1 -0
- package/lib/model/update-object-storage-archive-source-details.d.ts +42 -0
- package/lib/model/update-object-storage-archive-source-details.js +55 -0
- package/lib/model/update-object-storage-archive-source-details.js.map +1 -0
- package/lib/model/update-runtime-config.d.ts +24 -0
- package/lib/model/update-runtime-config.js +73 -0
- package/lib/model/update-runtime-config.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +27 -0
- package/lib/model/work-request-error-collection.js +62 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +38 -0
- package/lib/model/work-request-error.js +30 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +27 -0
- package/lib/model/work-request-log-entry-collection.js +62 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +32 -0
- package/lib/model/work-request-log-entry.js +30 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +28 -0
- package/lib/model/work-request-resource-metadata-key.js +39 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +49 -0
- package/lib/model/work-request-resource.js +30 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +27 -0
- package/lib/model/work-request-summary-collection.js +62 -0
- package/lib/model/work-request-summary-collection.js.map +1 -0
- package/lib/model/work-request-summary.d.ts +74 -0
- package/lib/model/work-request-summary.js +62 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +77 -0
- package/lib/model/work-request.js +62 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/cancel-work-request-request.d.ts +35 -0
- package/lib/request/cancel-work-request-request.js +15 -0
- package/lib/request/cancel-work-request-request.js.map +1 -0
- package/lib/request/change-application-compartment-request.d.ts +1 -1
- package/lib/request/change-application-compartment-request.js +1 -1
- package/lib/request/create-application-request.d.ts +1 -1
- package/lib/request/create-application-request.js +1 -1
- package/lib/request/create-function-request.d.ts +1 -1
- package/lib/request/create-function-request.js +1 -1
- package/lib/request/delete-application-request.d.ts +1 -1
- package/lib/request/delete-application-request.js +1 -1
- package/lib/request/delete-function-request.d.ts +1 -1
- package/lib/request/delete-function-request.js +1 -1
- package/lib/request/get-application-request.d.ts +1 -1
- package/lib/request/get-application-request.js +1 -1
- package/lib/request/get-function-request.d.ts +1 -1
- package/lib/request/get-function-request.js +1 -1
- package/lib/request/get-functions-runtime-request.d.ts +28 -0
- package/lib/request/get-functions-runtime-request.js +15 -0
- package/lib/request/get-functions-runtime-request.js.map +1 -0
- package/lib/request/get-functions-runtime-version-request.d.ts +28 -0
- package/lib/request/get-functions-runtime-version-request.js +15 -0
- package/lib/request/get-functions-runtime-version-request.js.map +1 -0
- package/lib/request/get-pbf-listing-request.d.ts +1 -1
- package/lib/request/get-pbf-listing-request.js +1 -1
- package/lib/request/get-pbf-listing-version-request.d.ts +1 -1
- package/lib/request/get-pbf-listing-version-request.js +1 -1
- package/lib/request/get-work-request-request.d.ts +28 -0
- package/lib/request/get-work-request-request.js +15 -0
- package/lib/request/get-work-request-request.js.map +1 -0
- package/lib/request/index.d.ts +19 -1
- package/lib/request/index.js +12 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/invoke-function-request.d.ts +1 -1
- package/lib/request/invoke-function-request.js +1 -1
- package/lib/request/list-applications-request.d.ts +1 -1
- package/lib/request/list-applications-request.js +1 -1
- package/lib/request/list-functions-request.d.ts +1 -1
- package/lib/request/list-functions-request.js +1 -1
- package/lib/request/list-functions-runtime-versions-request.d.ts +92 -0
- package/lib/request/list-functions-runtime-versions-request.js +29 -0
- package/lib/request/list-functions-runtime-versions-request.js.map +1 -0
- package/lib/request/list-functions-runtimes-request.d.ts +89 -0
- package/lib/request/list-functions-runtimes-request.js +31 -0
- package/lib/request/list-functions-runtimes-request.js.map +1 -0
- package/lib/request/list-pbf-listing-versions-request.d.ts +1 -1
- package/lib/request/list-pbf-listing-versions-request.js +1 -1
- package/lib/request/list-pbf-listings-request.d.ts +1 -1
- package/lib/request/list-pbf-listings-request.js +1 -1
- package/lib/request/list-triggers-request.d.ts +1 -1
- package/lib/request/list-triggers-request.js +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +62 -0
- package/lib/request/list-work-request-errors-request.js +28 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +62 -0
- package/lib/request/list-work-request-logs-request.js +28 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +76 -0
- package/lib/request/list-work-requests-request.js +28 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/update-application-request.d.ts +1 -1
- package/lib/request/update-application-request.js +1 -1
- package/lib/request/update-function-request.d.ts +1 -1
- package/lib/request/update-function-request.js +1 -1
- package/lib/response/cancel-work-request-response.d.ts +20 -0
- package/lib/response/cancel-work-request-response.js +15 -0
- package/lib/response/cancel-work-request-response.js.map +1 -0
- package/lib/response/change-application-compartment-response.d.ts +9 -3
- package/lib/response/change-application-compartment-response.js +1 -1
- package/lib/response/create-application-response.d.ts +7 -1
- package/lib/response/create-application-response.js +1 -1
- package/lib/response/create-function-response.d.ts +7 -1
- package/lib/response/create-function-response.js +1 -1
- package/lib/response/delete-application-response.d.ts +9 -3
- package/lib/response/delete-application-response.js +1 -1
- package/lib/response/delete-function-response.d.ts +9 -3
- package/lib/response/delete-function-response.js +1 -1
- package/lib/response/get-application-response.d.ts +1 -1
- package/lib/response/get-application-response.js +1 -1
- package/lib/response/get-function-response.d.ts +1 -1
- package/lib/response/get-function-response.js +1 -1
- package/lib/response/get-functions-runtime-response.d.ts +30 -0
- package/lib/response/get-functions-runtime-response.js +15 -0
- package/lib/response/get-functions-runtime-response.js.map +1 -0
- package/lib/response/get-functions-runtime-version-response.d.ts +30 -0
- package/lib/response/get-functions-runtime-version-response.js +15 -0
- package/lib/response/get-functions-runtime-version-response.js.map +1 -0
- package/lib/response/get-pbf-listing-response.d.ts +1 -1
- package/lib/response/get-pbf-listing-response.js +1 -1
- package/lib/response/get-pbf-listing-version-response.d.ts +1 -1
- package/lib/response/get-pbf-listing-version-response.js +1 -1
- package/lib/response/get-work-request-response.d.ts +34 -0
- package/lib/response/get-work-request-response.js +15 -0
- package/lib/response/get-work-request-response.js.map +1 -0
- package/lib/response/index.d.ts +19 -1
- package/lib/response/index.js +1 -1
- package/lib/response/invoke-function-response.d.ts +1 -1
- package/lib/response/invoke-function-response.js +1 -1
- package/lib/response/list-applications-response.d.ts +1 -1
- package/lib/response/list-applications-response.js +1 -1
- package/lib/response/list-functions-response.d.ts +1 -1
- package/lib/response/list-functions-response.js +1 -1
- package/lib/response/list-functions-runtime-versions-response.d.ts +32 -0
- package/lib/response/list-functions-runtime-versions-response.js +15 -0
- package/lib/response/list-functions-runtime-versions-response.js.map +1 -0
- package/lib/response/list-functions-runtimes-response.d.ts +32 -0
- package/lib/response/list-functions-runtimes-response.js +15 -0
- package/lib/response/list-functions-runtimes-response.js.map +1 -0
- package/lib/response/list-pbf-listing-versions-response.d.ts +1 -1
- package/lib/response/list-pbf-listing-versions-response.js +1 -1
- package/lib/response/list-pbf-listings-response.d.ts +1 -1
- package/lib/response/list-pbf-listings-response.js +1 -1
- package/lib/response/list-triggers-response.d.ts +1 -1
- package/lib/response/list-triggers-response.js +1 -1
- package/lib/response/list-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-work-request-errors-response.js +15 -0
- package/lib/response/list-work-request-errors-response.js.map +1 -0
- package/lib/response/list-work-request-logs-response.d.ts +32 -0
- package/lib/response/list-work-request-logs-response.js +15 -0
- package/lib/response/list-work-request-logs-response.js.map +1 -0
- package/lib/response/list-work-requests-response.d.ts +32 -0
- package/lib/response/list-work-requests-response.js +15 -0
- package/lib/response/list-work-requests-response.js.map +1 -0
- package/lib/response/update-application-response.d.ts +5 -11
- package/lib/response/update-application-response.js +1 -1
- package/lib/response/update-function-response.d.ts +5 -11
- package/lib/response/update-function-response.js +1 -1
- package/lib/workrequestmanagement-waiter.d.ts +28 -0
- package/lib/workrequestmanagement-waiter.js +45 -0
- package/lib/workrequestmanagement-waiter.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateContainerImageFunctionSourceDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var UpdateContainerImageFunctionSourceDetails;
|
|
38
|
+
(function (UpdateContainerImageFunctionSourceDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.UpdateFunctionSourceDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
UpdateContainerImageFunctionSourceDetails.getJsonObj = getJsonObj;
|
|
46
|
+
UpdateContainerImageFunctionSourceDetails.sourceType = "CONTAINER_IMAGE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.UpdateFunctionSourceDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
UpdateContainerImageFunctionSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(UpdateContainerImageFunctionSourceDetails = exports.UpdateContainerImageFunctionSourceDetails || (exports.UpdateContainerImageFunctionSourceDetails = {}));
|
|
55
|
+
//# sourceMappingURL=update-container-image-function-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-container-image-function-source-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-container-image-function-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA2BlC,IAAiB,yCAAyC,CAgCzD;AAhCD,WAAiB,yCAAyC;IACxD,SAAgB,UAAU,CACxB,GAA8C,EAC9C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAC3C,GAAG,CAC0C,CAAC,GACjD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,oDAAU,aAczB,CAAA;IACY,oDAAU,GAAG,iBAAiB,CAAC;IAC5C,SAAgB,sBAAsB,CACpC,GAA8C,EAC9C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CACvD,GAAG,CAC0C,CAAC,GACjD,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,gEAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAgCzD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Functions Service API
|
|
3
|
+
* API for the Functions service.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Source details required for updating an archive based function from Direct Archive.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateDirectArchiveSourceDetails extends model.UpdateArchiveSourceDetails {
|
|
20
|
+
/**
|
|
21
|
+
* The base64-encoded archive file of the function code. The archive file must contain all the files for the function. Please refer to functions documentation for maximum allowed size and supported archive formats.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"archiveFile": string;
|
|
25
|
+
"archiveSourceType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UpdateDirectArchiveSourceDetails {
|
|
28
|
+
function getJsonObj(obj: UpdateDirectArchiveSourceDetails, isParentJsonObj?: boolean): object;
|
|
29
|
+
const archiveSourceType = "DIRECT_ARCHIVE";
|
|
30
|
+
function getDeserializedJsonObj(obj: UpdateDirectArchiveSourceDetails, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateDirectArchiveSourceDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var UpdateDirectArchiveSourceDetails;
|
|
38
|
+
(function (UpdateDirectArchiveSourceDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.UpdateArchiveSourceDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
UpdateDirectArchiveSourceDetails.getJsonObj = getJsonObj;
|
|
46
|
+
UpdateDirectArchiveSourceDetails.archiveSourceType = "DIRECT_ARCHIVE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.UpdateArchiveSourceDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
UpdateDirectArchiveSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(UpdateDirectArchiveSourceDetails = exports.UpdateDirectArchiveSourceDetails || (exports.UpdateDirectArchiveSourceDetails = {}));
|
|
55
|
+
//# sourceMappingURL=update-direct-archive-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-direct-archive-source-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-direct-archive-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,gCAAgC,CA8BhD;AA9BD,WAAiB,gCAAgC;IAC/C,SAAgB,UAAU,CACxB,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,GAAG,CAAsC,CAAC,GACxF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAU,aAYzB,CAAA;IACY,kDAAiB,GAAG,gBAAgB,CAAC;IAClD,SAAgB,sBAAsB,CACpC,GAAqC,EACrC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACtD,GAAG,CACiC,CAAC,GACxC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,uDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QA8BhD"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Functions Service API
|
|
3
3
|
* API for the Functions service.
|
|
4
4
|
|
|
5
|
-
* OpenAPI spec version:
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -13,25 +13,10 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import * as model from "../model";
|
|
15
15
|
/**
|
|
16
|
-
* Note: Deprecated. Use the new resource model APIs instead.
|
|
17
16
|
* Updates attributes of a function.
|
|
18
17
|
*
|
|
19
18
|
*/
|
|
20
19
|
export interface UpdateFunctionDetails {
|
|
21
|
-
/**
|
|
22
|
-
* The qualified name of the Docker image to use in the function, including the image tag.
|
|
23
|
-
* The image should be in the OCI Registry that is in the same region as the function itself.
|
|
24
|
-
* If an image is specified but no value for imageDigest is provided, the digest currently associated with the image tag in the OCI Registry will be used.
|
|
25
|
-
* Example: {@code phx.ocir.io/ten/functions/function:0.0.1}
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
"image"?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The image digest for the version of the image that will be pulled when invoking this function.
|
|
31
|
-
* Example: {@code sha256:ca0eeb6fb05351dfc8759c20733c91def84cb8007aa89a5bf606bc8b315b9fc7}
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
"imageDigest"?: string;
|
|
35
20
|
/**
|
|
36
21
|
* Maximum usable memory for the function (MiB). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
22
|
*/
|
|
@@ -60,6 +45,7 @@ export interface UpdateFunctionDetails {
|
|
|
60
45
|
"failureDestination"?: model.StreamFailureDestinationDetails | model.QueueFailureDestinationDetails | model.NotificationFailureDestinationDetails | model.NoneFailureDestinationDetails;
|
|
61
46
|
"successDestination"?: model.StreamSuccessDestinationDetails | model.NotificationSuccessDestinationDetails | model.QueueSuccessDestinationDetails | model.NoneSuccessDestinationDetails;
|
|
62
47
|
"traceConfig"?: model.FunctionTraceConfig;
|
|
48
|
+
"sourceDetails"?: model.UpdateContainerImageFunctionSourceDetails | model.UpdateArchiveFunctionSourceDetails;
|
|
63
49
|
/**
|
|
64
50
|
* Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
|
|
65
51
|
* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Functions Service API
|
|
4
4
|
* API for the Functions service.
|
|
5
5
|
|
|
6
|
-
* OpenAPI spec version:
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
@@ -49,6 +49,9 @@ var UpdateFunctionDetails;
|
|
|
49
49
|
: undefined,
|
|
50
50
|
"traceConfig": obj.traceConfig
|
|
51
51
|
? model.FunctionTraceConfig.getJsonObj(obj.traceConfig)
|
|
52
|
+
: undefined,
|
|
53
|
+
"sourceDetails": obj.sourceDetails
|
|
54
|
+
? model.UpdateFunctionSourceDetails.getJsonObj(obj.sourceDetails)
|
|
52
55
|
: undefined
|
|
53
56
|
});
|
|
54
57
|
return jsonObj;
|
|
@@ -67,6 +70,9 @@ var UpdateFunctionDetails;
|
|
|
67
70
|
: undefined,
|
|
68
71
|
"traceConfig": obj.traceConfig
|
|
69
72
|
? model.FunctionTraceConfig.getDeserializedJsonObj(obj.traceConfig)
|
|
73
|
+
: undefined,
|
|
74
|
+
"sourceDetails": obj.sourceDetails
|
|
75
|
+
? model.UpdateFunctionSourceDetails.getDeserializedJsonObj(obj.sourceDetails)
|
|
70
76
|
: undefined
|
|
71
77
|
});
|
|
72
78
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-function-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-function-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"update-function-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-function-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA+DlC,IAAiB,qBAAqB,CAqDrC;AArDD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,UAAU,CAAC,GAAG,CAAC,4BAA4B,CAAC;gBACzF,CAAC,CAAC,SAAS;YAEb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACpE,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBACpE,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;gBACvD,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,GAAG,CAAC,aAAa,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAxBe,gCAAU,aAwBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,8BAA8B,EAAE,GAAG,CAAC,4BAA4B;gBAC9D,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,sBAAsB,CAC/D,GAAG,CAAC,4BAA4B,CACjC;gBACH,CAAC,CAAC,SAAS;YAEb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAChF,CAAC,CAAC,SAAS;YACb,oBAAoB,EAAE,GAAG,CAAC,kBAAkB;gBAC1C,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,GAAG,CAAC,kBAAkB,CAAC;gBAChF,CAAC,CAAC,SAAS;YACb,aAAa,EAAE,GAAG,CAAC,WAAW;gBAC5B,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,WAAW,CAAC;gBACnE,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IA1Be,4CAAsB,yBA0BrC,CAAA;AACH,CAAC,EArDgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAqDrC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Functions Service API
|
|
3
|
+
* API for the Functions service.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* The source details for updating the Function.
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateFunctionSourceDetails {
|
|
19
|
+
"sourceType": string;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace UpdateFunctionSourceDetails {
|
|
22
|
+
function getJsonObj(obj: UpdateFunctionSourceDetails): object;
|
|
23
|
+
function getDeserializedJsonObj(obj: UpdateFunctionSourceDetails): object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateFunctionSourceDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
const common = require("oci-common");
|
|
38
|
+
var UpdateFunctionSourceDetails;
|
|
39
|
+
(function (UpdateFunctionSourceDetails) {
|
|
40
|
+
function getJsonObj(obj) {
|
|
41
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
42
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
43
|
+
switch (obj.sourceType) {
|
|
44
|
+
case "CONTAINER_IMAGE":
|
|
45
|
+
return model.UpdateContainerImageFunctionSourceDetails.getJsonObj(jsonObj, true);
|
|
46
|
+
case "ARCHIVE":
|
|
47
|
+
return model.UpdateArchiveFunctionSourceDetails.getJsonObj(jsonObj, true);
|
|
48
|
+
default:
|
|
49
|
+
if (common.LOG.logger)
|
|
50
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return jsonObj;
|
|
54
|
+
}
|
|
55
|
+
UpdateFunctionSourceDetails.getJsonObj = getJsonObj;
|
|
56
|
+
function getDeserializedJsonObj(obj) {
|
|
57
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
58
|
+
if (obj && "sourceType" in obj && obj.sourceType) {
|
|
59
|
+
switch (obj.sourceType) {
|
|
60
|
+
case "CONTAINER_IMAGE":
|
|
61
|
+
return model.UpdateContainerImageFunctionSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
62
|
+
case "ARCHIVE":
|
|
63
|
+
return model.UpdateArchiveFunctionSourceDetails.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
default:
|
|
65
|
+
if (common.LOG.logger)
|
|
66
|
+
common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return jsonObj;
|
|
70
|
+
}
|
|
71
|
+
UpdateFunctionSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
72
|
+
})(UpdateFunctionSourceDetails = exports.UpdateFunctionSourceDetails || (exports.UpdateFunctionSourceDetails = {}));
|
|
73
|
+
//# sourceMappingURL=update-function-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-function-source-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-function-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAUtC,IAAiB,2BAA2B,CA2C3C;AA3CD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,yCAAyC,CAAC,UAAU,CACL,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,kCAAkC,CAAC,UAAU,CACL,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,sCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,iBAAiB;oBACpB,OAAO,KAAK,CAAC,yCAAyC,CAAC,sBAAsB,CACjB,OAAQ,EAClE,IAAI,CACL,CAAC;gBACJ,KAAK,SAAS;oBACZ,OAAO,KAAK,CAAC,kCAAkC,CAAC,sBAAsB,CACjB,OAAQ,EAC3D,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,kDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA2C3C"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Functions Service API
|
|
3
|
+
* API for the Functions service.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* FunctionsRuntime configuration for updating a function with 'FUNCTION_UPDATE' Runtime Update strategy.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateFunctionUpdateRuntimeConfig extends model.UpdateRuntimeConfig {
|
|
20
|
+
/**
|
|
21
|
+
* The name of the FunctionsRuntime this function is to be associated with.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"functionsRuntimeName": string;
|
|
25
|
+
"runtimeConfigType": string;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace UpdateFunctionUpdateRuntimeConfig {
|
|
28
|
+
function getJsonObj(obj: UpdateFunctionUpdateRuntimeConfig, isParentJsonObj?: boolean): object;
|
|
29
|
+
const runtimeConfigType = "FUNCTION_UPDATE";
|
|
30
|
+
function getDeserializedJsonObj(obj: UpdateFunctionUpdateRuntimeConfig, isParentJsonObj?: boolean): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateFunctionUpdateRuntimeConfig = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var UpdateFunctionUpdateRuntimeConfig;
|
|
38
|
+
(function (UpdateFunctionUpdateRuntimeConfig) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.UpdateRuntimeConfig.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
UpdateFunctionUpdateRuntimeConfig.getJsonObj = getJsonObj;
|
|
46
|
+
UpdateFunctionUpdateRuntimeConfig.runtimeConfigType = "FUNCTION_UPDATE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.UpdateRuntimeConfig.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
UpdateFunctionUpdateRuntimeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(UpdateFunctionUpdateRuntimeConfig = exports.UpdateFunctionUpdateRuntimeConfig || (exports.UpdateFunctionUpdateRuntimeConfig = {}));
|
|
55
|
+
//# sourceMappingURL=update-function-update-runtime-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-function-update-runtime-config.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-function-update-runtime-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,iCAAiC,CA8BjD;AA9BD,WAAiB,iCAAiC;IAChD,SAAgB,UAAU,CACxB,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAuC,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,4CAAU,aAYzB,CAAA;IACY,mDAAiB,GAAG,iBAAiB,CAAC;IACnD,SAAgB,sBAAsB,CACpC,GAAsC,EACtC,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAC/C,GAAG,CACkC,CAAC,GACzC,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wDAAsB,yBAcrC,CAAA;AACH,CAAC,EA9BgB,iCAAiC,GAAjC,yCAAiC,KAAjC,yCAAiC,QA8BjD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Functions Service API
|
|
3
|
+
* API for the Functions service.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* FunctionsRuntime configuration for updating a function with 'MANUAL' Runtime Update strategy.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateManualRuntimeConfig extends model.UpdateRuntimeConfig {
|
|
20
|
+
/**
|
|
21
|
+
* The name of the FunctionsRuntime this function is to be associated with.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
"functionsRuntimeName"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* The OCID of the FunctionsRuntimeVersion to use for the Function in manual mode.
|
|
27
|
+
*/
|
|
28
|
+
"functionsRuntimeVersionId": string;
|
|
29
|
+
"runtimeConfigType": string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace UpdateManualRuntimeConfig {
|
|
32
|
+
function getJsonObj(obj: UpdateManualRuntimeConfig, isParentJsonObj?: boolean): object;
|
|
33
|
+
const runtimeConfigType = "MANUAL";
|
|
34
|
+
function getDeserializedJsonObj(obj: UpdateManualRuntimeConfig, isParentJsonObj?: boolean): object;
|
|
35
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateManualRuntimeConfig = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var UpdateManualRuntimeConfig;
|
|
38
|
+
(function (UpdateManualRuntimeConfig) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.UpdateRuntimeConfig.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
UpdateManualRuntimeConfig.getJsonObj = getJsonObj;
|
|
46
|
+
UpdateManualRuntimeConfig.runtimeConfigType = "MANUAL";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.UpdateRuntimeConfig.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
UpdateManualRuntimeConfig.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(UpdateManualRuntimeConfig = exports.UpdateManualRuntimeConfig || (exports.UpdateManualRuntimeConfig = {}));
|
|
55
|
+
//# sourceMappingURL=update-manual-runtime-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-manual-runtime-config.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-manual-runtime-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAqBlC,IAAiB,yBAAyB,CAyBzC;AAzBD,WAAiB,yBAAyB;IACxC,SAAgB,UAAU,CAAC,GAA8B,EAAE,eAAyB;QAClF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAA+B,CAAC,GAC1E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,oCAAU,aASzB,CAAA;IACY,2CAAiB,GAAG,QAAQ,CAAC;IAC1C,SAAgB,sBAAsB,CACpC,GAA8B,EAC9B,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAA+B,CAAC,GACtF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,gDAAsB,yBAYrC,CAAA;AACH,CAAC,EAzBgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAyBzC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Functions Service API
|
|
3
|
+
* API for the Functions service.
|
|
4
|
+
|
|
5
|
+
* OpenAPI spec version: 20260325
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
import * as model from "../model";
|
|
15
|
+
/**
|
|
16
|
+
* Source details required for updating an archive based function from Object Storage.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateObjectStorageArchiveSourceDetails extends model.UpdateArchiveSourceDetails {
|
|
20
|
+
/**
|
|
21
|
+
* The name of the Object Storage bucket.
|
|
22
|
+
*/
|
|
23
|
+
"bucketName"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The Object Storage namespace.
|
|
26
|
+
*/
|
|
27
|
+
"namespace"?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the Object Storage object.
|
|
30
|
+
*/
|
|
31
|
+
"objectName"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* VersionId used to identify a particular version of the object. If not specified, the latest version of the object is used.
|
|
34
|
+
*/
|
|
35
|
+
"objectVersionId"?: string;
|
|
36
|
+
"archiveSourceType": string;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace UpdateObjectStorageArchiveSourceDetails {
|
|
39
|
+
function getJsonObj(obj: UpdateObjectStorageArchiveSourceDetails, isParentJsonObj?: boolean): object;
|
|
40
|
+
const archiveSourceType = "OBJECT_STORAGE_ARCHIVE";
|
|
41
|
+
function getDeserializedJsonObj(obj: UpdateObjectStorageArchiveSourceDetails, isParentJsonObj?: boolean): object;
|
|
42
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Functions Service API
|
|
4
|
+
* API for the Functions service.
|
|
5
|
+
|
|
6
|
+
* OpenAPI spec version: 20260325
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
13
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.UpdateObjectStorageArchiveSourceDetails = void 0;
|
|
36
|
+
const model = __importStar(require("../model"));
|
|
37
|
+
var UpdateObjectStorageArchiveSourceDetails;
|
|
38
|
+
(function (UpdateObjectStorageArchiveSourceDetails) {
|
|
39
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
40
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
41
|
+
? obj
|
|
42
|
+
: model.UpdateArchiveSourceDetails.getJsonObj(obj))), {});
|
|
43
|
+
return jsonObj;
|
|
44
|
+
}
|
|
45
|
+
UpdateObjectStorageArchiveSourceDetails.getJsonObj = getJsonObj;
|
|
46
|
+
UpdateObjectStorageArchiveSourceDetails.archiveSourceType = "OBJECT_STORAGE_ARCHIVE";
|
|
47
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
48
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
|
|
49
|
+
? obj
|
|
50
|
+
: model.UpdateArchiveSourceDetails.getDeserializedJsonObj(obj))), {});
|
|
51
|
+
return jsonObj;
|
|
52
|
+
}
|
|
53
|
+
UpdateObjectStorageArchiveSourceDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
54
|
+
})(UpdateObjectStorageArchiveSourceDetails = exports.UpdateObjectStorageArchiveSourceDetails || (exports.UpdateObjectStorageArchiveSourceDetails = {}));
|
|
55
|
+
//# sourceMappingURL=update-object-storage-archive-source-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-object-storage-archive-source-details.js","sourceRoot":"","sources":["../../../../../lib/functions/lib/model/update-object-storage-archive-source-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA4BlC,IAAiB,uCAAuC,CAgCvD;AAhCD,WAAiB,uCAAuC;IACtD,SAAgB,UAAU,CACxB,GAA4C,EAC5C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAC1C,GAAG,CACwC,CAAC,GAC/C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,kDAAU,aAczB,CAAA;IACY,yDAAiB,GAAG,wBAAwB,CAAC;IAC1D,SAAgB,sBAAsB,CACpC,GAA4C,EAC5C,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,0BAA0B,CAAC,sBAAsB,CACtD,GAAG,CACwC,CAAC,GAC/C,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,8DAAsB,yBAcrC,CAAA;AACH,CAAC,EAhCgB,uCAAuC,GAAvC,+CAAuC,KAAvC,+CAAuC,QAgCvD"}
|