oci-fleetsoftwareupdate 2.67.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/LICENSE.txt +89 -0
- package/NOTICE.txt +1 -0
- package/README.md +22 -0
- package/THIRD_PARTY_LICENSES.txt +576 -0
- package/index.d.ts +24 -0
- package/index.js +47 -0
- package/index.js.map +1 -0
- package/lib/client.d.ts +535 -0
- package/lib/client.js +3056 -0
- package/lib/client.js.map +1 -0
- package/lib/fleetsoftwareupdate-waiter.d.ts +70 -0
- package/lib/fleetsoftwareupdate-waiter.js +126 -0
- package/lib/fleetsoftwareupdate-waiter.js.map +1 -0
- package/lib/model/action-lifecycle-states.d.ts +41 -0
- package/lib/model/action-lifecycle-states.js +52 -0
- package/lib/model/action-lifecycle-states.js.map +1 -0
- package/lib/model/action-type.d.ts +34 -0
- package/lib/model/action-type.js +45 -0
- package/lib/model/action-type.js.map +1 -0
- package/lib/model/action-types.d.ts +34 -0
- package/lib/model/action-types.js +45 -0
- package/lib/model/action-types.js.map +1 -0
- package/lib/model/active-cycle-details.d.ts +34 -0
- package/lib/model/active-cycle-details.js +31 -0
- package/lib/model/active-cycle-details.js.map +1 -0
- package/lib/model/add-fsu-collection-targets-details.d.ts +30 -0
- package/lib/model/add-fsu-collection-targets-details.js +63 -0
- package/lib/model/add-fsu-collection-targets-details.js.map +1 -0
- package/lib/model/apply-action-summary.d.ts +39 -0
- package/lib/model/apply-action-summary.js +68 -0
- package/lib/model/apply-action-summary.js.map +1 -0
- package/lib/model/apply-action.d.ts +39 -0
- package/lib/model/apply-action.js +66 -0
- package/lib/model/apply-action.js.map +1 -0
- package/lib/model/apply-fsu-job-summary.d.ts +43 -0
- package/lib/model/apply-fsu-job-summary.js +60 -0
- package/lib/model/apply-fsu-job-summary.js.map +1 -0
- package/lib/model/apply-fsu-job.d.ts +43 -0
- package/lib/model/apply-fsu-job.js +58 -0
- package/lib/model/apply-fsu-job.js.map +1 -0
- package/lib/model/batching-strategies.d.ts +33 -0
- package/lib/model/batching-strategies.js +44 -0
- package/lib/model/batching-strategies.js.map +1 -0
- package/lib/model/batching-strategy-details.d.ts +25 -0
- package/lib/model/batching-strategy-details.js +82 -0
- package/lib/model/batching-strategy-details.js.map +1 -0
- package/lib/model/change-fsu-action-compartment-details.d.ts +30 -0
- package/lib/model/change-fsu-action-compartment-details.js +31 -0
- package/lib/model/change-fsu-action-compartment-details.js.map +1 -0
- package/lib/model/change-fsu-collection-compartment-details.d.ts +30 -0
- package/lib/model/change-fsu-collection-compartment-details.js +31 -0
- package/lib/model/change-fsu-collection-compartment-details.js.map +1 -0
- package/lib/model/change-fsu-cycle-compartment-details.d.ts +30 -0
- package/lib/model/change-fsu-cycle-compartment-details.js +31 -0
- package/lib/model/change-fsu-cycle-compartment-details.js.map +1 -0
- package/lib/model/change-fsu-discovery-compartment-details.d.ts +30 -0
- package/lib/model/change-fsu-discovery-compartment-details.js +31 -0
- package/lib/model/change-fsu-discovery-compartment-details.js.map +1 -0
- package/lib/model/cleanup-action-summary.d.ts +39 -0
- package/lib/model/cleanup-action-summary.js +68 -0
- package/lib/model/cleanup-action-summary.js.map +1 -0
- package/lib/model/cleanup-action.d.ts +40 -0
- package/lib/model/cleanup-action.js +66 -0
- package/lib/model/cleanup-action.js.map +1 -0
- package/lib/model/cleanup-fsu-job-summary.d.ts +43 -0
- package/lib/model/cleanup-fsu-job-summary.js +60 -0
- package/lib/model/cleanup-fsu-job-summary.js.map +1 -0
- package/lib/model/cleanup-fsu-job.d.ts +43 -0
- package/lib/model/cleanup-fsu-job.js +58 -0
- package/lib/model/cleanup-fsu-job.js.map +1 -0
- package/lib/model/clone-fsu-cycle-details.d.ts +45 -0
- package/lib/model/clone-fsu-cycle-details.js +77 -0
- package/lib/model/clone-fsu-cycle-details.js.map +1 -0
- package/lib/model/cloud-vm-cluster-target-summary.d.ts +34 -0
- package/lib/model/cloud-vm-cluster-target-summary.js +56 -0
- package/lib/model/cloud-vm-cluster-target-summary.js.map +1 -0
- package/lib/model/collection-lifecycle-states.d.ts +36 -0
- package/lib/model/collection-lifecycle-states.js +47 -0
- package/lib/model/collection-lifecycle-states.js.map +1 -0
- package/lib/model/collection-service-types.d.ts +31 -0
- package/lib/model/collection-service-types.js +42 -0
- package/lib/model/collection-service-types.js.map +1 -0
- package/lib/model/collection-types.d.ts +30 -0
- package/lib/model/collection-types.js +41 -0
- package/lib/model/collection-types.js.map +1 -0
- package/lib/model/create-apply-action-details.d.ts +33 -0
- package/lib/model/create-apply-action-details.js +64 -0
- package/lib/model/create-apply-action-details.js.map +1 -0
- package/lib/model/create-batching-strategy-details.d.ts +25 -0
- package/lib/model/create-batching-strategy-details.js +82 -0
- package/lib/model/create-batching-strategy-details.js.map +1 -0
- package/lib/model/create-cleanup-action-details.d.ts +33 -0
- package/lib/model/create-cleanup-action-details.js +64 -0
- package/lib/model/create-cleanup-action-details.js.map +1 -0
- package/lib/model/create-db-fsu-collection-details.d.ts +35 -0
- package/lib/model/create-db-fsu-collection-details.js +64 -0
- package/lib/model/create-db-fsu-collection-details.js.map +1 -0
- package/lib/model/create-fifty-fifty-batching-strategy-details.d.ts +38 -0
- package/lib/model/create-fifty-fifty-batching-strategy-details.js +56 -0
- package/lib/model/create-fifty-fifty-batching-strategy-details.js.map +1 -0
- package/lib/model/create-fsu-action-details.d.ts +53 -0
- package/lib/model/create-fsu-action-details.js +86 -0
- package/lib/model/create-fsu-action-details.js.map +1 -0
- package/lib/model/create-fsu-collection-details.d.ts +58 -0
- package/lib/model/create-fsu-collection-details.js +74 -0
- package/lib/model/create-fsu-collection-details.js.map +1 -0
- package/lib/model/create-fsu-cycle-details.d.ts +63 -0
- package/lib/model/create-fsu-cycle-details.js +96 -0
- package/lib/model/create-fsu-cycle-details.js.map +1 -0
- package/lib/model/create-fsu-discovery-details.d.ts +53 -0
- package/lib/model/create-fsu-discovery-details.js +57 -0
- package/lib/model/create-fsu-discovery-details.js.map +1 -0
- package/lib/model/create-gi-fsu-collection-details.d.ts +34 -0
- package/lib/model/create-gi-fsu-collection-details.js +64 -0
- package/lib/model/create-gi-fsu-collection-details.js.map +1 -0
- package/lib/model/create-non-rolling-batching-strategy-details.d.ts +27 -0
- package/lib/model/create-non-rolling-batching-strategy-details.js +56 -0
- package/lib/model/create-non-rolling-batching-strategy-details.js.map +1 -0
- package/lib/model/create-patch-fsu-cycle.d.ts +48 -0
- package/lib/model/create-patch-fsu-cycle.js +56 -0
- package/lib/model/create-patch-fsu-cycle.js.map +1 -0
- package/lib/model/create-precheck-action-details.d.ts +33 -0
- package/lib/model/create-precheck-action-details.js +64 -0
- package/lib/model/create-precheck-action-details.js.map +1 -0
- package/lib/model/create-rollback-action-details.d.ts +36 -0
- package/lib/model/create-rollback-action-details.js +68 -0
- package/lib/model/create-rollback-action-details.js.map +1 -0
- package/lib/model/create-schedule-details.d.ts +28 -0
- package/lib/model/create-schedule-details.js +70 -0
- package/lib/model/create-schedule-details.js.map +1 -0
- package/lib/model/create-sequential-batching-strategy-details.d.ts +32 -0
- package/lib/model/create-sequential-batching-strategy-details.js +56 -0
- package/lib/model/create-sequential-batching-strategy-details.js.map +1 -0
- package/lib/model/create-service-availability-factor-batching-strategy-details.d.ts +37 -0
- package/lib/model/create-service-availability-factor-batching-strategy-details.js +56 -0
- package/lib/model/create-service-availability-factor-batching-strategy-details.js.map +1 -0
- package/lib/model/create-stage-action-details.d.ts +33 -0
- package/lib/model/create-stage-action-details.js +64 -0
- package/lib/model/create-stage-action-details.js.map +1 -0
- package/lib/model/create-start-time-schedule-details.d.ts +36 -0
- package/lib/model/create-start-time-schedule-details.js +56 -0
- package/lib/model/create-start-time-schedule-details.js.map +1 -0
- package/lib/model/cycle-lifecycle-states.d.ts +38 -0
- package/lib/model/cycle-lifecycle-states.js +49 -0
- package/lib/model/cycle-lifecycle-states.js.map +1 -0
- package/lib/model/cycle-types.d.ts +30 -0
- package/lib/model/cycle-types.js +41 -0
- package/lib/model/cycle-types.js.map +1 -0
- package/lib/model/database-target-summary.d.ts +49 -0
- package/lib/model/database-target-summary.js +54 -0
- package/lib/model/database-target-summary.js.map +1 -0
- package/lib/model/db-collection.d.ts +35 -0
- package/lib/model/db-collection.js +62 -0
- package/lib/model/db-collection.js.map +1 -0
- package/lib/model/db-compartment-id-filter.d.ts +32 -0
- package/lib/model/db-compartment-id-filter.js +56 -0
- package/lib/model/db-compartment-id-filter.js.map +1 -0
- package/lib/model/db-defined-tags-filter.d.ts +37 -0
- package/lib/model/db-defined-tags-filter.js +68 -0
- package/lib/model/db-defined-tags-filter.js.map +1 -0
- package/lib/model/db-discovery-details.d.ts +35 -0
- package/lib/model/db-discovery-details.js +62 -0
- package/lib/model/db-discovery-details.js.map +1 -0
- package/lib/model/db-discovery-results.d.ts +32 -0
- package/lib/model/db-discovery-results.js +56 -0
- package/lib/model/db-discovery-results.js.map +1 -0
- package/lib/model/db-filters-discovery.d.ts +32 -0
- package/lib/model/db-filters-discovery.js +68 -0
- package/lib/model/db-filters-discovery.js.map +1 -0
- package/lib/model/db-fleet-discovery-details.d.ts +26 -0
- package/lib/model/db-fleet-discovery-details.js +82 -0
- package/lib/model/db-fleet-discovery-details.js.map +1 -0
- package/lib/model/db-fleet-discovery-filter.d.ts +40 -0
- package/lib/model/db-fleet-discovery-filter.js +108 -0
- package/lib/model/db-fleet-discovery-filter.js.map +1 -0
- package/lib/model/db-freeform-tags-filter.d.ts +37 -0
- package/lib/model/db-freeform-tags-filter.js +68 -0
- package/lib/model/db-freeform-tags-filter.js.map +1 -0
- package/lib/model/db-fsu-collection-summary.d.ts +34 -0
- package/lib/model/db-fsu-collection-summary.js +56 -0
- package/lib/model/db-fsu-collection-summary.js.map +1 -0
- package/lib/model/db-home-name-filter.d.ts +33 -0
- package/lib/model/db-home-name-filter.js +56 -0
- package/lib/model/db-home-name-filter.js.map +1 -0
- package/lib/model/db-name-filter.d.ts +33 -0
- package/lib/model/db-name-filter.js +54 -0
- package/lib/model/db-name-filter.js.map +1 -0
- package/lib/model/db-resource-id-filter.d.ts +57 -0
- package/lib/model/db-resource-id-filter.js +71 -0
- package/lib/model/db-resource-id-filter.js.map +1 -0
- package/lib/model/db-search-query-discovery.d.ts +32 -0
- package/lib/model/db-search-query-discovery.js +56 -0
- package/lib/model/db-search-query-discovery.js.map +1 -0
- package/lib/model/db-source-major-versions.d.ts +34 -0
- package/lib/model/db-source-major-versions.js +45 -0
- package/lib/model/db-source-major-versions.js.map +1 -0
- package/lib/model/db-target-list-discovery.d.ts +32 -0
- package/lib/model/db-target-list-discovery.js +56 -0
- package/lib/model/db-target-list-discovery.js.map +1 -0
- package/lib/model/db-unique-name-filter.d.ts +33 -0
- package/lib/model/db-unique-name-filter.js +56 -0
- package/lib/model/db-unique-name-filter.js.map +1 -0
- package/lib/model/db-version-filter.d.ts +32 -0
- package/lib/model/db-version-filter.js +56 -0
- package/lib/model/db-version-filter.js.map +1 -0
- package/lib/model/defined-tag-filter-entry.d.ts +39 -0
- package/lib/model/defined-tag-filter-entry.js +31 -0
- package/lib/model/defined-tag-filter-entry.js.map +1 -0
- package/lib/model/detailed-action-types.d.ts +35 -0
- package/lib/model/detailed-action-types.js +46 -0
- package/lib/model/detailed-action-types.js.map +1 -0
- package/lib/model/discovery-criteria.d.ts +31 -0
- package/lib/model/discovery-criteria.js +42 -0
- package/lib/model/discovery-criteria.js.map +1 -0
- package/lib/model/discovery-details-summary.d.ts +40 -0
- package/lib/model/discovery-details-summary.js +31 -0
- package/lib/model/discovery-details-summary.js.map +1 -0
- package/lib/model/discovery-details.d.ts +31 -0
- package/lib/model/discovery-details.js +74 -0
- package/lib/model/discovery-details.js.map +1 -0
- package/lib/model/discovery-lifecycle-states.d.ts +37 -0
- package/lib/model/discovery-lifecycle-states.js +48 -0
- package/lib/model/discovery-lifecycle-states.js.map +1 -0
- package/lib/model/discovery-service-types.d.ts +31 -0
- package/lib/model/discovery-service-types.js +42 -0
- package/lib/model/discovery-service-types.js.map +1 -0
- package/lib/model/discovery-types.d.ts +30 -0
- package/lib/model/discovery-types.js +41 -0
- package/lib/model/discovery-types.js.map +1 -0
- package/lib/model/failed-jobs-rollback-details.d.ts +28 -0
- package/lib/model/failed-jobs-rollback-details.js +56 -0
- package/lib/model/failed-jobs-rollback-details.js.map +1 -0
- package/lib/model/fifty-fifty-batching-strategy-details.d.ts +38 -0
- package/lib/model/fifty-fifty-batching-strategy-details.js +56 -0
- package/lib/model/fifty-fifty-batching-strategy-details.js.map +1 -0
- package/lib/model/fleet-discovery-operators.d.ts +31 -0
- package/lib/model/fleet-discovery-operators.js +42 -0
- package/lib/model/fleet-discovery-operators.js.map +1 -0
- package/lib/model/fleet-discovery-strategies.d.ts +33 -0
- package/lib/model/fleet-discovery-strategies.js +44 -0
- package/lib/model/fleet-discovery-strategies.js.map +1 -0
- package/lib/model/freeform-tag-filter-entry.d.ts +34 -0
- package/lib/model/freeform-tag-filter-entry.js +31 -0
- package/lib/model/freeform-tag-filter-entry.js.map +1 -0
- package/lib/model/fsu-action-progress-details.d.ts +49 -0
- package/lib/model/fsu-action-progress-details.js +31 -0
- package/lib/model/fsu-action-progress-details.js.map +1 -0
- package/lib/model/fsu-action-summary-collection.d.ts +29 -0
- package/lib/model/fsu-action-summary-collection.js +63 -0
- package/lib/model/fsu-action-summary-collection.js.map +1 -0
- package/lib/model/fsu-action-summary.d.ts +104 -0
- package/lib/model/fsu-action-summary.js +86 -0
- package/lib/model/fsu-action-summary.js.map +1 -0
- package/lib/model/fsu-action.d.ts +104 -0
- package/lib/model/fsu-action.js +86 -0
- package/lib/model/fsu-action.js.map +1 -0
- package/lib/model/fsu-collection-summary-collection.d.ts +30 -0
- package/lib/model/fsu-collection-summary-collection.js +63 -0
- package/lib/model/fsu-collection-summary-collection.js.map +1 -0
- package/lib/model/fsu-collection-summary.d.ts +101 -0
- package/lib/model/fsu-collection-summary.js +82 -0
- package/lib/model/fsu-collection-summary.js.map +1 -0
- package/lib/model/fsu-collection.d.ts +100 -0
- package/lib/model/fsu-collection.js +82 -0
- package/lib/model/fsu-collection.js.map +1 -0
- package/lib/model/fsu-cycle-summary-collection.d.ts +29 -0
- package/lib/model/fsu-cycle-summary-collection.js +63 -0
- package/lib/model/fsu-cycle-summary-collection.js.map +1 -0
- package/lib/model/fsu-cycle-summary.d.ts +129 -0
- package/lib/model/fsu-cycle-summary.js +69 -0
- package/lib/model/fsu-cycle-summary.js.map +1 -0
- package/lib/model/fsu-cycle.d.ts +128 -0
- package/lib/model/fsu-cycle.js +106 -0
- package/lib/model/fsu-cycle.js.map +1 -0
- package/lib/model/fsu-discovery-summary-collection.d.ts +30 -0
- package/lib/model/fsu-discovery-summary-collection.js +63 -0
- package/lib/model/fsu-discovery-summary-collection.js.map +1 -0
- package/lib/model/fsu-discovery-summary.d.ts +96 -0
- package/lib/model/fsu-discovery-summary.js +57 -0
- package/lib/model/fsu-discovery-summary.js.map +1 -0
- package/lib/model/fsu-discovery.d.ts +99 -0
- package/lib/model/fsu-discovery.js +57 -0
- package/lib/model/fsu-discovery.js.map +1 -0
- package/lib/model/fsu-goal-version-details.d.ts +51 -0
- package/lib/model/fsu-goal-version-details.js +84 -0
- package/lib/model/fsu-goal-version-details.js.map +1 -0
- package/lib/model/fsu-job-collection.d.ts +30 -0
- package/lib/model/fsu-job-collection.js +63 -0
- package/lib/model/fsu-job-collection.js.map +1 -0
- package/lib/model/fsu-job-output-summary-collection.d.ts +30 -0
- package/lib/model/fsu-job-output-summary-collection.js +63 -0
- package/lib/model/fsu-job-output-summary-collection.js.map +1 -0
- package/lib/model/fsu-job-output-summary.d.ts +29 -0
- package/lib/model/fsu-job-output-summary.js +31 -0
- package/lib/model/fsu-job-output-summary.js.map +1 -0
- package/lib/model/fsu-job-summary.d.ts +105 -0
- package/lib/model/fsu-job-summary.js +92 -0
- package/lib/model/fsu-job-summary.js.map +1 -0
- package/lib/model/fsu-job.d.ts +106 -0
- package/lib/model/fsu-job.js +92 -0
- package/lib/model/fsu-job.js.map +1 -0
- package/lib/model/gi-collection.d.ts +34 -0
- package/lib/model/gi-collection.js +62 -0
- package/lib/model/gi-collection.js.map +1 -0
- package/lib/model/gi-compartment-id-filter.d.ts +32 -0
- package/lib/model/gi-compartment-id-filter.js +56 -0
- package/lib/model/gi-compartment-id-filter.js.map +1 -0
- package/lib/model/gi-defined-tags-filter.d.ts +37 -0
- package/lib/model/gi-defined-tags-filter.js +68 -0
- package/lib/model/gi-defined-tags-filter.js.map +1 -0
- package/lib/model/gi-discovery-details.d.ts +34 -0
- package/lib/model/gi-discovery-details.js +62 -0
- package/lib/model/gi-discovery-details.js.map +1 -0
- package/lib/model/gi-discovery-results.d.ts +32 -0
- package/lib/model/gi-discovery-results.js +56 -0
- package/lib/model/gi-discovery-results.js.map +1 -0
- package/lib/model/gi-filters-discovery.d.ts +32 -0
- package/lib/model/gi-filters-discovery.js +68 -0
- package/lib/model/gi-filters-discovery.js.map +1 -0
- package/lib/model/gi-fleet-discovery-details.d.ts +26 -0
- package/lib/model/gi-fleet-discovery-details.js +82 -0
- package/lib/model/gi-fleet-discovery-details.js.map +1 -0
- package/lib/model/gi-fleet-discovery-filter.d.ts +40 -0
- package/lib/model/gi-fleet-discovery-filter.js +96 -0
- package/lib/model/gi-fleet-discovery-filter.js.map +1 -0
- package/lib/model/gi-freeform-tags-filter.d.ts +37 -0
- package/lib/model/gi-freeform-tags-filter.js +68 -0
- package/lib/model/gi-freeform-tags-filter.js.map +1 -0
- package/lib/model/gi-fsu-collection-summary.d.ts +33 -0
- package/lib/model/gi-fsu-collection-summary.js +56 -0
- package/lib/model/gi-fsu-collection-summary.js.map +1 -0
- package/lib/model/gi-resource-id-filter.d.ts +55 -0
- package/lib/model/gi-resource-id-filter.js +69 -0
- package/lib/model/gi-resource-id-filter.js.map +1 -0
- package/lib/model/gi-search-query-discovery.d.ts +32 -0
- package/lib/model/gi-search-query-discovery.js +56 -0
- package/lib/model/gi-search-query-discovery.js.map +1 -0
- package/lib/model/gi-source-major-versions.d.ts +31 -0
- package/lib/model/gi-source-major-versions.js +42 -0
- package/lib/model/gi-source-major-versions.js.map +1 -0
- package/lib/model/gi-target-list-discovery.d.ts +34 -0
- package/lib/model/gi-target-list-discovery.js +56 -0
- package/lib/model/gi-target-list-discovery.js.map +1 -0
- package/lib/model/gi-version-filter.d.ts +32 -0
- package/lib/model/gi-version-filter.js +56 -0
- package/lib/model/gi-version-filter.js.map +1 -0
- package/lib/model/image-id-fsu-target-details.d.ts +32 -0
- package/lib/model/image-id-fsu-target-details.js +56 -0
- package/lib/model/image-id-fsu-target-details.js.map +1 -0
- package/lib/model/index.d.ts +372 -0
- package/lib/model/index.js +398 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/job-lifecycle-states.d.ts +39 -0
- package/lib/model/job-lifecycle-states.js +50 -0
- package/lib/model/job-lifecycle-states.js.map +1 -0
- package/lib/model/job-progress-details.d.ts +29 -0
- package/lib/model/job-progress-details.js +31 -0
- package/lib/model/job-progress-details.js.map +1 -0
- package/lib/model/job-progress.d.ts +29 -0
- package/lib/model/job-progress.js +31 -0
- package/lib/model/job-progress.js.map +1 -0
- package/lib/model/job-types.d.ts +34 -0
- package/lib/model/job-types.js +45 -0
- package/lib/model/job-types.js.map +1 -0
- package/lib/model/list-of-targets-rollback-details.d.ts +33 -0
- package/lib/model/list-of-targets-rollback-details.js +56 -0
- package/lib/model/list-of-targets-rollback-details.js.map +1 -0
- package/lib/model/next-action-to-execute-details.d.ts +36 -0
- package/lib/model/next-action-to-execute-details.js +31 -0
- package/lib/model/next-action-to-execute-details.js.map +1 -0
- package/lib/model/non-rolling-batching-strategy-details.d.ts +27 -0
- package/lib/model/non-rolling-batching-strategy-details.js +56 -0
- package/lib/model/non-rolling-batching-strategy-details.js.map +1 -0
- package/lib/model/none-batching-strategy-details.d.ts +28 -0
- package/lib/model/none-batching-strategy-details.js +56 -0
- package/lib/model/none-batching-strategy-details.js.map +1 -0
- package/lib/model/none-schedule-details.d.ts +29 -0
- package/lib/model/none-schedule-details.js +56 -0
- package/lib/model/none-schedule-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 +51 -0
- package/lib/model/operation-type.js +62 -0
- package/lib/model/operation-type.js.map +1 -0
- package/lib/model/patch-fsu-cycle.d.ts +48 -0
- package/lib/model/patch-fsu-cycle.js +52 -0
- package/lib/model/patch-fsu-cycle.js.map +1 -0
- package/lib/model/precheck-action-summary.d.ts +39 -0
- package/lib/model/precheck-action-summary.js +70 -0
- package/lib/model/precheck-action-summary.js.map +1 -0
- package/lib/model/precheck-action.d.ts +39 -0
- package/lib/model/precheck-action.js +66 -0
- package/lib/model/precheck-action.js.map +1 -0
- package/lib/model/precheck-fsu-job-summary.d.ts +43 -0
- package/lib/model/precheck-fsu-job-summary.js +60 -0
- package/lib/model/precheck-fsu-job-summary.js.map +1 -0
- package/lib/model/precheck-fsu-job.d.ts +43 -0
- package/lib/model/precheck-fsu-job.js +58 -0
- package/lib/model/precheck-fsu-job.js.map +1 -0
- package/lib/model/remove-fsu-collection-targets-details.d.ts +25 -0
- package/lib/model/remove-fsu-collection-targets-details.js +70 -0
- package/lib/model/remove-fsu-collection-targets-details.js.map +1 -0
- package/lib/model/rollback-action-summary.d.ts +40 -0
- package/lib/model/rollback-action-summary.js +74 -0
- package/lib/model/rollback-action-summary.js.map +1 -0
- package/lib/model/rollback-action.d.ts +41 -0
- package/lib/model/rollback-action.js +70 -0
- package/lib/model/rollback-action.js.map +1 -0
- package/lib/model/rollback-details.d.ts +25 -0
- package/lib/model/rollback-details.js +74 -0
- package/lib/model/rollback-details.js.map +1 -0
- package/lib/model/rollback-fsu-job-summary.d.ts +43 -0
- package/lib/model/rollback-fsu-job-summary.js +60 -0
- package/lib/model/rollback-fsu-job-summary.js.map +1 -0
- package/lib/model/rollback-fsu-job.d.ts +43 -0
- package/lib/model/rollback-fsu-job.js +58 -0
- package/lib/model/rollback-fsu-job.js.map +1 -0
- package/lib/model/schedule-details.d.ts +27 -0
- package/lib/model/schedule-details.js +70 -0
- package/lib/model/schedule-details.js.map +1 -0
- package/lib/model/sequential-batching-strategy-details.d.ts +32 -0
- package/lib/model/sequential-batching-strategy-details.js +56 -0
- package/lib/model/sequential-batching-strategy-details.js.map +1 -0
- package/lib/model/service-availability-factor-batching-strategy-details.d.ts +37 -0
- package/lib/model/service-availability-factor-batching-strategy-details.js +56 -0
- package/lib/model/service-availability-factor-batching-strategy-details.js.map +1 -0
- package/lib/model/sort-order.d.ts +26 -0
- package/lib/model/sort-order.js +37 -0
- package/lib/model/sort-order.js.map +1 -0
- package/lib/model/stage-action-summary.d.ts +39 -0
- package/lib/model/stage-action-summary.js +68 -0
- package/lib/model/stage-action-summary.js.map +1 -0
- package/lib/model/stage-action.d.ts +39 -0
- package/lib/model/stage-action.js +66 -0
- package/lib/model/stage-action.js.map +1 -0
- package/lib/model/stage-fsu-job-summary.d.ts +43 -0
- package/lib/model/stage-fsu-job-summary.js +60 -0
- package/lib/model/stage-fsu-job-summary.js.map +1 -0
- package/lib/model/stage-fsu-job.d.ts +43 -0
- package/lib/model/stage-fsu-job.js +58 -0
- package/lib/model/stage-fsu-job.js.map +1 -0
- package/lib/model/start-time-schedule-details.d.ts +36 -0
- package/lib/model/start-time-schedule-details.js +56 -0
- package/lib/model/start-time-schedule-details.js.map +1 -0
- package/lib/model/target-details.d.ts +34 -0
- package/lib/model/target-details.js +78 -0
- package/lib/model/target-details.js.map +1 -0
- package/lib/model/target-entry.d.ts +39 -0
- package/lib/model/target-entry.js +37 -0
- package/lib/model/target-entry.js.map +1 -0
- package/lib/model/target-ids-remove-targets-details.d.ts +32 -0
- package/lib/model/target-ids-remove-targets-details.js +68 -0
- package/lib/model/target-ids-remove-targets-details.js.map +1 -0
- package/lib/model/target-progress-summary.d.ts +45 -0
- package/lib/model/target-progress-summary.js +43 -0
- package/lib/model/target-progress-summary.js.map +1 -0
- package/lib/model/target-summary-collection.d.ts +29 -0
- package/lib/model/target-summary-collection.js +63 -0
- package/lib/model/target-summary-collection.js.map +1 -0
- package/lib/model/target-summary.d.ts +57 -0
- package/lib/model/target-summary.js +70 -0
- package/lib/model/target-summary.js.map +1 -0
- package/lib/model/update-apply-action-details.d.ts +28 -0
- package/lib/model/update-apply-action-details.js +64 -0
- package/lib/model/update-apply-action-details.js.map +1 -0
- package/lib/model/update-batching-strategies.d.ts +29 -0
- package/lib/model/update-batching-strategies.js +40 -0
- package/lib/model/update-batching-strategies.js.map +1 -0
- package/lib/model/update-batching-strategy-details.d.ts +25 -0
- package/lib/model/update-batching-strategy-details.js +86 -0
- package/lib/model/update-batching-strategy-details.js.map +1 -0
- package/lib/model/update-cleanup-action-details.d.ts +28 -0
- package/lib/model/update-cleanup-action-details.js +64 -0
- package/lib/model/update-cleanup-action-details.js.map +1 -0
- package/lib/model/update-fifty-fifty-batching-strategy-details.d.ts +38 -0
- package/lib/model/update-fifty-fifty-batching-strategy-details.js +56 -0
- package/lib/model/update-fifty-fifty-batching-strategy-details.js.map +1 -0
- package/lib/model/update-fsu-action-details.d.ts +48 -0
- package/lib/model/update-fsu-action-details.js +86 -0
- package/lib/model/update-fsu-action-details.js.map +1 -0
- package/lib/model/update-fsu-collection-details.d.ts +47 -0
- package/lib/model/update-fsu-collection-details.js +31 -0
- package/lib/model/update-fsu-collection-details.js.map +1 -0
- package/lib/model/update-fsu-cycle-details.d.ts +51 -0
- package/lib/model/update-fsu-cycle-details.js +84 -0
- package/lib/model/update-fsu-cycle-details.js.map +1 -0
- package/lib/model/update-fsu-discovery-details.d.ts +47 -0
- package/lib/model/update-fsu-discovery-details.js +31 -0
- package/lib/model/update-fsu-discovery-details.js.map +1 -0
- package/lib/model/update-fsu-job-details.d.ts +47 -0
- package/lib/model/update-fsu-job-details.js +31 -0
- package/lib/model/update-fsu-job-details.js.map +1 -0
- package/lib/model/update-non-rolling-batching-strategy-details.d.ts +27 -0
- package/lib/model/update-non-rolling-batching-strategy-details.js +56 -0
- package/lib/model/update-non-rolling-batching-strategy-details.js.map +1 -0
- package/lib/model/update-patch-fsu-cycle.d.ts +49 -0
- package/lib/model/update-patch-fsu-cycle.js +56 -0
- package/lib/model/update-patch-fsu-cycle.js.map +1 -0
- package/lib/model/update-precheck-action-details.d.ts +28 -0
- package/lib/model/update-precheck-action-details.js +64 -0
- package/lib/model/update-precheck-action-details.js.map +1 -0
- package/lib/model/update-rollback-action-details.d.ts +28 -0
- package/lib/model/update-rollback-action-details.js +64 -0
- package/lib/model/update-rollback-action-details.js.map +1 -0
- package/lib/model/update-schedule-details.d.ts +27 -0
- package/lib/model/update-schedule-details.js +74 -0
- package/lib/model/update-schedule-details.js.map +1 -0
- package/lib/model/update-sequential-batching-strategy-details.d.ts +32 -0
- package/lib/model/update-sequential-batching-strategy-details.js +56 -0
- package/lib/model/update-sequential-batching-strategy-details.js.map +1 -0
- package/lib/model/update-service-availability-factor-batching-strategy-details.d.ts +37 -0
- package/lib/model/update-service-availability-factor-batching-strategy-details.js +56 -0
- package/lib/model/update-service-availability-factor-batching-strategy-details.js.map +1 -0
- package/lib/model/update-stage-action-details.d.ts +28 -0
- package/lib/model/update-stage-action-details.js +64 -0
- package/lib/model/update-stage-action-details.js.map +1 -0
- package/lib/model/update-start-time-schedule-details.d.ts +36 -0
- package/lib/model/update-start-time-schedule-details.js +56 -0
- package/lib/model/update-start-time-schedule-details.js.map +1 -0
- package/lib/model/version-fsu-target-details.d.ts +32 -0
- package/lib/model/version-fsu-target-details.js +56 -0
- package/lib/model/version-fsu-target-details.js.map +1 -0
- package/lib/model/vm-cluster-target-summary.d.ts +34 -0
- package/lib/model/vm-cluster-target-summary.js +54 -0
- package/lib/model/vm-cluster-target-summary.js.map +1 -0
- package/lib/model/work-request-error-collection.d.ts +30 -0
- package/lib/model/work-request-error-collection.js +63 -0
- package/lib/model/work-request-error-collection.js.map +1 -0
- package/lib/model/work-request-error.d.ts +40 -0
- package/lib/model/work-request-error.js +31 -0
- package/lib/model/work-request-error.js.map +1 -0
- package/lib/model/work-request-log-entry-collection.d.ts +30 -0
- package/lib/model/work-request-log-entry-collection.js +63 -0
- package/lib/model/work-request-log-entry-collection.js.map +1 -0
- package/lib/model/work-request-log-entry.d.ts +34 -0
- package/lib/model/work-request-log-entry.js +31 -0
- package/lib/model/work-request-log-entry.js.map +1 -0
- package/lib/model/work-request-resource-metadata-key.d.ts +29 -0
- package/lib/model/work-request-resource-metadata-key.js +40 -0
- package/lib/model/work-request-resource-metadata-key.js.map +1 -0
- package/lib/model/work-request-resource.d.ts +55 -0
- package/lib/model/work-request-resource.js +31 -0
- package/lib/model/work-request-resource.js.map +1 -0
- package/lib/model/work-request-summary-collection.d.ts +30 -0
- package/lib/model/work-request-summary-collection.js +63 -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 +63 -0
- package/lib/model/work-request-summary.js.map +1 -0
- package/lib/model/work-request.d.ts +69 -0
- package/lib/model/work-request.js +63 -0
- package/lib/model/work-request.js.map +1 -0
- package/lib/request/abort-fsu-discovery-request.d.ts +46 -0
- package/lib/request/abort-fsu-discovery-request.js +15 -0
- package/lib/request/abort-fsu-discovery-request.js.map +1 -0
- package/lib/request/add-fsu-collection-targets-request.d.ts +52 -0
- package/lib/request/add-fsu-collection-targets-request.js +15 -0
- package/lib/request/add-fsu-collection-targets-request.js.map +1 -0
- package/lib/request/cancel-fsu-action-request.d.ts +46 -0
- package/lib/request/cancel-fsu-action-request.js +15 -0
- package/lib/request/cancel-fsu-action-request.js.map +1 -0
- package/lib/request/change-fsu-action-compartment-request.d.ts +52 -0
- package/lib/request/change-fsu-action-compartment-request.js +15 -0
- package/lib/request/change-fsu-action-compartment-request.js.map +1 -0
- package/lib/request/change-fsu-collection-compartment-request.d.ts +52 -0
- package/lib/request/change-fsu-collection-compartment-request.js +15 -0
- package/lib/request/change-fsu-collection-compartment-request.js.map +1 -0
- package/lib/request/change-fsu-cycle-compartment-request.d.ts +52 -0
- package/lib/request/change-fsu-cycle-compartment-request.js +15 -0
- package/lib/request/change-fsu-cycle-compartment-request.js.map +1 -0
- package/lib/request/change-fsu-discovery-compartment-request.d.ts +52 -0
- package/lib/request/change-fsu-discovery-compartment-request.js +15 -0
- package/lib/request/change-fsu-discovery-compartment-request.js.map +1 -0
- package/lib/request/clone-fsu-cycle-request.d.ts +42 -0
- package/lib/request/clone-fsu-cycle-request.js +15 -0
- package/lib/request/clone-fsu-cycle-request.js.map +1 -0
- package/lib/request/create-fsu-action-request.d.ts +38 -0
- package/lib/request/create-fsu-action-request.js +15 -0
- package/lib/request/create-fsu-action-request.js.map +1 -0
- package/lib/request/create-fsu-collection-request.d.ts +38 -0
- package/lib/request/create-fsu-collection-request.js +15 -0
- package/lib/request/create-fsu-collection-request.js.map +1 -0
- package/lib/request/create-fsu-cycle-request.d.ts +38 -0
- package/lib/request/create-fsu-cycle-request.js +15 -0
- package/lib/request/create-fsu-cycle-request.js.map +1 -0
- package/lib/request/create-fsu-discovery-request.d.ts +38 -0
- package/lib/request/create-fsu-discovery-request.js +15 -0
- package/lib/request/create-fsu-discovery-request.js.map +1 -0
- package/lib/request/delete-fsu-action-request.d.ts +37 -0
- package/lib/request/delete-fsu-action-request.js +15 -0
- package/lib/request/delete-fsu-action-request.js.map +1 -0
- package/lib/request/delete-fsu-collection-request.d.ts +37 -0
- package/lib/request/delete-fsu-collection-request.js +15 -0
- package/lib/request/delete-fsu-collection-request.js.map +1 -0
- package/lib/request/delete-fsu-cycle-request.d.ts +37 -0
- package/lib/request/delete-fsu-cycle-request.js +15 -0
- package/lib/request/delete-fsu-cycle-request.js.map +1 -0
- package/lib/request/delete-fsu-discovery-request.d.ts +37 -0
- package/lib/request/delete-fsu-discovery-request.js +15 -0
- package/lib/request/delete-fsu-discovery-request.js.map +1 -0
- package/lib/request/delete-fsu-job-request.d.ts +37 -0
- package/lib/request/delete-fsu-job-request.js +15 -0
- package/lib/request/delete-fsu-job-request.js.map +1 -0
- package/lib/request/get-fsu-action-output-content-request.d.ts +28 -0
- package/lib/request/get-fsu-action-output-content-request.js +15 -0
- package/lib/request/get-fsu-action-output-content-request.js.map +1 -0
- package/lib/request/get-fsu-action-request.d.ts +28 -0
- package/lib/request/get-fsu-action-request.js +15 -0
- package/lib/request/get-fsu-action-request.js.map +1 -0
- package/lib/request/get-fsu-collection-request.d.ts +28 -0
- package/lib/request/get-fsu-collection-request.js +15 -0
- package/lib/request/get-fsu-collection-request.js.map +1 -0
- package/lib/request/get-fsu-cycle-request.d.ts +28 -0
- package/lib/request/get-fsu-cycle-request.js +15 -0
- package/lib/request/get-fsu-cycle-request.js.map +1 -0
- package/lib/request/get-fsu-discovery-request.d.ts +28 -0
- package/lib/request/get-fsu-discovery-request.js +15 -0
- package/lib/request/get-fsu-discovery-request.js.map +1 -0
- package/lib/request/get-fsu-job-output-content-request.d.ts +28 -0
- package/lib/request/get-fsu-job-output-content-request.js +15 -0
- package/lib/request/get-fsu-job-output-content-request.js.map +1 -0
- package/lib/request/get-fsu-job-request.d.ts +28 -0
- package/lib/request/get-fsu-job-request.js +15 -0
- package/lib/request/get-fsu-job-request.js.map +1 -0
- 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 +102 -0
- package/lib/request/index.js +57 -0
- package/lib/request/index.js.map +1 -0
- package/lib/request/list-fsu-actions-request.d.ts +74 -0
- package/lib/request/list-fsu-actions-request.js +24 -0
- package/lib/request/list-fsu-actions-request.js.map +1 -0
- package/lib/request/list-fsu-collection-targets-request.d.ts +74 -0
- package/lib/request/list-fsu-collection-targets-request.js +30 -0
- package/lib/request/list-fsu-collection-targets-request.js.map +1 -0
- package/lib/request/list-fsu-collections-request.d.ts +69 -0
- package/lib/request/list-fsu-collections-request.js +24 -0
- package/lib/request/list-fsu-collections-request.js.map +1 -0
- package/lib/request/list-fsu-cycles-request.d.ts +79 -0
- package/lib/request/list-fsu-cycles-request.js +24 -0
- package/lib/request/list-fsu-cycles-request.js.map +1 -0
- package/lib/request/list-fsu-discoveries-request.d.ts +64 -0
- package/lib/request/list-fsu-discoveries-request.js +24 -0
- package/lib/request/list-fsu-discoveries-request.js.map +1 -0
- package/lib/request/list-fsu-discovery-targets-request.d.ts +74 -0
- package/lib/request/list-fsu-discovery-targets-request.js +30 -0
- package/lib/request/list-fsu-discovery-targets-request.js.map +1 -0
- package/lib/request/list-fsu-job-outputs-request.d.ts +38 -0
- package/lib/request/list-fsu-job-outputs-request.js +15 -0
- package/lib/request/list-fsu-job-outputs-request.js.map +1 -0
- package/lib/request/list-fsu-jobs-request.d.ts +63 -0
- package/lib/request/list-fsu-jobs-request.js +24 -0
- package/lib/request/list-fsu-jobs-request.js.map +1 -0
- package/lib/request/list-work-request-errors-request.d.ts +53 -0
- package/lib/request/list-work-request-errors-request.js +23 -0
- package/lib/request/list-work-request-errors-request.js.map +1 -0
- package/lib/request/list-work-request-logs-request.d.ts +53 -0
- package/lib/request/list-work-request-logs-request.js +23 -0
- package/lib/request/list-work-request-logs-request.js.map +1 -0
- package/lib/request/list-work-requests-request.d.ts +68 -0
- package/lib/request/list-work-requests-request.js +23 -0
- package/lib/request/list-work-requests-request.js.map +1 -0
- package/lib/request/remove-fsu-collection-targets-request.d.ts +52 -0
- package/lib/request/remove-fsu-collection-targets-request.js +15 -0
- package/lib/request/remove-fsu-collection-targets-request.js.map +1 -0
- package/lib/request/resume-fsu-action-request.d.ts +46 -0
- package/lib/request/resume-fsu-action-request.js +15 -0
- package/lib/request/resume-fsu-action-request.js.map +1 -0
- package/lib/request/retry-fsu-job-request.d.ts +46 -0
- package/lib/request/retry-fsu-job-request.js +15 -0
- package/lib/request/retry-fsu-job-request.js.map +1 -0
- package/lib/request/update-fsu-action-request.d.ts +43 -0
- package/lib/request/update-fsu-action-request.js +15 -0
- package/lib/request/update-fsu-action-request.js.map +1 -0
- package/lib/request/update-fsu-collection-request.d.ts +43 -0
- package/lib/request/update-fsu-collection-request.js +15 -0
- package/lib/request/update-fsu-collection-request.js.map +1 -0
- package/lib/request/update-fsu-cycle-request.d.ts +43 -0
- package/lib/request/update-fsu-cycle-request.js +15 -0
- package/lib/request/update-fsu-cycle-request.js.map +1 -0
- package/lib/request/update-fsu-discovery-request.d.ts +43 -0
- package/lib/request/update-fsu-discovery-request.js +15 -0
- package/lib/request/update-fsu-discovery-request.js.map +1 -0
- package/lib/request/update-fsu-job-request.d.ts +43 -0
- package/lib/request/update-fsu-job-request.js +15 -0
- package/lib/request/update-fsu-job-request.js.map +1 -0
- package/lib/response/abort-fsu-discovery-response.d.ts +20 -0
- package/lib/response/abort-fsu-discovery-response.js +15 -0
- package/lib/response/abort-fsu-discovery-response.js.map +1 -0
- package/lib/response/add-fsu-collection-targets-response.d.ts +25 -0
- package/lib/response/add-fsu-collection-targets-response.js +15 -0
- package/lib/response/add-fsu-collection-targets-response.js.map +1 -0
- package/lib/response/cancel-fsu-action-response.d.ts +20 -0
- package/lib/response/cancel-fsu-action-response.js +15 -0
- package/lib/response/cancel-fsu-action-response.js.map +1 -0
- package/lib/response/change-fsu-action-compartment-response.d.ts +25 -0
- package/lib/response/change-fsu-action-compartment-response.js +15 -0
- package/lib/response/change-fsu-action-compartment-response.js.map +1 -0
- package/lib/response/change-fsu-collection-compartment-response.d.ts +25 -0
- package/lib/response/change-fsu-collection-compartment-response.js +15 -0
- package/lib/response/change-fsu-collection-compartment-response.js.map +1 -0
- package/lib/response/change-fsu-cycle-compartment-response.d.ts +25 -0
- package/lib/response/change-fsu-cycle-compartment-response.js +15 -0
- package/lib/response/change-fsu-cycle-compartment-response.js.map +1 -0
- package/lib/response/change-fsu-discovery-compartment-response.d.ts +20 -0
- package/lib/response/change-fsu-discovery-compartment-response.js +15 -0
- package/lib/response/change-fsu-discovery-compartment-response.js.map +1 -0
- package/lib/response/clone-fsu-cycle-response.d.ts +41 -0
- package/lib/response/clone-fsu-cycle-response.js +15 -0
- package/lib/response/clone-fsu-cycle-response.js.map +1 -0
- package/lib/response/create-fsu-action-response.d.ts +41 -0
- package/lib/response/create-fsu-action-response.js +15 -0
- package/lib/response/create-fsu-action-response.js.map +1 -0
- package/lib/response/create-fsu-collection-response.d.ts +41 -0
- package/lib/response/create-fsu-collection-response.js +15 -0
- package/lib/response/create-fsu-collection-response.js.map +1 -0
- package/lib/response/create-fsu-cycle-response.d.ts +41 -0
- package/lib/response/create-fsu-cycle-response.js +15 -0
- package/lib/response/create-fsu-cycle-response.js.map +1 -0
- package/lib/response/create-fsu-discovery-response.d.ts +41 -0
- package/lib/response/create-fsu-discovery-response.js +15 -0
- package/lib/response/create-fsu-discovery-response.js.map +1 -0
- package/lib/response/delete-fsu-action-response.d.ts +25 -0
- package/lib/response/delete-fsu-action-response.js +15 -0
- package/lib/response/delete-fsu-action-response.js.map +1 -0
- package/lib/response/delete-fsu-collection-response.d.ts +25 -0
- package/lib/response/delete-fsu-collection-response.js +15 -0
- package/lib/response/delete-fsu-collection-response.js.map +1 -0
- package/lib/response/delete-fsu-cycle-response.d.ts +25 -0
- package/lib/response/delete-fsu-cycle-response.js +15 -0
- package/lib/response/delete-fsu-cycle-response.js.map +1 -0
- package/lib/response/delete-fsu-discovery-response.d.ts +25 -0
- package/lib/response/delete-fsu-discovery-response.js +15 -0
- package/lib/response/delete-fsu-discovery-response.js.map +1 -0
- package/lib/response/delete-fsu-job-response.d.ts +20 -0
- package/lib/response/delete-fsu-job-response.js +15 -0
- package/lib/response/delete-fsu-job-response.js.map +1 -0
- package/lib/response/get-fsu-action-output-content-response.d.ts +26 -0
- package/lib/response/get-fsu-action-output-content-response.js +15 -0
- package/lib/response/get-fsu-action-output-content-response.js.map +1 -0
- package/lib/response/get-fsu-action-response.d.ts +30 -0
- package/lib/response/get-fsu-action-response.js +15 -0
- package/lib/response/get-fsu-action-response.js.map +1 -0
- package/lib/response/get-fsu-collection-response.d.ts +30 -0
- package/lib/response/get-fsu-collection-response.js +15 -0
- package/lib/response/get-fsu-collection-response.js.map +1 -0
- package/lib/response/get-fsu-cycle-response.d.ts +30 -0
- package/lib/response/get-fsu-cycle-response.js +15 -0
- package/lib/response/get-fsu-cycle-response.js.map +1 -0
- package/lib/response/get-fsu-discovery-response.d.ts +30 -0
- package/lib/response/get-fsu-discovery-response.js +15 -0
- package/lib/response/get-fsu-discovery-response.js.map +1 -0
- package/lib/response/get-fsu-job-output-content-response.d.ts +26 -0
- package/lib/response/get-fsu-job-output-content-response.js +15 -0
- package/lib/response/get-fsu-job-output-content-response.js.map +1 -0
- package/lib/response/get-fsu-job-response.d.ts +30 -0
- package/lib/response/get-fsu-job-response.js +15 -0
- package/lib/response/get-fsu-job-response.js.map +1 -0
- 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 +102 -0
- package/lib/response/index.js +17 -0
- package/lib/response/index.js.map +1 -0
- package/lib/response/list-fsu-actions-response.d.ts +32 -0
- package/lib/response/list-fsu-actions-response.js +15 -0
- package/lib/response/list-fsu-actions-response.js.map +1 -0
- package/lib/response/list-fsu-collection-targets-response.d.ts +32 -0
- package/lib/response/list-fsu-collection-targets-response.js +15 -0
- package/lib/response/list-fsu-collection-targets-response.js.map +1 -0
- package/lib/response/list-fsu-collections-response.d.ts +32 -0
- package/lib/response/list-fsu-collections-response.js +15 -0
- package/lib/response/list-fsu-collections-response.js.map +1 -0
- package/lib/response/list-fsu-cycles-response.d.ts +32 -0
- package/lib/response/list-fsu-cycles-response.js +15 -0
- package/lib/response/list-fsu-cycles-response.js.map +1 -0
- package/lib/response/list-fsu-discoveries-response.d.ts +32 -0
- package/lib/response/list-fsu-discoveries-response.js +15 -0
- package/lib/response/list-fsu-discoveries-response.js.map +1 -0
- package/lib/response/list-fsu-discovery-targets-response.d.ts +32 -0
- package/lib/response/list-fsu-discovery-targets-response.js +15 -0
- package/lib/response/list-fsu-discovery-targets-response.js.map +1 -0
- package/lib/response/list-fsu-job-outputs-response.d.ts +32 -0
- package/lib/response/list-fsu-job-outputs-response.js +15 -0
- package/lib/response/list-fsu-job-outputs-response.js.map +1 -0
- package/lib/response/list-fsu-jobs-response.d.ts +32 -0
- package/lib/response/list-fsu-jobs-response.js +15 -0
- package/lib/response/list-fsu-jobs-response.js.map +1 -0
- 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/remove-fsu-collection-targets-response.d.ts +25 -0
- package/lib/response/remove-fsu-collection-targets-response.js +15 -0
- package/lib/response/remove-fsu-collection-targets-response.js.map +1 -0
- package/lib/response/resume-fsu-action-response.d.ts +20 -0
- package/lib/response/resume-fsu-action-response.js +15 -0
- package/lib/response/resume-fsu-action-response.js.map +1 -0
- package/lib/response/retry-fsu-job-response.d.ts +20 -0
- package/lib/response/retry-fsu-job-response.js +15 -0
- package/lib/response/retry-fsu-job-response.js.map +1 -0
- package/lib/response/update-fsu-action-response.d.ts +25 -0
- package/lib/response/update-fsu-action-response.js +15 -0
- package/lib/response/update-fsu-action-response.js.map +1 -0
- package/lib/response/update-fsu-collection-response.d.ts +25 -0
- package/lib/response/update-fsu-collection-response.js +15 -0
- package/lib/response/update-fsu-collection-response.js.map +1 -0
- package/lib/response/update-fsu-cycle-response.d.ts +25 -0
- package/lib/response/update-fsu-cycle-response.js +15 -0
- package/lib/response/update-fsu-cycle-response.js.map +1 -0
- package/lib/response/update-fsu-discovery-response.d.ts +20 -0
- package/lib/response/update-fsu-discovery-response.js +15 -0
- package/lib/response/update-fsu-discovery-response.js.map +1 -0
- package/lib/response/update-fsu-job-response.d.ts +30 -0
- package/lib/response/update-fsu-job-response.js +15 -0
- package/lib/response/update-fsu-job-response.js.map +1 -0
- package/package.json +29 -0
package/lib/client.js
ADDED
|
@@ -0,0 +1,3056 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Exadata Fleet Update service API
|
|
4
|
+
* Use the Exadata Fleet Update service to patch large collections of components directly,
|
|
5
|
+
as a single entity, orchestrating the maintenance actions to update all chosen components in the stack in a single cycle.
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20220528
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
24
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
25
|
+
}) : function(o, v) {
|
|
26
|
+
o["default"] = v;
|
|
27
|
+
});
|
|
28
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
36
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
37
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
38
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
39
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
40
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
41
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45
|
+
exports.FleetSoftwareUpdateClient = exports.FleetSoftwareUpdateApiKeys = void 0;
|
|
46
|
+
const common = require("oci-common");
|
|
47
|
+
const model = __importStar(require("./model"));
|
|
48
|
+
const fleetsoftwareupdate_waiter_1 = require("./fleetsoftwareupdate-waiter");
|
|
49
|
+
const oci_common_1 = require("oci-common");
|
|
50
|
+
// ===============================================
|
|
51
|
+
// This file is autogenerated - Please do not edit
|
|
52
|
+
// ===============================================
|
|
53
|
+
var FleetSoftwareUpdateApiKeys;
|
|
54
|
+
(function (FleetSoftwareUpdateApiKeys) {
|
|
55
|
+
})(FleetSoftwareUpdateApiKeys = exports.FleetSoftwareUpdateApiKeys || (exports.FleetSoftwareUpdateApiKeys = {}));
|
|
56
|
+
/**
|
|
57
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
58
|
+
*/
|
|
59
|
+
class FleetSoftwareUpdateClient {
|
|
60
|
+
constructor(params, clientConfiguration) {
|
|
61
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
62
|
+
this["_endpoint"] = "";
|
|
63
|
+
this["_defaultHeaders"] = {};
|
|
64
|
+
this._circuitBreaker = null;
|
|
65
|
+
this._httpOptions = undefined;
|
|
66
|
+
this.targetService = "FleetSoftwareUpdate";
|
|
67
|
+
this._regionId = "";
|
|
68
|
+
this._lastSetRegionOrRegionId = "";
|
|
69
|
+
const requestSigner = params.authenticationDetailsProvider
|
|
70
|
+
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
71
|
+
: null;
|
|
72
|
+
if (clientConfiguration) {
|
|
73
|
+
this._clientConfiguration = clientConfiguration;
|
|
74
|
+
this._circuitBreaker = clientConfiguration.circuitBreaker
|
|
75
|
+
? clientConfiguration.circuitBreaker.circuit
|
|
76
|
+
: null;
|
|
77
|
+
this._httpOptions = clientConfiguration.httpOptions
|
|
78
|
+
? clientConfiguration.httpOptions
|
|
79
|
+
: undefined;
|
|
80
|
+
}
|
|
81
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
82
|
+
const specCircuitBreakerEnabled = true;
|
|
83
|
+
if (!this._circuitBreaker &&
|
|
84
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
85
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
86
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
87
|
+
}
|
|
88
|
+
this._httpClient =
|
|
89
|
+
params.httpClient ||
|
|
90
|
+
new common.FetchHttpClient(requestSigner, this._circuitBreaker, this._httpOptions);
|
|
91
|
+
if (params.authenticationDetailsProvider &&
|
|
92
|
+
common.isRegionProvider(params.authenticationDetailsProvider)) {
|
|
93
|
+
const provider = params.authenticationDetailsProvider;
|
|
94
|
+
if (provider.getRegion()) {
|
|
95
|
+
this.region = provider.getRegion();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Get the endpoint that is being used to call (ex, https://www.example.com).
|
|
101
|
+
*/
|
|
102
|
+
get endpoint() {
|
|
103
|
+
return this._endpoint;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Sets the endpoint to call (ex, https://www.example.com).
|
|
107
|
+
* @param endpoint The endpoint of the service.
|
|
108
|
+
*/
|
|
109
|
+
set endpoint(endpoint) {
|
|
110
|
+
this._endpoint = endpoint;
|
|
111
|
+
this._endpoint = this._endpoint + "/20220528";
|
|
112
|
+
if (this.logger)
|
|
113
|
+
this.logger.info(`FleetSoftwareUpdateClient endpoint set to ${this._endpoint}`);
|
|
114
|
+
}
|
|
115
|
+
get logger() {
|
|
116
|
+
return common.LOG.logger;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
120
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
121
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
122
|
+
*/
|
|
123
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
124
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
125
|
+
if (this.logger)
|
|
126
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
127
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
128
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FleetSoftwareUpdateClient.serviceEndpointTemplate, this._region, FleetSoftwareUpdateClient.endpointServiceName);
|
|
129
|
+
}
|
|
130
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
131
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FleetSoftwareUpdateClient.serviceEndpointTemplate, this._regionId, FleetSoftwareUpdateClient.endpointServiceName);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
136
|
+
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
137
|
+
* @param region The region of the service.
|
|
138
|
+
*/
|
|
139
|
+
set region(region) {
|
|
140
|
+
this._region = region;
|
|
141
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(FleetSoftwareUpdateClient.serviceEndpointTemplate, region, FleetSoftwareUpdateClient.endpointServiceName);
|
|
142
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
146
|
+
*
|
|
147
|
+
* Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}.
|
|
148
|
+
* If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
|
|
149
|
+
* and then call {@link #endpoint(String) endpoint}.
|
|
150
|
+
* @param regionId The public region ID.
|
|
151
|
+
*/
|
|
152
|
+
set regionId(regionId) {
|
|
153
|
+
this._regionId = regionId;
|
|
154
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(FleetSoftwareUpdateClient.serviceEndpointTemplate, regionId, FleetSoftwareUpdateClient.endpointServiceName);
|
|
155
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Creates a new FleetSoftwareUpdateWaiter for resources for this service.
|
|
159
|
+
*
|
|
160
|
+
* @param config The waiter configuration for termination and delay strategy
|
|
161
|
+
* @return The service waiters.
|
|
162
|
+
*/
|
|
163
|
+
createWaiters(config) {
|
|
164
|
+
this._waiters = new fleetsoftwareupdate_waiter_1.FleetSoftwareUpdateWaiter(this, config);
|
|
165
|
+
return this._waiters;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Gets the waiters available for resources for this service.
|
|
169
|
+
*
|
|
170
|
+
* @return The service waiters.
|
|
171
|
+
*/
|
|
172
|
+
getWaiters() {
|
|
173
|
+
if (this._waiters) {
|
|
174
|
+
return this._waiters;
|
|
175
|
+
}
|
|
176
|
+
throw Error("Waiters do not exist. Please create waiters.");
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Aborts Exadata Fleet Update Discovery in progress.
|
|
180
|
+
*
|
|
181
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
182
|
+
* @param AbortFsuDiscoveryRequest
|
|
183
|
+
* @return AbortFsuDiscoveryResponse
|
|
184
|
+
* @throws OciError when an error occurs
|
|
185
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/AbortFsuDiscovery.ts.html |here} to see how to use AbortFsuDiscovery API.
|
|
186
|
+
*/
|
|
187
|
+
abortFsuDiscovery(abortFsuDiscoveryRequest) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
if (this.logger)
|
|
190
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#abortFsuDiscovery.");
|
|
191
|
+
const operationName = "abortFsuDiscovery";
|
|
192
|
+
const apiReferenceLink = "";
|
|
193
|
+
const pathParams = {
|
|
194
|
+
"{fsuDiscoveryId}": abortFsuDiscoveryRequest.fsuDiscoveryId
|
|
195
|
+
};
|
|
196
|
+
const queryParams = {};
|
|
197
|
+
let headerParams = {
|
|
198
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
199
|
+
"if-match": abortFsuDiscoveryRequest.ifMatch,
|
|
200
|
+
"opc-request-id": abortFsuDiscoveryRequest.opcRequestId,
|
|
201
|
+
"opc-retry-token": abortFsuDiscoveryRequest.opcRetryToken
|
|
202
|
+
};
|
|
203
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
204
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, abortFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
|
|
205
|
+
if (this.logger)
|
|
206
|
+
retrier.logger = this.logger;
|
|
207
|
+
const request = yield oci_common_1.composeRequest({
|
|
208
|
+
baseEndpoint: this._endpoint,
|
|
209
|
+
defaultHeaders: this._defaultHeaders,
|
|
210
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}/actions/abort",
|
|
211
|
+
method: "POST",
|
|
212
|
+
pathParams: pathParams,
|
|
213
|
+
headerParams: headerParams,
|
|
214
|
+
queryParams: queryParams
|
|
215
|
+
});
|
|
216
|
+
try {
|
|
217
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
218
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
219
|
+
responseObject: {},
|
|
220
|
+
responseHeaders: [
|
|
221
|
+
{
|
|
222
|
+
value: response.headers.get("opc-request-id"),
|
|
223
|
+
key: "opcRequestId",
|
|
224
|
+
dataType: "string"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
});
|
|
228
|
+
return sdkResponse;
|
|
229
|
+
}
|
|
230
|
+
catch (err) {
|
|
231
|
+
throw err;
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Adds targets to an existing Exadata Fleet Update Collection.
|
|
237
|
+
* Targets that are already part of a different Collection with an active Fleet Software Update Cycle cannot be added.
|
|
238
|
+
* This operation can only be performed on Collections that do not have an Action executing under an active Fleet Software Update Cycle.
|
|
239
|
+
* Additionally, during an active Fleet Software Update Cycle, targets can be added only prior to executing an Apply Action. This will require running a new Stage Action for the active Cycle.
|
|
240
|
+
*
|
|
241
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
242
|
+
* @param AddFsuCollectionTargetsRequest
|
|
243
|
+
* @return AddFsuCollectionTargetsResponse
|
|
244
|
+
* @throws OciError when an error occurs
|
|
245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/AddFsuCollectionTargets.ts.html |here} to see how to use AddFsuCollectionTargets API.
|
|
246
|
+
*/
|
|
247
|
+
addFsuCollectionTargets(addFsuCollectionTargetsRequest) {
|
|
248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
+
if (this.logger)
|
|
250
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#addFsuCollectionTargets.");
|
|
251
|
+
const operationName = "addFsuCollectionTargets";
|
|
252
|
+
const apiReferenceLink = "";
|
|
253
|
+
const pathParams = {
|
|
254
|
+
"{fsuCollectionId}": addFsuCollectionTargetsRequest.fsuCollectionId
|
|
255
|
+
};
|
|
256
|
+
const queryParams = {};
|
|
257
|
+
let headerParams = {
|
|
258
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
259
|
+
"if-match": addFsuCollectionTargetsRequest.ifMatch,
|
|
260
|
+
"opc-request-id": addFsuCollectionTargetsRequest.opcRequestId,
|
|
261
|
+
"opc-retry-token": addFsuCollectionTargetsRequest.opcRetryToken
|
|
262
|
+
};
|
|
263
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
264
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
265
|
+
if (this.logger)
|
|
266
|
+
retrier.logger = this.logger;
|
|
267
|
+
const request = yield oci_common_1.composeRequest({
|
|
268
|
+
baseEndpoint: this._endpoint,
|
|
269
|
+
defaultHeaders: this._defaultHeaders,
|
|
270
|
+
path: "/fsuCollections/{fsuCollectionId}/targets",
|
|
271
|
+
method: "POST",
|
|
272
|
+
bodyContent: common.ObjectSerializer.serialize(addFsuCollectionTargetsRequest.addFsuCollectionTargetsDetails, "AddFsuCollectionTargetsDetails", model.AddFsuCollectionTargetsDetails.getJsonObj),
|
|
273
|
+
pathParams: pathParams,
|
|
274
|
+
headerParams: headerParams,
|
|
275
|
+
queryParams: queryParams
|
|
276
|
+
});
|
|
277
|
+
try {
|
|
278
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
279
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
280
|
+
responseObject: {},
|
|
281
|
+
responseHeaders: [
|
|
282
|
+
{
|
|
283
|
+
value: response.headers.get("opc-work-request-id"),
|
|
284
|
+
key: "opcWorkRequestId",
|
|
285
|
+
dataType: "string"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
value: response.headers.get("opc-request-id"),
|
|
289
|
+
key: "opcRequestId",
|
|
290
|
+
dataType: "string"
|
|
291
|
+
}
|
|
292
|
+
]
|
|
293
|
+
});
|
|
294
|
+
return sdkResponse;
|
|
295
|
+
}
|
|
296
|
+
catch (err) {
|
|
297
|
+
throw err;
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* Cancels a scheduled Action. Only applicable for Actions that have not started executing.
|
|
303
|
+
*
|
|
304
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
305
|
+
* @param CancelFsuActionRequest
|
|
306
|
+
* @return CancelFsuActionResponse
|
|
307
|
+
* @throws OciError when an error occurs
|
|
308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CancelFsuAction.ts.html |here} to see how to use CancelFsuAction API.
|
|
309
|
+
*/
|
|
310
|
+
cancelFsuAction(cancelFsuActionRequest) {
|
|
311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
312
|
+
if (this.logger)
|
|
313
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#cancelFsuAction.");
|
|
314
|
+
const operationName = "cancelFsuAction";
|
|
315
|
+
const apiReferenceLink = "";
|
|
316
|
+
const pathParams = {
|
|
317
|
+
"{fsuActionId}": cancelFsuActionRequest.fsuActionId
|
|
318
|
+
};
|
|
319
|
+
const queryParams = {};
|
|
320
|
+
let headerParams = {
|
|
321
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
322
|
+
"if-match": cancelFsuActionRequest.ifMatch,
|
|
323
|
+
"opc-request-id": cancelFsuActionRequest.opcRequestId,
|
|
324
|
+
"opc-retry-token": cancelFsuActionRequest.opcRetryToken
|
|
325
|
+
};
|
|
326
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
327
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cancelFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
328
|
+
if (this.logger)
|
|
329
|
+
retrier.logger = this.logger;
|
|
330
|
+
const request = yield oci_common_1.composeRequest({
|
|
331
|
+
baseEndpoint: this._endpoint,
|
|
332
|
+
defaultHeaders: this._defaultHeaders,
|
|
333
|
+
path: "/fsuActions/{fsuActionId}/actions/cancel",
|
|
334
|
+
method: "POST",
|
|
335
|
+
pathParams: pathParams,
|
|
336
|
+
headerParams: headerParams,
|
|
337
|
+
queryParams: queryParams
|
|
338
|
+
});
|
|
339
|
+
try {
|
|
340
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
341
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
342
|
+
responseObject: {},
|
|
343
|
+
responseHeaders: [
|
|
344
|
+
{
|
|
345
|
+
value: response.headers.get("opc-request-id"),
|
|
346
|
+
key: "opcRequestId",
|
|
347
|
+
dataType: "string"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
});
|
|
351
|
+
return sdkResponse;
|
|
352
|
+
}
|
|
353
|
+
catch (err) {
|
|
354
|
+
throw err;
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Moves a Exadata Fleet Update Action resource from one compartment identifier to another.
|
|
360
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
361
|
+
*
|
|
362
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
363
|
+
* @param ChangeFsuActionCompartmentRequest
|
|
364
|
+
* @return ChangeFsuActionCompartmentResponse
|
|
365
|
+
* @throws OciError when an error occurs
|
|
366
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ChangeFsuActionCompartment.ts.html |here} to see how to use ChangeFsuActionCompartment API.
|
|
367
|
+
*/
|
|
368
|
+
changeFsuActionCompartment(changeFsuActionCompartmentRequest) {
|
|
369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
370
|
+
if (this.logger)
|
|
371
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuActionCompartment.");
|
|
372
|
+
const operationName = "changeFsuActionCompartment";
|
|
373
|
+
const apiReferenceLink = "";
|
|
374
|
+
const pathParams = {
|
|
375
|
+
"{fsuActionId}": changeFsuActionCompartmentRequest.fsuActionId
|
|
376
|
+
};
|
|
377
|
+
const queryParams = {};
|
|
378
|
+
let headerParams = {
|
|
379
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
380
|
+
"if-match": changeFsuActionCompartmentRequest.ifMatch,
|
|
381
|
+
"opc-request-id": changeFsuActionCompartmentRequest.opcRequestId,
|
|
382
|
+
"opc-retry-token": changeFsuActionCompartmentRequest.opcRetryToken
|
|
383
|
+
};
|
|
384
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
385
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuActionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
386
|
+
if (this.logger)
|
|
387
|
+
retrier.logger = this.logger;
|
|
388
|
+
const request = yield oci_common_1.composeRequest({
|
|
389
|
+
baseEndpoint: this._endpoint,
|
|
390
|
+
defaultHeaders: this._defaultHeaders,
|
|
391
|
+
path: "/fsuActions/{fsuActionId}/actions/changeCompartment",
|
|
392
|
+
method: "POST",
|
|
393
|
+
bodyContent: common.ObjectSerializer.serialize(changeFsuActionCompartmentRequest.changeFsuActionCompartmentDetails, "ChangeFsuActionCompartmentDetails", model.ChangeFsuActionCompartmentDetails.getJsonObj),
|
|
394
|
+
pathParams: pathParams,
|
|
395
|
+
headerParams: headerParams,
|
|
396
|
+
queryParams: queryParams
|
|
397
|
+
});
|
|
398
|
+
try {
|
|
399
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
400
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
401
|
+
responseObject: {},
|
|
402
|
+
responseHeaders: [
|
|
403
|
+
{
|
|
404
|
+
value: response.headers.get("opc-work-request-id"),
|
|
405
|
+
key: "opcWorkRequestId",
|
|
406
|
+
dataType: "string"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
value: response.headers.get("opc-request-id"),
|
|
410
|
+
key: "opcRequestId",
|
|
411
|
+
dataType: "string"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
});
|
|
415
|
+
return sdkResponse;
|
|
416
|
+
}
|
|
417
|
+
catch (err) {
|
|
418
|
+
throw err;
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* Moves a Exadata Fleet Update Collection resource from one compartment identifier to another.
|
|
424
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
425
|
+
*
|
|
426
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
427
|
+
* @param ChangeFsuCollectionCompartmentRequest
|
|
428
|
+
* @return ChangeFsuCollectionCompartmentResponse
|
|
429
|
+
* @throws OciError when an error occurs
|
|
430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ChangeFsuCollectionCompartment.ts.html |here} to see how to use ChangeFsuCollectionCompartment API.
|
|
431
|
+
*/
|
|
432
|
+
changeFsuCollectionCompartment(changeFsuCollectionCompartmentRequest) {
|
|
433
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
if (this.logger)
|
|
435
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCollectionCompartment.");
|
|
436
|
+
const operationName = "changeFsuCollectionCompartment";
|
|
437
|
+
const apiReferenceLink = "";
|
|
438
|
+
const pathParams = {
|
|
439
|
+
"{fsuCollectionId}": changeFsuCollectionCompartmentRequest.fsuCollectionId
|
|
440
|
+
};
|
|
441
|
+
const queryParams = {};
|
|
442
|
+
let headerParams = {
|
|
443
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
444
|
+
"if-match": changeFsuCollectionCompartmentRequest.ifMatch,
|
|
445
|
+
"opc-request-id": changeFsuCollectionCompartmentRequest.opcRequestId,
|
|
446
|
+
"opc-retry-token": changeFsuCollectionCompartmentRequest.opcRetryToken
|
|
447
|
+
};
|
|
448
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
449
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuCollectionCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
450
|
+
if (this.logger)
|
|
451
|
+
retrier.logger = this.logger;
|
|
452
|
+
const request = yield oci_common_1.composeRequest({
|
|
453
|
+
baseEndpoint: this._endpoint,
|
|
454
|
+
defaultHeaders: this._defaultHeaders,
|
|
455
|
+
path: "/fsuCollections/{fsuCollectionId}/actions/changeCompartment",
|
|
456
|
+
method: "POST",
|
|
457
|
+
bodyContent: common.ObjectSerializer.serialize(changeFsuCollectionCompartmentRequest.changeFsuCollectionCompartmentDetails, "ChangeFsuCollectionCompartmentDetails", model.ChangeFsuCollectionCompartmentDetails.getJsonObj),
|
|
458
|
+
pathParams: pathParams,
|
|
459
|
+
headerParams: headerParams,
|
|
460
|
+
queryParams: queryParams
|
|
461
|
+
});
|
|
462
|
+
try {
|
|
463
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
464
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
465
|
+
responseObject: {},
|
|
466
|
+
responseHeaders: [
|
|
467
|
+
{
|
|
468
|
+
value: response.headers.get("opc-work-request-id"),
|
|
469
|
+
key: "opcWorkRequestId",
|
|
470
|
+
dataType: "string"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
value: response.headers.get("opc-request-id"),
|
|
474
|
+
key: "opcRequestId",
|
|
475
|
+
dataType: "string"
|
|
476
|
+
}
|
|
477
|
+
]
|
|
478
|
+
});
|
|
479
|
+
return sdkResponse;
|
|
480
|
+
}
|
|
481
|
+
catch (err) {
|
|
482
|
+
throw err;
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Moves a Exadata Fleet Update Cycle resource from one compartment identifier to another.
|
|
488
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
489
|
+
*
|
|
490
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
491
|
+
* @param ChangeFsuCycleCompartmentRequest
|
|
492
|
+
* @return ChangeFsuCycleCompartmentResponse
|
|
493
|
+
* @throws OciError when an error occurs
|
|
494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ChangeFsuCycleCompartment.ts.html |here} to see how to use ChangeFsuCycleCompartment API.
|
|
495
|
+
*/
|
|
496
|
+
changeFsuCycleCompartment(changeFsuCycleCompartmentRequest) {
|
|
497
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
498
|
+
if (this.logger)
|
|
499
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuCycleCompartment.");
|
|
500
|
+
const operationName = "changeFsuCycleCompartment";
|
|
501
|
+
const apiReferenceLink = "";
|
|
502
|
+
const pathParams = {
|
|
503
|
+
"{fsuCycleId}": changeFsuCycleCompartmentRequest.fsuCycleId
|
|
504
|
+
};
|
|
505
|
+
const queryParams = {};
|
|
506
|
+
let headerParams = {
|
|
507
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
508
|
+
"if-match": changeFsuCycleCompartmentRequest.ifMatch,
|
|
509
|
+
"opc-request-id": changeFsuCycleCompartmentRequest.opcRequestId,
|
|
510
|
+
"opc-retry-token": changeFsuCycleCompartmentRequest.opcRetryToken
|
|
511
|
+
};
|
|
512
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
513
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuCycleCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
514
|
+
if (this.logger)
|
|
515
|
+
retrier.logger = this.logger;
|
|
516
|
+
const request = yield oci_common_1.composeRequest({
|
|
517
|
+
baseEndpoint: this._endpoint,
|
|
518
|
+
defaultHeaders: this._defaultHeaders,
|
|
519
|
+
path: "/fsuCycles/{fsuCycleId}/actions/changeCompartment",
|
|
520
|
+
method: "POST",
|
|
521
|
+
bodyContent: common.ObjectSerializer.serialize(changeFsuCycleCompartmentRequest.changeFsuCycleCompartmentDetails, "ChangeFsuCycleCompartmentDetails", model.ChangeFsuCycleCompartmentDetails.getJsonObj),
|
|
522
|
+
pathParams: pathParams,
|
|
523
|
+
headerParams: headerParams,
|
|
524
|
+
queryParams: queryParams
|
|
525
|
+
});
|
|
526
|
+
try {
|
|
527
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
528
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
529
|
+
responseObject: {},
|
|
530
|
+
responseHeaders: [
|
|
531
|
+
{
|
|
532
|
+
value: response.headers.get("opc-work-request-id"),
|
|
533
|
+
key: "opcWorkRequestId",
|
|
534
|
+
dataType: "string"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
value: response.headers.get("opc-request-id"),
|
|
538
|
+
key: "opcRequestId",
|
|
539
|
+
dataType: "string"
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
});
|
|
543
|
+
return sdkResponse;
|
|
544
|
+
}
|
|
545
|
+
catch (err) {
|
|
546
|
+
throw err;
|
|
547
|
+
}
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
/**
|
|
551
|
+
* Moves a Exadata Fleet Update Discovery resource from one compartment identifier to another.
|
|
552
|
+
* When provided, If-Match is checked against ETag values of the resource.
|
|
553
|
+
*
|
|
554
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
555
|
+
* @param ChangeFsuDiscoveryCompartmentRequest
|
|
556
|
+
* @return ChangeFsuDiscoveryCompartmentResponse
|
|
557
|
+
* @throws OciError when an error occurs
|
|
558
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ChangeFsuDiscoveryCompartment.ts.html |here} to see how to use ChangeFsuDiscoveryCompartment API.
|
|
559
|
+
*/
|
|
560
|
+
changeFsuDiscoveryCompartment(changeFsuDiscoveryCompartmentRequest) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
if (this.logger)
|
|
563
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#changeFsuDiscoveryCompartment.");
|
|
564
|
+
const operationName = "changeFsuDiscoveryCompartment";
|
|
565
|
+
const apiReferenceLink = "";
|
|
566
|
+
const pathParams = {
|
|
567
|
+
"{fsuDiscoveryId}": changeFsuDiscoveryCompartmentRequest.fsuDiscoveryId
|
|
568
|
+
};
|
|
569
|
+
const queryParams = {};
|
|
570
|
+
let headerParams = {
|
|
571
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
572
|
+
"if-match": changeFsuDiscoveryCompartmentRequest.ifMatch,
|
|
573
|
+
"opc-request-id": changeFsuDiscoveryCompartmentRequest.opcRequestId,
|
|
574
|
+
"opc-retry-token": changeFsuDiscoveryCompartmentRequest.opcRetryToken
|
|
575
|
+
};
|
|
576
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
577
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeFsuDiscoveryCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
578
|
+
if (this.logger)
|
|
579
|
+
retrier.logger = this.logger;
|
|
580
|
+
const request = yield oci_common_1.composeRequest({
|
|
581
|
+
baseEndpoint: this._endpoint,
|
|
582
|
+
defaultHeaders: this._defaultHeaders,
|
|
583
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}/actions/changeCompartment",
|
|
584
|
+
method: "POST",
|
|
585
|
+
bodyContent: common.ObjectSerializer.serialize(changeFsuDiscoveryCompartmentRequest.changeFsuDiscoveryCompartmentDetails, "ChangeFsuDiscoveryCompartmentDetails", model.ChangeFsuDiscoveryCompartmentDetails.getJsonObj),
|
|
586
|
+
pathParams: pathParams,
|
|
587
|
+
headerParams: headerParams,
|
|
588
|
+
queryParams: queryParams
|
|
589
|
+
});
|
|
590
|
+
try {
|
|
591
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
592
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
593
|
+
responseObject: {},
|
|
594
|
+
responseHeaders: [
|
|
595
|
+
{
|
|
596
|
+
value: response.headers.get("opc-request-id"),
|
|
597
|
+
key: "opcRequestId",
|
|
598
|
+
dataType: "string"
|
|
599
|
+
}
|
|
600
|
+
]
|
|
601
|
+
});
|
|
602
|
+
return sdkResponse;
|
|
603
|
+
}
|
|
604
|
+
catch (err) {
|
|
605
|
+
throw err;
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Clones existing Exadata Fleet Update Cycle details into a new Exadata Fleet Update Cycle resource.
|
|
611
|
+
*
|
|
612
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
613
|
+
* @param CloneFsuCycleRequest
|
|
614
|
+
* @return CloneFsuCycleResponse
|
|
615
|
+
* @throws OciError when an error occurs
|
|
616
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CloneFsuCycle.ts.html |here} to see how to use CloneFsuCycle API.
|
|
617
|
+
*/
|
|
618
|
+
cloneFsuCycle(cloneFsuCycleRequest) {
|
|
619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
620
|
+
if (this.logger)
|
|
621
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#cloneFsuCycle.");
|
|
622
|
+
const operationName = "cloneFsuCycle";
|
|
623
|
+
const apiReferenceLink = "";
|
|
624
|
+
const pathParams = {
|
|
625
|
+
"{fsuCycleId}": cloneFsuCycleRequest.fsuCycleId
|
|
626
|
+
};
|
|
627
|
+
const queryParams = {};
|
|
628
|
+
let headerParams = {
|
|
629
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
630
|
+
"opc-request-id": cloneFsuCycleRequest.opcRequestId,
|
|
631
|
+
"opc-retry-token": cloneFsuCycleRequest.opcRetryToken
|
|
632
|
+
};
|
|
633
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
634
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cloneFsuCycleRequest.retryConfiguration, specRetryConfiguration);
|
|
635
|
+
if (this.logger)
|
|
636
|
+
retrier.logger = this.logger;
|
|
637
|
+
const request = yield oci_common_1.composeRequest({
|
|
638
|
+
baseEndpoint: this._endpoint,
|
|
639
|
+
defaultHeaders: this._defaultHeaders,
|
|
640
|
+
path: "/fsuCycles/{fsuCycleId}/actions/clone",
|
|
641
|
+
method: "POST",
|
|
642
|
+
bodyContent: common.ObjectSerializer.serialize(cloneFsuCycleRequest.cloneFsuCycleDetails, "CloneFsuCycleDetails", model.CloneFsuCycleDetails.getJsonObj),
|
|
643
|
+
pathParams: pathParams,
|
|
644
|
+
headerParams: headerParams,
|
|
645
|
+
queryParams: queryParams
|
|
646
|
+
});
|
|
647
|
+
try {
|
|
648
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
649
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
650
|
+
responseObject: {},
|
|
651
|
+
body: yield response.json(),
|
|
652
|
+
bodyKey: "fsuCycle",
|
|
653
|
+
bodyModel: model.FsuCycle,
|
|
654
|
+
type: "model.FsuCycle",
|
|
655
|
+
responseHeaders: [
|
|
656
|
+
{
|
|
657
|
+
value: response.headers.get("opc-work-request-id"),
|
|
658
|
+
key: "opcWorkRequestId",
|
|
659
|
+
dataType: "string"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
value: response.headers.get("opc-request-id"),
|
|
663
|
+
key: "opcRequestId",
|
|
664
|
+
dataType: "string"
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
value: response.headers.get("etag"),
|
|
668
|
+
key: "etag",
|
|
669
|
+
dataType: "string"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
value: response.headers.get("Location"),
|
|
673
|
+
key: "location",
|
|
674
|
+
dataType: "string"
|
|
675
|
+
}
|
|
676
|
+
]
|
|
677
|
+
});
|
|
678
|
+
return sdkResponse;
|
|
679
|
+
}
|
|
680
|
+
catch (err) {
|
|
681
|
+
throw err;
|
|
682
|
+
}
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* Creates a new Exadata Fleet Update Action.
|
|
687
|
+
*
|
|
688
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
689
|
+
* @param CreateFsuActionRequest
|
|
690
|
+
* @return CreateFsuActionResponse
|
|
691
|
+
* @throws OciError when an error occurs
|
|
692
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CreateFsuAction.ts.html |here} to see how to use CreateFsuAction API.
|
|
693
|
+
*/
|
|
694
|
+
createFsuAction(createFsuActionRequest) {
|
|
695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
if (this.logger)
|
|
697
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuAction.");
|
|
698
|
+
const operationName = "createFsuAction";
|
|
699
|
+
const apiReferenceLink = "";
|
|
700
|
+
const pathParams = {};
|
|
701
|
+
const queryParams = {};
|
|
702
|
+
let headerParams = {
|
|
703
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
704
|
+
"opc-retry-token": createFsuActionRequest.opcRetryToken,
|
|
705
|
+
"opc-request-id": createFsuActionRequest.opcRequestId
|
|
706
|
+
};
|
|
707
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
708
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
709
|
+
if (this.logger)
|
|
710
|
+
retrier.logger = this.logger;
|
|
711
|
+
const request = yield oci_common_1.composeRequest({
|
|
712
|
+
baseEndpoint: this._endpoint,
|
|
713
|
+
defaultHeaders: this._defaultHeaders,
|
|
714
|
+
path: "/fsuActions",
|
|
715
|
+
method: "POST",
|
|
716
|
+
bodyContent: common.ObjectSerializer.serialize(createFsuActionRequest.createFsuActionDetails, "CreateFsuActionDetails", model.CreateFsuActionDetails.getJsonObj),
|
|
717
|
+
pathParams: pathParams,
|
|
718
|
+
headerParams: headerParams,
|
|
719
|
+
queryParams: queryParams
|
|
720
|
+
});
|
|
721
|
+
try {
|
|
722
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
723
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
724
|
+
responseObject: {},
|
|
725
|
+
body: yield response.json(),
|
|
726
|
+
bodyKey: "fsuAction",
|
|
727
|
+
bodyModel: model.FsuAction,
|
|
728
|
+
type: "model.FsuAction",
|
|
729
|
+
responseHeaders: [
|
|
730
|
+
{
|
|
731
|
+
value: response.headers.get("opc-work-request-id"),
|
|
732
|
+
key: "opcWorkRequestId",
|
|
733
|
+
dataType: "string"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
value: response.headers.get("opc-request-id"),
|
|
737
|
+
key: "opcRequestId",
|
|
738
|
+
dataType: "string"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
value: response.headers.get("etag"),
|
|
742
|
+
key: "etag",
|
|
743
|
+
dataType: "string"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
value: response.headers.get("Location"),
|
|
747
|
+
key: "location",
|
|
748
|
+
dataType: "string"
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
});
|
|
752
|
+
return sdkResponse;
|
|
753
|
+
}
|
|
754
|
+
catch (err) {
|
|
755
|
+
throw err;
|
|
756
|
+
}
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* Creates a new Exadata Fleet Update Collection.
|
|
761
|
+
*
|
|
762
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
763
|
+
* @param CreateFsuCollectionRequest
|
|
764
|
+
* @return CreateFsuCollectionResponse
|
|
765
|
+
* @throws OciError when an error occurs
|
|
766
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CreateFsuCollection.ts.html |here} to see how to use CreateFsuCollection API.
|
|
767
|
+
*/
|
|
768
|
+
createFsuCollection(createFsuCollectionRequest) {
|
|
769
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
770
|
+
if (this.logger)
|
|
771
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCollection.");
|
|
772
|
+
const operationName = "createFsuCollection";
|
|
773
|
+
const apiReferenceLink = "";
|
|
774
|
+
const pathParams = {};
|
|
775
|
+
const queryParams = {};
|
|
776
|
+
let headerParams = {
|
|
777
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
778
|
+
"opc-retry-token": createFsuCollectionRequest.opcRetryToken,
|
|
779
|
+
"opc-request-id": createFsuCollectionRequest.opcRequestId
|
|
780
|
+
};
|
|
781
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
782
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
|
|
783
|
+
if (this.logger)
|
|
784
|
+
retrier.logger = this.logger;
|
|
785
|
+
const request = yield oci_common_1.composeRequest({
|
|
786
|
+
baseEndpoint: this._endpoint,
|
|
787
|
+
defaultHeaders: this._defaultHeaders,
|
|
788
|
+
path: "/fsuCollections",
|
|
789
|
+
method: "POST",
|
|
790
|
+
bodyContent: common.ObjectSerializer.serialize(createFsuCollectionRequest.createFsuCollectionDetails, "CreateFsuCollectionDetails", model.CreateFsuCollectionDetails.getJsonObj),
|
|
791
|
+
pathParams: pathParams,
|
|
792
|
+
headerParams: headerParams,
|
|
793
|
+
queryParams: queryParams
|
|
794
|
+
});
|
|
795
|
+
try {
|
|
796
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
797
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
798
|
+
responseObject: {},
|
|
799
|
+
body: yield response.json(),
|
|
800
|
+
bodyKey: "fsuCollection",
|
|
801
|
+
bodyModel: model.FsuCollection,
|
|
802
|
+
type: "model.FsuCollection",
|
|
803
|
+
responseHeaders: [
|
|
804
|
+
{
|
|
805
|
+
value: response.headers.get("opc-work-request-id"),
|
|
806
|
+
key: "opcWorkRequestId",
|
|
807
|
+
dataType: "string"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
value: response.headers.get("opc-request-id"),
|
|
811
|
+
key: "opcRequestId",
|
|
812
|
+
dataType: "string"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
value: response.headers.get("etag"),
|
|
816
|
+
key: "etag",
|
|
817
|
+
dataType: "string"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
value: response.headers.get("Location"),
|
|
821
|
+
key: "location",
|
|
822
|
+
dataType: "string"
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
});
|
|
826
|
+
return sdkResponse;
|
|
827
|
+
}
|
|
828
|
+
catch (err) {
|
|
829
|
+
throw err;
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Creates a new Exadata Fleet Update Cycle.
|
|
835
|
+
*
|
|
836
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
837
|
+
* @param CreateFsuCycleRequest
|
|
838
|
+
* @return CreateFsuCycleResponse
|
|
839
|
+
* @throws OciError when an error occurs
|
|
840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CreateFsuCycle.ts.html |here} to see how to use CreateFsuCycle API.
|
|
841
|
+
*/
|
|
842
|
+
createFsuCycle(createFsuCycleRequest) {
|
|
843
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
844
|
+
if (this.logger)
|
|
845
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuCycle.");
|
|
846
|
+
const operationName = "createFsuCycle";
|
|
847
|
+
const apiReferenceLink = "";
|
|
848
|
+
const pathParams = {};
|
|
849
|
+
const queryParams = {};
|
|
850
|
+
let headerParams = {
|
|
851
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
852
|
+
"opc-retry-token": createFsuCycleRequest.opcRetryToken,
|
|
853
|
+
"opc-request-id": createFsuCycleRequest.opcRequestId
|
|
854
|
+
};
|
|
855
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
856
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuCycleRequest.retryConfiguration, specRetryConfiguration);
|
|
857
|
+
if (this.logger)
|
|
858
|
+
retrier.logger = this.logger;
|
|
859
|
+
const request = yield oci_common_1.composeRequest({
|
|
860
|
+
baseEndpoint: this._endpoint,
|
|
861
|
+
defaultHeaders: this._defaultHeaders,
|
|
862
|
+
path: "/fsuCycles",
|
|
863
|
+
method: "POST",
|
|
864
|
+
bodyContent: common.ObjectSerializer.serialize(createFsuCycleRequest.createFsuCycleDetails, "CreateFsuCycleDetails", model.CreateFsuCycleDetails.getJsonObj),
|
|
865
|
+
pathParams: pathParams,
|
|
866
|
+
headerParams: headerParams,
|
|
867
|
+
queryParams: queryParams
|
|
868
|
+
});
|
|
869
|
+
try {
|
|
870
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
871
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
872
|
+
responseObject: {},
|
|
873
|
+
body: yield response.json(),
|
|
874
|
+
bodyKey: "fsuCycle",
|
|
875
|
+
bodyModel: model.FsuCycle,
|
|
876
|
+
type: "model.FsuCycle",
|
|
877
|
+
responseHeaders: [
|
|
878
|
+
{
|
|
879
|
+
value: response.headers.get("opc-work-request-id"),
|
|
880
|
+
key: "opcWorkRequestId",
|
|
881
|
+
dataType: "string"
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
value: response.headers.get("opc-request-id"),
|
|
885
|
+
key: "opcRequestId",
|
|
886
|
+
dataType: "string"
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
value: response.headers.get("etag"),
|
|
890
|
+
key: "etag",
|
|
891
|
+
dataType: "string"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
value: response.headers.get("Location"),
|
|
895
|
+
key: "location",
|
|
896
|
+
dataType: "string"
|
|
897
|
+
}
|
|
898
|
+
]
|
|
899
|
+
});
|
|
900
|
+
return sdkResponse;
|
|
901
|
+
}
|
|
902
|
+
catch (err) {
|
|
903
|
+
throw err;
|
|
904
|
+
}
|
|
905
|
+
});
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* Creates a new Exadata Fleet Update Discovery.
|
|
909
|
+
*
|
|
910
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
911
|
+
* @param CreateFsuDiscoveryRequest
|
|
912
|
+
* @return CreateFsuDiscoveryResponse
|
|
913
|
+
* @throws OciError when an error occurs
|
|
914
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/CreateFsuDiscovery.ts.html |here} to see how to use CreateFsuDiscovery API.
|
|
915
|
+
*/
|
|
916
|
+
createFsuDiscovery(createFsuDiscoveryRequest) {
|
|
917
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
918
|
+
if (this.logger)
|
|
919
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#createFsuDiscovery.");
|
|
920
|
+
const operationName = "createFsuDiscovery";
|
|
921
|
+
const apiReferenceLink = "";
|
|
922
|
+
const pathParams = {};
|
|
923
|
+
const queryParams = {};
|
|
924
|
+
let headerParams = {
|
|
925
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
926
|
+
"opc-retry-token": createFsuDiscoveryRequest.opcRetryToken,
|
|
927
|
+
"opc-request-id": createFsuDiscoveryRequest.opcRequestId
|
|
928
|
+
};
|
|
929
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
930
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
|
|
931
|
+
if (this.logger)
|
|
932
|
+
retrier.logger = this.logger;
|
|
933
|
+
const request = yield oci_common_1.composeRequest({
|
|
934
|
+
baseEndpoint: this._endpoint,
|
|
935
|
+
defaultHeaders: this._defaultHeaders,
|
|
936
|
+
path: "/fsuDiscoveries",
|
|
937
|
+
method: "POST",
|
|
938
|
+
bodyContent: common.ObjectSerializer.serialize(createFsuDiscoveryRequest.createFsuDiscoveryDetails, "CreateFsuDiscoveryDetails", model.CreateFsuDiscoveryDetails.getJsonObj),
|
|
939
|
+
pathParams: pathParams,
|
|
940
|
+
headerParams: headerParams,
|
|
941
|
+
queryParams: queryParams
|
|
942
|
+
});
|
|
943
|
+
try {
|
|
944
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
945
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
946
|
+
responseObject: {},
|
|
947
|
+
body: yield response.json(),
|
|
948
|
+
bodyKey: "fsuDiscovery",
|
|
949
|
+
bodyModel: model.FsuDiscovery,
|
|
950
|
+
type: "model.FsuDiscovery",
|
|
951
|
+
responseHeaders: [
|
|
952
|
+
{
|
|
953
|
+
value: response.headers.get("opc-work-request-id"),
|
|
954
|
+
key: "opcWorkRequestId",
|
|
955
|
+
dataType: "string"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
value: response.headers.get("opc-request-id"),
|
|
959
|
+
key: "opcRequestId",
|
|
960
|
+
dataType: "string"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
value: response.headers.get("etag"),
|
|
964
|
+
key: "etag",
|
|
965
|
+
dataType: "string"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
value: response.headers.get("Location"),
|
|
969
|
+
key: "location",
|
|
970
|
+
dataType: "string"
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
});
|
|
974
|
+
return sdkResponse;
|
|
975
|
+
}
|
|
976
|
+
catch (err) {
|
|
977
|
+
throw err;
|
|
978
|
+
}
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* Deletes a Exadata Fleet Update Action resource by identifier.
|
|
983
|
+
*
|
|
984
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
985
|
+
* @param DeleteFsuActionRequest
|
|
986
|
+
* @return DeleteFsuActionResponse
|
|
987
|
+
* @throws OciError when an error occurs
|
|
988
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/DeleteFsuAction.ts.html |here} to see how to use DeleteFsuAction API.
|
|
989
|
+
*/
|
|
990
|
+
deleteFsuAction(deleteFsuActionRequest) {
|
|
991
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
992
|
+
if (this.logger)
|
|
993
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuAction.");
|
|
994
|
+
const operationName = "deleteFsuAction";
|
|
995
|
+
const apiReferenceLink = "";
|
|
996
|
+
const pathParams = {
|
|
997
|
+
"{fsuActionId}": deleteFsuActionRequest.fsuActionId
|
|
998
|
+
};
|
|
999
|
+
const queryParams = {};
|
|
1000
|
+
let headerParams = {
|
|
1001
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1002
|
+
"if-match": deleteFsuActionRequest.ifMatch,
|
|
1003
|
+
"opc-request-id": deleteFsuActionRequest.opcRequestId
|
|
1004
|
+
};
|
|
1005
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1006
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
1007
|
+
if (this.logger)
|
|
1008
|
+
retrier.logger = this.logger;
|
|
1009
|
+
const request = yield oci_common_1.composeRequest({
|
|
1010
|
+
baseEndpoint: this._endpoint,
|
|
1011
|
+
defaultHeaders: this._defaultHeaders,
|
|
1012
|
+
path: "/fsuActions/{fsuActionId}",
|
|
1013
|
+
method: "DELETE",
|
|
1014
|
+
pathParams: pathParams,
|
|
1015
|
+
headerParams: headerParams,
|
|
1016
|
+
queryParams: queryParams
|
|
1017
|
+
});
|
|
1018
|
+
try {
|
|
1019
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1020
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1021
|
+
responseObject: {},
|
|
1022
|
+
responseHeaders: [
|
|
1023
|
+
{
|
|
1024
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1025
|
+
key: "opcWorkRequestId",
|
|
1026
|
+
dataType: "string"
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
value: response.headers.get("opc-request-id"),
|
|
1030
|
+
key: "opcRequestId",
|
|
1031
|
+
dataType: "string"
|
|
1032
|
+
}
|
|
1033
|
+
]
|
|
1034
|
+
});
|
|
1035
|
+
return sdkResponse;
|
|
1036
|
+
}
|
|
1037
|
+
catch (err) {
|
|
1038
|
+
throw err;
|
|
1039
|
+
}
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Deletes a Exadata Fleet Update Collection resource by identifier.
|
|
1044
|
+
*
|
|
1045
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1046
|
+
* @param DeleteFsuCollectionRequest
|
|
1047
|
+
* @return DeleteFsuCollectionResponse
|
|
1048
|
+
* @throws OciError when an error occurs
|
|
1049
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/DeleteFsuCollection.ts.html |here} to see how to use DeleteFsuCollection API.
|
|
1050
|
+
*/
|
|
1051
|
+
deleteFsuCollection(deleteFsuCollectionRequest) {
|
|
1052
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1053
|
+
if (this.logger)
|
|
1054
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCollection.");
|
|
1055
|
+
const operationName = "deleteFsuCollection";
|
|
1056
|
+
const apiReferenceLink = "";
|
|
1057
|
+
const pathParams = {
|
|
1058
|
+
"{fsuCollectionId}": deleteFsuCollectionRequest.fsuCollectionId
|
|
1059
|
+
};
|
|
1060
|
+
const queryParams = {};
|
|
1061
|
+
let headerParams = {
|
|
1062
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1063
|
+
"if-match": deleteFsuCollectionRequest.ifMatch,
|
|
1064
|
+
"opc-request-id": deleteFsuCollectionRequest.opcRequestId
|
|
1065
|
+
};
|
|
1066
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1067
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1068
|
+
if (this.logger)
|
|
1069
|
+
retrier.logger = this.logger;
|
|
1070
|
+
const request = yield oci_common_1.composeRequest({
|
|
1071
|
+
baseEndpoint: this._endpoint,
|
|
1072
|
+
defaultHeaders: this._defaultHeaders,
|
|
1073
|
+
path: "/fsuCollections/{fsuCollectionId}",
|
|
1074
|
+
method: "DELETE",
|
|
1075
|
+
pathParams: pathParams,
|
|
1076
|
+
headerParams: headerParams,
|
|
1077
|
+
queryParams: queryParams
|
|
1078
|
+
});
|
|
1079
|
+
try {
|
|
1080
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1081
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1082
|
+
responseObject: {},
|
|
1083
|
+
responseHeaders: [
|
|
1084
|
+
{
|
|
1085
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1086
|
+
key: "opcWorkRequestId",
|
|
1087
|
+
dataType: "string"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
value: response.headers.get("opc-request-id"),
|
|
1091
|
+
key: "opcRequestId",
|
|
1092
|
+
dataType: "string"
|
|
1093
|
+
}
|
|
1094
|
+
]
|
|
1095
|
+
});
|
|
1096
|
+
return sdkResponse;
|
|
1097
|
+
}
|
|
1098
|
+
catch (err) {
|
|
1099
|
+
throw err;
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Deletes a Exadata Fleet Update Cycle resource by identifier.
|
|
1105
|
+
*
|
|
1106
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1107
|
+
* @param DeleteFsuCycleRequest
|
|
1108
|
+
* @return DeleteFsuCycleResponse
|
|
1109
|
+
* @throws OciError when an error occurs
|
|
1110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/DeleteFsuCycle.ts.html |here} to see how to use DeleteFsuCycle API.
|
|
1111
|
+
*/
|
|
1112
|
+
deleteFsuCycle(deleteFsuCycleRequest) {
|
|
1113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1114
|
+
if (this.logger)
|
|
1115
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuCycle.");
|
|
1116
|
+
const operationName = "deleteFsuCycle";
|
|
1117
|
+
const apiReferenceLink = "";
|
|
1118
|
+
const pathParams = {
|
|
1119
|
+
"{fsuCycleId}": deleteFsuCycleRequest.fsuCycleId
|
|
1120
|
+
};
|
|
1121
|
+
const queryParams = {};
|
|
1122
|
+
let headerParams = {
|
|
1123
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1124
|
+
"if-match": deleteFsuCycleRequest.ifMatch,
|
|
1125
|
+
"opc-request-id": deleteFsuCycleRequest.opcRequestId
|
|
1126
|
+
};
|
|
1127
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1128
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuCycleRequest.retryConfiguration, specRetryConfiguration);
|
|
1129
|
+
if (this.logger)
|
|
1130
|
+
retrier.logger = this.logger;
|
|
1131
|
+
const request = yield oci_common_1.composeRequest({
|
|
1132
|
+
baseEndpoint: this._endpoint,
|
|
1133
|
+
defaultHeaders: this._defaultHeaders,
|
|
1134
|
+
path: "/fsuCycles/{fsuCycleId}",
|
|
1135
|
+
method: "DELETE",
|
|
1136
|
+
pathParams: pathParams,
|
|
1137
|
+
headerParams: headerParams,
|
|
1138
|
+
queryParams: queryParams
|
|
1139
|
+
});
|
|
1140
|
+
try {
|
|
1141
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1142
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1143
|
+
responseObject: {},
|
|
1144
|
+
responseHeaders: [
|
|
1145
|
+
{
|
|
1146
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1147
|
+
key: "opcWorkRequestId",
|
|
1148
|
+
dataType: "string"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
value: response.headers.get("opc-request-id"),
|
|
1152
|
+
key: "opcRequestId",
|
|
1153
|
+
dataType: "string"
|
|
1154
|
+
}
|
|
1155
|
+
]
|
|
1156
|
+
});
|
|
1157
|
+
return sdkResponse;
|
|
1158
|
+
}
|
|
1159
|
+
catch (err) {
|
|
1160
|
+
throw err;
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
/**
|
|
1165
|
+
* Deletes a Exadata Fleet Update Discovery resource by identifier.
|
|
1166
|
+
*
|
|
1167
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1168
|
+
* @param DeleteFsuDiscoveryRequest
|
|
1169
|
+
* @return DeleteFsuDiscoveryResponse
|
|
1170
|
+
* @throws OciError when an error occurs
|
|
1171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/DeleteFsuDiscovery.ts.html |here} to see how to use DeleteFsuDiscovery API.
|
|
1172
|
+
*/
|
|
1173
|
+
deleteFsuDiscovery(deleteFsuDiscoveryRequest) {
|
|
1174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1175
|
+
if (this.logger)
|
|
1176
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuDiscovery.");
|
|
1177
|
+
const operationName = "deleteFsuDiscovery";
|
|
1178
|
+
const apiReferenceLink = "";
|
|
1179
|
+
const pathParams = {
|
|
1180
|
+
"{fsuDiscoveryId}": deleteFsuDiscoveryRequest.fsuDiscoveryId
|
|
1181
|
+
};
|
|
1182
|
+
const queryParams = {};
|
|
1183
|
+
let headerParams = {
|
|
1184
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1185
|
+
"if-match": deleteFsuDiscoveryRequest.ifMatch,
|
|
1186
|
+
"opc-request-id": deleteFsuDiscoveryRequest.opcRequestId
|
|
1187
|
+
};
|
|
1188
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1189
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
|
|
1190
|
+
if (this.logger)
|
|
1191
|
+
retrier.logger = this.logger;
|
|
1192
|
+
const request = yield oci_common_1.composeRequest({
|
|
1193
|
+
baseEndpoint: this._endpoint,
|
|
1194
|
+
defaultHeaders: this._defaultHeaders,
|
|
1195
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}",
|
|
1196
|
+
method: "DELETE",
|
|
1197
|
+
pathParams: pathParams,
|
|
1198
|
+
headerParams: headerParams,
|
|
1199
|
+
queryParams: queryParams
|
|
1200
|
+
});
|
|
1201
|
+
try {
|
|
1202
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1203
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1204
|
+
responseObject: {},
|
|
1205
|
+
responseHeaders: [
|
|
1206
|
+
{
|
|
1207
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1208
|
+
key: "opcWorkRequestId",
|
|
1209
|
+
dataType: "string"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
value: response.headers.get("opc-request-id"),
|
|
1213
|
+
key: "opcRequestId",
|
|
1214
|
+
dataType: "string"
|
|
1215
|
+
}
|
|
1216
|
+
]
|
|
1217
|
+
});
|
|
1218
|
+
return sdkResponse;
|
|
1219
|
+
}
|
|
1220
|
+
catch (err) {
|
|
1221
|
+
throw err;
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
/**
|
|
1226
|
+
* Deletes the Exadata Fleet Update Job resource by identifier.
|
|
1227
|
+
*
|
|
1228
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1229
|
+
* @param DeleteFsuJobRequest
|
|
1230
|
+
* @return DeleteFsuJobResponse
|
|
1231
|
+
* @throws OciError when an error occurs
|
|
1232
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/DeleteFsuJob.ts.html |here} to see how to use DeleteFsuJob API.
|
|
1233
|
+
*/
|
|
1234
|
+
deleteFsuJob(deleteFsuJobRequest) {
|
|
1235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1236
|
+
if (this.logger)
|
|
1237
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#deleteFsuJob.");
|
|
1238
|
+
const operationName = "deleteFsuJob";
|
|
1239
|
+
const apiReferenceLink = "";
|
|
1240
|
+
const pathParams = {
|
|
1241
|
+
"{fsuJobId}": deleteFsuJobRequest.fsuJobId
|
|
1242
|
+
};
|
|
1243
|
+
const queryParams = {};
|
|
1244
|
+
let headerParams = {
|
|
1245
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1246
|
+
"opc-request-id": deleteFsuJobRequest.opcRequestId,
|
|
1247
|
+
"if-match": deleteFsuJobRequest.ifMatch
|
|
1248
|
+
};
|
|
1249
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1250
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteFsuJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1251
|
+
if (this.logger)
|
|
1252
|
+
retrier.logger = this.logger;
|
|
1253
|
+
const request = yield oci_common_1.composeRequest({
|
|
1254
|
+
baseEndpoint: this._endpoint,
|
|
1255
|
+
defaultHeaders: this._defaultHeaders,
|
|
1256
|
+
path: "/fsuJobs/{fsuJobId}",
|
|
1257
|
+
method: "DELETE",
|
|
1258
|
+
pathParams: pathParams,
|
|
1259
|
+
headerParams: headerParams,
|
|
1260
|
+
queryParams: queryParams
|
|
1261
|
+
});
|
|
1262
|
+
try {
|
|
1263
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1264
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1265
|
+
responseObject: {},
|
|
1266
|
+
responseHeaders: [
|
|
1267
|
+
{
|
|
1268
|
+
value: response.headers.get("opc-request-id"),
|
|
1269
|
+
key: "opcRequestId",
|
|
1270
|
+
dataType: "string"
|
|
1271
|
+
}
|
|
1272
|
+
]
|
|
1273
|
+
});
|
|
1274
|
+
return sdkResponse;
|
|
1275
|
+
}
|
|
1276
|
+
catch (err) {
|
|
1277
|
+
throw err;
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Gets a Exadata Fleet Update Action by identifier.
|
|
1283
|
+
*
|
|
1284
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1285
|
+
* @param GetFsuActionRequest
|
|
1286
|
+
* @return GetFsuActionResponse
|
|
1287
|
+
* @throws OciError when an error occurs
|
|
1288
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuAction.ts.html |here} to see how to use GetFsuAction API.
|
|
1289
|
+
*/
|
|
1290
|
+
getFsuAction(getFsuActionRequest) {
|
|
1291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1292
|
+
if (this.logger)
|
|
1293
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuAction.");
|
|
1294
|
+
const operationName = "getFsuAction";
|
|
1295
|
+
const apiReferenceLink = "";
|
|
1296
|
+
const pathParams = {
|
|
1297
|
+
"{fsuActionId}": getFsuActionRequest.fsuActionId
|
|
1298
|
+
};
|
|
1299
|
+
const queryParams = {};
|
|
1300
|
+
let headerParams = {
|
|
1301
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1302
|
+
"opc-request-id": getFsuActionRequest.opcRequestId
|
|
1303
|
+
};
|
|
1304
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1305
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
1306
|
+
if (this.logger)
|
|
1307
|
+
retrier.logger = this.logger;
|
|
1308
|
+
const request = yield oci_common_1.composeRequest({
|
|
1309
|
+
baseEndpoint: this._endpoint,
|
|
1310
|
+
defaultHeaders: this._defaultHeaders,
|
|
1311
|
+
path: "/fsuActions/{fsuActionId}",
|
|
1312
|
+
method: "GET",
|
|
1313
|
+
pathParams: pathParams,
|
|
1314
|
+
headerParams: headerParams,
|
|
1315
|
+
queryParams: queryParams
|
|
1316
|
+
});
|
|
1317
|
+
try {
|
|
1318
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1319
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1320
|
+
responseObject: {},
|
|
1321
|
+
body: yield response.json(),
|
|
1322
|
+
bodyKey: "fsuAction",
|
|
1323
|
+
bodyModel: model.FsuAction,
|
|
1324
|
+
type: "model.FsuAction",
|
|
1325
|
+
responseHeaders: [
|
|
1326
|
+
{
|
|
1327
|
+
value: response.headers.get("etag"),
|
|
1328
|
+
key: "etag",
|
|
1329
|
+
dataType: "string"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
value: response.headers.get("opc-request-id"),
|
|
1333
|
+
key: "opcRequestId",
|
|
1334
|
+
dataType: "string"
|
|
1335
|
+
}
|
|
1336
|
+
]
|
|
1337
|
+
});
|
|
1338
|
+
return sdkResponse;
|
|
1339
|
+
}
|
|
1340
|
+
catch (err) {
|
|
1341
|
+
throw err;
|
|
1342
|
+
}
|
|
1343
|
+
});
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Gets the Exadata Fleet Update Action Output content as a binary file (string).
|
|
1347
|
+
* This will only include the output from FAILED Exadata Fleet Update Jobs. No content in case there are no FAILED jobs.
|
|
1348
|
+
*
|
|
1349
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1350
|
+
* @param GetFsuActionOutputContentRequest
|
|
1351
|
+
* @return GetFsuActionOutputContentResponse
|
|
1352
|
+
* @throws OciError when an error occurs
|
|
1353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuActionOutputContent.ts.html |here} to see how to use GetFsuActionOutputContent API.
|
|
1354
|
+
*/
|
|
1355
|
+
getFsuActionOutputContent(getFsuActionOutputContentRequest) {
|
|
1356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1357
|
+
if (this.logger)
|
|
1358
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuActionOutputContent.");
|
|
1359
|
+
const operationName = "getFsuActionOutputContent";
|
|
1360
|
+
const apiReferenceLink = "";
|
|
1361
|
+
const pathParams = {
|
|
1362
|
+
"{fsuActionId}": getFsuActionOutputContentRequest.fsuActionId
|
|
1363
|
+
};
|
|
1364
|
+
const queryParams = {};
|
|
1365
|
+
let headerParams = {
|
|
1366
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1367
|
+
"opc-request-id": getFsuActionOutputContentRequest.opcRequestId
|
|
1368
|
+
};
|
|
1369
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1370
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuActionOutputContentRequest.retryConfiguration, specRetryConfiguration);
|
|
1371
|
+
if (this.logger)
|
|
1372
|
+
retrier.logger = this.logger;
|
|
1373
|
+
const request = yield oci_common_1.composeRequest({
|
|
1374
|
+
baseEndpoint: this._endpoint,
|
|
1375
|
+
defaultHeaders: this._defaultHeaders,
|
|
1376
|
+
path: "/fsuActions/{fsuActionId}/output/content",
|
|
1377
|
+
method: "GET",
|
|
1378
|
+
pathParams: pathParams,
|
|
1379
|
+
headerParams: headerParams,
|
|
1380
|
+
queryParams: queryParams
|
|
1381
|
+
});
|
|
1382
|
+
try {
|
|
1383
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1384
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1385
|
+
responseObject: {},
|
|
1386
|
+
body: response.body,
|
|
1387
|
+
bodyKey: "value",
|
|
1388
|
+
bodyModel: "string",
|
|
1389
|
+
responseHeaders: [
|
|
1390
|
+
{
|
|
1391
|
+
value: response.headers.get("opc-request-id"),
|
|
1392
|
+
key: "opcRequestId",
|
|
1393
|
+
dataType: "string"
|
|
1394
|
+
}
|
|
1395
|
+
]
|
|
1396
|
+
});
|
|
1397
|
+
return sdkResponse;
|
|
1398
|
+
}
|
|
1399
|
+
catch (err) {
|
|
1400
|
+
throw err;
|
|
1401
|
+
}
|
|
1402
|
+
});
|
|
1403
|
+
}
|
|
1404
|
+
/**
|
|
1405
|
+
* Gets a Exadata Fleet Update Collection by identifier.
|
|
1406
|
+
*
|
|
1407
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1408
|
+
* @param GetFsuCollectionRequest
|
|
1409
|
+
* @return GetFsuCollectionResponse
|
|
1410
|
+
* @throws OciError when an error occurs
|
|
1411
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuCollection.ts.html |here} to see how to use GetFsuCollection API.
|
|
1412
|
+
*/
|
|
1413
|
+
getFsuCollection(getFsuCollectionRequest) {
|
|
1414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1415
|
+
if (this.logger)
|
|
1416
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCollection.");
|
|
1417
|
+
const operationName = "getFsuCollection";
|
|
1418
|
+
const apiReferenceLink = "";
|
|
1419
|
+
const pathParams = {
|
|
1420
|
+
"{fsuCollectionId}": getFsuCollectionRequest.fsuCollectionId
|
|
1421
|
+
};
|
|
1422
|
+
const queryParams = {};
|
|
1423
|
+
let headerParams = {
|
|
1424
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1425
|
+
"opc-request-id": getFsuCollectionRequest.opcRequestId
|
|
1426
|
+
};
|
|
1427
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1428
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
|
|
1429
|
+
if (this.logger)
|
|
1430
|
+
retrier.logger = this.logger;
|
|
1431
|
+
const request = yield oci_common_1.composeRequest({
|
|
1432
|
+
baseEndpoint: this._endpoint,
|
|
1433
|
+
defaultHeaders: this._defaultHeaders,
|
|
1434
|
+
path: "/fsuCollections/{fsuCollectionId}",
|
|
1435
|
+
method: "GET",
|
|
1436
|
+
pathParams: pathParams,
|
|
1437
|
+
headerParams: headerParams,
|
|
1438
|
+
queryParams: queryParams
|
|
1439
|
+
});
|
|
1440
|
+
try {
|
|
1441
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1442
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1443
|
+
responseObject: {},
|
|
1444
|
+
body: yield response.json(),
|
|
1445
|
+
bodyKey: "fsuCollection",
|
|
1446
|
+
bodyModel: model.FsuCollection,
|
|
1447
|
+
type: "model.FsuCollection",
|
|
1448
|
+
responseHeaders: [
|
|
1449
|
+
{
|
|
1450
|
+
value: response.headers.get("etag"),
|
|
1451
|
+
key: "etag",
|
|
1452
|
+
dataType: "string"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
value: response.headers.get("opc-request-id"),
|
|
1456
|
+
key: "opcRequestId",
|
|
1457
|
+
dataType: "string"
|
|
1458
|
+
}
|
|
1459
|
+
]
|
|
1460
|
+
});
|
|
1461
|
+
return sdkResponse;
|
|
1462
|
+
}
|
|
1463
|
+
catch (err) {
|
|
1464
|
+
throw err;
|
|
1465
|
+
}
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* Gets a Exadata Fleet Update Cycle by identifier.
|
|
1470
|
+
*
|
|
1471
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1472
|
+
* @param GetFsuCycleRequest
|
|
1473
|
+
* @return GetFsuCycleResponse
|
|
1474
|
+
* @throws OciError when an error occurs
|
|
1475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuCycle.ts.html |here} to see how to use GetFsuCycle API.
|
|
1476
|
+
*/
|
|
1477
|
+
getFsuCycle(getFsuCycleRequest) {
|
|
1478
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1479
|
+
if (this.logger)
|
|
1480
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuCycle.");
|
|
1481
|
+
const operationName = "getFsuCycle";
|
|
1482
|
+
const apiReferenceLink = "";
|
|
1483
|
+
const pathParams = {
|
|
1484
|
+
"{fsuCycleId}": getFsuCycleRequest.fsuCycleId
|
|
1485
|
+
};
|
|
1486
|
+
const queryParams = {};
|
|
1487
|
+
let headerParams = {
|
|
1488
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1489
|
+
"opc-request-id": getFsuCycleRequest.opcRequestId
|
|
1490
|
+
};
|
|
1491
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1492
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuCycleRequest.retryConfiguration, specRetryConfiguration);
|
|
1493
|
+
if (this.logger)
|
|
1494
|
+
retrier.logger = this.logger;
|
|
1495
|
+
const request = yield oci_common_1.composeRequest({
|
|
1496
|
+
baseEndpoint: this._endpoint,
|
|
1497
|
+
defaultHeaders: this._defaultHeaders,
|
|
1498
|
+
path: "/fsuCycles/{fsuCycleId}",
|
|
1499
|
+
method: "GET",
|
|
1500
|
+
pathParams: pathParams,
|
|
1501
|
+
headerParams: headerParams,
|
|
1502
|
+
queryParams: queryParams
|
|
1503
|
+
});
|
|
1504
|
+
try {
|
|
1505
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1506
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1507
|
+
responseObject: {},
|
|
1508
|
+
body: yield response.json(),
|
|
1509
|
+
bodyKey: "fsuCycle",
|
|
1510
|
+
bodyModel: model.FsuCycle,
|
|
1511
|
+
type: "model.FsuCycle",
|
|
1512
|
+
responseHeaders: [
|
|
1513
|
+
{
|
|
1514
|
+
value: response.headers.get("etag"),
|
|
1515
|
+
key: "etag",
|
|
1516
|
+
dataType: "string"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
value: response.headers.get("opc-request-id"),
|
|
1520
|
+
key: "opcRequestId",
|
|
1521
|
+
dataType: "string"
|
|
1522
|
+
}
|
|
1523
|
+
]
|
|
1524
|
+
});
|
|
1525
|
+
return sdkResponse;
|
|
1526
|
+
}
|
|
1527
|
+
catch (err) {
|
|
1528
|
+
throw err;
|
|
1529
|
+
}
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Gets a Exadata Fleet Update Discovery by identifier.
|
|
1534
|
+
*
|
|
1535
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1536
|
+
* @param GetFsuDiscoveryRequest
|
|
1537
|
+
* @return GetFsuDiscoveryResponse
|
|
1538
|
+
* @throws OciError when an error occurs
|
|
1539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuDiscovery.ts.html |here} to see how to use GetFsuDiscovery API.
|
|
1540
|
+
*/
|
|
1541
|
+
getFsuDiscovery(getFsuDiscoveryRequest) {
|
|
1542
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1543
|
+
if (this.logger)
|
|
1544
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuDiscovery.");
|
|
1545
|
+
const operationName = "getFsuDiscovery";
|
|
1546
|
+
const apiReferenceLink = "";
|
|
1547
|
+
const pathParams = {
|
|
1548
|
+
"{fsuDiscoveryId}": getFsuDiscoveryRequest.fsuDiscoveryId
|
|
1549
|
+
};
|
|
1550
|
+
const queryParams = {};
|
|
1551
|
+
let headerParams = {
|
|
1552
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1553
|
+
"opc-request-id": getFsuDiscoveryRequest.opcRequestId
|
|
1554
|
+
};
|
|
1555
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1556
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
|
|
1557
|
+
if (this.logger)
|
|
1558
|
+
retrier.logger = this.logger;
|
|
1559
|
+
const request = yield oci_common_1.composeRequest({
|
|
1560
|
+
baseEndpoint: this._endpoint,
|
|
1561
|
+
defaultHeaders: this._defaultHeaders,
|
|
1562
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}",
|
|
1563
|
+
method: "GET",
|
|
1564
|
+
pathParams: pathParams,
|
|
1565
|
+
headerParams: headerParams,
|
|
1566
|
+
queryParams: queryParams
|
|
1567
|
+
});
|
|
1568
|
+
try {
|
|
1569
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1570
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1571
|
+
responseObject: {},
|
|
1572
|
+
body: yield response.json(),
|
|
1573
|
+
bodyKey: "fsuDiscovery",
|
|
1574
|
+
bodyModel: model.FsuDiscovery,
|
|
1575
|
+
type: "model.FsuDiscovery",
|
|
1576
|
+
responseHeaders: [
|
|
1577
|
+
{
|
|
1578
|
+
value: response.headers.get("etag"),
|
|
1579
|
+
key: "etag",
|
|
1580
|
+
dataType: "string"
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
value: response.headers.get("opc-request-id"),
|
|
1584
|
+
key: "opcRequestId",
|
|
1585
|
+
dataType: "string"
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
});
|
|
1589
|
+
return sdkResponse;
|
|
1590
|
+
}
|
|
1591
|
+
catch (err) {
|
|
1592
|
+
throw err;
|
|
1593
|
+
}
|
|
1594
|
+
});
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Gets a Exadata Fleet Update Job by identifier.
|
|
1598
|
+
*
|
|
1599
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1600
|
+
* @param GetFsuJobRequest
|
|
1601
|
+
* @return GetFsuJobResponse
|
|
1602
|
+
* @throws OciError when an error occurs
|
|
1603
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuJob.ts.html |here} to see how to use GetFsuJob API.
|
|
1604
|
+
*/
|
|
1605
|
+
getFsuJob(getFsuJobRequest) {
|
|
1606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1607
|
+
if (this.logger)
|
|
1608
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJob.");
|
|
1609
|
+
const operationName = "getFsuJob";
|
|
1610
|
+
const apiReferenceLink = "";
|
|
1611
|
+
const pathParams = {
|
|
1612
|
+
"{fsuJobId}": getFsuJobRequest.fsuJobId
|
|
1613
|
+
};
|
|
1614
|
+
const queryParams = {};
|
|
1615
|
+
let headerParams = {
|
|
1616
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1617
|
+
"opc-request-id": getFsuJobRequest.opcRequestId
|
|
1618
|
+
};
|
|
1619
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1620
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuJobRequest.retryConfiguration, specRetryConfiguration);
|
|
1621
|
+
if (this.logger)
|
|
1622
|
+
retrier.logger = this.logger;
|
|
1623
|
+
const request = yield oci_common_1.composeRequest({
|
|
1624
|
+
baseEndpoint: this._endpoint,
|
|
1625
|
+
defaultHeaders: this._defaultHeaders,
|
|
1626
|
+
path: "/fsuJobs/{fsuJobId}",
|
|
1627
|
+
method: "GET",
|
|
1628
|
+
pathParams: pathParams,
|
|
1629
|
+
headerParams: headerParams,
|
|
1630
|
+
queryParams: queryParams
|
|
1631
|
+
});
|
|
1632
|
+
try {
|
|
1633
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1634
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1635
|
+
responseObject: {},
|
|
1636
|
+
body: yield response.json(),
|
|
1637
|
+
bodyKey: "fsuJob",
|
|
1638
|
+
bodyModel: model.FsuJob,
|
|
1639
|
+
type: "model.FsuJob",
|
|
1640
|
+
responseHeaders: [
|
|
1641
|
+
{
|
|
1642
|
+
value: response.headers.get("opc-request-id"),
|
|
1643
|
+
key: "opcRequestId",
|
|
1644
|
+
dataType: "string"
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
value: response.headers.get("etag"),
|
|
1648
|
+
key: "etag",
|
|
1649
|
+
dataType: "string"
|
|
1650
|
+
}
|
|
1651
|
+
]
|
|
1652
|
+
});
|
|
1653
|
+
return sdkResponse;
|
|
1654
|
+
}
|
|
1655
|
+
catch (err) {
|
|
1656
|
+
throw err;
|
|
1657
|
+
}
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Get the Exadata Fleet Update Job Output content as a binary file (string).
|
|
1662
|
+
*
|
|
1663
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1664
|
+
* @param GetFsuJobOutputContentRequest
|
|
1665
|
+
* @return GetFsuJobOutputContentResponse
|
|
1666
|
+
* @throws OciError when an error occurs
|
|
1667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetFsuJobOutputContent.ts.html |here} to see how to use GetFsuJobOutputContent API.
|
|
1668
|
+
*/
|
|
1669
|
+
getFsuJobOutputContent(getFsuJobOutputContentRequest) {
|
|
1670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1671
|
+
if (this.logger)
|
|
1672
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getFsuJobOutputContent.");
|
|
1673
|
+
const operationName = "getFsuJobOutputContent";
|
|
1674
|
+
const apiReferenceLink = "";
|
|
1675
|
+
const pathParams = {
|
|
1676
|
+
"{fsuJobId}": getFsuJobOutputContentRequest.fsuJobId
|
|
1677
|
+
};
|
|
1678
|
+
const queryParams = {};
|
|
1679
|
+
let headerParams = {
|
|
1680
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1681
|
+
"opc-request-id": getFsuJobOutputContentRequest.opcRequestId
|
|
1682
|
+
};
|
|
1683
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1684
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFsuJobOutputContentRequest.retryConfiguration, specRetryConfiguration);
|
|
1685
|
+
if (this.logger)
|
|
1686
|
+
retrier.logger = this.logger;
|
|
1687
|
+
const request = yield oci_common_1.composeRequest({
|
|
1688
|
+
baseEndpoint: this._endpoint,
|
|
1689
|
+
defaultHeaders: this._defaultHeaders,
|
|
1690
|
+
path: "/fsuJobs/{fsuJobId}/output/content",
|
|
1691
|
+
method: "GET",
|
|
1692
|
+
pathParams: pathParams,
|
|
1693
|
+
headerParams: headerParams,
|
|
1694
|
+
queryParams: queryParams
|
|
1695
|
+
});
|
|
1696
|
+
try {
|
|
1697
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1698
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1699
|
+
responseObject: {},
|
|
1700
|
+
body: response.body,
|
|
1701
|
+
bodyKey: "value",
|
|
1702
|
+
bodyModel: "string",
|
|
1703
|
+
responseHeaders: [
|
|
1704
|
+
{
|
|
1705
|
+
value: response.headers.get("opc-request-id"),
|
|
1706
|
+
key: "opcRequestId",
|
|
1707
|
+
dataType: "string"
|
|
1708
|
+
}
|
|
1709
|
+
]
|
|
1710
|
+
});
|
|
1711
|
+
return sdkResponse;
|
|
1712
|
+
}
|
|
1713
|
+
catch (err) {
|
|
1714
|
+
throw err;
|
|
1715
|
+
}
|
|
1716
|
+
});
|
|
1717
|
+
}
|
|
1718
|
+
/**
|
|
1719
|
+
* Gets the status of the work request with the specified ID.
|
|
1720
|
+
*
|
|
1721
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1722
|
+
* @param GetWorkRequestRequest
|
|
1723
|
+
* @return GetWorkRequestResponse
|
|
1724
|
+
* @throws OciError when an error occurs
|
|
1725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
1726
|
+
*/
|
|
1727
|
+
getWorkRequest(getWorkRequestRequest) {
|
|
1728
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1729
|
+
if (this.logger)
|
|
1730
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#getWorkRequest.");
|
|
1731
|
+
const operationName = "getWorkRequest";
|
|
1732
|
+
const apiReferenceLink = "";
|
|
1733
|
+
const pathParams = {
|
|
1734
|
+
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
1735
|
+
};
|
|
1736
|
+
const queryParams = {};
|
|
1737
|
+
let headerParams = {
|
|
1738
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1739
|
+
"opc-request-id": getWorkRequestRequest.opcRequestId
|
|
1740
|
+
};
|
|
1741
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1742
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
1743
|
+
if (this.logger)
|
|
1744
|
+
retrier.logger = this.logger;
|
|
1745
|
+
const request = yield oci_common_1.composeRequest({
|
|
1746
|
+
baseEndpoint: this._endpoint,
|
|
1747
|
+
defaultHeaders: this._defaultHeaders,
|
|
1748
|
+
path: "/workRequests/{workRequestId}",
|
|
1749
|
+
method: "GET",
|
|
1750
|
+
pathParams: pathParams,
|
|
1751
|
+
headerParams: headerParams,
|
|
1752
|
+
queryParams: queryParams
|
|
1753
|
+
});
|
|
1754
|
+
try {
|
|
1755
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1756
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1757
|
+
responseObject: {},
|
|
1758
|
+
body: yield response.json(),
|
|
1759
|
+
bodyKey: "workRequest",
|
|
1760
|
+
bodyModel: model.WorkRequest,
|
|
1761
|
+
type: "model.WorkRequest",
|
|
1762
|
+
responseHeaders: [
|
|
1763
|
+
{
|
|
1764
|
+
value: response.headers.get("etag"),
|
|
1765
|
+
key: "etag",
|
|
1766
|
+
dataType: "string"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
value: response.headers.get("opc-request-id"),
|
|
1770
|
+
key: "opcRequestId",
|
|
1771
|
+
dataType: "string"
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
value: response.headers.get("retry-after"),
|
|
1775
|
+
key: "retryAfter",
|
|
1776
|
+
dataType: "number"
|
|
1777
|
+
}
|
|
1778
|
+
]
|
|
1779
|
+
});
|
|
1780
|
+
return sdkResponse;
|
|
1781
|
+
}
|
|
1782
|
+
catch (err) {
|
|
1783
|
+
throw err;
|
|
1784
|
+
}
|
|
1785
|
+
});
|
|
1786
|
+
}
|
|
1787
|
+
/**
|
|
1788
|
+
* Gets a list of all Exadata Fleet Update Actions in a compartment.
|
|
1789
|
+
*
|
|
1790
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1791
|
+
* @param ListFsuActionsRequest
|
|
1792
|
+
* @return ListFsuActionsResponse
|
|
1793
|
+
* @throws OciError when an error occurs
|
|
1794
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuActions.ts.html |here} to see how to use ListFsuActions API.
|
|
1795
|
+
*/
|
|
1796
|
+
listFsuActions(listFsuActionsRequest) {
|
|
1797
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1798
|
+
if (this.logger)
|
|
1799
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuActions.");
|
|
1800
|
+
const operationName = "listFsuActions";
|
|
1801
|
+
const apiReferenceLink = "";
|
|
1802
|
+
const pathParams = {};
|
|
1803
|
+
const queryParams = {
|
|
1804
|
+
"compartmentId": listFsuActionsRequest.compartmentId,
|
|
1805
|
+
"fsuCycleId": listFsuActionsRequest.fsuCycleId,
|
|
1806
|
+
"lifecycleState": listFsuActionsRequest.lifecycleState,
|
|
1807
|
+
"displayName": listFsuActionsRequest.displayName,
|
|
1808
|
+
"type": listFsuActionsRequest.type,
|
|
1809
|
+
"limit": listFsuActionsRequest.limit,
|
|
1810
|
+
"page": listFsuActionsRequest.page,
|
|
1811
|
+
"sortOrder": listFsuActionsRequest.sortOrder,
|
|
1812
|
+
"sortBy": listFsuActionsRequest.sortBy
|
|
1813
|
+
};
|
|
1814
|
+
let headerParams = {
|
|
1815
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1816
|
+
"opc-request-id": listFsuActionsRequest.opcRequestId
|
|
1817
|
+
};
|
|
1818
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1819
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuActionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1820
|
+
if (this.logger)
|
|
1821
|
+
retrier.logger = this.logger;
|
|
1822
|
+
const request = yield oci_common_1.composeRequest({
|
|
1823
|
+
baseEndpoint: this._endpoint,
|
|
1824
|
+
defaultHeaders: this._defaultHeaders,
|
|
1825
|
+
path: "/fsuActions",
|
|
1826
|
+
method: "GET",
|
|
1827
|
+
pathParams: pathParams,
|
|
1828
|
+
headerParams: headerParams,
|
|
1829
|
+
queryParams: queryParams
|
|
1830
|
+
});
|
|
1831
|
+
try {
|
|
1832
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1833
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1834
|
+
responseObject: {},
|
|
1835
|
+
body: yield response.json(),
|
|
1836
|
+
bodyKey: "fsuActionSummaryCollection",
|
|
1837
|
+
bodyModel: model.FsuActionSummaryCollection,
|
|
1838
|
+
type: "model.FsuActionSummaryCollection",
|
|
1839
|
+
responseHeaders: [
|
|
1840
|
+
{
|
|
1841
|
+
value: response.headers.get("opc-request-id"),
|
|
1842
|
+
key: "opcRequestId",
|
|
1843
|
+
dataType: "string"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
value: response.headers.get("opc-next-page"),
|
|
1847
|
+
key: "opcNextPage",
|
|
1848
|
+
dataType: "string"
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
|
+
});
|
|
1852
|
+
return sdkResponse;
|
|
1853
|
+
}
|
|
1854
|
+
catch (err) {
|
|
1855
|
+
throw err;
|
|
1856
|
+
}
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Gets a list of all Targets that are members of a specific Exadata Fleet Update Collection.
|
|
1861
|
+
*
|
|
1862
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1863
|
+
* @param ListFsuCollectionTargetsRequest
|
|
1864
|
+
* @return ListFsuCollectionTargetsResponse
|
|
1865
|
+
* @throws OciError when an error occurs
|
|
1866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuCollectionTargets.ts.html |here} to see how to use ListFsuCollectionTargets API.
|
|
1867
|
+
*/
|
|
1868
|
+
listFsuCollectionTargets(listFsuCollectionTargetsRequest) {
|
|
1869
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1870
|
+
if (this.logger)
|
|
1871
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollectionTargets.");
|
|
1872
|
+
const operationName = "listFsuCollectionTargets";
|
|
1873
|
+
const apiReferenceLink = "";
|
|
1874
|
+
const pathParams = {
|
|
1875
|
+
"{fsuCollectionId}": listFsuCollectionTargetsRequest.fsuCollectionId
|
|
1876
|
+
};
|
|
1877
|
+
const queryParams = {
|
|
1878
|
+
"compartmentId": listFsuCollectionTargetsRequest.compartmentId,
|
|
1879
|
+
"targetId": listFsuCollectionTargetsRequest.targetId,
|
|
1880
|
+
"status": listFsuCollectionTargetsRequest.status,
|
|
1881
|
+
"limit": listFsuCollectionTargetsRequest.limit,
|
|
1882
|
+
"page": listFsuCollectionTargetsRequest.page,
|
|
1883
|
+
"sortOrder": listFsuCollectionTargetsRequest.sortOrder,
|
|
1884
|
+
"sortBy": listFsuCollectionTargetsRequest.sortBy
|
|
1885
|
+
};
|
|
1886
|
+
let headerParams = {
|
|
1887
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1888
|
+
"opc-request-id": listFsuCollectionTargetsRequest.opcRequestId
|
|
1889
|
+
};
|
|
1890
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1891
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
1892
|
+
if (this.logger)
|
|
1893
|
+
retrier.logger = this.logger;
|
|
1894
|
+
const request = yield oci_common_1.composeRequest({
|
|
1895
|
+
baseEndpoint: this._endpoint,
|
|
1896
|
+
defaultHeaders: this._defaultHeaders,
|
|
1897
|
+
path: "/fsuCollections/{fsuCollectionId}/targets",
|
|
1898
|
+
method: "GET",
|
|
1899
|
+
pathParams: pathParams,
|
|
1900
|
+
headerParams: headerParams,
|
|
1901
|
+
queryParams: queryParams
|
|
1902
|
+
});
|
|
1903
|
+
try {
|
|
1904
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1905
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1906
|
+
responseObject: {},
|
|
1907
|
+
body: yield response.json(),
|
|
1908
|
+
bodyKey: "targetSummaryCollection",
|
|
1909
|
+
bodyModel: model.TargetSummaryCollection,
|
|
1910
|
+
type: "model.TargetSummaryCollection",
|
|
1911
|
+
responseHeaders: [
|
|
1912
|
+
{
|
|
1913
|
+
value: response.headers.get("opc-request-id"),
|
|
1914
|
+
key: "opcRequestId",
|
|
1915
|
+
dataType: "string"
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
value: response.headers.get("opc-next-page"),
|
|
1919
|
+
key: "opcNextPage",
|
|
1920
|
+
dataType: "string"
|
|
1921
|
+
}
|
|
1922
|
+
]
|
|
1923
|
+
});
|
|
1924
|
+
return sdkResponse;
|
|
1925
|
+
}
|
|
1926
|
+
catch (err) {
|
|
1927
|
+
throw err;
|
|
1928
|
+
}
|
|
1929
|
+
});
|
|
1930
|
+
}
|
|
1931
|
+
/**
|
|
1932
|
+
* Gets a list of all Exadata Fleet Update Collections in a compartment.
|
|
1933
|
+
*
|
|
1934
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1935
|
+
* @param ListFsuCollectionsRequest
|
|
1936
|
+
* @return ListFsuCollectionsResponse
|
|
1937
|
+
* @throws OciError when an error occurs
|
|
1938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuCollections.ts.html |here} to see how to use ListFsuCollections API.
|
|
1939
|
+
*/
|
|
1940
|
+
listFsuCollections(listFsuCollectionsRequest) {
|
|
1941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1942
|
+
if (this.logger)
|
|
1943
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCollections.");
|
|
1944
|
+
const operationName = "listFsuCollections";
|
|
1945
|
+
const apiReferenceLink = "";
|
|
1946
|
+
const pathParams = {};
|
|
1947
|
+
const queryParams = {
|
|
1948
|
+
"compartmentId": listFsuCollectionsRequest.compartmentId,
|
|
1949
|
+
"lifecycleState": listFsuCollectionsRequest.lifecycleState,
|
|
1950
|
+
"displayName": listFsuCollectionsRequest.displayName,
|
|
1951
|
+
"type": listFsuCollectionsRequest.type,
|
|
1952
|
+
"limit": listFsuCollectionsRequest.limit,
|
|
1953
|
+
"page": listFsuCollectionsRequest.page,
|
|
1954
|
+
"sortOrder": listFsuCollectionsRequest.sortOrder,
|
|
1955
|
+
"sortBy": listFsuCollectionsRequest.sortBy
|
|
1956
|
+
};
|
|
1957
|
+
let headerParams = {
|
|
1958
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1959
|
+
"opc-request-id": listFsuCollectionsRequest.opcRequestId
|
|
1960
|
+
};
|
|
1961
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1962
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCollectionsRequest.retryConfiguration, specRetryConfiguration);
|
|
1963
|
+
if (this.logger)
|
|
1964
|
+
retrier.logger = this.logger;
|
|
1965
|
+
const request = yield oci_common_1.composeRequest({
|
|
1966
|
+
baseEndpoint: this._endpoint,
|
|
1967
|
+
defaultHeaders: this._defaultHeaders,
|
|
1968
|
+
path: "/fsuCollections",
|
|
1969
|
+
method: "GET",
|
|
1970
|
+
pathParams: pathParams,
|
|
1971
|
+
headerParams: headerParams,
|
|
1972
|
+
queryParams: queryParams
|
|
1973
|
+
});
|
|
1974
|
+
try {
|
|
1975
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1976
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1977
|
+
responseObject: {},
|
|
1978
|
+
body: yield response.json(),
|
|
1979
|
+
bodyKey: "fsuCollectionSummaryCollection",
|
|
1980
|
+
bodyModel: model.FsuCollectionSummaryCollection,
|
|
1981
|
+
type: "model.FsuCollectionSummaryCollection",
|
|
1982
|
+
responseHeaders: [
|
|
1983
|
+
{
|
|
1984
|
+
value: response.headers.get("opc-request-id"),
|
|
1985
|
+
key: "opcRequestId",
|
|
1986
|
+
dataType: "string"
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
value: response.headers.get("opc-next-page"),
|
|
1990
|
+
key: "opcNextPage",
|
|
1991
|
+
dataType: "string"
|
|
1992
|
+
}
|
|
1993
|
+
]
|
|
1994
|
+
});
|
|
1995
|
+
return sdkResponse;
|
|
1996
|
+
}
|
|
1997
|
+
catch (err) {
|
|
1998
|
+
throw err;
|
|
1999
|
+
}
|
|
2000
|
+
});
|
|
2001
|
+
}
|
|
2002
|
+
/**
|
|
2003
|
+
* Gets a list of all Exadata Fleet Update Cycles in a compartment.
|
|
2004
|
+
*
|
|
2005
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2006
|
+
* @param ListFsuCyclesRequest
|
|
2007
|
+
* @return ListFsuCyclesResponse
|
|
2008
|
+
* @throws OciError when an error occurs
|
|
2009
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuCycles.ts.html |here} to see how to use ListFsuCycles API.
|
|
2010
|
+
*/
|
|
2011
|
+
listFsuCycles(listFsuCyclesRequest) {
|
|
2012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2013
|
+
if (this.logger)
|
|
2014
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuCycles.");
|
|
2015
|
+
const operationName = "listFsuCycles";
|
|
2016
|
+
const apiReferenceLink = "";
|
|
2017
|
+
const pathParams = {};
|
|
2018
|
+
const queryParams = {
|
|
2019
|
+
"compartmentId": listFsuCyclesRequest.compartmentId,
|
|
2020
|
+
"fsuCollectionId": listFsuCyclesRequest.fsuCollectionId,
|
|
2021
|
+
"lifecycleState": listFsuCyclesRequest.lifecycleState,
|
|
2022
|
+
"collectionType": listFsuCyclesRequest.collectionType,
|
|
2023
|
+
"displayName": listFsuCyclesRequest.displayName,
|
|
2024
|
+
"targetVersion": listFsuCyclesRequest.targetVersion,
|
|
2025
|
+
"limit": listFsuCyclesRequest.limit,
|
|
2026
|
+
"page": listFsuCyclesRequest.page,
|
|
2027
|
+
"sortOrder": listFsuCyclesRequest.sortOrder,
|
|
2028
|
+
"sortBy": listFsuCyclesRequest.sortBy
|
|
2029
|
+
};
|
|
2030
|
+
let headerParams = {
|
|
2031
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2032
|
+
"opc-request-id": listFsuCyclesRequest.opcRequestId
|
|
2033
|
+
};
|
|
2034
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2035
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuCyclesRequest.retryConfiguration, specRetryConfiguration);
|
|
2036
|
+
if (this.logger)
|
|
2037
|
+
retrier.logger = this.logger;
|
|
2038
|
+
const request = yield oci_common_1.composeRequest({
|
|
2039
|
+
baseEndpoint: this._endpoint,
|
|
2040
|
+
defaultHeaders: this._defaultHeaders,
|
|
2041
|
+
path: "/fsuCycles",
|
|
2042
|
+
method: "GET",
|
|
2043
|
+
pathParams: pathParams,
|
|
2044
|
+
headerParams: headerParams,
|
|
2045
|
+
queryParams: queryParams
|
|
2046
|
+
});
|
|
2047
|
+
try {
|
|
2048
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2049
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2050
|
+
responseObject: {},
|
|
2051
|
+
body: yield response.json(),
|
|
2052
|
+
bodyKey: "fsuCycleSummaryCollection",
|
|
2053
|
+
bodyModel: model.FsuCycleSummaryCollection,
|
|
2054
|
+
type: "model.FsuCycleSummaryCollection",
|
|
2055
|
+
responseHeaders: [
|
|
2056
|
+
{
|
|
2057
|
+
value: response.headers.get("opc-request-id"),
|
|
2058
|
+
key: "opcRequestId",
|
|
2059
|
+
dataType: "string"
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
value: response.headers.get("opc-next-page"),
|
|
2063
|
+
key: "opcNextPage",
|
|
2064
|
+
dataType: "string"
|
|
2065
|
+
}
|
|
2066
|
+
]
|
|
2067
|
+
});
|
|
2068
|
+
return sdkResponse;
|
|
2069
|
+
}
|
|
2070
|
+
catch (err) {
|
|
2071
|
+
throw err;
|
|
2072
|
+
}
|
|
2073
|
+
});
|
|
2074
|
+
}
|
|
2075
|
+
/**
|
|
2076
|
+
* Returns a list of Exadata Fleet Update Discoveries resources in the specified compartment.
|
|
2077
|
+
*
|
|
2078
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2079
|
+
* @param ListFsuDiscoveriesRequest
|
|
2080
|
+
* @return ListFsuDiscoveriesResponse
|
|
2081
|
+
* @throws OciError when an error occurs
|
|
2082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuDiscoveries.ts.html |here} to see how to use ListFsuDiscoveries API.
|
|
2083
|
+
*/
|
|
2084
|
+
listFsuDiscoveries(listFsuDiscoveriesRequest) {
|
|
2085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2086
|
+
if (this.logger)
|
|
2087
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveries.");
|
|
2088
|
+
const operationName = "listFsuDiscoveries";
|
|
2089
|
+
const apiReferenceLink = "";
|
|
2090
|
+
const pathParams = {};
|
|
2091
|
+
const queryParams = {
|
|
2092
|
+
"compartmentId": listFsuDiscoveriesRequest.compartmentId,
|
|
2093
|
+
"lifecycleState": listFsuDiscoveriesRequest.lifecycleState,
|
|
2094
|
+
"displayName": listFsuDiscoveriesRequest.displayName,
|
|
2095
|
+
"limit": listFsuDiscoveriesRequest.limit,
|
|
2096
|
+
"page": listFsuDiscoveriesRequest.page,
|
|
2097
|
+
"sortOrder": listFsuDiscoveriesRequest.sortOrder,
|
|
2098
|
+
"sortBy": listFsuDiscoveriesRequest.sortBy
|
|
2099
|
+
};
|
|
2100
|
+
let headerParams = {
|
|
2101
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2102
|
+
"opc-request-id": listFsuDiscoveriesRequest.opcRequestId
|
|
2103
|
+
};
|
|
2104
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2105
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuDiscoveriesRequest.retryConfiguration, specRetryConfiguration);
|
|
2106
|
+
if (this.logger)
|
|
2107
|
+
retrier.logger = this.logger;
|
|
2108
|
+
const request = yield oci_common_1.composeRequest({
|
|
2109
|
+
baseEndpoint: this._endpoint,
|
|
2110
|
+
defaultHeaders: this._defaultHeaders,
|
|
2111
|
+
path: "/fsuDiscoveries",
|
|
2112
|
+
method: "GET",
|
|
2113
|
+
pathParams: pathParams,
|
|
2114
|
+
headerParams: headerParams,
|
|
2115
|
+
queryParams: queryParams
|
|
2116
|
+
});
|
|
2117
|
+
try {
|
|
2118
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2119
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2120
|
+
responseObject: {},
|
|
2121
|
+
body: yield response.json(),
|
|
2122
|
+
bodyKey: "fsuDiscoverySummaryCollection",
|
|
2123
|
+
bodyModel: model.FsuDiscoverySummaryCollection,
|
|
2124
|
+
type: "model.FsuDiscoverySummaryCollection",
|
|
2125
|
+
responseHeaders: [
|
|
2126
|
+
{
|
|
2127
|
+
value: response.headers.get("opc-request-id"),
|
|
2128
|
+
key: "opcRequestId",
|
|
2129
|
+
dataType: "string"
|
|
2130
|
+
},
|
|
2131
|
+
{
|
|
2132
|
+
value: response.headers.get("opc-next-page"),
|
|
2133
|
+
key: "opcNextPage",
|
|
2134
|
+
dataType: "string"
|
|
2135
|
+
}
|
|
2136
|
+
]
|
|
2137
|
+
});
|
|
2138
|
+
return sdkResponse;
|
|
2139
|
+
}
|
|
2140
|
+
catch (err) {
|
|
2141
|
+
throw err;
|
|
2142
|
+
}
|
|
2143
|
+
});
|
|
2144
|
+
}
|
|
2145
|
+
/**
|
|
2146
|
+
* Gets a list of all Targets in the results of a Exadata Fleet Update Discovery.
|
|
2147
|
+
*
|
|
2148
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2149
|
+
* @param ListFsuDiscoveryTargetsRequest
|
|
2150
|
+
* @return ListFsuDiscoveryTargetsResponse
|
|
2151
|
+
* @throws OciError when an error occurs
|
|
2152
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuDiscoveryTargets.ts.html |here} to see how to use ListFsuDiscoveryTargets API.
|
|
2153
|
+
*/
|
|
2154
|
+
listFsuDiscoveryTargets(listFsuDiscoveryTargetsRequest) {
|
|
2155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2156
|
+
if (this.logger)
|
|
2157
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuDiscoveryTargets.");
|
|
2158
|
+
const operationName = "listFsuDiscoveryTargets";
|
|
2159
|
+
const apiReferenceLink = "";
|
|
2160
|
+
const pathParams = {
|
|
2161
|
+
"{fsuDiscoveryId}": listFsuDiscoveryTargetsRequest.fsuDiscoveryId
|
|
2162
|
+
};
|
|
2163
|
+
const queryParams = {
|
|
2164
|
+
"compartmentId": listFsuDiscoveryTargetsRequest.compartmentId,
|
|
2165
|
+
"targetId": listFsuDiscoveryTargetsRequest.targetId,
|
|
2166
|
+
"status": listFsuDiscoveryTargetsRequest.status,
|
|
2167
|
+
"limit": listFsuDiscoveryTargetsRequest.limit,
|
|
2168
|
+
"page": listFsuDiscoveryTargetsRequest.page,
|
|
2169
|
+
"sortOrder": listFsuDiscoveryTargetsRequest.sortOrder,
|
|
2170
|
+
"sortBy": listFsuDiscoveryTargetsRequest.sortBy
|
|
2171
|
+
};
|
|
2172
|
+
let headerParams = {
|
|
2173
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2174
|
+
"opc-request-id": listFsuDiscoveryTargetsRequest.opcRequestId
|
|
2175
|
+
};
|
|
2176
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2177
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuDiscoveryTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2178
|
+
if (this.logger)
|
|
2179
|
+
retrier.logger = this.logger;
|
|
2180
|
+
const request = yield oci_common_1.composeRequest({
|
|
2181
|
+
baseEndpoint: this._endpoint,
|
|
2182
|
+
defaultHeaders: this._defaultHeaders,
|
|
2183
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}/targets",
|
|
2184
|
+
method: "GET",
|
|
2185
|
+
pathParams: pathParams,
|
|
2186
|
+
headerParams: headerParams,
|
|
2187
|
+
queryParams: queryParams
|
|
2188
|
+
});
|
|
2189
|
+
try {
|
|
2190
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2191
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2192
|
+
responseObject: {},
|
|
2193
|
+
body: yield response.json(),
|
|
2194
|
+
bodyKey: "targetSummaryCollection",
|
|
2195
|
+
bodyModel: model.TargetSummaryCollection,
|
|
2196
|
+
type: "model.TargetSummaryCollection",
|
|
2197
|
+
responseHeaders: [
|
|
2198
|
+
{
|
|
2199
|
+
value: response.headers.get("opc-request-id"),
|
|
2200
|
+
key: "opcRequestId",
|
|
2201
|
+
dataType: "string"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
value: response.headers.get("opc-next-page"),
|
|
2205
|
+
key: "opcNextPage",
|
|
2206
|
+
dataType: "string"
|
|
2207
|
+
}
|
|
2208
|
+
]
|
|
2209
|
+
});
|
|
2210
|
+
return sdkResponse;
|
|
2211
|
+
}
|
|
2212
|
+
catch (err) {
|
|
2213
|
+
throw err;
|
|
2214
|
+
}
|
|
2215
|
+
});
|
|
2216
|
+
}
|
|
2217
|
+
/**
|
|
2218
|
+
* Lists the Exadata Fleet Update Job Output messages, if any.
|
|
2219
|
+
*
|
|
2220
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2221
|
+
* @param ListFsuJobOutputsRequest
|
|
2222
|
+
* @return ListFsuJobOutputsResponse
|
|
2223
|
+
* @throws OciError when an error occurs
|
|
2224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuJobOutputs.ts.html |here} to see how to use ListFsuJobOutputs API.
|
|
2225
|
+
*/
|
|
2226
|
+
listFsuJobOutputs(listFsuJobOutputsRequest) {
|
|
2227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2228
|
+
if (this.logger)
|
|
2229
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobOutputs.");
|
|
2230
|
+
const operationName = "listFsuJobOutputs";
|
|
2231
|
+
const apiReferenceLink = "";
|
|
2232
|
+
const pathParams = {
|
|
2233
|
+
"{fsuJobId}": listFsuJobOutputsRequest.fsuJobId
|
|
2234
|
+
};
|
|
2235
|
+
const queryParams = {
|
|
2236
|
+
"limit": listFsuJobOutputsRequest.limit,
|
|
2237
|
+
"page": listFsuJobOutputsRequest.page
|
|
2238
|
+
};
|
|
2239
|
+
let headerParams = {
|
|
2240
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2241
|
+
"opc-request-id": listFsuJobOutputsRequest.opcRequestId
|
|
2242
|
+
};
|
|
2243
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2244
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuJobOutputsRequest.retryConfiguration, specRetryConfiguration);
|
|
2245
|
+
if (this.logger)
|
|
2246
|
+
retrier.logger = this.logger;
|
|
2247
|
+
const request = yield oci_common_1.composeRequest({
|
|
2248
|
+
baseEndpoint: this._endpoint,
|
|
2249
|
+
defaultHeaders: this._defaultHeaders,
|
|
2250
|
+
path: "/fsuJobs/{fsuJobId}/output",
|
|
2251
|
+
method: "GET",
|
|
2252
|
+
pathParams: pathParams,
|
|
2253
|
+
headerParams: headerParams,
|
|
2254
|
+
queryParams: queryParams
|
|
2255
|
+
});
|
|
2256
|
+
try {
|
|
2257
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2258
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2259
|
+
responseObject: {},
|
|
2260
|
+
body: yield response.json(),
|
|
2261
|
+
bodyKey: "fsuJobOutputSummaryCollection",
|
|
2262
|
+
bodyModel: model.FsuJobOutputSummaryCollection,
|
|
2263
|
+
type: "model.FsuJobOutputSummaryCollection",
|
|
2264
|
+
responseHeaders: [
|
|
2265
|
+
{
|
|
2266
|
+
value: response.headers.get("opc-request-id"),
|
|
2267
|
+
key: "opcRequestId",
|
|
2268
|
+
dataType: "string"
|
|
2269
|
+
},
|
|
2270
|
+
{
|
|
2271
|
+
value: response.headers.get("opc-next-page"),
|
|
2272
|
+
key: "opcNextPage",
|
|
2273
|
+
dataType: "string"
|
|
2274
|
+
}
|
|
2275
|
+
]
|
|
2276
|
+
});
|
|
2277
|
+
return sdkResponse;
|
|
2278
|
+
}
|
|
2279
|
+
catch (err) {
|
|
2280
|
+
throw err;
|
|
2281
|
+
}
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
/**
|
|
2285
|
+
* Lists all the Exadata Fleet Update Jobs associated to the specified Exadata Fleet Update Action.
|
|
2286
|
+
*
|
|
2287
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2288
|
+
* @param ListFsuJobsRequest
|
|
2289
|
+
* @return ListFsuJobsResponse
|
|
2290
|
+
* @throws OciError when an error occurs
|
|
2291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListFsuJobs.ts.html |here} to see how to use ListFsuJobs API.
|
|
2292
|
+
*/
|
|
2293
|
+
listFsuJobs(listFsuJobsRequest) {
|
|
2294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2295
|
+
if (this.logger)
|
|
2296
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listFsuJobs.");
|
|
2297
|
+
const operationName = "listFsuJobs";
|
|
2298
|
+
const apiReferenceLink = "";
|
|
2299
|
+
const pathParams = {};
|
|
2300
|
+
const queryParams = {
|
|
2301
|
+
"fsuActionId": listFsuJobsRequest.fsuActionId,
|
|
2302
|
+
"lifecycleState": listFsuJobsRequest.lifecycleState,
|
|
2303
|
+
"displayName": listFsuJobsRequest.displayName,
|
|
2304
|
+
"sortBy": listFsuJobsRequest.sortBy,
|
|
2305
|
+
"limit": listFsuJobsRequest.limit,
|
|
2306
|
+
"page": listFsuJobsRequest.page,
|
|
2307
|
+
"sortOrder": listFsuJobsRequest.sortOrder
|
|
2308
|
+
};
|
|
2309
|
+
let headerParams = {
|
|
2310
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2311
|
+
"opc-request-id": listFsuJobsRequest.opcRequestId
|
|
2312
|
+
};
|
|
2313
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2314
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFsuJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
2315
|
+
if (this.logger)
|
|
2316
|
+
retrier.logger = this.logger;
|
|
2317
|
+
const request = yield oci_common_1.composeRequest({
|
|
2318
|
+
baseEndpoint: this._endpoint,
|
|
2319
|
+
defaultHeaders: this._defaultHeaders,
|
|
2320
|
+
path: "/fsuJobs",
|
|
2321
|
+
method: "GET",
|
|
2322
|
+
pathParams: pathParams,
|
|
2323
|
+
headerParams: headerParams,
|
|
2324
|
+
queryParams: queryParams
|
|
2325
|
+
});
|
|
2326
|
+
try {
|
|
2327
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2328
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2329
|
+
responseObject: {},
|
|
2330
|
+
body: yield response.json(),
|
|
2331
|
+
bodyKey: "fsuJobCollection",
|
|
2332
|
+
bodyModel: model.FsuJobCollection,
|
|
2333
|
+
type: "model.FsuJobCollection",
|
|
2334
|
+
responseHeaders: [
|
|
2335
|
+
{
|
|
2336
|
+
value: response.headers.get("opc-request-id"),
|
|
2337
|
+
key: "opcRequestId",
|
|
2338
|
+
dataType: "string"
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
value: response.headers.get("opc-next-page"),
|
|
2342
|
+
key: "opcNextPage",
|
|
2343
|
+
dataType: "string"
|
|
2344
|
+
}
|
|
2345
|
+
]
|
|
2346
|
+
});
|
|
2347
|
+
return sdkResponse;
|
|
2348
|
+
}
|
|
2349
|
+
catch (err) {
|
|
2350
|
+
throw err;
|
|
2351
|
+
}
|
|
2352
|
+
});
|
|
2353
|
+
}
|
|
2354
|
+
/**
|
|
2355
|
+
* Returns a paginated list of errors for a specified Work Request..
|
|
2356
|
+
*
|
|
2357
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2358
|
+
* @param ListWorkRequestErrorsRequest
|
|
2359
|
+
* @return ListWorkRequestErrorsResponse
|
|
2360
|
+
* @throws OciError when an error occurs
|
|
2361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
2362
|
+
*/
|
|
2363
|
+
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
2364
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2365
|
+
if (this.logger)
|
|
2366
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestErrors.");
|
|
2367
|
+
const operationName = "listWorkRequestErrors";
|
|
2368
|
+
const apiReferenceLink = "";
|
|
2369
|
+
const pathParams = {
|
|
2370
|
+
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
2371
|
+
};
|
|
2372
|
+
const queryParams = {
|
|
2373
|
+
"page": listWorkRequestErrorsRequest.page,
|
|
2374
|
+
"limit": listWorkRequestErrorsRequest.limit,
|
|
2375
|
+
"sortBy": listWorkRequestErrorsRequest.sortBy,
|
|
2376
|
+
"sortOrder": listWorkRequestErrorsRequest.sortOrder
|
|
2377
|
+
};
|
|
2378
|
+
let headerParams = {
|
|
2379
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2380
|
+
"opc-request-id": listWorkRequestErrorsRequest.opcRequestId
|
|
2381
|
+
};
|
|
2382
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2383
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
2384
|
+
if (this.logger)
|
|
2385
|
+
retrier.logger = this.logger;
|
|
2386
|
+
const request = yield oci_common_1.composeRequest({
|
|
2387
|
+
baseEndpoint: this._endpoint,
|
|
2388
|
+
defaultHeaders: this._defaultHeaders,
|
|
2389
|
+
path: "/workRequests/{workRequestId}/errors",
|
|
2390
|
+
method: "GET",
|
|
2391
|
+
pathParams: pathParams,
|
|
2392
|
+
headerParams: headerParams,
|
|
2393
|
+
queryParams: queryParams
|
|
2394
|
+
});
|
|
2395
|
+
try {
|
|
2396
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2397
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2398
|
+
responseObject: {},
|
|
2399
|
+
body: yield response.json(),
|
|
2400
|
+
bodyKey: "workRequestErrorCollection",
|
|
2401
|
+
bodyModel: model.WorkRequestErrorCollection,
|
|
2402
|
+
type: "model.WorkRequestErrorCollection",
|
|
2403
|
+
responseHeaders: [
|
|
2404
|
+
{
|
|
2405
|
+
value: response.headers.get("opc-next-page"),
|
|
2406
|
+
key: "opcNextPage",
|
|
2407
|
+
dataType: "string"
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
value: response.headers.get("opc-request-id"),
|
|
2411
|
+
key: "opcRequestId",
|
|
2412
|
+
dataType: "string"
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2415
|
+
});
|
|
2416
|
+
return sdkResponse;
|
|
2417
|
+
}
|
|
2418
|
+
catch (err) {
|
|
2419
|
+
throw err;
|
|
2420
|
+
}
|
|
2421
|
+
});
|
|
2422
|
+
}
|
|
2423
|
+
/**
|
|
2424
|
+
* Returns a paginated list of logs for a specified Work Request.
|
|
2425
|
+
*
|
|
2426
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2427
|
+
* @param ListWorkRequestLogsRequest
|
|
2428
|
+
* @return ListWorkRequestLogsResponse
|
|
2429
|
+
* @throws OciError when an error occurs
|
|
2430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
2431
|
+
*/
|
|
2432
|
+
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
2433
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2434
|
+
if (this.logger)
|
|
2435
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequestLogs.");
|
|
2436
|
+
const operationName = "listWorkRequestLogs";
|
|
2437
|
+
const apiReferenceLink = "";
|
|
2438
|
+
const pathParams = {
|
|
2439
|
+
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
2440
|
+
};
|
|
2441
|
+
const queryParams = {
|
|
2442
|
+
"page": listWorkRequestLogsRequest.page,
|
|
2443
|
+
"limit": listWorkRequestLogsRequest.limit,
|
|
2444
|
+
"sortBy": listWorkRequestLogsRequest.sortBy,
|
|
2445
|
+
"sortOrder": listWorkRequestLogsRequest.sortOrder
|
|
2446
|
+
};
|
|
2447
|
+
let headerParams = {
|
|
2448
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2449
|
+
"opc-request-id": listWorkRequestLogsRequest.opcRequestId
|
|
2450
|
+
};
|
|
2451
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2452
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
2453
|
+
if (this.logger)
|
|
2454
|
+
retrier.logger = this.logger;
|
|
2455
|
+
const request = yield oci_common_1.composeRequest({
|
|
2456
|
+
baseEndpoint: this._endpoint,
|
|
2457
|
+
defaultHeaders: this._defaultHeaders,
|
|
2458
|
+
path: "/workRequests/{workRequestId}/logs",
|
|
2459
|
+
method: "GET",
|
|
2460
|
+
pathParams: pathParams,
|
|
2461
|
+
headerParams: headerParams,
|
|
2462
|
+
queryParams: queryParams
|
|
2463
|
+
});
|
|
2464
|
+
try {
|
|
2465
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2466
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2467
|
+
responseObject: {},
|
|
2468
|
+
body: yield response.json(),
|
|
2469
|
+
bodyKey: "workRequestLogEntryCollection",
|
|
2470
|
+
bodyModel: model.WorkRequestLogEntryCollection,
|
|
2471
|
+
type: "model.WorkRequestLogEntryCollection",
|
|
2472
|
+
responseHeaders: [
|
|
2473
|
+
{
|
|
2474
|
+
value: response.headers.get("opc-next-page"),
|
|
2475
|
+
key: "opcNextPage",
|
|
2476
|
+
dataType: "string"
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
value: response.headers.get("opc-request-id"),
|
|
2480
|
+
key: "opcRequestId",
|
|
2481
|
+
dataType: "string"
|
|
2482
|
+
}
|
|
2483
|
+
]
|
|
2484
|
+
});
|
|
2485
|
+
return sdkResponse;
|
|
2486
|
+
}
|
|
2487
|
+
catch (err) {
|
|
2488
|
+
throw err;
|
|
2489
|
+
}
|
|
2490
|
+
});
|
|
2491
|
+
}
|
|
2492
|
+
/**
|
|
2493
|
+
* Lists the work requests in a compartment.
|
|
2494
|
+
*
|
|
2495
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2496
|
+
* @param ListWorkRequestsRequest
|
|
2497
|
+
* @return ListWorkRequestsResponse
|
|
2498
|
+
* @throws OciError when an error occurs
|
|
2499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
2500
|
+
*/
|
|
2501
|
+
listWorkRequests(listWorkRequestsRequest) {
|
|
2502
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2503
|
+
if (this.logger)
|
|
2504
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#listWorkRequests.");
|
|
2505
|
+
const operationName = "listWorkRequests";
|
|
2506
|
+
const apiReferenceLink = "";
|
|
2507
|
+
const pathParams = {};
|
|
2508
|
+
const queryParams = {
|
|
2509
|
+
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
2510
|
+
"workRequestId": listWorkRequestsRequest.workRequestId,
|
|
2511
|
+
"status": listWorkRequestsRequest.status,
|
|
2512
|
+
"resourceId": listWorkRequestsRequest.resourceId,
|
|
2513
|
+
"page": listWorkRequestsRequest.page,
|
|
2514
|
+
"limit": listWorkRequestsRequest.limit,
|
|
2515
|
+
"sortOrder": listWorkRequestsRequest.sortOrder,
|
|
2516
|
+
"sortBy": listWorkRequestsRequest.sortBy
|
|
2517
|
+
};
|
|
2518
|
+
let headerParams = {
|
|
2519
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2520
|
+
"opc-request-id": listWorkRequestsRequest.opcRequestId
|
|
2521
|
+
};
|
|
2522
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2523
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
2524
|
+
if (this.logger)
|
|
2525
|
+
retrier.logger = this.logger;
|
|
2526
|
+
const request = yield oci_common_1.composeRequest({
|
|
2527
|
+
baseEndpoint: this._endpoint,
|
|
2528
|
+
defaultHeaders: this._defaultHeaders,
|
|
2529
|
+
path: "/workRequests",
|
|
2530
|
+
method: "GET",
|
|
2531
|
+
pathParams: pathParams,
|
|
2532
|
+
headerParams: headerParams,
|
|
2533
|
+
queryParams: queryParams
|
|
2534
|
+
});
|
|
2535
|
+
try {
|
|
2536
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2537
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2538
|
+
responseObject: {},
|
|
2539
|
+
body: yield response.json(),
|
|
2540
|
+
bodyKey: "workRequestSummaryCollection",
|
|
2541
|
+
bodyModel: model.WorkRequestSummaryCollection,
|
|
2542
|
+
type: "model.WorkRequestSummaryCollection",
|
|
2543
|
+
responseHeaders: [
|
|
2544
|
+
{
|
|
2545
|
+
value: response.headers.get("opc-request-id"),
|
|
2546
|
+
key: "opcRequestId",
|
|
2547
|
+
dataType: "string"
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
value: response.headers.get("opc-next-page"),
|
|
2551
|
+
key: "opcNextPage",
|
|
2552
|
+
dataType: "string"
|
|
2553
|
+
}
|
|
2554
|
+
]
|
|
2555
|
+
});
|
|
2556
|
+
return sdkResponse;
|
|
2557
|
+
}
|
|
2558
|
+
catch (err) {
|
|
2559
|
+
throw err;
|
|
2560
|
+
}
|
|
2561
|
+
});
|
|
2562
|
+
}
|
|
2563
|
+
/**
|
|
2564
|
+
* Removes targets from an existing Exadata Fleet Update Collection.
|
|
2565
|
+
* This operation can only be performed on Collections that do not have an Action executing under an active Fleet Software Update Cycle.
|
|
2566
|
+
* Additionally, during an active Fleet Software Update Cycle, targets can be removed only prior to executing an Apply Action.
|
|
2567
|
+
*
|
|
2568
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2569
|
+
* @param RemoveFsuCollectionTargetsRequest
|
|
2570
|
+
* @return RemoveFsuCollectionTargetsResponse
|
|
2571
|
+
* @throws OciError when an error occurs
|
|
2572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/RemoveFsuCollectionTargets.ts.html |here} to see how to use RemoveFsuCollectionTargets API.
|
|
2573
|
+
*/
|
|
2574
|
+
removeFsuCollectionTargets(removeFsuCollectionTargetsRequest) {
|
|
2575
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2576
|
+
if (this.logger)
|
|
2577
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#removeFsuCollectionTargets.");
|
|
2578
|
+
const operationName = "removeFsuCollectionTargets";
|
|
2579
|
+
const apiReferenceLink = "";
|
|
2580
|
+
const pathParams = {
|
|
2581
|
+
"{fsuCollectionId}": removeFsuCollectionTargetsRequest.fsuCollectionId
|
|
2582
|
+
};
|
|
2583
|
+
const queryParams = {};
|
|
2584
|
+
let headerParams = {
|
|
2585
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2586
|
+
"if-match": removeFsuCollectionTargetsRequest.ifMatch,
|
|
2587
|
+
"opc-request-id": removeFsuCollectionTargetsRequest.opcRequestId,
|
|
2588
|
+
"opc-retry-token": removeFsuCollectionTargetsRequest.opcRetryToken
|
|
2589
|
+
};
|
|
2590
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2591
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeFsuCollectionTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2592
|
+
if (this.logger)
|
|
2593
|
+
retrier.logger = this.logger;
|
|
2594
|
+
const request = yield oci_common_1.composeRequest({
|
|
2595
|
+
baseEndpoint: this._endpoint,
|
|
2596
|
+
defaultHeaders: this._defaultHeaders,
|
|
2597
|
+
path: "/fsuCollections/{fsuCollectionId}/targets",
|
|
2598
|
+
method: "PUT",
|
|
2599
|
+
bodyContent: common.ObjectSerializer.serialize(removeFsuCollectionTargetsRequest.removeFsuCollectionTargetsDetails, "RemoveFsuCollectionTargetsDetails", model.RemoveFsuCollectionTargetsDetails.getJsonObj),
|
|
2600
|
+
pathParams: pathParams,
|
|
2601
|
+
headerParams: headerParams,
|
|
2602
|
+
queryParams: queryParams
|
|
2603
|
+
});
|
|
2604
|
+
try {
|
|
2605
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2606
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2607
|
+
responseObject: {},
|
|
2608
|
+
responseHeaders: [
|
|
2609
|
+
{
|
|
2610
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2611
|
+
key: "opcWorkRequestId",
|
|
2612
|
+
dataType: "string"
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
value: response.headers.get("opc-request-id"),
|
|
2616
|
+
key: "opcRequestId",
|
|
2617
|
+
dataType: "string"
|
|
2618
|
+
}
|
|
2619
|
+
]
|
|
2620
|
+
});
|
|
2621
|
+
return sdkResponse;
|
|
2622
|
+
}
|
|
2623
|
+
catch (err) {
|
|
2624
|
+
throw err;
|
|
2625
|
+
}
|
|
2626
|
+
});
|
|
2627
|
+
}
|
|
2628
|
+
/**
|
|
2629
|
+
* Resumes an Action that has batches of targets waiting to execute.
|
|
2630
|
+
*
|
|
2631
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2632
|
+
* @param ResumeFsuActionRequest
|
|
2633
|
+
* @return ResumeFsuActionResponse
|
|
2634
|
+
* @throws OciError when an error occurs
|
|
2635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/ResumeFsuAction.ts.html |here} to see how to use ResumeFsuAction API.
|
|
2636
|
+
*/
|
|
2637
|
+
resumeFsuAction(resumeFsuActionRequest) {
|
|
2638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2639
|
+
if (this.logger)
|
|
2640
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#resumeFsuAction.");
|
|
2641
|
+
const operationName = "resumeFsuAction";
|
|
2642
|
+
const apiReferenceLink = "";
|
|
2643
|
+
const pathParams = {
|
|
2644
|
+
"{fsuActionId}": resumeFsuActionRequest.fsuActionId
|
|
2645
|
+
};
|
|
2646
|
+
const queryParams = {};
|
|
2647
|
+
let headerParams = {
|
|
2648
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2649
|
+
"if-match": resumeFsuActionRequest.ifMatch,
|
|
2650
|
+
"opc-request-id": resumeFsuActionRequest.opcRequestId,
|
|
2651
|
+
"opc-retry-token": resumeFsuActionRequest.opcRetryToken
|
|
2652
|
+
};
|
|
2653
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2654
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resumeFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
2655
|
+
if (this.logger)
|
|
2656
|
+
retrier.logger = this.logger;
|
|
2657
|
+
const request = yield oci_common_1.composeRequest({
|
|
2658
|
+
baseEndpoint: this._endpoint,
|
|
2659
|
+
defaultHeaders: this._defaultHeaders,
|
|
2660
|
+
path: "/fsuActions/{fsuActionId}/actions/resume",
|
|
2661
|
+
method: "POST",
|
|
2662
|
+
pathParams: pathParams,
|
|
2663
|
+
headerParams: headerParams,
|
|
2664
|
+
queryParams: queryParams
|
|
2665
|
+
});
|
|
2666
|
+
try {
|
|
2667
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2668
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2669
|
+
responseObject: {},
|
|
2670
|
+
responseHeaders: [
|
|
2671
|
+
{
|
|
2672
|
+
value: response.headers.get("opc-request-id"),
|
|
2673
|
+
key: "opcRequestId",
|
|
2674
|
+
dataType: "string"
|
|
2675
|
+
}
|
|
2676
|
+
]
|
|
2677
|
+
});
|
|
2678
|
+
return sdkResponse;
|
|
2679
|
+
}
|
|
2680
|
+
catch (err) {
|
|
2681
|
+
throw err;
|
|
2682
|
+
}
|
|
2683
|
+
});
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* Retry a failed Job, only while the current Action is being executed.
|
|
2687
|
+
* After the Action reaches a terminal state, a new Action of the same kind is required to retry on failed targets.
|
|
2688
|
+
*
|
|
2689
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2690
|
+
* @param RetryFsuJobRequest
|
|
2691
|
+
* @return RetryFsuJobResponse
|
|
2692
|
+
* @throws OciError when an error occurs
|
|
2693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/RetryFsuJob.ts.html |here} to see how to use RetryFsuJob API.
|
|
2694
|
+
*/
|
|
2695
|
+
retryFsuJob(retryFsuJobRequest) {
|
|
2696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2697
|
+
if (this.logger)
|
|
2698
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#retryFsuJob.");
|
|
2699
|
+
const operationName = "retryFsuJob";
|
|
2700
|
+
const apiReferenceLink = "";
|
|
2701
|
+
const pathParams = {
|
|
2702
|
+
"{fsuJobId}": retryFsuJobRequest.fsuJobId
|
|
2703
|
+
};
|
|
2704
|
+
const queryParams = {};
|
|
2705
|
+
let headerParams = {
|
|
2706
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2707
|
+
"if-match": retryFsuJobRequest.ifMatch,
|
|
2708
|
+
"opc-request-id": retryFsuJobRequest.opcRequestId,
|
|
2709
|
+
"opc-retry-token": retryFsuJobRequest.opcRetryToken
|
|
2710
|
+
};
|
|
2711
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2712
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, retryFsuJobRequest.retryConfiguration, specRetryConfiguration);
|
|
2713
|
+
if (this.logger)
|
|
2714
|
+
retrier.logger = this.logger;
|
|
2715
|
+
const request = yield oci_common_1.composeRequest({
|
|
2716
|
+
baseEndpoint: this._endpoint,
|
|
2717
|
+
defaultHeaders: this._defaultHeaders,
|
|
2718
|
+
path: "/fsuJobs/{fsuJobId}/actions/retry",
|
|
2719
|
+
method: "POST",
|
|
2720
|
+
pathParams: pathParams,
|
|
2721
|
+
headerParams: headerParams,
|
|
2722
|
+
queryParams: queryParams
|
|
2723
|
+
});
|
|
2724
|
+
try {
|
|
2725
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2726
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2727
|
+
responseObject: {},
|
|
2728
|
+
responseHeaders: [
|
|
2729
|
+
{
|
|
2730
|
+
value: response.headers.get("opc-request-id"),
|
|
2731
|
+
key: "opcRequestId",
|
|
2732
|
+
dataType: "string"
|
|
2733
|
+
}
|
|
2734
|
+
]
|
|
2735
|
+
});
|
|
2736
|
+
return sdkResponse;
|
|
2737
|
+
}
|
|
2738
|
+
catch (err) {
|
|
2739
|
+
throw err;
|
|
2740
|
+
}
|
|
2741
|
+
});
|
|
2742
|
+
}
|
|
2743
|
+
/**
|
|
2744
|
+
* Updates the Exadata Fleet Update Action identified by the ID.
|
|
2745
|
+
*
|
|
2746
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2747
|
+
* @param UpdateFsuActionRequest
|
|
2748
|
+
* @return UpdateFsuActionResponse
|
|
2749
|
+
* @throws OciError when an error occurs
|
|
2750
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/UpdateFsuAction.ts.html |here} to see how to use UpdateFsuAction API.
|
|
2751
|
+
*/
|
|
2752
|
+
updateFsuAction(updateFsuActionRequest) {
|
|
2753
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2754
|
+
if (this.logger)
|
|
2755
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuAction.");
|
|
2756
|
+
const operationName = "updateFsuAction";
|
|
2757
|
+
const apiReferenceLink = "";
|
|
2758
|
+
const pathParams = {
|
|
2759
|
+
"{fsuActionId}": updateFsuActionRequest.fsuActionId
|
|
2760
|
+
};
|
|
2761
|
+
const queryParams = {};
|
|
2762
|
+
let headerParams = {
|
|
2763
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2764
|
+
"if-match": updateFsuActionRequest.ifMatch,
|
|
2765
|
+
"opc-request-id": updateFsuActionRequest.opcRequestId
|
|
2766
|
+
};
|
|
2767
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2768
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuActionRequest.retryConfiguration, specRetryConfiguration);
|
|
2769
|
+
if (this.logger)
|
|
2770
|
+
retrier.logger = this.logger;
|
|
2771
|
+
const request = yield oci_common_1.composeRequest({
|
|
2772
|
+
baseEndpoint: this._endpoint,
|
|
2773
|
+
defaultHeaders: this._defaultHeaders,
|
|
2774
|
+
path: "/fsuActions/{fsuActionId}",
|
|
2775
|
+
method: "PUT",
|
|
2776
|
+
bodyContent: common.ObjectSerializer.serialize(updateFsuActionRequest.updateFsuActionDetails, "UpdateFsuActionDetails", model.UpdateFsuActionDetails.getJsonObj),
|
|
2777
|
+
pathParams: pathParams,
|
|
2778
|
+
headerParams: headerParams,
|
|
2779
|
+
queryParams: queryParams
|
|
2780
|
+
});
|
|
2781
|
+
try {
|
|
2782
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2783
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2784
|
+
responseObject: {},
|
|
2785
|
+
responseHeaders: [
|
|
2786
|
+
{
|
|
2787
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2788
|
+
key: "opcWorkRequestId",
|
|
2789
|
+
dataType: "string"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
value: response.headers.get("opc-request-id"),
|
|
2793
|
+
key: "opcRequestId",
|
|
2794
|
+
dataType: "string"
|
|
2795
|
+
}
|
|
2796
|
+
]
|
|
2797
|
+
});
|
|
2798
|
+
return sdkResponse;
|
|
2799
|
+
}
|
|
2800
|
+
catch (err) {
|
|
2801
|
+
throw err;
|
|
2802
|
+
}
|
|
2803
|
+
});
|
|
2804
|
+
}
|
|
2805
|
+
/**
|
|
2806
|
+
* Updates the Exadata Fleet Update Collection identified by the ID.
|
|
2807
|
+
*
|
|
2808
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2809
|
+
* @param UpdateFsuCollectionRequest
|
|
2810
|
+
* @return UpdateFsuCollectionResponse
|
|
2811
|
+
* @throws OciError when an error occurs
|
|
2812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/UpdateFsuCollection.ts.html |here} to see how to use UpdateFsuCollection API.
|
|
2813
|
+
*/
|
|
2814
|
+
updateFsuCollection(updateFsuCollectionRequest) {
|
|
2815
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2816
|
+
if (this.logger)
|
|
2817
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCollection.");
|
|
2818
|
+
const operationName = "updateFsuCollection";
|
|
2819
|
+
const apiReferenceLink = "";
|
|
2820
|
+
const pathParams = {
|
|
2821
|
+
"{fsuCollectionId}": updateFsuCollectionRequest.fsuCollectionId
|
|
2822
|
+
};
|
|
2823
|
+
const queryParams = {};
|
|
2824
|
+
let headerParams = {
|
|
2825
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2826
|
+
"if-match": updateFsuCollectionRequest.ifMatch,
|
|
2827
|
+
"opc-request-id": updateFsuCollectionRequest.opcRequestId
|
|
2828
|
+
};
|
|
2829
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2830
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuCollectionRequest.retryConfiguration, specRetryConfiguration);
|
|
2831
|
+
if (this.logger)
|
|
2832
|
+
retrier.logger = this.logger;
|
|
2833
|
+
const request = yield oci_common_1.composeRequest({
|
|
2834
|
+
baseEndpoint: this._endpoint,
|
|
2835
|
+
defaultHeaders: this._defaultHeaders,
|
|
2836
|
+
path: "/fsuCollections/{fsuCollectionId}",
|
|
2837
|
+
method: "PUT",
|
|
2838
|
+
bodyContent: common.ObjectSerializer.serialize(updateFsuCollectionRequest.updateFsuCollectionDetails, "UpdateFsuCollectionDetails", model.UpdateFsuCollectionDetails.getJsonObj),
|
|
2839
|
+
pathParams: pathParams,
|
|
2840
|
+
headerParams: headerParams,
|
|
2841
|
+
queryParams: queryParams
|
|
2842
|
+
});
|
|
2843
|
+
try {
|
|
2844
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2845
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2846
|
+
responseObject: {},
|
|
2847
|
+
responseHeaders: [
|
|
2848
|
+
{
|
|
2849
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2850
|
+
key: "opcWorkRequestId",
|
|
2851
|
+
dataType: "string"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
value: response.headers.get("opc-request-id"),
|
|
2855
|
+
key: "opcRequestId",
|
|
2856
|
+
dataType: "string"
|
|
2857
|
+
}
|
|
2858
|
+
]
|
|
2859
|
+
});
|
|
2860
|
+
return sdkResponse;
|
|
2861
|
+
}
|
|
2862
|
+
catch (err) {
|
|
2863
|
+
throw err;
|
|
2864
|
+
}
|
|
2865
|
+
});
|
|
2866
|
+
}
|
|
2867
|
+
/**
|
|
2868
|
+
* Updates the Exadata Fleet Update Cycle identified by the ID.
|
|
2869
|
+
*
|
|
2870
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2871
|
+
* @param UpdateFsuCycleRequest
|
|
2872
|
+
* @return UpdateFsuCycleResponse
|
|
2873
|
+
* @throws OciError when an error occurs
|
|
2874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/UpdateFsuCycle.ts.html |here} to see how to use UpdateFsuCycle API.
|
|
2875
|
+
*/
|
|
2876
|
+
updateFsuCycle(updateFsuCycleRequest) {
|
|
2877
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2878
|
+
if (this.logger)
|
|
2879
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuCycle.");
|
|
2880
|
+
const operationName = "updateFsuCycle";
|
|
2881
|
+
const apiReferenceLink = "";
|
|
2882
|
+
const pathParams = {
|
|
2883
|
+
"{fsuCycleId}": updateFsuCycleRequest.fsuCycleId
|
|
2884
|
+
};
|
|
2885
|
+
const queryParams = {};
|
|
2886
|
+
let headerParams = {
|
|
2887
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2888
|
+
"if-match": updateFsuCycleRequest.ifMatch,
|
|
2889
|
+
"opc-request-id": updateFsuCycleRequest.opcRequestId
|
|
2890
|
+
};
|
|
2891
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2892
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuCycleRequest.retryConfiguration, specRetryConfiguration);
|
|
2893
|
+
if (this.logger)
|
|
2894
|
+
retrier.logger = this.logger;
|
|
2895
|
+
const request = yield oci_common_1.composeRequest({
|
|
2896
|
+
baseEndpoint: this._endpoint,
|
|
2897
|
+
defaultHeaders: this._defaultHeaders,
|
|
2898
|
+
path: "/fsuCycles/{fsuCycleId}",
|
|
2899
|
+
method: "PUT",
|
|
2900
|
+
bodyContent: common.ObjectSerializer.serialize(updateFsuCycleRequest.updateFsuCycleDetails, "UpdateFsuCycleDetails", model.UpdateFsuCycleDetails.getJsonObj),
|
|
2901
|
+
pathParams: pathParams,
|
|
2902
|
+
headerParams: headerParams,
|
|
2903
|
+
queryParams: queryParams
|
|
2904
|
+
});
|
|
2905
|
+
try {
|
|
2906
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2907
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2908
|
+
responseObject: {},
|
|
2909
|
+
responseHeaders: [
|
|
2910
|
+
{
|
|
2911
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2912
|
+
key: "opcWorkRequestId",
|
|
2913
|
+
dataType: "string"
|
|
2914
|
+
},
|
|
2915
|
+
{
|
|
2916
|
+
value: response.headers.get("opc-request-id"),
|
|
2917
|
+
key: "opcRequestId",
|
|
2918
|
+
dataType: "string"
|
|
2919
|
+
}
|
|
2920
|
+
]
|
|
2921
|
+
});
|
|
2922
|
+
return sdkResponse;
|
|
2923
|
+
}
|
|
2924
|
+
catch (err) {
|
|
2925
|
+
throw err;
|
|
2926
|
+
}
|
|
2927
|
+
});
|
|
2928
|
+
}
|
|
2929
|
+
/**
|
|
2930
|
+
* Updates the Exadata Fleet Update Discovery identified by the ID.
|
|
2931
|
+
*
|
|
2932
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2933
|
+
* @param UpdateFsuDiscoveryRequest
|
|
2934
|
+
* @return UpdateFsuDiscoveryResponse
|
|
2935
|
+
* @throws OciError when an error occurs
|
|
2936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/UpdateFsuDiscovery.ts.html |here} to see how to use UpdateFsuDiscovery API.
|
|
2937
|
+
*/
|
|
2938
|
+
updateFsuDiscovery(updateFsuDiscoveryRequest) {
|
|
2939
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2940
|
+
if (this.logger)
|
|
2941
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuDiscovery.");
|
|
2942
|
+
const operationName = "updateFsuDiscovery";
|
|
2943
|
+
const apiReferenceLink = "";
|
|
2944
|
+
const pathParams = {
|
|
2945
|
+
"{fsuDiscoveryId}": updateFsuDiscoveryRequest.fsuDiscoveryId
|
|
2946
|
+
};
|
|
2947
|
+
const queryParams = {};
|
|
2948
|
+
let headerParams = {
|
|
2949
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2950
|
+
"if-match": updateFsuDiscoveryRequest.ifMatch,
|
|
2951
|
+
"opc-request-id": updateFsuDiscoveryRequest.opcRequestId
|
|
2952
|
+
};
|
|
2953
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2954
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuDiscoveryRequest.retryConfiguration, specRetryConfiguration);
|
|
2955
|
+
if (this.logger)
|
|
2956
|
+
retrier.logger = this.logger;
|
|
2957
|
+
const request = yield oci_common_1.composeRequest({
|
|
2958
|
+
baseEndpoint: this._endpoint,
|
|
2959
|
+
defaultHeaders: this._defaultHeaders,
|
|
2960
|
+
path: "/fsuDiscoveries/{fsuDiscoveryId}",
|
|
2961
|
+
method: "PUT",
|
|
2962
|
+
bodyContent: common.ObjectSerializer.serialize(updateFsuDiscoveryRequest.updateFsuDiscoveryDetails, "UpdateFsuDiscoveryDetails", model.UpdateFsuDiscoveryDetails.getJsonObj),
|
|
2963
|
+
pathParams: pathParams,
|
|
2964
|
+
headerParams: headerParams,
|
|
2965
|
+
queryParams: queryParams
|
|
2966
|
+
});
|
|
2967
|
+
try {
|
|
2968
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2969
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2970
|
+
responseObject: {},
|
|
2971
|
+
responseHeaders: [
|
|
2972
|
+
{
|
|
2973
|
+
value: response.headers.get("opc-request-id"),
|
|
2974
|
+
key: "opcRequestId",
|
|
2975
|
+
dataType: "string"
|
|
2976
|
+
}
|
|
2977
|
+
]
|
|
2978
|
+
});
|
|
2979
|
+
return sdkResponse;
|
|
2980
|
+
}
|
|
2981
|
+
catch (err) {
|
|
2982
|
+
throw err;
|
|
2983
|
+
}
|
|
2984
|
+
});
|
|
2985
|
+
}
|
|
2986
|
+
/**
|
|
2987
|
+
* Updates Exadata Fleet Update Job resource details.
|
|
2988
|
+
*
|
|
2989
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2990
|
+
* @param UpdateFsuJobRequest
|
|
2991
|
+
* @return UpdateFsuJobResponse
|
|
2992
|
+
* @throws OciError when an error occurs
|
|
2993
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.67.0/fleetsoftwareupdate/UpdateFsuJob.ts.html |here} to see how to use UpdateFsuJob API.
|
|
2994
|
+
*/
|
|
2995
|
+
updateFsuJob(updateFsuJobRequest) {
|
|
2996
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2997
|
+
if (this.logger)
|
|
2998
|
+
this.logger.debug("Calling operation FleetSoftwareUpdateClient#updateFsuJob.");
|
|
2999
|
+
const operationName = "updateFsuJob";
|
|
3000
|
+
const apiReferenceLink = "";
|
|
3001
|
+
const pathParams = {
|
|
3002
|
+
"{fsuJobId}": updateFsuJobRequest.fsuJobId
|
|
3003
|
+
};
|
|
3004
|
+
const queryParams = {};
|
|
3005
|
+
let headerParams = {
|
|
3006
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3007
|
+
"opc-request-id": updateFsuJobRequest.opcRequestId,
|
|
3008
|
+
"if-match": updateFsuJobRequest.ifMatch
|
|
3009
|
+
};
|
|
3010
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3011
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateFsuJobRequest.retryConfiguration, specRetryConfiguration);
|
|
3012
|
+
if (this.logger)
|
|
3013
|
+
retrier.logger = this.logger;
|
|
3014
|
+
const request = yield oci_common_1.composeRequest({
|
|
3015
|
+
baseEndpoint: this._endpoint,
|
|
3016
|
+
defaultHeaders: this._defaultHeaders,
|
|
3017
|
+
path: "/fsuJobs/{fsuJobId}",
|
|
3018
|
+
method: "PUT",
|
|
3019
|
+
bodyContent: common.ObjectSerializer.serialize(updateFsuJobRequest.updateFsuJobDetails, "UpdateFsuJobDetails", model.UpdateFsuJobDetails.getJsonObj),
|
|
3020
|
+
pathParams: pathParams,
|
|
3021
|
+
headerParams: headerParams,
|
|
3022
|
+
queryParams: queryParams
|
|
3023
|
+
});
|
|
3024
|
+
try {
|
|
3025
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3026
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3027
|
+
responseObject: {},
|
|
3028
|
+
body: yield response.json(),
|
|
3029
|
+
bodyKey: "fsuJob",
|
|
3030
|
+
bodyModel: model.FsuJob,
|
|
3031
|
+
type: "model.FsuJob",
|
|
3032
|
+
responseHeaders: [
|
|
3033
|
+
{
|
|
3034
|
+
value: response.headers.get("opc-request-id"),
|
|
3035
|
+
key: "opcRequestId",
|
|
3036
|
+
dataType: "string"
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
value: response.headers.get("etag"),
|
|
3040
|
+
key: "etag",
|
|
3041
|
+
dataType: "string"
|
|
3042
|
+
}
|
|
3043
|
+
]
|
|
3044
|
+
});
|
|
3045
|
+
return sdkResponse;
|
|
3046
|
+
}
|
|
3047
|
+
catch (err) {
|
|
3048
|
+
throw err;
|
|
3049
|
+
}
|
|
3050
|
+
});
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
3053
|
+
exports.FleetSoftwareUpdateClient = FleetSoftwareUpdateClient;
|
|
3054
|
+
FleetSoftwareUpdateClient.serviceEndpointTemplate = "https://fleet-software-update.{region}.oci.{secondLevelDomain}";
|
|
3055
|
+
FleetSoftwareUpdateClient.endpointServiceName = "";
|
|
3056
|
+
//# sourceMappingURL=client.js.map
|