From a5c52544300d13321e912196c4b1bfbb7726e948 Mon Sep 17 00:00:00 2001 From: OCI DEX Release Bot Automation Date: Tue, 6 May 2025 12:39:02 +0000 Subject: [PATCH] Releasing version 2.108.0 Co-authored-by: Harsh Kumar --- CHANGELOG.md | 69 + lib/accessgovernancecp/package.json | 2 +- lib/adm/package.json | 2 +- lib/aianomalydetection/package.json | 2 +- lib/aidocument/package.json | 2 +- lib/ailanguage/package.json | 2 +- lib/aispeech/package.json | 2 +- lib/aivision/package.json | 2 +- lib/analytics/package.json | 2 +- lib/announcementsservice/package.json | 2 +- lib/apigateway/package.json | 2 +- lib/apmconfig/package.json | 2 +- lib/apmcontrolplane/package.json | 2 +- lib/apmsynthetics/package.json | 2 +- lib/apmtraces/package.json | 2 +- lib/appmgmtcontrol/package.json | 2 +- lib/artifacts/package.json | 2 +- lib/audit/package.json | 2 +- lib/autoscaling/package.json | 2 +- lib/bastion/package.json | 2 +- lib/bds/package.json | 2 +- lib/blockchain/package.json | 2 +- lib/budget/package.json | 2 +- lib/capacitymanagement/package.json | 2 +- lib/certificates/package.json | 2 +- lib/certificatesmanagement/package.json | 2 +- lib/cims/package.json | 2 +- lib/cloudbridge/package.json | 2 +- lib/cloudguard/package.json | 2 +- lib/cloudmigrations/package.json | 2 +- lib/clusterplacementgroups/package.json | 2 +- lib/common/package.json | 2 +- lib/computecloudatcustomer/package.json | 2 +- lib/computeinstanceagent/package.json | 2 +- lib/containerengine/package.json | 2 +- lib/containerinstances/package.json | 2 +- lib/core/package.json | 2 +- lib/dashboardservice/package.json | 2 +- lib/database/lib/client.ts | 97 +- lib/database/lib/model/index.ts | 4 + ...system-version-minor-version-collection.ts | 57 + .../system-version-minor-version-summary.ts | 40 + ...te-cloud-exadata-infrastructure-request.ts | 6 + .../create-cloud-vm-cluster-request.ts | 6 + lib/database/lib/request/index.ts | 2 + .../lib/request/list-gi-versions-request.ts | 4 + ...t-system-version-minor-versions-request.ts | 69 + .../request/list-system-versions-request.ts | 16 +- lib/database/lib/response/index.ts | 2 + ...-system-version-minor-versions-response.ts | 36 + lib/database/package.json | 2 +- lib/databasemanagement/package.json | 2 +- .../lib/model/odms-job-phases.ts | 1 + .../parameter-file-version-collection.ts | 4 +- .../model/parameter-file-version-summary.ts | 2 +- .../lib/model/parameter-file-version.ts | 2 +- .../model/update-oracle-migration-details.ts | 2 +- lib/databasemigration/package.json | 2 +- lib/databasetools/package.json | 2 +- lib/datacatalog/package.json | 2 +- lib/dataflow/package.json | 2 +- lib/dataintegration/package.json | 2 +- lib/datalabelingservice/package.json | 2 +- lib/datalabelingservicedataplane/package.json | 2 +- lib/datasafe/package.json | 2 +- lib/datascience/package.json | 2 +- lib/dblm/package.json | 2 +- lib/delegateaccesscontrol/package.json | 2 +- lib/demandsignal/package.json | 2 +- lib/desktops/package.json | 2 +- lib/devops/package.json | 2 +- lib/disasterrecovery/package.json | 2 +- lib/dns/package.json | 2 +- lib/dts/package.json | 2 +- lib/email/package.json | 2 +- lib/emaildataplane/package.json | 2 +- lib/emwarehouse/package.json | 2 +- lib/events/package.json | 2 +- lib/filestorage/package.json | 2 +- lib/fleetappsmanagement/index.ts | 11 +- lib/fleetappsmanagement/lib/client.ts | 6548 ++++++++++++----- .../lib/fleetappsmanagement-waiter.ts | 18 +- .../lib/fleetappsmanagementadmin-waiter.ts | 2 +- .../lib/fleetappsmanagementcatalog-waiter.ts | 45 + ...tappsmanagementmaintenancewindow-waiter.ts | 2 +- .../fleetappsmanagementoperations-waiter.ts | 11 +- .../fleetappsmanagementprovision-waiter.ts | 45 + .../lib/fleetappsmanagementrunbooks-waiter.ts | 21 +- .../fleetappsmanagementworkrequest-waiter.ts | 42 + .../action-group-based-user-action-details.ts | 2 +- .../lib/model/action-group-details.ts | 48 +- .../lib/model/action-group.ts | 68 +- .../lib/model/action-type.ts | 2 +- .../lib/model/activity-resource-target.ts | 2 +- .../lib/model/announcement-collection.ts | 4 +- .../lib/model/announcement-sort-by.ts | 2 +- .../lib/model/announcement-summary.ts | 6 +- .../lib/model/api-based-execution-details.ts | 2 +- .../lib/model/artifact-details.ts | 2 +- .../associated-fleet-credential-details.ts | 4 +- .../associated-fleet-property-details.ts | 4 +- .../associated-fleet-resource-details.ts | 2 +- .../model/associated-local-task-details.ts | 9 +- .../model/associated-scheduler-definition.ts | 6 +- .../model/associated-shared-task-details.ts | 2 +- .../lib/model/associated-task-details.ts | 2 +- .../lib/model/catalog-content-details.ts | 53 + .../lib/model/catalog-git-result-config.ts | 67 + .../lib/model/catalog-git-source-config.ts | 67 + .../lib/model/catalog-item-collection.ts | 57 + ...-group-type.ts => catalog-item-sort-by.ts} | 24 +- .../lib/model/catalog-item-summary.ts | 155 + .../lib/model/catalog-item.ts | 212 + .../catalog-listing-version-criteria-enum.ts | 39 + .../catalog-marketplace-source-config.ts | 65 + .../lib/model/catalog-par-result-config.ts | 64 + .../lib/model/catalog-par-source-config.ts | 79 + .../lib/model/catalog-result-payload.ts | 87 + .../lib/model/catalog-source-payload.ts | 96 + .../model/catalog-source-template-config.ts | 72 + .../model/catalog-template-result-config.ts | 57 + ...change-catalog-item-compartment-details.ts | 40 + .../model/change-fleet-compartment-details.ts | 40 + .../model/change-patch-compartment-details.ts | 40 + ...tform-configuration-compartment-details.ts | 42 + .../change-property-compartment-details.ts | 40 + .../change-provision-compartment-details.ts | 40 + .../change-runbook-compartment-details.ts | 40 + .../change-task-record-compartment-details.ts | 40 + .../model/check-resource-tagging-details.ts | 4 +- .../lib/model/clone-catalog-item-details.ts | 44 + .../lib/model/compliance-detail-policy.ts | 2 +- .../lib/model/compliance-detail-product.ts | 4 +- .../lib/model/compliance-detail-resource.ts | 4 +- .../lib/model/compliance-detail-target.ts | 4 +- .../lib/model/compliance-level.ts | 2 +- .../lib/model/compliance-patch-detail.ts | 4 +- .../lib/model/compliance-policy-collection.ts | 4 +- .../compliance-policy-rule-collection.ts | 2 +- .../model/compliance-policy-rule-sort-by.ts | 36 + .../model/compliance-policy-rule-summary.ts | 4 +- .../lib/model/compliance-policy-rule.ts | 4 +- .../lib/model/compliance-policy-sort-by.ts | 34 + .../lib/model/compliance-policy-summary.ts | 6 +- .../lib/model/compliance-policy.ts | 18 +- ...ompliance-record-aggregation-collection.ts | 2 +- .../model/compliance-record-aggregation.ts | 4 +- .../lib/model/compliance-record-collection.ts | 2 +- .../lib/model/compliance-record-dimension.ts | 2 +- .../lib/model/compliance-record-sort-by.ts | 34 + .../lib/model/compliance-record-summary.ts | 20 +- .../lib/model/compliance-record.ts | 20 +- .../model/compliance-report-patch-detail.ts | 2 +- .../lib/model/compliance-report-product.ts | 2 +- .../lib/model/compliance-report-resource.ts | 2 +- .../lib/model/compliance-report-target.ts | 2 +- .../lib/model/compliance-report.ts | 6 +- .../lib/model/compliance-rule-severity.ts | 2 +- .../lib/model/compliance-state.ts | 2 +- .../lib/model/component-properties.ts | 20 +- .../lib/model/condition.ts | 2 +- .../lib/model/config-association-details.ts | 2 +- .../lib/model/config-category-details.ts | 22 +- .../lib/model/config-file-details.ts | 58 + .../lib/model/confirm-targets-details.ts | 2 +- .../lib/model/content-details.ts | 12 +- .../lib/model/create-catalog-item-details.ts | 113 + .../create-compliance-policy-rule-details.ts | 10 +- .../model/create-fleet-credential-details.ts | 6 +- .../lib/model/create-fleet-details.ts | 79 +- .../model/create-fleet-property-details.ts | 6 +- .../model/create-fleet-resource-details.ts | 2 +- .../create-maintenance-window-details.ts | 14 +- .../lib/model/create-onboarding-details.ts | 2 +- .../lib/model/create-patch-details.ts | 2 +- .../create-platform-configuration-details.ts | 10 +- .../lib/model/create-property-details.ts | 6 +- .../lib/model/create-provision-details.ts | 88 + .../lib/model/create-runbook-details.ts | 26 +- .../model/create-runbook-version-details.ts | 102 + .../create-scheduler-definition-details.ts | 10 +- .../lib/model/create-task-record-details.ts | 6 +- .../credential-config-category-details.ts | 2 +- .../lib/model/credential-details.ts | 2 +- .../credential-entity-specific-details.ts | 2 +- .../lib/model/custom-schedule.ts | 52 + .../lib/model/dependent-patch-details.ts | 2 +- .../lib/model/deployed-resource-details.ts | 75 + lib/fleetappsmanagement/lib/model/details.ts | 13 +- .../lib/model/discovered-target.ts | 2 +- .../lib/model/dynamic-resource-selection.ts | 60 + .../lib/model/enable-latest-policy-details.ts | 2 +- .../lib/model/entity-execution-details.ts | 2 +- .../environment-config-category-details.ts | 2 +- .../lib/model/environment-fleet-details.ts | 48 + .../lib/model/execution-collection.ts | 2 +- .../lib/model/execution-details.ts | 12 +- .../lib/model/execution-summary.ts | 6 +- .../lib/model/execution-workflow-details.ts | 2 +- .../lib/model/execution.ts | 6 +- .../model/export-compliance-report-details.ts | 4 +- .../lib/model/file-input-argument.ts | 48 + .../lib/model/file-task-argument.ts | 53 + .../model/fleet-based-action-group-details.ts | 67 + .../lib/model/fleet-based-action-group.ts | 69 + .../lib/model/fleet-collection.ts | 2 +- .../lib/model/fleet-credential-collection.ts | 2 +- ...leet-credential-entity-specific-details.ts | 2 +- .../lib/model/fleet-credential-sort-by.ts | 34 + .../lib/model/fleet-credential-summary.ts | 4 +- .../lib/model/fleet-credential.ts | 4 +- .../lib/model/fleet-details.ts | 88 + .../lib/model/fleet-product-collection.ts | 2 +- .../lib/model/fleet-product-summary.ts | 2 +- .../lib/model/fleet-property-collection.ts | 2 +- .../lib/model/fleet-property-sort-by.ts | 34 + .../lib/model/fleet-property-summary.ts | 4 +- .../lib/model/fleet-property.ts | 6 +- .../lib/model/fleet-resource-collection.ts | 2 +- .../lib/model/fleet-resource-sort-by.ts | 34 + .../lib/model/fleet-resource-summary.ts | 12 +- .../lib/model/fleet-resource.ts | 12 +- .../lib/model/fleet-sort-by.ts | 34 + .../lib/model/fleet-summary.ts | 32 +- .../lib/model/fleet-target-collection.ts | 2 +- .../lib/model/fleet-target-summary.ts | 4 +- .../lib/model/fleet-target.ts | 4 +- lib/fleetappsmanagement/lib/model/fleet.ts | 96 +- .../generate-compliance-report-details.ts | 2 +- .../lib/model/generic-artifact-details.ts | 2 +- .../lib/model/generic-artifact.ts | 8 +- .../lib/model/generic-fleet-details.ts | 48 + .../lib/model/group-fleet-details.ts | 48 + lib/fleetappsmanagement/lib/model/group.ts | 2 +- lib/fleetappsmanagement/lib/model/index.ts | 202 +- .../lib/model/input-argument.ts | 12 +- .../lib/model/input-file-content-details.ts | 58 + ...e-object-storage-bucket-content-details.ts | 76 + .../lib/model/input-parameter.ts | 2 +- .../lib/model/instance-summary.ts | 47 + .../lib/model/inventory-record-collection.ts | 57 + .../lib/model/inventory-record-component.ts | 69 + .../model/inventory-record-patch-details.ts | 55 + .../lib/model/inventory-record-property.ts | 43 + .../lib/model/inventory-record-summary.ts | 137 + .../lib/model/inventory-record.ts | 147 + .../model/inventory-resource-collection.ts | 2 +- .../lib/model/inventory-resource-sort-by.ts | 34 + .../lib/model/inventory-resource-summary.ts | 2 +- .../lib/model/job-activity.ts | 6 +- .../lib/model/job-execution-details.ts | 55 + .../lib/model/job-status.ts | 2 +- .../key-encryption-credential-details.ts | 2 +- ...cycle-operation-config-category-details.ts | 56 + .../model/maintenance-window-collection.ts | 2 +- .../lib/model/maintenance-window-schedule.ts | 53 + .../lib/model/maintenance-window-sort-by.ts | 34 + .../lib/model/maintenance-window-summary.ts | 12 +- .../lib/model/maintenance-window.ts | 12 +- .../lib/model/manage-job-execution-details.ts | 2 +- .../lib/model/manage-settings-details.ts | 2 +- .../managed-entity-aggregation-collection.ts | 2 +- .../lib/model/managed-entity-aggregation.ts | 4 +- .../lib/model/managed-entity-dimension.ts | 2 +- .../lib/model/managed-entity.ts | 2 +- .../lib/model/manual-resource-selection.ts | 50 + ...ferences.ts => notification-preference.ts} | 10 +- ...ject-storage-bucket-config-file-details.ts | 74 + .../object-storage-bucket-content-details.ts | 2 +- .../lib/model/onboarding-collection.ts | 2 +- .../lib/model/onboarding-policy-collection.ts | 2 +- .../lib/model/onboarding-policy-summary.ts | 2 +- .../lib/model/onboarding-summary.ts | 14 +- .../lib/model/onboarding.ts | 14 +- .../lib/model/operation-runbook.ts | 8 +- .../lib/model/operation-status.ts | 2 +- .../lib/model/operation-type.ts | 22 +- lib/fleetappsmanagement/lib/model/os-type.ts | 2 +- lib/fleetappsmanagement/lib/model/outcome.ts | 2 +- .../lib/model/output-variable-details.ts | 2 +- .../model/output-variable-input-argument.ts | 2 +- .../lib/model/output-variable-mapping.ts | 2 +- .../lib/model/patch-collection.ts | 2 +- .../lib/model/patch-file-content-details.ts | 58 + ...e-object-storage-bucket-content-details.ts | 76 + .../model/patch-level-selection-details.ts | 2 +- .../lib/model/patch-name-selection-details.ts | 2 +- .../lib/model/patch-product.ts | 4 +- .../patch-release-date-selection-details.ts | 2 +- .../lib/model/patch-selection-details.ts | 2 +- .../lib/model/patch-severity.ts | 2 +- .../lib/model/patch-sort-by.ts | 34 + .../lib/model/patch-summary.ts | 2 +- .../patch-type-config-category-details.ts | 2 +- .../lib/model/patch-type.ts | 2 +- lib/fleetappsmanagement/lib/model/patch.ts | 2 +- .../lib/model/pause-details.ts | 2 +- .../model/plain-text-credential-details.ts | 2 +- .../platform-configuration-collection.ts | 2 +- .../model/platform-configuration-sort-by.ts | 36 + .../model/platform-configuration-summary.ts | 8 +- .../lib/model/platform-configuration.ts | 9 +- .../platform-specific-artifact-details.ts | 4 +- .../lib/model/platform-specific-artifact.ts | 8 +- .../lib/model/preferences.ts | 45 +- .../model/previous-task-instance-details.ts | 58 + .../previous-task-instance-run-on-details.ts | 71 + .../model/product-config-category-details.ts | 2 +- .../lib/model/product-fleet-details.ts | 48 + .../lib/model/product-sort-by.ts | 34 + ...t-stack-as-product-sub-category-details.ts | 2 +- .../product-stack-config-category-details.ts | 2 +- ...duct-stack-generic-sub-category-details.ts | 2 +- .../product-stack-sub-category-details.ts | 2 +- .../lib/model/product-version-details.ts | 2 +- .../lib/model/properties.ts | 2 +- .../lib/model/property-collection.ts | 2 +- .../lib/model/property-sort-by.ts | 34 + .../lib/model/property-summary.ts | 4 +- lib/fleetappsmanagement/lib/model/property.ts | 5 +- .../lib/model/provision-collection.ts | 57 + .../lib/model/provision-summary.ts | 133 + .../lib/model/provision.ts | 208 + .../lib/model/publish-runbook-details.ts | 6 +- .../request-resource-validation-details.ts | 2 +- .../model/request-target-discovery-details.ts | 2 +- .../lib/model/resource-collection.ts | 2 +- ...urce-credential-entity-specific-details.ts | 2 +- .../lib/model/resource-selection.ts | 70 + .../lib/model/resource-summary.ts | 2 +- .../lib/model/resource-tag-check-details.ts | 2 +- .../lib/model/resource-tag-enablement-info.ts | 2 +- .../lib/model/rollback-workflow-details.ts | 2 +- lib/fleetappsmanagement/lib/model/rule.ts | 4 +- .../lib/model/run-on-details.ts | 78 + .../lib/model/runbook-collection.ts | 2 +- .../lib/model/runbook-sort-by.ts | 34 + .../lib/model/runbook-summary.ts | 18 +- .../lib/model/runbook-version-collection.ts | 57 + .../lib/model/runbook-version-summary.ts | 141 + .../lib/model/runbook-version.ts | 152 + lib/fleetappsmanagement/lib/model/runbook.ts | 46 +- .../model/schedule-instance-run-on-details.ts | 56 + lib/fleetappsmanagement/lib/model/schedule.ts | 59 +- .../lib/model/scheduled-fleet-collection.ts | 2 +- .../lib/model/scheduled-fleet-summary.ts | 24 +- .../model/scheduler-definition-collection.ts | 2 +- .../lib/model/scheduler-definition-summary.ts | 26 +- .../lib/model/scheduler-definition.ts | 29 +- .../model/scheduler-execution-collection.ts | 57 + .../lib/model/scheduler-execution-summary.ts | 156 + .../scheduler-job-aggregation-collection.ts | 2 +- .../lib/model/scheduler-job-aggregation.ts | 4 +- .../lib/model/scheduler-job-collection.ts | 2 +- .../lib/model/scheduler-job-dimension.ts | 2 +- .../lib/model/scheduler-job-summary.ts | 34 +- .../lib/model/scheduler-job.ts | 42 +- lib/fleetappsmanagement/lib/model/scope.ts | 2 +- .../model/script-based-execution-details.ts | 12 +- .../lib/model/selection-criteria.ts | 2 +- .../lib/model/selection.ts | 2 +- ...hosted-instance-config-category-details.ts | 69 + .../self-hosted-instance-run-on-details.ts | 58 + .../lib/model/set-default-runbook-details.ts | 2 +- lib/fleetappsmanagement/lib/model/sort-by.ts | 34 + .../lib/model/sort-order.ts | 2 +- .../model/step-based-user-action-details.ts | 2 +- .../lib/model/step-collection.ts | 2 +- .../lib/model/step-summary.ts | 12 +- .../lib/model/string-input-argument.ts | 2 +- .../lib/model/string-task-argument.ts | 53 + ...rget-credential-entity-specific-details.ts | 2 +- .../lib/model/target-resource.ts | 2 +- ...nance-window-type.ts => target-sort-by.ts} | 23 +- .../lib/model/task-argument.ts | 41 +- .../lib/model/task-execution-type.ts | 3 +- .../model/task-notification-preferences.ts | 2 +- .../lib/model/task-record-collection.ts | 6 +- .../lib/model/task-record-sort-by.ts | 34 + .../lib/model/task-record-summary.ts | 8 +- .../lib/model/task-record.ts | 8 +- .../lib/model/task-scope.ts | 2 +- .../lib/model/task-variable.ts | 2 +- lib/fleetappsmanagement/lib/model/task.ts | 15 +- .../terraform-based-execution-details.ts | 70 + .../lib/model/time-based-pause-details.ts | 2 +- .../lib/model/upcoming-schedule.ts | 44 + .../lib/model/update-catalog-item-details.ts | 64 + .../update-compliance-policy-rule-details.ts | 4 +- .../model/update-fleet-credential-details.ts | 2 +- .../lib/model/update-fleet-details.ts | 33 +- .../model/update-fleet-property-details.ts | 2 +- .../model/update-fleet-resource-details.ts | 2 +- .../update-maintenance-window-details.ts | 10 +- .../lib/model/update-onboarding-details.ts | 2 +- .../lib/model/update-patch-details.ts | 6 +- .../update-platform-configuration-details.ts | 6 +- .../lib/model/update-property-details.ts | 2 +- .../lib/model/update-provision-details.ts | 55 + .../lib/model/update-runbook-details.ts | 29 +- .../model/update-runbook-version-details.ts | 86 + .../update-scheduler-definition-details.ts | 8 +- .../lib/model/update-scheduler-job-details.ts | 2 +- .../lib/model/update-task-record-details.ts | 4 +- .../model/user-action-based-pause-details.ts | 2 +- .../lib/model/user-action-details.ts | 6 +- .../lib/model/value-type.ts | 2 +- lib/fleetappsmanagement/lib/model/variable.ts | 2 +- .../model/vault-secret-credential-details.ts | 2 +- .../lib/model/{associations.ts => version.ts} | 17 +- .../model/work-request-error-collection.ts | 2 +- .../lib/model/work-request-error.ts | 2 +- .../work-request-log-entry-collection.ts | 2 +- .../lib/model/work-request-log-entry.ts | 2 +- .../work-request-resource-metadata-key.ts | 2 +- .../lib/model/work-request-resource.ts | 2 +- .../model/work-request-summary-collection.ts | 2 +- .../lib/model/work-request-summary.ts | 2 +- .../lib/model/work-request.ts | 2 +- .../lib/model/workflow-component.ts | 2 +- .../lib/model/workflow-group-component.ts | 2 +- .../lib/model/workflow-group.ts | 2 +- .../lib/model/workflow-task-component.ts | 2 +- ...change-catalog-item-compartment-request.ts | 51 + .../change-fleet-compartment-request.ts | 51 + .../change-patch-compartment-request.ts | 51 + ...tform-configuration-compartment-request.ts | 51 + .../change-property-compartment-request.ts | 51 + .../change-provision-compartment-request.ts | 42 + .../change-runbook-compartment-request.ts | 51 + .../change-task-record-compartment-request.ts | 51 + .../request/check-resource-tagging-request.ts | 2 +- .../lib/request/clone-catalog-item-request.ts | 51 + .../lib/request/confirm-targets-request.ts | 2 +- .../request/create-catalog-item-request.ts | 38 + .../create-compliance-policy-rule-request.ts | 2 +- .../create-fleet-credential-request.ts | 4 +- .../request/create-fleet-property-request.ts | 4 +- .../lib/request/create-fleet-request.ts | 2 +- .../request/create-fleet-resource-request.ts | 4 +- .../create-maintenance-window-request.ts | 2 +- .../lib/request/create-onboarding-request.ts | 2 +- .../lib/request/create-patch-request.ts | 2 +- .../create-platform-configuration-request.ts | 2 +- .../lib/request/create-property-request.ts | 2 +- .../lib/request/create-provision-request.ts | 38 + .../lib/request/create-runbook-request.ts | 2 +- .../request/create-runbook-version-request.ts | 38 + .../create-scheduler-definition-request.ts | 2 +- .../lib/request/create-task-record-request.ts | 4 +- .../request/delete-catalog-item-request.ts | 38 + .../delete-compliance-policy-rule-request.ts | 2 +- .../delete-fleet-credential-request.ts | 2 +- .../request/delete-fleet-property-request.ts | 4 +- .../lib/request/delete-fleet-request.ts | 2 +- .../request/delete-fleet-resource-request.ts | 2 +- .../delete-maintenance-window-request.ts | 2 +- .../lib/request/delete-onboarding-request.ts | 2 +- .../lib/request/delete-patch-request.ts | 4 +- .../delete-platform-configuration-request.ts | 2 +- .../lib/request/delete-property-request.ts | 2 +- .../lib/request/delete-provision-request.ts | 38 + .../lib/request/delete-runbook-request.ts | 2 +- .../request/delete-runbook-version-request.ts | 38 + .../delete-scheduler-definition-request.ts | 2 +- .../request/delete-scheduler-job-request.ts | 2 +- .../lib/request/delete-task-record-request.ts | 4 +- .../request/enable-latest-policy-request.ts | 2 +- .../export-compliance-report-request.ts | 2 +- .../generate-compliance-report-request.ts | 4 +- .../lib/request/get-catalog-item-request.ts | 29 + .../request/get-compliance-policy-request.ts | 2 +- .../get-compliance-policy-rule-request.ts | 2 +- .../request/get-compliance-report-request.ts | 2 +- .../lib/request/get-execution-request.ts | 2 +- .../request/get-fleet-credential-request.ts | 2 +- .../lib/request/get-fleet-property-request.ts | 4 +- .../lib/request/get-fleet-request.ts | 2 +- .../lib/request/get-fleet-resource-request.ts | 2 +- .../lib/request/get-job-activity-request.ts | 2 +- .../request/get-maintenance-window-request.ts | 2 +- .../lib/request/get-onboarding-request.ts | 2 +- .../lib/request/get-patch-request.ts | 4 +- .../get-platform-configuration-request.ts | 2 +- .../lib/request/get-property-request.ts | 2 +- .../lib/request/get-provision-request.ts | 29 + .../lib/request/get-runbook-request.ts | 2 +- .../request/get-runbook-version-request.ts | 29 + .../get-scheduler-definition-request.ts | 2 +- .../lib/request/get-scheduler-job-request.ts | 2 +- .../lib/request/get-task-record-request.ts | 4 +- .../lib/request/get-work-request-request.ts | 2 +- lib/fleetappsmanagement/lib/request/index.ts | 70 +- .../lib/request/list-announcements-request.ts | 6 +- .../lib/request/list-catalog-items-request.ts | 74 + .../list-compliance-policies-request.ts | 21 +- .../list-compliance-policy-rules-request.ts | 17 +- .../list-compliance-records-request.ts | 19 +- .../lib/request/list-executions-request.ts | 2 +- .../request/list-fleet-credentials-request.ts | 15 +- .../request/list-fleet-products-request.ts | 13 +- .../request/list-fleet-properties-request.ts | 15 +- .../request/list-fleet-resources-request.ts | 15 +- .../lib/request/list-fleet-targets-request.ts | 12 +- .../lib/request/list-fleets-request.ts | 19 +- .../request/list-inventory-records-request.ts | 70 + .../list-inventory-resources-request.ts | 12 +- .../list-maintenance-windows-request.ts | 17 +- .../list-onboarding-policies-request.ts | 6 +- .../lib/request/list-onboardings-request.ts | 17 +- .../lib/request/list-patches-request.ts | 27 +- .../list-platform-configurations-request.ts | 27 +- .../lib/request/list-properties-request.ts | 22 +- .../lib/request/list-provisions-request.ts | 68 + .../lib/request/list-resources-request.ts | 2 +- .../request/list-runbook-versions-request.ts | 64 + .../lib/request/list-runbooks-request.ts | 29 +- .../request/list-scheduled-fleets-request.ts | 6 +- .../list-scheduler-definitions-request.ts | 20 +- .../list-scheduler-executions-request.ts | 91 + .../request/list-scheduler-jobs-request.ts | 20 +- .../lib/request/list-steps-request.ts | 2 +- .../lib/request/list-targets-request.ts | 11 +- .../lib/request/list-task-records-request.ts | 26 +- .../list-work-request-errors-request.ts | 2 +- .../request/list-work-request-logs-request.ts | 2 +- .../lib/request/list-work-requests-request.ts | 4 +- .../request/manage-job-execution-request.ts | 2 +- .../lib/request/manage-settings-request.ts | 2 +- .../lib/request/publish-runbook-request.ts | 4 +- .../request-resource-validation-request.ts | 2 +- .../request-target-discovery-request.ts | 2 +- .../request/set-default-runbook-request.ts | 4 +- ...marize-compliance-record-counts-request.ts | 10 +- ...summarize-managed-entity-counts-request.ts | 10 +- .../summarize-scheduler-job-counts-request.ts | 10 +- .../request/update-catalog-item-request.ts | 42 + .../update-compliance-policy-rule-request.ts | 2 +- .../update-fleet-credential-request.ts | 2 +- .../request/update-fleet-property-request.ts | 6 +- .../lib/request/update-fleet-request.ts | 2 +- .../request/update-fleet-resource-request.ts | 2 +- .../update-maintenance-window-request.ts | 2 +- .../lib/request/update-onboarding-request.ts | 2 +- .../lib/request/update-patch-request.ts | 4 +- .../update-platform-configuration-request.ts | 2 +- .../lib/request/update-property-request.ts | 2 +- .../lib/request/update-provision-request.ts | 42 + .../lib/request/update-runbook-request.ts | 2 +- .../request/update-runbook-version-request.ts | 42 + .../update-scheduler-definition-request.ts | 2 +- .../request/update-scheduler-job-request.ts | 4 +- .../lib/request/update-task-record-request.ts | 6 +- ...hange-catalog-item-compartment-response.ts | 29 + .../change-fleet-compartment-response.ts | 29 + .../change-patch-compartment-response.ts | 29 + ...form-configuration-compartment-response.ts | 29 + .../change-property-compartment-response.ts | 29 + .../change-provision-compartment-response.ts | 29 + .../change-runbook-compartment-response.ts | 29 + ...change-task-record-compartment-response.ts | 29 + .../check-resource-tagging-response.ts | 2 +- .../response/clone-catalog-item-response.ts | 46 + .../lib/response/confirm-targets-response.ts | 2 +- .../response/create-catalog-item-response.ts | 46 + .../create-compliance-policy-rule-response.ts | 2 +- .../create-fleet-credential-response.ts | 2 +- .../create-fleet-property-response.ts | 2 +- .../create-fleet-resource-response.ts | 2 +- .../lib/response/create-fleet-response.ts | 2 +- .../create-maintenance-window-response.ts | 2 +- .../response/create-onboarding-response.ts | 2 +- .../lib/response/create-patch-response.ts | 2 +- .../create-platform-configuration-response.ts | 15 +- .../lib/response/create-property-response.ts | 2 +- .../lib/response/create-provision-response.ts | 46 + .../lib/response/create-runbook-response.ts | 2 +- .../create-runbook-version-response.ts | 46 + .../create-scheduler-definition-response.ts | 2 +- .../response/create-task-record-response.ts | 2 +- .../response/delete-catalog-item-response.ts | 29 + .../delete-compliance-policy-rule-response.ts | 2 +- .../delete-fleet-credential-response.ts | 2 +- .../delete-fleet-property-response.ts | 2 +- .../delete-fleet-resource-response.ts | 2 +- .../lib/response/delete-fleet-response.ts | 2 +- .../delete-maintenance-window-response.ts | 2 +- .../response/delete-onboarding-response.ts | 2 +- .../lib/response/delete-patch-response.ts | 2 +- .../delete-platform-configuration-response.ts | 2 +- .../lib/response/delete-property-response.ts | 2 +- .../lib/response/delete-provision-response.ts | 29 + .../lib/response/delete-runbook-response.ts | 2 +- .../delete-runbook-version-response.ts | 29 + .../delete-scheduler-definition-response.ts | 2 +- .../response/delete-scheduler-job-response.ts | 2 +- .../response/delete-task-record-response.ts | 2 +- .../response/enable-latest-policy-response.ts | 2 +- .../export-compliance-report-response.ts | 2 +- .../generate-compliance-report-response.ts | 2 +- .../lib/response/get-catalog-item-response.ts | 33 + .../get-compliance-policy-response.ts | 2 +- .../get-compliance-policy-rule-response.ts | 2 +- .../get-compliance-report-response.ts | 2 +- .../lib/response/get-execution-response.ts | 2 +- .../response/get-fleet-credential-response.ts | 2 +- .../response/get-fleet-property-response.ts | 2 +- .../response/get-fleet-resource-response.ts | 2 +- .../lib/response/get-fleet-response.ts | 2 +- .../lib/response/get-job-activity-response.ts | 2 +- .../get-maintenance-window-response.ts | 2 +- .../lib/response/get-onboarding-response.ts | 2 +- .../lib/response/get-patch-response.ts | 2 +- .../get-platform-configuration-response.ts | 2 +- .../lib/response/get-property-response.ts | 2 +- .../lib/response/get-provision-response.ts | 33 + .../lib/response/get-runbook-response.ts | 2 +- .../response/get-runbook-version-response.ts | 33 + .../get-scheduler-definition-response.ts | 2 +- .../response/get-scheduler-job-response.ts | 2 +- .../lib/response/get-task-record-response.ts | 2 +- .../lib/response/get-work-request-response.ts | 2 +- lib/fleetappsmanagement/lib/response/index.ts | 70 +- .../response/list-announcements-response.ts | 2 +- .../response/list-catalog-items-response.ts | 35 + .../list-compliance-policies-response.ts | 2 +- .../list-compliance-policy-rules-response.ts | 2 +- .../list-compliance-records-response.ts | 2 +- .../lib/response/list-executions-response.ts | 2 +- .../list-fleet-credentials-response.ts | 2 +- .../response/list-fleet-products-response.ts | 2 +- .../list-fleet-properties-response.ts | 2 +- .../response/list-fleet-resources-response.ts | 2 +- .../response/list-fleet-targets-response.ts | 2 +- .../lib/response/list-fleets-response.ts | 2 +- .../list-inventory-records-response.ts | 35 + .../list-inventory-resources-response.ts | 2 +- .../list-maintenance-windows-response.ts | 2 +- .../list-onboarding-policies-response.ts | 2 +- .../lib/response/list-onboardings-response.ts | 2 +- .../lib/response/list-patches-response.ts | 2 +- .../list-platform-configurations-response.ts | 2 +- .../lib/response/list-properties-response.ts | 2 +- .../lib/response/list-provisions-response.ts | 35 + .../lib/response/list-resources-response.ts | 2 +- .../list-runbook-versions-response.ts | 35 + .../lib/response/list-runbooks-response.ts | 2 +- .../list-scheduled-fleets-response.ts | 2 +- .../list-scheduler-definitions-response.ts | 2 +- .../list-scheduler-executions-response.ts | 35 + .../response/list-scheduler-jobs-response.ts | 2 +- .../lib/response/list-steps-response.ts | 2 +- .../lib/response/list-targets-response.ts | 2 +- .../response/list-task-records-response.ts | 2 +- .../list-work-request-errors-response.ts | 2 +- .../list-work-request-logs-response.ts | 2 +- .../response/list-work-requests-response.ts | 2 +- .../response/manage-job-execution-response.ts | 2 +- .../lib/response/manage-settings-response.ts | 2 +- .../lib/response/publish-runbook-response.ts | 2 +- .../request-resource-validation-response.ts | 2 +- .../request-target-discovery-response.ts | 2 +- .../response/set-default-runbook-response.ts | 2 +- ...arize-compliance-record-counts-response.ts | 2 +- ...ummarize-managed-entity-counts-response.ts | 2 +- ...summarize-scheduler-job-counts-response.ts | 2 +- .../response/update-catalog-item-response.ts | 29 + .../update-compliance-policy-rule-response.ts | 2 +- .../update-fleet-credential-response.ts | 2 +- .../update-fleet-property-response.ts | 2 +- .../update-fleet-resource-response.ts | 2 +- .../lib/response/update-fleet-response.ts | 2 +- .../update-maintenance-window-response.ts | 2 +- .../response/update-onboarding-response.ts | 2 +- .../lib/response/update-patch-response.ts | 2 +- .../update-platform-configuration-response.ts | 2 +- .../lib/response/update-property-response.ts | 2 +- .../lib/response/update-provision-response.ts | 29 + .../lib/response/update-runbook-response.ts | 2 +- .../update-runbook-version-response.ts | 29 + .../update-scheduler-definition-response.ts | 2 +- .../response/update-scheduler-job-response.ts | 2 +- .../response/update-task-record-response.ts | 2 +- lib/fleetappsmanagement/package.json | 2 +- lib/fleetsoftwareupdate/package.json | 2 +- lib/functions/package.json | 2 +- lib/fusionapps/package.json | 2 +- lib/generativeai/package.json | 2 +- lib/generativeaiagent/package.json | 2 +- lib/generativeaiagentruntime/package.json | 2 +- lib/generativeaiinference/package.json | 2 +- lib/genericartifactscontent/package.json | 2 +- lib/globallydistributeddatabase/package.json | 2 +- lib/goldengate/package.json | 2 +- lib/governancerulescontrolplane/package.json | 2 +- lib/healthchecks/package.json | 2 +- lib/identity/package.json | 2 +- lib/identitydataplane/package.json | 2 +- lib/identitydomains/package.json | 2 +- lib/integration/package.json | 2 +- lib/jms/package.json | 2 +- lib/jmsjavadownloads/package.json | 2 +- lib/keymanagement/package.json | 2 +- lib/licensemanager/package.json | 2 +- lib/limits/package.json | 2 +- lib/loadbalancer/package.json | 2 +- lib/lockbox/package.json | 2 +- lib/loganalytics/lib/client.ts | 619 +- .../lib/model/abstract-command-descriptor.ts | 10 + lib/loganalytics/lib/model/auto-schedule.ts | 43 + .../change-lookup-compartment-details.ts | 41 + ...nalytics-object-collection-rule-details.ts | 23 +- .../lib/model/create-standard-task-details.ts | 2 +- lib/loganalytics/lib/model/cron-schedule.ts | 4 +- lib/loganalytics/lib/model/dependency.ts | 8 + .../lib/model/dependent-parser.ts | 2 +- .../lib/model/dependent-source.ts | 2 +- .../model/estimate-recall-data-size-result.ts | 8 + lib/loganalytics/lib/model/export-details.ts | 3 +- .../lib/model/fixed-frequency-schedule.ts | 2 +- .../lib/model/generic-condition-block.ts | 98 + lib/loganalytics/lib/model/index.ts | 40 + .../lib/model/log-analytics-entity-summary.ts | 5 + .../log-analytics-entity-topology-link.ts | 9 + .../lib/model/log-analytics-entity.ts | 5 + .../lib/model/log-analytics-field-summary.ts | 9 + .../lib/model/log-analytics-field-usages.ts | 72 + .../lib/model/log-analytics-field.ts | 9 + .../lib/model/log-analytics-lookup.ts | 22 + ...nalytics-object-collection-rule-summary.ts | 5 + .../log-analytics-object-collection-rule.ts | 26 + .../lib/model/log-analytics-parser-field.ts | 19 +- .../model/log-analytics-resource-category.ts | 8 + ...lytics-source-extended-field-definition.ts | 16 +- .../log-analytics-template-collection.ts | 57 + .../model/log-analytics-template-summary.ts | 114 + .../lib/model/log-analytics-template.ts | 134 + .../lib/model/metric-extraction.ts | 6 +- .../lib/model/module-command-descriptor.ts | 47 +- .../lib/model/namespace-summary.ts | 4 + lib/loganalytics/lib/model/namespace.ts | 4 + .../lib/model/parse-query-output.ts | 30 + .../model/parser-action-summary-collection.ts | 57 + .../lib/model/parser-action-summary.ts | 48 + lib/loganalytics/lib/model/parser-action.ts | 44 + .../lib/model/property-definition.ts | 70 + .../lib/model/query-aggregation.ts | 27 + .../lib/model/recall-archived-data-details.ts | 6 + .../lib/model/recall-definition.ts | 46 + lib/loganalytics/lib/model/recall-status.ts | 1 + lib/loganalytics/lib/model/recalled-data.ts | 5 + .../lib/model/recalled-info-collection.ts | 57 + lib/loganalytics/lib/model/recalled-info.ts | 63 + lib/loganalytics/lib/model/schedule.ts | 7 + .../lib/model/scheduled-task-summary.ts | 14 + lib/loganalytics/lib/model/stream-action.ts | 7 + .../lib/model/stream-cursor-types.ts | 42 + .../lib/model/template-details.ts | 61 + lib/loganalytics/lib/model/template-facet.ts | 44 + lib/loganalytics/lib/model/template-params.ts | 43 + ...nalytics-object-collection-rule-details.ts | 21 + .../model/update-lookup-metadata-details.ts | 12 + .../model/update-table-command-descriptor.ts | 59 + .../upsert-log-analytics-field-details.ts | 5 + .../lib/model/usage-status-item.ts | 5 + .../lib/model/variable-definition.ts | 90 + .../change-lookup-compartment-request.ts | 56 + .../delete-log-analytics-entity-request.ts | 4 + .../lib/request/get-field-usages-request.ts | 34 + .../get-log-analytics-entity-request.ts | 4 + .../lib/request/get-lookup-summary-request.ts | 4 + .../lib/request/get-template-request.ts | 35 + lib/loganalytics/lib/request/index.ts | 14 + .../list-effective-properties-request.ts | 5 + .../lib/request/list-fields-request.ts | 3 +- .../list-log-analytics-entities-request.ts | 37 + ...t-log-analytics-entity-topology-request.ts | 5 + .../lib/request/list-lookups-request.ts | 4 + .../request/list-parser-actions-request.ts | 68 + .../lib/request/list-recalled-info-request.ts | 73 + .../list-resource-categories-request.ts | 4 + .../request/list-scheduled-tasks-request.ts | 6 + .../lib/request/list-sources-request.ts | 6 + .../lib/request/list-templates-request.ts | 91 + .../lib/request/register-lookup-request.ts | 9 +- .../lib/request/upload-log-file-request.ts | 10 +- .../lib/request/upload-otlp-logs-request.ts | 72 + .../change-lookup-compartment-response.ts | 23 + .../lib/response/get-field-usages-response.ts | 27 + .../lib/response/get-template-response.ts | 32 + lib/loganalytics/lib/response/index.ts | 14 + .../response/list-parser-actions-response.ts | 41 + .../response/list-recalled-info-response.ts | 41 + .../lib/response/list-templates-response.ts | 41 + .../lib/response/upload-otlp-logs-response.ts | 31 + lib/loganalytics/package.json | 2 +- lib/logging/package.json | 2 +- lib/loggingingestion/package.json | 2 +- lib/loggingsearch/package.json | 2 +- lib/lustrefilestorage/package.json | 2 +- lib/managementagent/package.json | 2 +- lib/managementdashboard/package.json | 2 +- lib/marketplace/package.json | 2 +- lib/marketplaceprivateoffer/package.json | 2 +- lib/marketplacepublisher/package.json | 2 +- lib/mediaservices/package.json | 2 +- lib/mngdmac/package.json | 2 +- lib/monitoring/package.json | 2 +- lib/mysql/package.json | 2 +- lib/networkfirewall/package.json | 2 +- lib/networkloadbalancer/package.json | 2 +- lib/nosql/package.json | 2 +- lib/objectstorage/package.json | 2 +- lib/oce/package.json | 2 +- lib/ocicontrolcenter/package.json | 2 +- lib/ocvp/package.json | 2 +- lib/oda/package.json | 2 +- lib/onesubscription/package.json | 2 +- lib/ons/package.json | 2 +- lib/opa/package.json | 2 +- lib/opensearch/package.json | 2 +- lib/operatoraccesscontrol/package.json | 2 +- lib/opsi/package.json | 2 +- lib/optimizer/package.json | 2 +- lib/osmanagement/package.json | 2 +- lib/osmanagementhub/package.json | 2 +- lib/ospgateway/package.json | 2 +- lib/osubbillingschedule/package.json | 2 +- lib/osuborganizationsubscription/package.json | 2 +- lib/osubsubscription/package.json | 2 +- lib/osubusage/package.json | 2 +- lib/psql/package.json | 2 +- lib/queue/package.json | 2 +- lib/recovery/package.json | 2 +- lib/redis/package.json | 2 +- lib/resourcemanager/package.json | 2 +- lib/resourcescheduler/package.json | 2 +- lib/resourcesearch/package.json | 2 +- lib/rover/package.json | 2 +- lib/sch/package.json | 2 +- lib/secrets/package.json | 2 +- lib/securityattribute/package.json | 2 +- lib/servicecatalog/package.json | 2 +- lib/servicemanagerproxy/package.json | 2 +- lib/servicemesh/package.json | 2 +- lib/stackmonitoring/package.json | 2 +- lib/streaming/package.json | 2 +- lib/tenantmanagercontrolplane/package.json | 2 +- lib/threatintelligence/package.json | 2 +- lib/usage/package.json | 2 +- lib/usageapi/package.json | 2 +- lib/vault/package.json | 2 +- lib/vbsinst/package.json | 2 +- lib/visualbuilder/package.json | 2 +- lib/vnmonitoring/package.json | 2 +- lib/vulnerabilityscanning/package.json | 2 +- lib/waa/package.json | 2 +- lib/waas/package.json | 2 +- lib/waf/package.json | 2 +- lib/workrequests/package.json | 2 +- lib/zpr/package.json | 2 +- package.json | 2 +- 862 files changed, 18356 insertions(+), 3357 deletions(-) create mode 100644 lib/database/lib/model/system-version-minor-version-collection.ts create mode 100644 lib/database/lib/model/system-version-minor-version-summary.ts create mode 100644 lib/database/lib/request/list-system-version-minor-versions-request.ts create mode 100644 lib/database/lib/response/list-system-version-minor-versions-response.ts create mode 100644 lib/fleetappsmanagement/lib/fleetappsmanagementcatalog-waiter.ts create mode 100644 lib/fleetappsmanagement/lib/fleetappsmanagementprovision-waiter.ts create mode 100644 lib/fleetappsmanagement/lib/fleetappsmanagementworkrequest-waiter.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-git-result-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-git-source-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-item-collection.ts rename lib/fleetappsmanagement/lib/model/{life-cycle-action-group-type.ts => catalog-item-sort-by.ts} (59%) create mode 100644 lib/fleetappsmanagement/lib/model/catalog-item-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-item.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-listing-version-criteria-enum.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-marketplace-source-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-par-result-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-par-source-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-result-payload.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-source-payload.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-source-template-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/catalog-template-result-config.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-catalog-item-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-fleet-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-patch-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-platform-configuration-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-property-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-provision-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-runbook-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/change-task-record-compartment-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/clone-catalog-item-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/compliance-policy-rule-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/compliance-policy-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/compliance-record-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/config-file-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/create-provision-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/custom-schedule.ts create mode 100644 lib/fleetappsmanagement/lib/model/deployed-resource-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/dynamic-resource-selection.ts create mode 100644 lib/fleetappsmanagement/lib/model/environment-fleet-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-input-argument.ts create mode 100644 lib/fleetappsmanagement/lib/model/file-task-argument.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-based-action-group-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-based-action-group.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-credential-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-property-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-resource-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/fleet-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/generic-fleet-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/group-fleet-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/input-file-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/input-file-object-storage-bucket-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/instance-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record-component.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record-property.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-record.ts create mode 100644 lib/fleetappsmanagement/lib/model/inventory-resource-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/job-execution-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/lifecycle-operation-config-category-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/maintenance-window-schedule.ts create mode 100644 lib/fleetappsmanagement/lib/model/maintenance-window-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/manual-resource-selection.ts rename lib/fleetappsmanagement/lib/model/{notification-preferences.ts => notification-preference.ts} (88%) create mode 100644 lib/fleetappsmanagement/lib/model/object-storage-bucket-config-file-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/patch-file-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/patch-file-object-storage-bucket-content-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/patch-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/platform-configuration-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/previous-task-instance-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/previous-task-instance-run-on-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/product-fleet-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/product-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/property-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/provision-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/provision-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/provision.ts create mode 100644 lib/fleetappsmanagement/lib/model/resource-selection.ts create mode 100644 lib/fleetappsmanagement/lib/model/run-on-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-version-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-version-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/runbook-version.ts create mode 100644 lib/fleetappsmanagement/lib/model/schedule-instance-run-on-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/scheduler-execution-collection.ts create mode 100644 lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts create mode 100644 lib/fleetappsmanagement/lib/model/self-hosted-instance-config-category-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/self-hosted-instance-run-on-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/string-task-argument.ts rename lib/fleetappsmanagement/lib/model/{maintenance-window-type.ts => target-sort-by.ts} (64%) create mode 100644 lib/fleetappsmanagement/lib/model/task-record-sort-by.ts create mode 100644 lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/upcoming-schedule.ts create mode 100644 lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/update-provision-details.ts create mode 100644 lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts rename lib/fleetappsmanagement/lib/model/{associations.ts => version.ts} (89%) create mode 100644 lib/fleetappsmanagement/lib/request/change-catalog-item-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-fleet-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-patch-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-platform-configuration-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-property-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-provision-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-runbook-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/change-task-record-compartment-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/clone-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/create-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/create-provision-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/create-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/delete-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/delete-provision-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/delete-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-provision-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/get-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-provisions-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-runbook-versions-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/update-catalog-item-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/update-provision-request.ts create mode 100644 lib/fleetappsmanagement/lib/request/update-runbook-version-request.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-catalog-item-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-fleet-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-patch-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-platform-configuration-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-property-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-provision-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-runbook-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/change-task-record-compartment-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/clone-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/create-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/create-provision-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/create-runbook-version-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/delete-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/delete-provision-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/delete-runbook-version-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-provision-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/get-runbook-version-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-catalog-items-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-inventory-records-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-provisions-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-runbook-versions-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/list-scheduler-executions-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/update-catalog-item-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/update-provision-response.ts create mode 100644 lib/fleetappsmanagement/lib/response/update-runbook-version-response.ts create mode 100644 lib/loganalytics/lib/model/auto-schedule.ts create mode 100644 lib/loganalytics/lib/model/change-lookup-compartment-details.ts create mode 100644 lib/loganalytics/lib/model/generic-condition-block.ts create mode 100644 lib/loganalytics/lib/model/log-analytics-field-usages.ts create mode 100644 lib/loganalytics/lib/model/log-analytics-template-collection.ts create mode 100644 lib/loganalytics/lib/model/log-analytics-template-summary.ts create mode 100644 lib/loganalytics/lib/model/log-analytics-template.ts create mode 100644 lib/loganalytics/lib/model/parser-action-summary-collection.ts create mode 100644 lib/loganalytics/lib/model/parser-action-summary.ts create mode 100644 lib/loganalytics/lib/model/parser-action.ts create mode 100644 lib/loganalytics/lib/model/property-definition.ts create mode 100644 lib/loganalytics/lib/model/recall-definition.ts create mode 100644 lib/loganalytics/lib/model/recalled-info-collection.ts create mode 100644 lib/loganalytics/lib/model/recalled-info.ts create mode 100644 lib/loganalytics/lib/model/stream-cursor-types.ts create mode 100644 lib/loganalytics/lib/model/template-details.ts create mode 100644 lib/loganalytics/lib/model/template-facet.ts create mode 100644 lib/loganalytics/lib/model/template-params.ts create mode 100644 lib/loganalytics/lib/model/update-table-command-descriptor.ts create mode 100644 lib/loganalytics/lib/model/variable-definition.ts create mode 100644 lib/loganalytics/lib/request/change-lookup-compartment-request.ts create mode 100644 lib/loganalytics/lib/request/get-field-usages-request.ts create mode 100644 lib/loganalytics/lib/request/get-template-request.ts create mode 100644 lib/loganalytics/lib/request/list-parser-actions-request.ts create mode 100644 lib/loganalytics/lib/request/list-recalled-info-request.ts create mode 100644 lib/loganalytics/lib/request/list-templates-request.ts create mode 100644 lib/loganalytics/lib/request/upload-otlp-logs-request.ts create mode 100644 lib/loganalytics/lib/response/change-lookup-compartment-response.ts create mode 100644 lib/loganalytics/lib/response/get-field-usages-response.ts create mode 100644 lib/loganalytics/lib/response/get-template-response.ts create mode 100644 lib/loganalytics/lib/response/list-parser-actions-response.ts create mode 100644 lib/loganalytics/lib/response/list-recalled-info-response.ts create mode 100644 lib/loganalytics/lib/response/list-templates-response.ts create mode 100644 lib/loganalytics/lib/response/upload-otlp-logs-response.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index ec534a9a26..30f6b6f7b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,75 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.108.0 - 2025-05-06 +### Added +- Support for dry run while creating cloud exadata Infrastructure and VM clusters in the Database service +- Support for filters to get latest versions on list system versions API in the Database service +- Support for generic fleets without fleet type in the Fleet Application Management service +- Support for creating resources and changing compartment in the Fleet Application Management service +- Support for infrastructure management via provisioning with terraform based catalog items and deployments in the Fleet Application Management service +- Support for platform configuration metadata management in the Fleet Application Management service +- Support for managing runbook versions in the Fleet Application Management service +- Support for provisioning runbooks in the Fleet Application Management service +- Support for resource inventory in the Fleet Application Management service +- Support for changing compartment for fleets, platforms configurations, properties, patches, runbooks and task resources in the Fleet Application Management service +- Support for new migration phase in the Database migration service + +### Breaking Changes +- The operation `forWorkRequest` was removed from `FleetAppsManagementWaiters` in the Fleet Application Management service +- The properties `resourceId`, `type`, `applicationType`, `product`, `lifecycleOperation`, `runbookId`, `targetId`, `subjects` were removed from the model `ActionGroup` in the Fleet Application Management service +- The properties `resourceId`, `type`, `name`, `applicationType`, `runbookId` were removed from the model `ActionGroupDetails` in the Fleet Application Management service +- The property `tenancyId` was removed from the models `ListFleetResourcesRequest` and `AssociatedSchedulerDefinition` in the Fleet Application Management service +- The property `patchType` was removed from the models `CompliancePolicyRule`, `CompliancePolicyRuleSummary` and `UpdateCompliancePolicyRuleDetails` in the Fleet Application Management service +- The property `condition` was removed from the model `ComponentProperties` in the Fleet Application Management service +- The type of property `runOn` was changed from `string` to `RunOnDetails` in the Fleet Application Management service +- The properties `patchType` and `compartmentId` were removed from the model `CreateCompliancePolicyRuleDetails` in the Fleet Application Management service +- The property `compartmentId` was removed from the models `CreateFleetCredentialDetails`, `CreateFleetPropertyDetails`, `ListFleetPropertiesRequest`, `ListFleetCredentialsRequest`, `ListScheduledFleetsRequest` and `UpdatePatchDetails` in the Fleet Application Management service +- The properties `fleetType`, `applicationType`, `groupType`, `resourceSelectionType`, and `ruleSelectionCriteria` were removed from the model `CreateFleetDetails` in the Fleet Application Management service +- The type of property `notificationPreferences` was changed from `NotificationPreferences` to an Array of `NotificationPreference` in the models `Fleet`, `CreateFleetDetails` and `UpdateFleetDetails` in the Fleet Application Management service +- The properties `runbookRelevance` and `associations` were removed from the models `CreateRunbookDetails` and `UpdateRunbookDetails` in the Fleet Application Management service +- The properties `activityInitiationCutOff` were removed from the model `CreateSchedulerDefinitionDetails` in the Fleet Application Management service +- The enums `FleetType`, `ResourceSelectionType`, and `GroupType` were removed from the model `Fleet` in the Fleet Application Management service +- The properties `fleetType`, `applicationType`, `groupType`, `resourceSelectionType`, and `ruleSelectionCriteria` were removed from the model `Fleet` in the Fleet Application Management service +- The property `applicationType` was removed from the models `FleetResource` and `FleetResourceSummary` in the Fleet Application Management service +- The property `fleetType` was removed from the model `FleetSummary` in the Fleet Application Management service +- The properties `maintenanceWindowType` and `taskInitiationCutoff` were removed from the models `MaintenanceWindow`, `MaintenanceWindowSummary`, `CreateMaintenanceWindowDetails` and `UpdateMaintenanceWindowDetails` in the Fleet Application Management service +- The property `id` was removed from the model `OperationRunbook` in the Fleet Application Management service +- The type of property `content` was changed from `ContentDetails` to `PatchFileContentDetails` in the models `GenericArtifact` and `PlatformSpecificArtifact` in the Fleet Application Management service +- The property `onUpcomingSchedule` was removed from the model `Preferences` in the Fleet Application Management service +- The enum `RunbookRelevance`, and properties `runbookRelevance` and `associations` were removed from the model `Runbook` in the Fleet Application Management service +- The property `runbookRelevance` was removed from the models `RunbookSummary` and `ListRunbooksRequest` in the Fleet Application Management service +- The properties `type`, `maintenanceWindowId`, `recurrences`, and `duration` were removed from the model `Schedule` in the Fleet Application Management service +- The properties `tenancyId`, `actionGroupTypes`, and `applicationTypes` were removed from the model `ScheduledFleetSummary` in the Fleet Application Management service +- The properties `activityInitiationCutOff`, `actionGroupTypes` and `applicationTypes` were removed from the model `SchedulerDefinition` in the Fleet Application Management service +- The properties `actionGroupTypes` and `applicationTypes` were removed from the model `SchedulerDefinitionSummary` in the Fleet Application Management service +- The enum members `Active` and `Deleted` were removed from the enum `LifecycleState` in the model `SchedulerJob` in the Fleet Application Management service +- The properties `actionGroupTypes`, `applicationTypes` and `associatedScheduleDefinition` were removed from the models `SchedulerJob` and `SchedulerJobSummary` in the Fleet Application Management service +- The enum `AssociationType` and the property `associationType` were removed from the model `Task` in the Fleet Application Management service +- The property `value` was removed in the model `TaskArgument` in the Fleet Application Management service +- The property `ruleSelectionCriteria` was removed from the model `UpdateFleetDetails` in the Fleet Application Management service +- The property `activityInitiationCutOff` was removed from the model `UpdateSchedulerDefinitionDetails` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `CompliancePolicyRuleSortBy` in the model `ListCompliancePolicyRulesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `CompliancePolicySortBy` in the model `ListCompliancePoliciesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `ComplianceRecordSortBy` in the model `ListComplianceRecordsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `FleetCredentialSortBy` in the model `ListFleetCredentialsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `ProductSortBy` in the model `ListFleetProductsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `FleetPropertySortBy` in the model `ListFleetPropertiesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `FleetResourceSortBy` in the model `ListFleetResourcesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `FleetSortBy` in the model `ListFleetsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `TargetSortBy` in the model `ListFleetTargetsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `InventoryResourceSortBy` in the model `ListInventoryResourcesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `MaintenanceWindowSortBy` in the model `ListMaintenanceWindowsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `SortBy` in the model `ListOnboardingsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `PatchSortBy` in the model `ListPatchesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `PlatformConfigurationSortBy` in the model `ListPlatformConfigurationsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `PropertySortBy` in the model `ListPropertiesRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `RunbookSortBy` in the model `ListRunbooksRequest` in the Fleet Application Management service +- The properties `subState` and `defintionId` were removed from the model `ListSchedulerJobsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `SortBy` in the model `ListTargetsRequest` in the Fleet Application Management service +- The enum `SortBy` was removed and the type of property `sortBy` was changed from `SortBy` to `TaskRecordSortBy` in the model `ListTaskRecordsRequest` in the Fleet Application Management service +- The models `Associations`, `LifeCycleActionGroupType`, `MaintenanceWindowType`, and `NotificationPreferences`, were removed from the Fleet Application Management service + ## 2.107.3 - 2025-04-29 ### Added - Support for custom headers for model retirement in the Generative AI service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index b2e2cb4cad..7f8ae52aca 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Access Governance Cp Service", "repository": { "type": "git", diff --git a/lib/adm/package.json b/lib/adm/package.json index 0921abbdb4..46d8cebace 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aianomalydetection/package.json b/lib/aianomalydetection/package.json index 57b7c67689..be130a6909 100644 --- a/lib/aianomalydetection/package.json +++ b/lib/aianomalydetection/package.json @@ -1,6 +1,6 @@ { "name": "oci-aianomalydetection", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ai Anomaly Detection Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index de46f750b9..55e089d3d8 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index b39732e20b..c3f8363009 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index 1e59dd933e..9195790a60 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index 21597fe6b8..66cd339a75 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index d595b25d83..47d3a9ca1f 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 47e684ff6d..ffe1c9e156 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 47b99d4784..a2c32c3581 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 3afa00378f..fcb190a530 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 8694d9fa7b..838775e385 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Apm Control Plane Service", "repository": { "type": "git", diff --git a/lib/apmsynthetics/package.json b/lib/apmsynthetics/package.json index b8035a5182..4c4907d3fd 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index 55e9804f16..aeed6a6f93 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index b345af03fb..f82b2927d4 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index 9c0d73108f..a32e7efc4a 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 226c19cbe3..10422f057d 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 389bb69fc8..70874b7a3a 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 323f6f164f..e91ec73aea 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 6cdd15f92a..9adbd8133b 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 57d6957484..b74e116bc8 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 4c71824a55..192c0b2e12 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 13e6fe11e0..1b087c670c 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index a73fc98dc2..c0eab00eb1 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index eafdca0308..c37a34b9c4 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index 2dd0214571..b5d5c012d2 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 28aa36a13c..2a32b9bf5f 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 1d7ec3699e..0b577534e6 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index 906bcbe7d2..dab57e458c 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 7b93371bb0..cf42f7819e 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/package.json b/lib/common/package.json index 08682c3514..0ffbcdcfcf 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index f2540f5ea5..aac1d5b6cb 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Compute Cloud At Customer Service", "repository": { "type": "git", diff --git a/lib/computeinstanceagent/package.json b/lib/computeinstanceagent/package.json index 22f0b59669..00d99d0896 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index e74f4e7461..32d1cc7a61 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 2192cb63f8..0fc52d72b3 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/package.json b/lib/core/package.json index 0a5179f9b9..c819176c63 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index f71f7e9fd4..c1372e8d4c 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index 42bbbe0fad..9c14679afc 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -5529,7 +5529,8 @@ All Oracle Cloud Infrastructure resources, including Data Guard associations, ge let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, "opc-retry-token": createCloudExadataInfrastructureRequest.opcRetryToken, - "opc-request-id": createCloudExadataInfrastructureRequest.opcRequestId + "opc-request-id": createCloudExadataInfrastructureRequest.opcRequestId, + "opc-dry-run": createCloudExadataInfrastructureRequest.opcDryRun }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -5615,7 +5616,8 @@ All Oracle Cloud Infrastructure resources, including Data Guard associations, ge let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, "opc-retry-token": createCloudVmClusterRequest.opcRetryToken, - "opc-request-id": createCloudVmClusterRequest.opcRequestId + "opc-request-id": createCloudVmClusterRequest.opcRequestId, + "opc-dry-run": createCloudVmClusterRequest.opcDryRun }; const specRetryConfiguration = common.NoRetryConfigurationDetails; @@ -27204,7 +27206,8 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, "page": listGiVersionsRequest.page, "sortOrder": listGiVersionsRequest.sortOrder, "shape": listGiVersionsRequest.shape, - "availabilityDomain": listGiVersionsRequest.availabilityDomain + "availabilityDomain": listGiVersionsRequest.availabilityDomain, + "resourceId": listGiVersionsRequest.resourceId }; let headerParams = { @@ -28736,6 +28739,92 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, return paginateResponses(request, req => this.listSchedulingWindows(req)); } + /** + * Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a `shape` or `resourceId` value. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ListSystemVersionMinorVersionsRequest + * @return ListSystemVersionMinorVersionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListSystemVersionMinorVersions.ts.html |here} to see how to use ListSystemVersionMinorVersions API. + */ + public async listSystemVersionMinorVersions( + listSystemVersionMinorVersionsRequest: requests.ListSystemVersionMinorVersionsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation DatabaseClient#listSystemVersionMinorVersions."); + const operationName = "listSystemVersionMinorVersions"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/SystemVersionMinorVersionCollection/ListSystemVersionMinorVersions"; + const pathParams = { + "{majorVersion}": listSystemVersionMinorVersionsRequest.majorVersion + }; + + const queryParams = { + "compartmentId": listSystemVersionMinorVersionsRequest.compartmentId, + "limit": listSystemVersionMinorVersionsRequest.limit, + "page": listSystemVersionMinorVersionsRequest.page, + "sortOrder": listSystemVersionMinorVersionsRequest.sortOrder, + "giVersion": listSystemVersionMinorVersionsRequest.giVersion, + "shape": listSystemVersionMinorVersionsRequest.shape, + "resourceId": listSystemVersionMinorVersionsRequest.resourceId, + "isLatest": listSystemVersionMinorVersionsRequest.isLatest + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listSystemVersionMinorVersionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listSystemVersionMinorVersionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/systemVersions/{majorVersion}/minorVersions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "systemVersionMinorVersionCollection", + bodyModel: model.SystemVersionMinorVersionCollection, + type: "model.SystemVersionMinorVersionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets a list of supported Exadata system versions for a given shape and GI version. * This operation does not retry by default if the user has not defined a retry configuration. @@ -28759,6 +28848,8 @@ For Exadata Cloud Service instances, support for this API will end on May 15th, "page": listSystemVersionsRequest.page, "sortOrder": listSystemVersionsRequest.sortOrder, "shape": listSystemVersionsRequest.shape, + "isLatest": listSystemVersionsRequest.isLatest, + "resourceId": listSystemVersionsRequest.resourceId, "giVersion": listSystemVersionsRequest.giVersion }; diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index f8e2297d8d..e4e01949b3 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -750,6 +750,10 @@ import * as SwitchoverDataGuardAssociationDetails from "./switchover-data-guard- export import SwitchoverDataGuardAssociationDetails = SwitchoverDataGuardAssociationDetails.SwitchoverDataGuardAssociationDetails; import * as SystemVersionCollection from "./system-version-collection"; export import SystemVersionCollection = SystemVersionCollection.SystemVersionCollection; +import * as SystemVersionMinorVersionCollection from "./system-version-minor-version-collection"; +export import SystemVersionMinorVersionCollection = SystemVersionMinorVersionCollection.SystemVersionMinorVersionCollection; +import * as SystemVersionMinorVersionSummary from "./system-version-minor-version-summary"; +export import SystemVersionMinorVersionSummary = SystemVersionMinorVersionSummary.SystemVersionMinorVersionSummary; import * as SystemVersionSummary from "./system-version-summary"; export import SystemVersionSummary = SystemVersionSummary.SystemVersionSummary; import * as Update from "./update"; diff --git a/lib/database/lib/model/system-version-minor-version-collection.ts b/lib/database/lib/model/system-version-minor-version-collection.ts new file mode 100644 index 0000000000..e2c7705dd2 --- /dev/null +++ b/lib/database/lib/model/system-version-minor-version-collection.ts @@ -0,0 +1,57 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of the System minor version lists. Contains SystemVersionMinorVersionSummary items. + */ +export interface SystemVersionMinorVersionCollection { + /** + * List of System minor versions. + */ + "items": Array; +} + +export namespace SystemVersionMinorVersionCollection { + export function getJsonObj(obj: SystemVersionMinorVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.SystemVersionMinorVersionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SystemVersionMinorVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.SystemVersionMinorVersionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/system-version-minor-version-summary.ts b/lib/database/lib/model/system-version-minor-version-summary.ts new file mode 100644 index 0000000000..76d14d0f0a --- /dev/null +++ b/lib/database/lib/model/system-version-minor-version-summary.ts @@ -0,0 +1,40 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The System minor version. + * + */ +export interface SystemVersionMinorVersionSummary { + /** + * A valid system minor version. + */ + "version": string; +} + +export namespace SystemVersionMinorVersionSummary { + export function getJsonObj(obj: SystemVersionMinorVersionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SystemVersionMinorVersionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/request/create-cloud-exadata-infrastructure-request.ts b/lib/database/lib/request/create-cloud-exadata-infrastructure-request.ts index 30aa715870..147a24f751 100644 --- a/lib/database/lib/request/create-cloud-exadata-infrastructure-request.ts +++ b/lib/database/lib/request/create-cloud-exadata-infrastructure-request.ts @@ -37,4 +37,10 @@ export interface CreateCloudExadataInfrastructureRequest extends common.BaseRequ * */ "opcRequestId"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually + * creating or updating a resource and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: boolean; } diff --git a/lib/database/lib/request/create-cloud-vm-cluster-request.ts b/lib/database/lib/request/create-cloud-vm-cluster-request.ts index 93b6b005d8..caec0d886c 100644 --- a/lib/database/lib/request/create-cloud-vm-cluster-request.ts +++ b/lib/database/lib/request/create-cloud-vm-cluster-request.ts @@ -37,4 +37,10 @@ export interface CreateCloudVmClusterRequest extends common.BaseRequest { * */ "opcRequestId"?: string; + /** + * Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually + * creating or updating a resource and is used only to perform validation on the submitted data. + * + */ + "opcDryRun"?: boolean; } diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index c47bc46535..ba80e69362 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -628,6 +628,8 @@ import * as ListSchedulingPoliciesRequest from "./list-scheduling-policies-reque export import ListSchedulingPoliciesRequest = ListSchedulingPoliciesRequest.ListSchedulingPoliciesRequest; import * as ListSchedulingWindowsRequest from "./list-scheduling-windows-request"; export import ListSchedulingWindowsRequest = ListSchedulingWindowsRequest.ListSchedulingWindowsRequest; +import * as ListSystemVersionMinorVersionsRequest from "./list-system-version-minor-versions-request"; +export import ListSystemVersionMinorVersionsRequest = ListSystemVersionMinorVersionsRequest.ListSystemVersionMinorVersionsRequest; import * as ListSystemVersionsRequest from "./list-system-versions-request"; export import ListSystemVersionsRequest = ListSystemVersionsRequest.ListSystemVersionsRequest; import * as ListVmClusterNetworksRequest from "./list-vm-cluster-networks-request"; diff --git a/lib/database/lib/request/list-gi-versions-request.ts b/lib/database/lib/request/list-gi-versions-request.ts index b0280c0693..fec58c0a01 100644 --- a/lib/database/lib/request/list-gi-versions-request.ts +++ b/lib/database/lib/request/list-gi-versions-request.ts @@ -42,6 +42,10 @@ export interface ListGiVersionsRequest extends common.BaseRequest { * The target availability domain. Only passed if the limit is AD-specific. */ "availabilityDomain"?: string; + /** + * If provided, filters the results for the specified resource Id. + */ + "resourceId"?: string; } export namespace ListGiVersionsRequest { diff --git a/lib/database/lib/request/list-system-version-minor-versions-request.ts b/lib/database/lib/request/list-system-version-minor-versions-request.ts new file mode 100644 index 0000000000..075f20ea37 --- /dev/null +++ b/lib/database/lib/request/list-system-version-minor-versions-request.ts @@ -0,0 +1,69 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListSystemVersionMinorVersions.ts.html |here} to see how to use ListSystemVersionMinorVersionsRequest. + */ +export interface ListSystemVersionMinorVersionsRequest extends common.BaseRequest { + /** + * The System major version. + */ + "majorVersion": string; + /** + * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId": string; + /** + * Specifies gi version query parameter. + */ + "giVersion": string; + /** + * The maximum number of items to return per page. + */ + "limit"?: number; + /** + * The pagination token to continue listing from. + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: ListSystemVersionMinorVersionsRequest.SortOrder; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * If provided, filters the results for the given shape. + */ + "shape"?: string; + /** + * If provided, filters the results for the specified resource Id. + */ + "resourceId"?: string; + /** + * If provided, return highest versions from each major version family. + */ + "isLatest"?: boolean; +} + +export namespace ListSystemVersionMinorVersionsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/database/lib/request/list-system-versions-request.ts b/lib/database/lib/request/list-system-versions-request.ts index 5b67d9054e..e22b43d582 100644 --- a/lib/database/lib/request/list-system-versions-request.ts +++ b/lib/database/lib/request/list-system-versions-request.ts @@ -22,10 +22,6 @@ export interface ListSystemVersionsRequest extends common.BaseRequest { * The compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "compartmentId": string; - /** - * Specifies shape query parameter. - */ - "shape": string; /** * Specifies gi version query parameter. */ @@ -47,6 +43,18 @@ export interface ListSystemVersionsRequest extends common.BaseRequest { * */ "opcRequestId"?: string; + /** + * If provided, filters the results for the given shape. + */ + "shape"?: string; + /** + * If provided, return highest versions from each major version family. + */ + "isLatest"?: boolean; + /** + * If provided, filters the results for the specified resource Id. + */ + "resourceId"?: string; } export namespace ListSystemVersionsRequest { diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index 547eb79f99..63e2cf4b6d 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -628,6 +628,8 @@ import * as ListSchedulingPoliciesResponse from "./list-scheduling-policies-resp export import ListSchedulingPoliciesResponse = ListSchedulingPoliciesResponse.ListSchedulingPoliciesResponse; import * as ListSchedulingWindowsResponse from "./list-scheduling-windows-response"; export import ListSchedulingWindowsResponse = ListSchedulingWindowsResponse.ListSchedulingWindowsResponse; +import * as ListSystemVersionMinorVersionsResponse from "./list-system-version-minor-versions-response"; +export import ListSystemVersionMinorVersionsResponse = ListSystemVersionMinorVersionsResponse.ListSystemVersionMinorVersionsResponse; import * as ListSystemVersionsResponse from "./list-system-versions-response"; export import ListSystemVersionsResponse = ListSystemVersionsResponse.ListSystemVersionsResponse; import * as ListVmClusterNetworksResponse from "./list-vm-cluster-networks-response"; diff --git a/lib/database/lib/response/list-system-version-minor-versions-response.ts b/lib/database/lib/response/list-system-version-minor-versions-response.ts new file mode 100644 index 0000000000..0f493dd513 --- /dev/null +++ b/lib/database/lib/response/list-system-version-minor-versions-response.ts @@ -0,0 +1,36 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListSystemVersionMinorVersionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then there are additional items still to get. Include this value as the {@code page} parameter for the + * subsequent GET request. For information about pagination, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.SystemVersionMinorVersionCollection instance. + */ + "systemVersionMinorVersionCollection": model.SystemVersionMinorVersionCollection; +} diff --git a/lib/database/package.json b/lib/database/package.json index b00e6392d8..3d03465a8a 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index e085b152a4..29aa2f2fd1 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Database Management Service", "repository": { "type": "git", diff --git a/lib/databasemigration/lib/model/odms-job-phases.ts b/lib/databasemigration/lib/model/odms-job-phases.ts index c9d0bc66c1..d8a202f953 100644 --- a/lib/databasemigration/lib/model/odms-job-phases.ts +++ b/lib/databasemigration/lib/model/odms-job-phases.ts @@ -35,6 +35,7 @@ export enum OdmsJobPhases { OdmsInitializeReplicationInfrastructure = "ODMS_INITIALIZE_REPLICATION_INFRASTRUCTURE", OdmsInitialLoadExport = "ODMS_INITIAL_LOAD_EXPORT", OdmsDataUpload = "ODMS_DATA_UPLOAD", + OdmsMetadataTransfer = "ODMS_METADATA_TRANSFER", OdmsInitialLoadExportDataUpload = "ODMS_INITIAL_LOAD_EXPORT_DATA_UPLOAD", OdmsInitialLoadImport = "ODMS_INITIAL_LOAD_IMPORT", OdmsPostInitialLoad = "ODMS_POST_INITIAL_LOAD", diff --git a/lib/databasemigration/lib/model/parameter-file-version-collection.ts b/lib/databasemigration/lib/model/parameter-file-version-collection.ts index 2ffd11fc32..47abb2c62f 100644 --- a/lib/databasemigration/lib/model/parameter-file-version-collection.ts +++ b/lib/databasemigration/lib/model/parameter-file-version-collection.ts @@ -15,11 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Results of request for Parameter Files. Contents is a collection of ParameterFileVersionSummary. + * The result of the request for Parameter Files. It contains a collection of ParameterFileVersionSummary */ export interface ParameterFileVersionCollection { /** - * A list of A parameter file metadata + * List of parameter file metadata */ "items": Array; } diff --git a/lib/databasemigration/lib/model/parameter-file-version-summary.ts b/lib/databasemigration/lib/model/parameter-file-version-summary.ts index 600b6974f7..e4576de742 100644 --- a/lib/databasemigration/lib/model/parameter-file-version-summary.ts +++ b/lib/databasemigration/lib/model/parameter-file-version-summary.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A parameter file detatails + * Details of a parameter file */ export interface ParameterFileVersionSummary { /** diff --git a/lib/databasemigration/lib/model/parameter-file-version.ts b/lib/databasemigration/lib/model/parameter-file-version.ts index 7e17aa176e..00b926f70c 100644 --- a/lib/databasemigration/lib/model/parameter-file-version.ts +++ b/lib/databasemigration/lib/model/parameter-file-version.ts @@ -15,7 +15,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A parameter file detatails + * Details of a parameter file */ export interface ParameterFileVersion { /** diff --git a/lib/databasemigration/lib/model/update-oracle-migration-details.ts b/lib/databasemigration/lib/model/update-oracle-migration-details.ts index c87f0d427b..93c7f0f75c 100644 --- a/lib/databasemigration/lib/model/update-oracle-migration-details.ts +++ b/lib/databasemigration/lib/model/update-oracle-migration-details.ts @@ -32,7 +32,7 @@ export interface UpdateOracleMigrationDetails extends model.UpdateMigrationDetai */ "advancedParameters"?: Array; /** - * The OCID of the resource being referenced. + * The OCID of the resource being updated. */ "sourceContainerDatabaseConnectionId"?: string; diff --git a/lib/databasemigration/package.json b/lib/databasemigration/package.json index 017aff1d72..ec27dc4faa 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Database Migration Service", "repository": { "type": "git", diff --git a/lib/databasetools/package.json b/lib/databasetools/package.json index 66c6446336..9701d121c6 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 23a651ee95..802a70ce41 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data catalogue Service", "repository": { "type": "git", diff --git a/lib/dataflow/package.json b/lib/dataflow/package.json index bf25719c9e..8dda28eacd 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index c6a946521a..4b15f15695 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data Integration Service", "repository": { "type": "git", diff --git a/lib/datalabelingservice/package.json b/lib/datalabelingservice/package.json index 3d4acf08da..3fa2334c9e 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data Labeling Service Service", "repository": { "type": "git", diff --git a/lib/datalabelingservicedataplane/package.json b/lib/datalabelingservicedataplane/package.json index 20edde4a90..430e24b23b 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data Labeling Service Dataplane Service", "repository": { "type": "git", diff --git a/lib/datasafe/package.json b/lib/datasafe/package.json index e3fc87b00a..5f37920a12 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index aa0bb16813..b0765cf590 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index f8160b77bc..cda5a14016 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 186ddfdaf0..50bb127f38 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Delegate Access Control Service", "repository": { "type": "git", diff --git a/lib/demandsignal/package.json b/lib/demandsignal/package.json index ebc8055ce7..ca80cf0b87 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index 20bd271898..ccb7d7624a 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 130bfc0122..783a5ce862 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index c26276a34c..a59d1e21b5 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index 3ac26a3ef5..91caacad52 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/dts/package.json b/lib/dts/package.json index 024d094cb2..f967f586f2 100644 --- a/lib/dts/package.json +++ b/lib/dts/package.json @@ -1,6 +1,6 @@ { "name": "oci-dts", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Dts Service", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 7baae34772..0e98cbdad4 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index 316f26117a..da23a2766d 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Email Data Plane Service", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index 3d5362d60e..8bc6dadeab 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Em Warehouse Service", "repository": { "type": "git", diff --git a/lib/events/package.json b/lib/events/package.json index b8c24bb045..603031f621 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 78cb0cedc6..4c981c2b6c 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/index.ts b/lib/fleetappsmanagement/index.ts index 50c4b1c7ae..04ee0bd53b 100644 --- a/lib/fleetappsmanagement/index.ts +++ b/lib/fleetappsmanagement/index.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,9 +18,12 @@ import * as responses from "./lib/response"; import * as client from "./lib/client"; import * as fleetappsmanagement_waiter from "./lib/fleetappsmanagement-waiter"; import * as fleetappsmanagementadmin_waiter from "./lib/fleetappsmanagementadmin-waiter"; +import * as fleetappsmanagementcatalog_waiter from "./lib/fleetappsmanagementcatalog-waiter"; import * as fleetappsmanagementmaintenancewindow_waiter from "./lib/fleetappsmanagementmaintenancewindow-waiter"; import * as fleetappsmanagementoperations_waiter from "./lib/fleetappsmanagementoperations-waiter"; +import * as fleetappsmanagementprovision_waiter from "./lib/fleetappsmanagementprovision-waiter"; import * as fleetappsmanagementrunbooks_waiter from "./lib/fleetappsmanagementrunbooks-waiter"; +import * as fleetappsmanagementworkrequest_waiter from "./lib/fleetappsmanagementworkrequest-waiter"; export { models }; export { requests }; @@ -29,9 +32,15 @@ export import FleetAppsManagementClient = client.FleetAppsManagementClient; export import FleetAppsManagementWaiter = fleetappsmanagement_waiter.FleetAppsManagementWaiter; export import FleetAppsManagementAdminClient = client.FleetAppsManagementAdminClient; export import FleetAppsManagementAdminWaiter = fleetappsmanagementadmin_waiter.FleetAppsManagementAdminWaiter; +export import FleetAppsManagementCatalogClient = client.FleetAppsManagementCatalogClient; +export import FleetAppsManagementCatalogWaiter = fleetappsmanagementcatalog_waiter.FleetAppsManagementCatalogWaiter; export import FleetAppsManagementMaintenanceWindowClient = client.FleetAppsManagementMaintenanceWindowClient; export import FleetAppsManagementMaintenanceWindowWaiter = fleetappsmanagementmaintenancewindow_waiter.FleetAppsManagementMaintenanceWindowWaiter; export import FleetAppsManagementOperationsClient = client.FleetAppsManagementOperationsClient; export import FleetAppsManagementOperationsWaiter = fleetappsmanagementoperations_waiter.FleetAppsManagementOperationsWaiter; +export import FleetAppsManagementProvisionClient = client.FleetAppsManagementProvisionClient; +export import FleetAppsManagementProvisionWaiter = fleetappsmanagementprovision_waiter.FleetAppsManagementProvisionWaiter; export import FleetAppsManagementRunbooksClient = client.FleetAppsManagementRunbooksClient; export import FleetAppsManagementRunbooksWaiter = fleetappsmanagementrunbooks_waiter.FleetAppsManagementRunbooksWaiter; +export import FleetAppsManagementWorkRequestClient = client.FleetAppsManagementWorkRequestClient; +export import FleetAppsManagementWorkRequestWaiter = fleetappsmanagementworkrequest_waiter.FleetAppsManagementWorkRequestWaiter; diff --git a/lib/fleetappsmanagement/lib/client.ts b/lib/fleetappsmanagement/lib/client.ts index 73db2c3ffc..9762e5c63f 100644 --- a/lib/fleetappsmanagement/lib/client.ts +++ b/lib/fleetappsmanagement/lib/client.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,9 +18,12 @@ import * as model from "./model"; import * as responses from "./response"; import { FleetAppsManagementWaiter } from "./fleetappsmanagement-waiter"; import { FleetAppsManagementAdminWaiter } from "./fleetappsmanagementadmin-waiter"; +import { FleetAppsManagementCatalogWaiter } from "./fleetappsmanagementcatalog-waiter"; import { FleetAppsManagementMaintenanceWindowWaiter } from "./fleetappsmanagementmaintenancewindow-waiter"; import { FleetAppsManagementOperationsWaiter } from "./fleetappsmanagementoperations-waiter"; +import { FleetAppsManagementProvisionWaiter } from "./fleetappsmanagementprovision-waiter"; import { FleetAppsManagementRunbooksWaiter } from "./fleetappsmanagementrunbooks-waiter"; +import { FleetAppsManagementWorkRequestWaiter } from "./fleetappsmanagementworkrequest-waiter"; import { composeResponse, composeRequest, @@ -122,7 +125,7 @@ export class FleetAppsManagementClient { */ public set endpoint(endpoint: string) { this._endpoint = endpoint; - this._endpoint = this._endpoint + "/20230831"; + this._endpoint = this._endpoint + "/20250228"; if (this.logger) this.logger.info(`FleetAppsManagementClient endpoint set to ${this._endpoint}`); } @@ -242,6 +245,87 @@ export class FleetAppsManagementClient { this.closeProvider(); } + /** + * Moves a Fleet into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeFleetCompartmentRequest + * @return ChangeFleetCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartment API. + */ + public async changeFleetCompartment( + changeFleetCompartmentRequest: requests.ChangeFleetCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementClient#changeFleetCompartment."); + const operationName = "changeFleetCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": changeFleetCompartmentRequest.fleetId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeFleetCompartmentRequest.ifMatch, + "opc-request-id": changeFleetCompartmentRequest.opcRequestId, + "opc-retry-token": changeFleetCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeFleetCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeFleetCompartmentRequest.changeFleetCompartmentDetails, + "ChangeFleetCompartmentDetails", + model.ChangeFleetCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Check if Fleet Application Management tags can be added to the resources. * @@ -325,7 +409,7 @@ export class FleetAppsManagementClient { /** * Confirm targets to be managed for a Fleet. - * Only targets that are confirmed will be managed by Fleet Application Management + * Only targets that are confirmed will be managed by Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ConfirmTargetsRequest @@ -404,7 +488,7 @@ export class FleetAppsManagementClient { } /** - * Create a product, environment, group, or generic type of fleet in Fleet Application Management. + * Create a fleet in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateFleetRequest @@ -680,7 +764,7 @@ export class FleetAppsManagementClient { } /** - * Add resource to a fleet in\u00A0Fleet Application Management. + * Add resource to a fleet in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateFleetResourceRequest @@ -850,7 +934,7 @@ export class FleetAppsManagementClient { } /** - * Delete a credential associated with a fleet product or application in\u00A0Fleet Application Management. + * Deletes a credential associated with a fleet or with a product/target with in a fleet. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteFleetCredentialRequest * @return DeleteFleetCredentialResponse @@ -924,7 +1008,7 @@ export class FleetAppsManagementClient { } /** - * Delete a property associated with a fleet in Fleet Application Management. + * Deletes a property associated with a fleet in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteFleetPropertyRequest * @return DeleteFleetPropertyResponse @@ -1067,7 +1151,7 @@ export class FleetAppsManagementClient { } /** - * Generate compliance reports for a Fleet. + * Generate compliance report for a Fleet. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GenerateComplianceReportRequest @@ -1298,7 +1382,7 @@ export class FleetAppsManagementClient { } /** - * Gets a FleetCredential by identifier. + * Gets a fleet credential by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetFleetCredentialRequest * @return GetFleetCredentialResponse @@ -1375,7 +1459,7 @@ export class FleetAppsManagementClient { } /** - * Gets a Fleet Property by identifier. + * Gets a fleet property by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetFleetPropertyRequest * @return GetFleetPropertyResponse @@ -1452,7 +1536,7 @@ export class FleetAppsManagementClient { } /** - * Gets a Fleet Resource by identifier. + * Gets a fleet resource by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetFleetResourceRequest * @return GetFleetResourceResponse @@ -1529,88 +1613,7 @@ export class FleetAppsManagementClient { } /** - * Gets details of the work request with the given ID. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetWorkRequestRequest - * @return GetWorkRequestResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. - */ - public async getWorkRequest( - getWorkRequestRequest: requests.GetWorkRequestRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#getWorkRequest."); - const operationName = "getWorkRequest"; - const apiReferenceLink = ""; - const pathParams = { - "{workRequestId}": getWorkRequestRequest.workRequestId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getWorkRequestRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getWorkRequestRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequest", - bodyModel: model.WorkRequest, - type: "model.WorkRequest", - responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("retry-after"), - key: "retryAfter", - dataType: "number" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Return a list of AnnouncementSummary items. + * Return a list of Announcement Summary items in a tenancy. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListAnnouncementsRequest * @return ListAnnouncementsResponse @@ -1628,6 +1631,7 @@ export class FleetAppsManagementClient { const queryParams = { "summaryContains": listAnnouncementsRequest.summaryContains, + "compartmentId": listAnnouncementsRequest.compartmentId, "displayName": listAnnouncementsRequest.displayName, "limit": listAnnouncementsRequest.limit, "page": listAnnouncementsRequest.page, @@ -1691,7 +1695,7 @@ export class FleetAppsManagementClient { } /** - * List credentials in Fleet Application Management. + * List credentials associated with a fleet. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListFleetCredentialsRequest @@ -1711,7 +1715,6 @@ export class FleetAppsManagementClient { }; const queryParams = { - "compartmentId": listFleetCredentialsRequest.compartmentId, "lifecycleState": listFleetCredentialsRequest.lifecycleState, "displayName": listFleetCredentialsRequest.displayName, "resourceId": listFleetCredentialsRequest.resourceId, @@ -1866,7 +1869,7 @@ export class FleetAppsManagementClient { } /** - * List fleet properties in Fleet Application Management. + * List properties associated with a fleet. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListFleetPropertiesRequest @@ -1886,7 +1889,6 @@ export class FleetAppsManagementClient { }; const queryParams = { - "compartmentId": listFleetPropertiesRequest.compartmentId, "lifecycleState": listFleetPropertiesRequest.lifecycleState, "displayName": listFleetPropertiesRequest.displayName, "id": listFleetPropertiesRequest.id, @@ -1972,7 +1974,6 @@ export class FleetAppsManagementClient { }; const queryParams = { - "tenancyId": listFleetResourcesRequest.tenancyId, "lifecycleState": listFleetResourcesRequest.lifecycleState, "displayName": listFleetResourcesRequest.displayName, "id": listFleetResourcesRequest.id, @@ -2125,7 +2126,8 @@ export class FleetAppsManagementClient { } /** - * Returns a list of Fleets in the specified Tenancy. + * Returns a list of all the Fleets in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListFleetsRequest @@ -2217,7 +2219,8 @@ export class FleetAppsManagementClient { } /** - * Returns a list of InventoryResources. + * Returns a list of Inventory Resources based on the criteria provided. + * instance, dbsystem, cloudvmcluster resources are supported. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListInventoryResourcesRequest @@ -2389,49 +2392,50 @@ export class FleetAppsManagementClient { } /** - * Returns a (paginated) list of errors for the work request with the given ID. + * Request validation for resources within a fleet. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestErrorsRequest - * @return ListWorkRequestErrorsResponse + * @param RequestResourceValidationRequest + * @return RequestResourceValidationResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/RequestResourceValidation.ts.html |here} to see how to use RequestResourceValidation API. */ - public async listWorkRequestErrors( - listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest - ): Promise { + public async requestResourceValidation( + requestResourceValidationRequest: requests.RequestResourceValidationRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#listWorkRequestErrors."); - const operationName = "listWorkRequestErrors"; + this.logger.debug("Calling operation FleetAppsManagementClient#requestResourceValidation."); + const operationName = "requestResourceValidation"; const apiReferenceLink = ""; const pathParams = { - "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + "{fleetId}": requestResourceValidationRequest.fleetId }; - const queryParams = { - "page": listWorkRequestErrorsRequest.page, - "limit": listWorkRequestErrorsRequest.limit, - "sortBy": listWorkRequestErrorsRequest.sortBy, - "sortOrder": listWorkRequestErrorsRequest.sortOrder - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + "opc-retry-token": requestResourceValidationRequest.opcRetryToken, + "opc-request-id": requestResourceValidationRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestErrorsRequest.retryConfiguration, + requestResourceValidationRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/errors", - method: "GET", + path: "/fleets/{fleetId}/actions/requestResourceValidation", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + requestResourceValidationRequest.requestResourceValidationDetails, + "RequestResourceValidationDetails", + model.RequestResourceValidationDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -2445,15 +2449,11 @@ export class FleetAppsManagementClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestErrorCollection", - bodyModel: model.WorkRequestErrorCollection, - type: "model.WorkRequestErrorCollection", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -2471,49 +2471,50 @@ export class FleetAppsManagementClient { } /** - * Returns a (paginated) list of logs for the work request with the given ID. + * Request target discovery for resources with in a fleet. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestLogsRequest - * @return ListWorkRequestLogsResponse + * @param RequestTargetDiscoveryRequest + * @return RequestTargetDiscoveryResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/RequestTargetDiscovery.ts.html |here} to see how to use RequestTargetDiscovery API. */ - public async listWorkRequestLogs( - listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest - ): Promise { + public async requestTargetDiscovery( + requestTargetDiscoveryRequest: requests.RequestTargetDiscoveryRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#listWorkRequestLogs."); - const operationName = "listWorkRequestLogs"; + this.logger.debug("Calling operation FleetAppsManagementClient#requestTargetDiscovery."); + const operationName = "requestTargetDiscovery"; const apiReferenceLink = ""; const pathParams = { - "{workRequestId}": listWorkRequestLogsRequest.workRequestId + "{fleetId}": requestTargetDiscoveryRequest.fleetId }; - const queryParams = { - "page": listWorkRequestLogsRequest.page, - "limit": listWorkRequestLogsRequest.limit, - "sortBy": listWorkRequestLogsRequest.sortBy, - "sortOrder": listWorkRequestLogsRequest.sortOrder - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestLogsRequest.opcRequestId + "opc-retry-token": requestTargetDiscoveryRequest.opcRetryToken, + "opc-request-id": requestTargetDiscoveryRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestLogsRequest.retryConfiguration, + requestTargetDiscoveryRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/workRequests/{workRequestId}/logs", - method: "GET", + path: "/fleets/{fleetId}/actions/requestTargetDiscovery", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + requestTargetDiscoveryRequest.requestTargetDiscoveryDetails, + "RequestTargetDiscoveryDetails", + model.RequestTargetDiscoveryDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -2527,15 +2528,11 @@ export class FleetAppsManagementClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestLogEntryCollection", - bodyModel: model.WorkRequestLogEntryCollection, - type: "model.WorkRequestLogEntryCollection", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -2553,255 +2550,12 @@ export class FleetAppsManagementClient { } /** - * Lists the work requests in a compartment. - * + * Update fleet information in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListWorkRequestsRequest - * @return ListWorkRequestsResponse + * @param UpdateFleetRequest + * @return UpdateFleetResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. - */ - public async listWorkRequests( - listWorkRequestsRequest: requests.ListWorkRequestsRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#listWorkRequests."); - const operationName = "listWorkRequests"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listWorkRequestsRequest.compartmentId, - "workRequestId": listWorkRequestsRequest.workRequestId, - "status": listWorkRequestsRequest.status, - "resourceId": listWorkRequestsRequest.resourceId, - "page": listWorkRequestsRequest.page, - "limit": listWorkRequestsRequest.limit, - "sortOrder": listWorkRequestsRequest.sortOrder, - "sortBy": listWorkRequestsRequest.sortBy - }; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listWorkRequestsRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listWorkRequestsRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/workRequests", - method: "GET", - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "workRequestSummaryCollection", - bodyModel: model.WorkRequestSummaryCollection, - type: "model.WorkRequestSummaryCollection", - responseHeaders: [ - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Request validation for resources within a fleet. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param RequestResourceValidationRequest - * @return RequestResourceValidationResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/RequestResourceValidation.ts.html |here} to see how to use RequestResourceValidation API. - */ - public async requestResourceValidation( - requestResourceValidationRequest: requests.RequestResourceValidationRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#requestResourceValidation."); - const operationName = "requestResourceValidation"; - const apiReferenceLink = ""; - const pathParams = { - "{fleetId}": requestResourceValidationRequest.fleetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": requestResourceValidationRequest.opcRetryToken, - "opc-request-id": requestResourceValidationRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - requestResourceValidationRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/fleets/{fleetId}/actions/requestResourceValidation", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - requestResourceValidationRequest.requestResourceValidationDetails, - "RequestResourceValidationDetails", - model.RequestResourceValidationDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Confirm targets to be managed for a Fleet. - * Only targets that are confirmed will be managed by Fleet Application Management - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param RequestTargetDiscoveryRequest - * @return RequestTargetDiscoveryResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/RequestTargetDiscovery.ts.html |here} to see how to use RequestTargetDiscovery API. - */ - public async requestTargetDiscovery( - requestTargetDiscoveryRequest: requests.RequestTargetDiscoveryRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementClient#requestTargetDiscovery."); - const operationName = "requestTargetDiscovery"; - const apiReferenceLink = ""; - const pathParams = { - "{fleetId}": requestTargetDiscoveryRequest.fleetId - }; - - const queryParams = {}; - - let headerParams = { - "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": requestTargetDiscoveryRequest.opcRetryToken, - "opc-request-id": requestTargetDiscoveryRequest.opcRequestId - }; - - const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; - const retrier = GenericRetrier.createPreferredRetrier( - this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - requestTargetDiscoveryRequest.retryConfiguration, - specRetryConfiguration - ); - if (this.logger) retrier.logger = this.logger; - const request = await composeRequest({ - baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/fleets/{fleetId}/actions/requestTargetDiscovery", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - requestTargetDiscoveryRequest.requestTargetDiscoveryDetails, - "RequestTargetDiscoveryDetails", - model.RequestTargetDiscoveryDetails.getJsonObj - ), - pathParams: pathParams, - headerParams: headerParams, - queryParams: queryParams - }); - try { - const response = await retrier.makeServiceCall( - this._httpClient, - request, - this.targetService, - operationName, - apiReferenceLink - ); - const sdkResponse = composeResponse({ - responseObject: {}, - responseHeaders: [ - { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", - dataType: "string" - }, - { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", - dataType: "string" - } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } - - /** - * Update fleet information in Fleet Application Management. - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateFleetRequest - * @return UpdateFleetResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateFleet.ts.html |here} to see how to use UpdateFleet API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateFleet.ts.html |here} to see how to use UpdateFleet API. */ public async updateFleet( updateFleetRequest: requests.UpdateFleetRequest @@ -2877,7 +2631,7 @@ export class FleetAppsManagementClient { } /** - * Edit credentials associated with a product or application in\u00A0Fleet Application Management. + * Edit credential associated with a fleet or with a product/target with in a fleet. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateFleetCredentialRequest * @return UpdateFleetCredentialResponse @@ -3206,7 +2960,7 @@ export class FleetAppsManagementAdminClient { */ public set endpoint(endpoint: string) { this._endpoint = endpoint; - this._endpoint = this._endpoint + "/20230831"; + this._endpoint = this._endpoint + "/20250228"; if (this.logger) this.logger.info(`FleetAppsManagementAdminClient endpoint set to ${this._endpoint}`); } @@ -3327,49 +3081,54 @@ export class FleetAppsManagementAdminClient { } /** - * Creates a CompliancePolicyRule. + * Moves a PlatformConfiguration into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateCompliancePolicyRuleRequest - * @return CreateCompliancePolicyRuleResponse + * @param ChangePlatformConfigurationCompartmentRequest + * @return ChangePlatformConfigurationCompartmentResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateCompliancePolicyRule.ts.html |here} to see how to use CreateCompliancePolicyRule API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePlatformConfigurationCompartment.ts.html |here} to see how to use ChangePlatformConfigurationCompartment API. */ - public async createCompliancePolicyRule( - createCompliancePolicyRuleRequest: requests.CreateCompliancePolicyRuleRequest - ): Promise { + public async changePlatformConfigurationCompartment( + changePlatformConfigurationCompartmentRequest: requests.ChangePlatformConfigurationCompartmentRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementAdminClient#createCompliancePolicyRule." + "Calling operation FleetAppsManagementAdminClient#changePlatformConfigurationCompartment." ); - const operationName = "createCompliancePolicyRule"; + const operationName = "changePlatformConfigurationCompartment"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{platformConfigurationId}": + changePlatformConfigurationCompartmentRequest.platformConfigurationId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createCompliancePolicyRuleRequest.opcRetryToken, - "opc-request-id": createCompliancePolicyRuleRequest.opcRequestId + "if-match": changePlatformConfigurationCompartmentRequest.ifMatch, + "opc-request-id": changePlatformConfigurationCompartmentRequest.opcRequestId, + "opc-retry-token": changePlatformConfigurationCompartmentRequest.opcRetryToken }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createCompliancePolicyRuleRequest.retryConfiguration, + changePlatformConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/compliancePolicyRules", + path: "/platformConfigurations/{platformConfigurationId}/actions/changeCompartment", method: "POST", bodyContent: common.ObjectSerializer.serialize( - createCompliancePolicyRuleRequest.createCompliancePolicyRuleDetails, - "CreateCompliancePolicyRuleDetails", - model.CreateCompliancePolicyRuleDetails.getJsonObj + changePlatformConfigurationCompartmentRequest.changePlatformConfigurationCompartmentDetails, + "ChangePlatformConfigurationCompartmentDetails", + model.ChangePlatformConfigurationCompartmentDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -3384,11 +3143,173 @@ export class FleetAppsManagementAdminClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "compliancePolicyRule", - bodyModel: model.CompliancePolicyRule, - type: "model.CompliancePolicyRule", + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a Property into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangePropertyCompartmentRequest + * @return ChangePropertyCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePropertyCompartment.ts.html |here} to see how to use ChangePropertyCompartment API. + */ + public async changePropertyCompartment( + changePropertyCompartmentRequest: requests.ChangePropertyCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementAdminClient#changePropertyCompartment." + ); + const operationName = "changePropertyCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{propertyId}": changePropertyCompartmentRequest.propertyId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changePropertyCompartmentRequest.ifMatch, + "opc-request-id": changePropertyCompartmentRequest.opcRequestId, + "opc-retry-token": changePropertyCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changePropertyCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/properties/{propertyId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changePropertyCompartmentRequest.changePropertyCompartmentDetails, + "ChangePropertyCompartmentDetails", + model.ChangePropertyCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a compliance policy rule. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateCompliancePolicyRuleRequest + * @return CreateCompliancePolicyRuleResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateCompliancePolicyRule.ts.html |here} to see how to use CreateCompliancePolicyRule API. + */ + public async createCompliancePolicyRule( + createCompliancePolicyRuleRequest: requests.CreateCompliancePolicyRuleRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementAdminClient#createCompliancePolicyRule." + ); + const operationName = "createCompliancePolicyRule"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createCompliancePolicyRuleRequest.opcRetryToken, + "opc-request-id": createCompliancePolicyRuleRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createCompliancePolicyRuleRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/compliancePolicyRules", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createCompliancePolicyRuleRequest.createCompliancePolicyRuleDetails, + "CreateCompliancePolicyRuleDetails", + model.CreateCompliancePolicyRuleDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "compliancePolicyRule", + bodyModel: model.CompliancePolicyRule, + type: "model.CompliancePolicyRule", responseHeaders: [ { value: response.headers.get("location"), @@ -3461,7 +3382,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings", + path: "/onboardings", method: "POST", bodyContent: common.ObjectSerializer.serialize( createOnboardingRequest.createOnboardingDetails, @@ -3585,11 +3506,26 @@ export class FleetAppsManagementAdminClient { bodyModel: model.PlatformConfiguration, type: "model.PlatformConfiguration", responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, { value: response.headers.get("etag"), key: "etag", dataType: "string" }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", @@ -3605,7 +3541,7 @@ export class FleetAppsManagementAdminClient { } /** - * Create a business-specific metadata property in Fleet Application Management and capture the business metadata classifications. + * Create a business-specific metadata property in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreatePropertyRequest @@ -3686,7 +3622,7 @@ export class FleetAppsManagementAdminClient { } /** - * Deletes a CompliancePolicyRule. + * Deletes a compliance policy rule specified by an identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteCompliancePolicyRuleRequest * @return DeleteCompliancePolicyRuleResponse @@ -3797,7 +3733,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings/{onboardingId}", + path: "/onboardings/{onboardingId}", method: "DELETE", pathParams: pathParams, headerParams: headerParams, @@ -4014,7 +3950,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings/{onboardingId}/actions/enableLatestPolicy", + path: "/onboardings/{onboardingId}/actions/enableLatestPolicy", method: "POST", bodyContent: common.ObjectSerializer.serialize( enableLatestPolicyRequest.enableLatestPolicyDetails, @@ -4051,7 +3987,7 @@ export class FleetAppsManagementAdminClient { } /** - * Gets information about a CompliancePolicy. + * Gets information about a compliance policy. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetCompliancePolicyRequest * @return GetCompliancePolicyResponse @@ -4127,7 +4063,7 @@ export class FleetAppsManagementAdminClient { } /** - * Gets information about a CompliancePolicyRule. + * Gets information about a compliance policy rule. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetCompliancePolicyRuleRequest * @return GetCompliancePolicyRuleResponse @@ -4240,7 +4176,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings/{onboardingId}", + path: "/onboardings/{onboardingId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -4435,7 +4371,8 @@ export class FleetAppsManagementAdminClient { } /** - * Gets a list of compliancePolicies. + * Returns a list of all the Compliance Policies in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListCompliancePoliciesRequest @@ -4456,6 +4393,7 @@ export class FleetAppsManagementAdminClient { "compartmentId": listCompliancePoliciesRequest.compartmentId, "lifecycleState": listCompliancePoliciesRequest.lifecycleState, "displayName": listCompliancePoliciesRequest.displayName, + "type": listCompliancePoliciesRequest.type, "id": listCompliancePoliciesRequest.id, "limit": listCompliancePoliciesRequest.limit, "page": listCompliancePoliciesRequest.page, @@ -4519,7 +4457,7 @@ export class FleetAppsManagementAdminClient { } /** - * Gets a list of CompliancePolicyRules. + * Gets a list of Compliance policy rules in a compartment. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListCompliancePolicyRulesRequest @@ -4627,6 +4565,7 @@ export class FleetAppsManagementAdminClient { const queryParams = { "limit": listOnboardingPoliciesRequest.limit, "page": listOnboardingPoliciesRequest.page, + "compartmentId": listOnboardingPoliciesRequest.compartmentId, "sortOrder": listOnboardingPoliciesRequest.sortOrder, "sortBy": listOnboardingPoliciesRequest.sortBy }; @@ -4646,7 +4585,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/OnboardingPolicies", + path: "/onboardingPolicies", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -4687,7 +4626,8 @@ export class FleetAppsManagementAdminClient { } /** - * Returns a list of onboarding information for the Tenancy. + * Returns a list of all the onboardings in the specified root compartment (tenancy). + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListOnboardingsRequest @@ -4729,7 +4669,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings", + path: "/onboardings", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -4770,7 +4710,8 @@ export class FleetAppsManagementAdminClient { } /** - * Returns a list of PlatformConfiguration for Tenancy. + * Returns a list of all the Platform Configurations in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListPlatformConfigurationsRequest @@ -4795,6 +4736,8 @@ export class FleetAppsManagementAdminClient { "displayName": listPlatformConfigurationsRequest.displayName, "id": listPlatformConfigurationsRequest.id, "configCategory": listPlatformConfigurationsRequest.configCategory, + "compartmentIdInSubtree": listPlatformConfigurationsRequest.compartmentIdInSubtree, + "type": listPlatformConfigurationsRequest.type, "limit": listPlatformConfigurationsRequest.limit, "page": listPlatformConfigurationsRequest.page, "sortOrder": listPlatformConfigurationsRequest.sortOrder, @@ -4857,7 +4800,8 @@ export class FleetAppsManagementAdminClient { } /** - * List properties and their values for a tenancy in Fleet Application Management. + * Returns a list of all the Properties in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListPropertiesRequest @@ -4879,6 +4823,7 @@ export class FleetAppsManagementAdminClient { "lifecycleState": listPropertiesRequest.lifecycleState, "displayName": listPropertiesRequest.displayName, "id": listPropertiesRequest.id, + "type": listPropertiesRequest.type, "scope": listPropertiesRequest.scope, "limit": listPropertiesRequest.limit, "page": listPropertiesRequest.page, @@ -4979,7 +4924,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings/{onboardingId}/actions/manageSettings", + path: "/onboardings/{onboardingId}/actions/manageSettings", method: "POST", bodyContent: common.ObjectSerializer.serialize( manageSettingsRequest.manageSettingsDetails, @@ -5016,7 +4961,7 @@ export class FleetAppsManagementAdminClient { } /** - * Updates a CompliancePolicyRule. + * Updates a compliance policy rule specified by an identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateCompliancePolicyRuleRequest * @return UpdateCompliancePolicyRuleResponse @@ -5132,7 +5077,7 @@ export class FleetAppsManagementAdminClient { const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/Onboardings/{onboardingId}", + path: "/onboardings/{onboardingId}", method: "PUT", bodyContent: common.ObjectSerializer.serialize( updateOnboardingRequest.updateOnboardingDetails, @@ -5335,22 +5280,22 @@ export class FleetAppsManagementAdminClient { } } } -export enum FleetAppsManagementMaintenanceWindowApiKeys {} +export enum FleetAppsManagementCatalogApiKeys {} /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. */ -export class FleetAppsManagementMaintenanceWindowClient { +export class FleetAppsManagementCatalogClient { protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; protected static endpointServiceName = ""; protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; protected "_endpoint": string = ""; protected "_defaultHeaders": any = {}; - protected "_waiters": FleetAppsManagementMaintenanceWindowWaiter; + protected "_waiters": FleetAppsManagementCatalogWaiter; protected "_clientConfiguration": common.ClientConfiguration; protected _circuitBreaker: typeof Breaker | null = null; protected _httpOptions: any = undefined; protected _bodyDuplexMode: any = undefined; - public targetService = "FleetAppsManagementMaintenanceWindow"; + public targetService = "FleetAppsManagementCatalog"; protected _regionId: string = ""; protected "_region": common.Region; protected _lastSetRegionOrRegionId: string = ""; @@ -5424,11 +5369,9 @@ export class FleetAppsManagementMaintenanceWindowClient { */ public set endpoint(endpoint: string) { this._endpoint = endpoint; - this._endpoint = this._endpoint + "/20230831"; + this._endpoint = this._endpoint + "/20250228"; if (this.logger) - this.logger.info( - `FleetAppsManagementMaintenanceWindowClient endpoint set to ${this._endpoint}` - ); + this.logger.info(`FleetAppsManagementCatalogClient endpoint set to ${this._endpoint}`); } public get logger() { @@ -5448,15 +5391,15 @@ export class FleetAppsManagementMaintenanceWindowClient { ); if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, + FleetAppsManagementCatalogClient.serviceEndpointTemplate, this._region, - FleetAppsManagementMaintenanceWindowClient.endpointServiceName + FleetAppsManagementCatalogClient.endpointServiceName ); } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, + FleetAppsManagementCatalogClient.serviceEndpointTemplate, this._regionId, - FleetAppsManagementMaintenanceWindowClient.endpointServiceName + FleetAppsManagementCatalogClient.endpointServiceName ); } } @@ -5469,9 +5412,9 @@ export class FleetAppsManagementMaintenanceWindowClient { public set region(region: common.Region) { this._region = region; this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, + FleetAppsManagementCatalogClient.serviceEndpointTemplate, region, - FleetAppsManagementMaintenanceWindowClient.endpointServiceName + FleetAppsManagementCatalogClient.endpointServiceName ); this._lastSetRegionOrRegionId = common.Region.REGION_STRING; } @@ -5487,23 +5430,21 @@ export class FleetAppsManagementMaintenanceWindowClient { public set regionId(regionId: string) { this._regionId = regionId; this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, + FleetAppsManagementCatalogClient.serviceEndpointTemplate, regionId, - FleetAppsManagementMaintenanceWindowClient.endpointServiceName + FleetAppsManagementCatalogClient.endpointServiceName ); this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; } /** - * Creates a new FleetAppsManagementMaintenanceWindowWaiter for resources for this service. + * Creates a new FleetAppsManagementCatalogWaiter for resources for this service. * * @param config The waiter configuration for termination and delay strategy * @return The service waiters. */ - public createWaiters( - config?: common.WaiterConfiguration - ): FleetAppsManagementMaintenanceWindowWaiter { - this._waiters = new FleetAppsManagementMaintenanceWindowWaiter(this, config); + public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementCatalogWaiter { + this._waiters = new FleetAppsManagementCatalogWaiter(this, config); return this._waiters; } @@ -5512,7 +5453,7 @@ export class FleetAppsManagementMaintenanceWindowClient { * * @return The service waiters. */ - public getWaiters(): FleetAppsManagementMaintenanceWindowWaiter { + public getWaiters(): FleetAppsManagementCatalogWaiter { if (this._waiters) { return this._waiters; } @@ -5549,49 +5490,53 @@ export class FleetAppsManagementMaintenanceWindowClient { } /** - * Create a maintenance window in Fleet Application Management. + * Moves a CatalogItem into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateMaintenanceWindowRequest - * @return CreateMaintenanceWindowResponse + * @param ChangeCatalogItemCompartmentRequest + * @return ChangeCatalogItemCompartmentResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateMaintenanceWindow.ts.html |here} to see how to use CreateMaintenanceWindow API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeCatalogItemCompartment.ts.html |here} to see how to use ChangeCatalogItemCompartment API. */ - public async createMaintenanceWindow( - createMaintenanceWindowRequest: requests.CreateMaintenanceWindowRequest - ): Promise { + public async changeCatalogItemCompartment( + changeCatalogItemCompartmentRequest: requests.ChangeCatalogItemCompartmentRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementMaintenanceWindowClient#createMaintenanceWindow." + "Calling operation FleetAppsManagementCatalogClient#changeCatalogItemCompartment." ); - const operationName = "createMaintenanceWindow"; + const operationName = "changeCatalogItemCompartment"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{catalogItemId}": changeCatalogItemCompartmentRequest.catalogItemId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createMaintenanceWindowRequest.opcRetryToken, - "opc-request-id": createMaintenanceWindowRequest.opcRequestId + "if-match": changeCatalogItemCompartmentRequest.ifMatch, + "opc-request-id": changeCatalogItemCompartmentRequest.opcRequestId, + "opc-retry-token": changeCatalogItemCompartmentRequest.opcRetryToken }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createMaintenanceWindowRequest.retryConfiguration, + changeCatalogItemCompartmentRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/maintenanceWindows", + path: "/catalogItems/{catalogItemId}/actions/changeCompartment", method: "POST", bodyContent: common.ObjectSerializer.serialize( - createMaintenanceWindowRequest.createMaintenanceWindowDetails, - "CreateMaintenanceWindowDetails", - model.CreateMaintenanceWindowDetails.getJsonObj + changeCatalogItemCompartmentRequest.changeCatalogItemCompartmentDetails, + "ChangeCatalogItemCompartmentDetails", + model.ChangeCatalogItemCompartmentDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -5606,15 +5551,11 @@ export class FleetAppsManagementMaintenanceWindowClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "maintenanceWindow", - bodyModel: model.MaintenanceWindow, - type: "model.MaintenanceWindow", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -5632,46 +5573,52 @@ export class FleetAppsManagementMaintenanceWindowClient { } /** - * Delete a maintenance window in Fleet Application Management. + * Clones a CatalogItem into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteMaintenanceWindowRequest - * @return DeleteMaintenanceWindowResponse + * @param CloneCatalogItemRequest + * @return CloneCatalogItemResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteMaintenanceWindow.ts.html |here} to see how to use DeleteMaintenanceWindow API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CloneCatalogItem.ts.html |here} to see how to use CloneCatalogItem API. */ - public async deleteMaintenanceWindow( - deleteMaintenanceWindowRequest: requests.DeleteMaintenanceWindowRequest - ): Promise { + public async cloneCatalogItem( + cloneCatalogItemRequest: requests.CloneCatalogItemRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementMaintenanceWindowClient#deleteMaintenanceWindow." - ); - const operationName = "deleteMaintenanceWindow"; + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#cloneCatalogItem."); + const operationName = "cloneCatalogItem"; const apiReferenceLink = ""; const pathParams = { - "{maintenanceWindowId}": deleteMaintenanceWindowRequest.maintenanceWindowId + "{catalogItemId}": cloneCatalogItemRequest.catalogItemId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteMaintenanceWindowRequest.ifMatch, - "opc-request-id": deleteMaintenanceWindowRequest.opcRequestId + "if-match": cloneCatalogItemRequest.ifMatch, + "opc-request-id": cloneCatalogItemRequest.opcRequestId, + "opc-retry-token": cloneCatalogItemRequest.opcRetryToken }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteMaintenanceWindowRequest.retryConfiguration, + cloneCatalogItemRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/maintenanceWindows/{maintenanceWindowId}", - method: "DELETE", + path: "/catalogItems/{catalogItemId}/actions/cloneCatalogItem", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + cloneCatalogItemRequest.cloneCatalogItemDetails, + "CloneCatalogItemDetails", + model.CloneCatalogItemDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -5685,8 +5632,27 @@ export class FleetAppsManagementMaintenanceWindowClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "catalogItem", + bodyModel: model.CatalogItem, + type: "model.CatalogItem", responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, { value: response.headers.get("opc-work-request-id"), key: "opcWorkRequestId", @@ -5707,44 +5673,211 @@ export class FleetAppsManagementMaintenanceWindowClient { } /** - * Get the details for a maintenance window in Fleet Application Management. + * Creates a CatalogItem. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetMaintenanceWindowRequest - * @return GetMaintenanceWindowResponse + * @param CreateCatalogItemRequest + * @return CreateCatalogItemResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetMaintenanceWindow.ts.html |here} to see how to use GetMaintenanceWindow API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateCatalogItem.ts.html |here} to see how to use CreateCatalogItem API. */ - public async getMaintenanceWindow( - getMaintenanceWindowRequest: requests.GetMaintenanceWindowRequest - ): Promise { + public async createCatalogItem( + createCatalogItemRequest: requests.CreateCatalogItemRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementMaintenanceWindowClient#getMaintenanceWindow." + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#createCatalogItem."); + const operationName = "createCatalogItem"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createCatalogItemRequest.opcRetryToken, + "opc-request-id": createCatalogItemRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createCatalogItemRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/catalogItems", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createCatalogItemRequest.createCatalogItemDetails, + "CreateCatalogItemDetails", + model.CreateCatalogItemDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink ); - const operationName = "getMaintenanceWindow"; + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "catalogItem", + bodyModel: model.CatalogItem, + type: "model.CatalogItem", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a CatalogItem. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteCatalogItemRequest + * @return DeleteCatalogItemResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteCatalogItem.ts.html |here} to see how to use DeleteCatalogItem API. + */ + public async deleteCatalogItem( + deleteCatalogItemRequest: requests.DeleteCatalogItemRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#deleteCatalogItem."); + const operationName = "deleteCatalogItem"; const apiReferenceLink = ""; const pathParams = { - "{maintenanceWindowId}": getMaintenanceWindowRequest.maintenanceWindowId + "{catalogItemId}": deleteCatalogItemRequest.catalogItemId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getMaintenanceWindowRequest.opcRequestId + "if-match": deleteCatalogItemRequest.ifMatch, + "opc-request-id": deleteCatalogItemRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getMaintenanceWindowRequest.retryConfiguration, + deleteCatalogItemRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/maintenanceWindows/{maintenanceWindowId}", + path: "/catalogItems/{catalogItemId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a CatalogItem. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetCatalogItemRequest + * @return GetCatalogItemResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetCatalogItem.ts.html |here} to see how to use GetCatalogItem API. + */ + public async getCatalogItem( + getCatalogItemRequest: requests.GetCatalogItemRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#getCatalogItem."); + const operationName = "getCatalogItem"; + const apiReferenceLink = ""; + const pathParams = { + "{catalogItemId}": getCatalogItemRequest.catalogItemId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getCatalogItemRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getCatalogItemRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/catalogItems/{catalogItemId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -5759,11 +5892,11 @@ export class FleetAppsManagementMaintenanceWindowClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "maintenanceWindow", - bodyModel: model.MaintenanceWindow, - type: "model.MaintenanceWindow", + bodyKey: "catalogItem", + bodyModel: model.CatalogItem, + type: "model.CatalogItem", responseHeaders: [ { value: response.headers.get("etag"), @@ -5785,54 +5918,53 @@ export class FleetAppsManagementMaintenanceWindowClient { } /** - * List maintenance windows for a specified tenancy in\u00A0Fleet Application Management. + * Gets a list of Catalog Items in a compartment. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListMaintenanceWindowsRequest - * @return ListMaintenanceWindowsResponse + * @param ListCatalogItemsRequest + * @return ListCatalogItemsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListMaintenanceWindows.ts.html |here} to see how to use ListMaintenanceWindows API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListCatalogItems.ts.html |here} to see how to use ListCatalogItems API. */ - public async listMaintenanceWindows( - listMaintenanceWindowsRequest: requests.ListMaintenanceWindowsRequest - ): Promise { + public async listCatalogItems( + listCatalogItemsRequest: requests.ListCatalogItemsRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementMaintenanceWindowClient#listMaintenanceWindows." - ); - const operationName = "listMaintenanceWindows"; + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#listCatalogItems."); + const operationName = "listCatalogItems"; const apiReferenceLink = ""; const pathParams = {}; const queryParams = { - "compartmentId": listMaintenanceWindowsRequest.compartmentId, - "lifecycleState": listMaintenanceWindowsRequest.lifecycleState, - "displayName": listMaintenanceWindowsRequest.displayName, - "timeScheduleStartGreaterThanOrEqualTo": - listMaintenanceWindowsRequest.timeScheduleStartGreaterThanOrEqualTo, - "id": listMaintenanceWindowsRequest.id, - "limit": listMaintenanceWindowsRequest.limit, - "page": listMaintenanceWindowsRequest.page, - "sortOrder": listMaintenanceWindowsRequest.sortOrder, - "sortBy": listMaintenanceWindowsRequest.sortBy + "compartmentId": listCatalogItemsRequest.compartmentId, + "configSourceType": listCatalogItemsRequest.configSourceType, + "lifecycleState": listCatalogItemsRequest.lifecycleState, + "sortOrder": listCatalogItemsRequest.sortOrder, + "sortBy": listCatalogItemsRequest.sortBy, + "displayName": listCatalogItemsRequest.displayName, + "limit": listCatalogItemsRequest.limit, + "page": listCatalogItemsRequest.page, + "catalogListingId": listCatalogItemsRequest.catalogListingId, + "catalogListingVersionCriteria": listCatalogItemsRequest.catalogListingVersionCriteria, + "shouldListPublicItems": listCatalogItemsRequest.shouldListPublicItems }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listMaintenanceWindowsRequest.opcRequestId + "opc-request-id": listCatalogItemsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listMaintenanceWindowsRequest.retryConfiguration, + listCatalogItemsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/maintenanceWindows", + path: "/catalogItems", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -5847,11 +5979,11 @@ export class FleetAppsManagementMaintenanceWindowClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "maintenanceWindowCollection", - bodyModel: model.MaintenanceWindowCollection, - type: "model.MaintenanceWindowCollection", + bodyKey: "catalogItemCollection", + bodyModel: model.CatalogItemCollection, + type: "model.CatalogItemCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -5862,11 +5994,6 @@ export class FleetAppsManagementMaintenanceWindowClient { value: response.headers.get("opc-next-page"), key: "opcNextPage", dataType: "string" - }, - { - value: response.headers.get("opc-total-items"), - key: "opcTotalItems", - dataType: "number" } ] }); @@ -5878,50 +6005,48 @@ export class FleetAppsManagementMaintenanceWindowClient { } /** - * Update a maintenance window in Fleet Application Management. + * Updates a CatalogItem. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateMaintenanceWindowRequest - * @return UpdateMaintenanceWindowResponse + * @param UpdateCatalogItemRequest + * @return UpdateCatalogItemResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateMaintenanceWindow.ts.html |here} to see how to use UpdateMaintenanceWindow API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateCatalogItem.ts.html |here} to see how to use UpdateCatalogItem API. */ - public async updateMaintenanceWindow( - updateMaintenanceWindowRequest: requests.UpdateMaintenanceWindowRequest - ): Promise { + public async updateCatalogItem( + updateCatalogItemRequest: requests.UpdateCatalogItemRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementMaintenanceWindowClient#updateMaintenanceWindow." - ); - const operationName = "updateMaintenanceWindow"; + this.logger.debug("Calling operation FleetAppsManagementCatalogClient#updateCatalogItem."); + const operationName = "updateCatalogItem"; const apiReferenceLink = ""; const pathParams = { - "{maintenanceWindowId}": updateMaintenanceWindowRequest.maintenanceWindowId + "{catalogItemId}": updateCatalogItemRequest.catalogItemId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateMaintenanceWindowRequest.ifMatch, - "opc-request-id": updateMaintenanceWindowRequest.opcRequestId + "if-match": updateCatalogItemRequest.ifMatch, + "opc-request-id": updateCatalogItemRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateMaintenanceWindowRequest.retryConfiguration, + updateCatalogItemRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/maintenanceWindows/{maintenanceWindowId}", + path: "/catalogItems/{catalogItemId}", method: "PUT", bodyContent: common.ObjectSerializer.serialize( - updateMaintenanceWindowRequest.updateMaintenanceWindowDetails, - "UpdateMaintenanceWindowDetails", - model.UpdateMaintenanceWindowDetails.getJsonObj + updateCatalogItemRequest.updateCatalogItemDetails, + "UpdateCatalogItemDetails", + model.UpdateCatalogItemDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -5936,7 +6061,7 @@ export class FleetAppsManagementMaintenanceWindowClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -5957,22 +6082,22 @@ export class FleetAppsManagementMaintenanceWindowClient { } } } -export enum FleetAppsManagementOperationsApiKeys {} +export enum FleetAppsManagementMaintenanceWindowApiKeys {} /** * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. */ -export class FleetAppsManagementOperationsClient { +export class FleetAppsManagementMaintenanceWindowClient { protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; protected static endpointServiceName = ""; protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; protected "_endpoint": string = ""; protected "_defaultHeaders": any = {}; - protected "_waiters": FleetAppsManagementOperationsWaiter; + protected "_waiters": FleetAppsManagementMaintenanceWindowWaiter; protected "_clientConfiguration": common.ClientConfiguration; protected _circuitBreaker: typeof Breaker | null = null; protected _httpOptions: any = undefined; protected _bodyDuplexMode: any = undefined; - public targetService = "FleetAppsManagementOperations"; + public targetService = "FleetAppsManagementMaintenanceWindow"; protected _regionId: string = ""; protected "_region": common.Region; protected _lastSetRegionOrRegionId: string = ""; @@ -6046,9 +6171,11 @@ export class FleetAppsManagementOperationsClient { */ public set endpoint(endpoint: string) { this._endpoint = endpoint; - this._endpoint = this._endpoint + "/20230831"; + this._endpoint = this._endpoint + "/20250228"; if (this.logger) - this.logger.info(`FleetAppsManagementOperationsClient endpoint set to ${this._endpoint}`); + this.logger.info( + `FleetAppsManagementMaintenanceWindowClient endpoint set to ${this._endpoint}` + ); } public get logger() { @@ -6068,15 +6195,15 @@ export class FleetAppsManagementOperationsClient { ); if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementOperationsClient.serviceEndpointTemplate, + FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, this._region, - FleetAppsManagementOperationsClient.endpointServiceName + FleetAppsManagementMaintenanceWindowClient.endpointServiceName ); } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementOperationsClient.serviceEndpointTemplate, + FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, this._regionId, - FleetAppsManagementOperationsClient.endpointServiceName + FleetAppsManagementMaintenanceWindowClient.endpointServiceName ); } } @@ -6089,9 +6216,9 @@ export class FleetAppsManagementOperationsClient { public set region(region: common.Region) { this._region = region; this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementOperationsClient.serviceEndpointTemplate, + FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, region, - FleetAppsManagementOperationsClient.endpointServiceName + FleetAppsManagementMaintenanceWindowClient.endpointServiceName ); this._lastSetRegionOrRegionId = common.Region.REGION_STRING; } @@ -6107,21 +6234,23 @@ export class FleetAppsManagementOperationsClient { public set regionId(regionId: string) { this._regionId = regionId; this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementOperationsClient.serviceEndpointTemplate, + FleetAppsManagementMaintenanceWindowClient.serviceEndpointTemplate, regionId, - FleetAppsManagementOperationsClient.endpointServiceName + FleetAppsManagementMaintenanceWindowClient.endpointServiceName ); this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; } /** - * Creates a new FleetAppsManagementOperationsWaiter for resources for this service. + * Creates a new FleetAppsManagementMaintenanceWindowWaiter for resources for this service. * * @param config The waiter configuration for termination and delay strategy * @return The service waiters. */ - public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementOperationsWaiter { - this._waiters = new FleetAppsManagementOperationsWaiter(this, config); + public createWaiters( + config?: common.WaiterConfiguration + ): FleetAppsManagementMaintenanceWindowWaiter { + this._waiters = new FleetAppsManagementMaintenanceWindowWaiter(this, config); return this._waiters; } @@ -6130,7 +6259,7 @@ export class FleetAppsManagementOperationsClient { * * @return The service waiters. */ - public getWaiters(): FleetAppsManagementOperationsWaiter { + public getWaiters(): FleetAppsManagementMaintenanceWindowWaiter { if (this._waiters) { return this._waiters; } @@ -6167,20 +6296,22 @@ export class FleetAppsManagementOperationsClient { } /** - * Creates a new Patch. + * Create a maintenance window in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreatePatchRequest - * @return CreatePatchResponse + * @param CreateMaintenanceWindowRequest + * @return CreateMaintenanceWindowResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreatePatch.ts.html |here} to see how to use CreatePatch API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateMaintenanceWindow.ts.html |here} to see how to use CreateMaintenanceWindow API. */ - public async createPatch( - createPatchRequest: requests.CreatePatchRequest - ): Promise { + public async createMaintenanceWindow( + createMaintenanceWindowRequest: requests.CreateMaintenanceWindowRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#createPatch."); - const operationName = "createPatch"; + this.logger.debug( + "Calling operation FleetAppsManagementMaintenanceWindowClient#createMaintenanceWindow." + ); + const operationName = "createMaintenanceWindow"; const apiReferenceLink = ""; const pathParams = {}; @@ -6188,26 +6319,26 @@ export class FleetAppsManagementOperationsClient { let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createPatchRequest.opcRetryToken, - "opc-request-id": createPatchRequest.opcRequestId + "opc-retry-token": createMaintenanceWindowRequest.opcRetryToken, + "opc-request-id": createMaintenanceWindowRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createPatchRequest.retryConfiguration, + createMaintenanceWindowRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/patches", + path: "/maintenanceWindows", method: "POST", bodyContent: common.ObjectSerializer.serialize( - createPatchRequest.createPatchDetails, - "CreatePatchDetails", - model.CreatePatchDetails.getJsonObj + createMaintenanceWindowRequest.createMaintenanceWindowDetails, + "CreateMaintenanceWindowDetails", + model.CreateMaintenanceWindowDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -6222,11 +6353,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "patch", - bodyModel: model.Patch, - type: "model.Patch", + bodyKey: "maintenanceWindow", + bodyModel: model.MaintenanceWindow, + type: "model.MaintenanceWindow", responseHeaders: [ { value: response.headers.get("etag"), @@ -6248,50 +6379,46 @@ export class FleetAppsManagementOperationsClient { } /** - * Create a SchedulerDefinition to perform lifecycle operations. - * + * Delete a maintenance window in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateSchedulerDefinitionRequest - * @return CreateSchedulerDefinitionResponse + * @param DeleteMaintenanceWindowRequest + * @return DeleteMaintenanceWindowResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateSchedulerDefinition.ts.html |here} to see how to use CreateSchedulerDefinition API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteMaintenanceWindow.ts.html |here} to see how to use DeleteMaintenanceWindow API. */ - public async createSchedulerDefinition( - createSchedulerDefinitionRequest: requests.CreateSchedulerDefinitionRequest - ): Promise { + public async deleteMaintenanceWindow( + deleteMaintenanceWindowRequest: requests.DeleteMaintenanceWindowRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#createSchedulerDefinition." + "Calling operation FleetAppsManagementMaintenanceWindowClient#deleteMaintenanceWindow." ); - const operationName = "createSchedulerDefinition"; + const operationName = "deleteMaintenanceWindow"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{maintenanceWindowId}": deleteMaintenanceWindowRequest.maintenanceWindowId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createSchedulerDefinitionRequest.opcRetryToken, - "opc-request-id": createSchedulerDefinitionRequest.opcRequestId + "if-match": deleteMaintenanceWindowRequest.ifMatch, + "opc-request-id": deleteMaintenanceWindowRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createSchedulerDefinitionRequest.retryConfiguration, + deleteMaintenanceWindowRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerDefinitions", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createSchedulerDefinitionRequest.createSchedulerDefinitionDetails, - "CreateSchedulerDefinitionDetails", - model.CreateSchedulerDefinitionDetails.getJsonObj - ), + path: "/maintenanceWindows/{maintenanceWindowId}", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6305,27 +6432,8 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "schedulerDefinition", - bodyModel: model.SchedulerDefinition, - type: "model.SchedulerDefinition", + responseObject: {}, responseHeaders: [ - { - value: response.headers.get("location"), - key: "location", - dataType: "string" - }, - { - value: response.headers.get("content-location"), - key: "contentLocation", - dataType: "string" - }, - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, { value: response.headers.get("opc-work-request-id"), key: "opcWorkRequestId", @@ -6346,44 +6454,45 @@ export class FleetAppsManagementOperationsClient { } /** - * Deletes a Patch resource by identifier + * Get the details for a maintenance window in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeletePatchRequest - * @return DeletePatchResponse + * @param GetMaintenanceWindowRequest + * @return GetMaintenanceWindowResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeletePatch.ts.html |here} to see how to use DeletePatch API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetMaintenanceWindow.ts.html |here} to see how to use GetMaintenanceWindow API. */ - public async deletePatch( - deletePatchRequest: requests.DeletePatchRequest - ): Promise { + public async getMaintenanceWindow( + getMaintenanceWindowRequest: requests.GetMaintenanceWindowRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#deletePatch."); - const operationName = "deletePatch"; + this.logger.debug( + "Calling operation FleetAppsManagementMaintenanceWindowClient#getMaintenanceWindow." + ); + const operationName = "getMaintenanceWindow"; const apiReferenceLink = ""; const pathParams = { - "{patchId}": deletePatchRequest.patchId + "{maintenanceWindowId}": getMaintenanceWindowRequest.maintenanceWindowId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deletePatchRequest.ifMatch, - "opc-request-id": deletePatchRequest.opcRequestId + "opc-request-id": getMaintenanceWindowRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deletePatchRequest.retryConfiguration, + getMaintenanceWindowRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/patches/{patchId}", - method: "DELETE", + path: "/maintenanceWindows/{maintenanceWindowId}", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6397,11 +6506,15 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "maintenanceWindow", + bodyModel: model.MaintenanceWindow, + type: "model.MaintenanceWindow", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { @@ -6419,46 +6532,56 @@ export class FleetAppsManagementOperationsClient { } /** - * Deletes a SchedulerDefinition resource by identifier + * Returns a list of all the Maintenance Windows in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteSchedulerDefinitionRequest - * @return DeleteSchedulerDefinitionResponse + * @param ListMaintenanceWindowsRequest + * @return ListMaintenanceWindowsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteSchedulerDefinition.ts.html |here} to see how to use DeleteSchedulerDefinition API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListMaintenanceWindows.ts.html |here} to see how to use ListMaintenanceWindows API. */ - public async deleteSchedulerDefinition( - deleteSchedulerDefinitionRequest: requests.DeleteSchedulerDefinitionRequest - ): Promise { + public async listMaintenanceWindows( + listMaintenanceWindowsRequest: requests.ListMaintenanceWindowsRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#deleteSchedulerDefinition." + "Calling operation FleetAppsManagementMaintenanceWindowClient#listMaintenanceWindows." ); - const operationName = "deleteSchedulerDefinition"; + const operationName = "listMaintenanceWindows"; const apiReferenceLink = ""; - const pathParams = { - "{schedulerDefinitionId}": deleteSchedulerDefinitionRequest.schedulerDefinitionId - }; + const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listMaintenanceWindowsRequest.compartmentId, + "lifecycleState": listMaintenanceWindowsRequest.lifecycleState, + "displayName": listMaintenanceWindowsRequest.displayName, + "timeScheduleStartGreaterThanOrEqualTo": + listMaintenanceWindowsRequest.timeScheduleStartGreaterThanOrEqualTo, + "id": listMaintenanceWindowsRequest.id, + "limit": listMaintenanceWindowsRequest.limit, + "page": listMaintenanceWindowsRequest.page, + "sortOrder": listMaintenanceWindowsRequest.sortOrder, + "sortBy": listMaintenanceWindowsRequest.sortBy + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteSchedulerDefinitionRequest.ifMatch, - "opc-request-id": deleteSchedulerDefinitionRequest.opcRequestId + "opc-request-id": listMaintenanceWindowsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteSchedulerDefinitionRequest.retryConfiguration, + listMaintenanceWindowsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerDefinitions/{schedulerDefinitionId}", - method: "DELETE", + path: "/maintenanceWindows", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6472,12 +6595,26 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "maintenanceWindowCollection", + bodyModel: model.MaintenanceWindowCollection, + type: "model.MaintenanceWindowCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-total-items"), + key: "opcTotalItems", + dataType: "number" } ] }); @@ -6489,46 +6626,51 @@ export class FleetAppsManagementOperationsClient { } /** - * Delete a lifecycle operation schedule in Fleet Application Management. + * Update a maintenance window in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteSchedulerJobRequest - * @return DeleteSchedulerJobResponse + * @param UpdateMaintenanceWindowRequest + * @return UpdateMaintenanceWindowResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteSchedulerJob.ts.html |here} to see how to use DeleteSchedulerJob API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateMaintenanceWindow.ts.html |here} to see how to use UpdateMaintenanceWindow API. */ - public async deleteSchedulerJob( - deleteSchedulerJobRequest: requests.DeleteSchedulerJobRequest - ): Promise { + public async updateMaintenanceWindow( + updateMaintenanceWindowRequest: requests.UpdateMaintenanceWindowRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#deleteSchedulerJob." + "Calling operation FleetAppsManagementMaintenanceWindowClient#updateMaintenanceWindow." ); - const operationName = "deleteSchedulerJob"; + const operationName = "updateMaintenanceWindow"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": deleteSchedulerJobRequest.schedulerJobId + "{maintenanceWindowId}": updateMaintenanceWindowRequest.maintenanceWindowId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteSchedulerJobRequest.ifMatch, - "opc-request-id": deleteSchedulerJobRequest.opcRequestId + "if-match": updateMaintenanceWindowRequest.ifMatch, + "opc-request-id": updateMaintenanceWindowRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteSchedulerJobRequest.retryConfiguration, + updateMaintenanceWindowRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}", - method: "DELETE", + path: "/maintenanceWindows/{maintenanceWindowId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateMaintenanceWindowRequest.updateMaintenanceWindowDetails, + "UpdateMaintenanceWindowDetails", + model.UpdateMaintenanceWindowDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6542,8 +6684,13 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", @@ -6557,52 +6704,264 @@ export class FleetAppsManagementOperationsClient { throw err; } } +} +export enum FleetAppsManagementOperationsApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class FleetAppsManagementOperationsClient { + protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": FleetAppsManagementOperationsWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "FleetAppsManagementOperations"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; - /** - * Generate Compliance Report - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ExportComplianceReportRequest - * @return ExportComplianceReportResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ExportComplianceReport.ts.html |here} to see how to use ExportComplianceReport API. - */ - public async exportComplianceReport( - exportComplianceReportRequest: requests.ExportComplianceReportRequest - ): Promise { - if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#exportComplianceReport." - ); - const operationName = "exportComplianceReport"; - const apiReferenceLink = ""; - const pathParams = {}; + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("fleetappsmanagement")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("fleetappsmanagement"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250228"; + if (this.logger) + this.logger.info(`FleetAppsManagementOperationsClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementOperationsClient.serviceEndpointTemplate, + this._region, + FleetAppsManagementOperationsClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementOperationsClient.serviceEndpointTemplate, + this._regionId, + FleetAppsManagementOperationsClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementOperationsClient.serviceEndpointTemplate, + region, + FleetAppsManagementOperationsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementOperationsClient.serviceEndpointTemplate, + regionId, + FleetAppsManagementOperationsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new FleetAppsManagementOperationsWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementOperationsWaiter { + this._waiters = new FleetAppsManagementOperationsWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): FleetAppsManagementOperationsWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves a Patch into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangePatchCompartmentRequest + * @return ChangePatchCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePatchCompartment.ts.html |here} to see how to use ChangePatchCompartment API. + */ + public async changePatchCompartment( + changePatchCompartmentRequest: requests.ChangePatchCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#changePatchCompartment." + ); + const operationName = "changePatchCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{patchId}": changePatchCompartmentRequest.patchId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": exportComplianceReportRequest.opcRetryToken, - "if-match": exportComplianceReportRequest.ifMatch, - "opc-request-id": exportComplianceReportRequest.opcRequestId + "if-match": changePatchCompartmentRequest.ifMatch, + "opc-request-id": changePatchCompartmentRequest.opcRequestId, + "opc-retry-token": changePatchCompartmentRequest.opcRetryToken }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - exportComplianceReportRequest.retryConfiguration, + changePatchCompartmentRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/complianceRecords/actions/exportComplianceReport", + path: "/patches/{patchId}/actions/changeCompartment", method: "POST", bodyContent: common.ObjectSerializer.serialize( - exportComplianceReportRequest.exportComplianceReportDetails, - "ExportComplianceReportDetails", - model.ExportComplianceReportDetails.getJsonObj + changePatchCompartmentRequest.changePatchCompartmentDetails, + "ChangePatchCompartmentDetails", + model.ChangePatchCompartmentDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -6617,31 +6976,17 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - - body: response.body!, - bodyKey: "value", - bodyModel: "string", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" - }, - { - value: response.headers.get("content-length"), - key: "contentLength", - dataType: "number" - }, - { - value: response.headers.get("content-type"), - key: "contentType", - dataType: "string" } ] }); @@ -6653,47 +6998,48 @@ export class FleetAppsManagementOperationsClient { } /** - * Get Task Execution by Identifier for a Resource within an action group. + * Creates a new Patch. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetExecutionRequest - * @return GetExecutionResponse + * @param CreatePatchRequest + * @return CreatePatchResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetExecution.ts.html |here} to see how to use GetExecution API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreatePatch.ts.html |here} to see how to use CreatePatch API. */ - public async getExecution( - getExecutionRequest: requests.GetExecutionRequest - ): Promise { + public async createPatch( + createPatchRequest: requests.CreatePatchRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getExecution."); - const operationName = "getExecution"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#createPatch."); + const operationName = "createPatch"; const apiReferenceLink = ""; - const pathParams = { - "{schedulerJobId}": getExecutionRequest.schedulerJobId, - "{jobActivityId}": getExecutionRequest.jobActivityId, - "{resourceId}": getExecutionRequest.resourceId, - "{executionId}": getExecutionRequest.executionId - }; + const pathParams = {}; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getExecutionRequest.opcRequestId + "opc-retry-token": createPatchRequest.opcRetryToken, + "opc-request-id": createPatchRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getExecutionRequest.retryConfiguration, + createPatchRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: - "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources/{resourceId}/executions/{executionId}", - method: "GET", + path: "/patches", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createPatchRequest.createPatchDetails, + "CreatePatchDetails", + model.CreatePatchDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6707,11 +7053,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "execution", - bodyModel: model.Execution, - type: "model.Execution", + bodyKey: "patch", + bodyModel: model.Patch, + type: "model.Patch", responseHeaders: [ { value: response.headers.get("etag"), @@ -6733,44 +7079,50 @@ export class FleetAppsManagementOperationsClient { } /** - * Gets activity details by identifier for a job. + * Create a SchedulerDefinition to perform lifecycle operations. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetJobActivityRequest - * @return GetJobActivityResponse + * @param CreateSchedulerDefinitionRequest + * @return CreateSchedulerDefinitionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetJobActivity.ts.html |here} to see how to use GetJobActivity API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateSchedulerDefinition.ts.html |here} to see how to use CreateSchedulerDefinition API. */ - public async getJobActivity( - getJobActivityRequest: requests.GetJobActivityRequest - ): Promise { + public async createSchedulerDefinition( + createSchedulerDefinitionRequest: requests.CreateSchedulerDefinitionRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getJobActivity."); - const operationName = "getJobActivity"; + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#createSchedulerDefinition." + ); + const operationName = "createSchedulerDefinition"; const apiReferenceLink = ""; - const pathParams = { - "{schedulerJobId}": getJobActivityRequest.schedulerJobId, - "{jobActivityId}": getJobActivityRequest.jobActivityId - }; + const pathParams = {}; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getJobActivityRequest.opcRequestId + "opc-retry-token": createSchedulerDefinitionRequest.opcRetryToken, + "opc-request-id": createSchedulerDefinitionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getJobActivityRequest.retryConfiguration, + createSchedulerDefinitionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}", - method: "GET", + path: "/schedulerDefinitions", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createSchedulerDefinitionRequest.createSchedulerDefinitionDetails, + "CreateSchedulerDefinitionDetails", + model.CreateSchedulerDefinitionDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6784,17 +7136,32 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "jobActivity", - bodyModel: model.JobActivity, - type: "model.JobActivity", + bodyKey: "schedulerDefinition", + bodyModel: model.SchedulerDefinition, + type: "model.SchedulerDefinition", responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, { value: response.headers.get("etag"), key: "etag", dataType: "string" }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", @@ -6810,35 +7177,36 @@ export class FleetAppsManagementOperationsClient { } /** - * Gets a Patch by identifier + * Deletes the patch specified by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetPatchRequest - * @return GetPatchResponse + * @param DeletePatchRequest + * @return DeletePatchResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetPatch.ts.html |here} to see how to use GetPatch API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeletePatch.ts.html |here} to see how to use DeletePatch API. */ - public async getPatch( - getPatchRequest: requests.GetPatchRequest - ): Promise { + public async deletePatch( + deletePatchRequest: requests.DeletePatchRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getPatch."); - const operationName = "getPatch"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#deletePatch."); + const operationName = "deletePatch"; const apiReferenceLink = ""; const pathParams = { - "{patchId}": getPatchRequest.patchId + "{patchId}": deletePatchRequest.patchId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getPatchRequest.opcRequestId + "if-match": deletePatchRequest.ifMatch, + "opc-request-id": deletePatchRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getPatchRequest.retryConfiguration, + deletePatchRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; @@ -6846,7 +7214,7 @@ export class FleetAppsManagementOperationsClient { baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, path: "/patches/{patchId}", - method: "GET", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6860,15 +7228,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "patch", - bodyModel: model.Patch, - type: "model.Patch", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -6886,37 +7250,38 @@ export class FleetAppsManagementOperationsClient { } /** - * Get the details of a SchedulerDefinition that performs lifecycle management operations. + * Deletes a SchedulerDefinition resource by identifier * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetSchedulerDefinitionRequest - * @return GetSchedulerDefinitionResponse + * @param DeleteSchedulerDefinitionRequest + * @return DeleteSchedulerDefinitionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetSchedulerDefinition.ts.html |here} to see how to use GetSchedulerDefinition API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteSchedulerDefinition.ts.html |here} to see how to use DeleteSchedulerDefinition API. */ - public async getSchedulerDefinition( - getSchedulerDefinitionRequest: requests.GetSchedulerDefinitionRequest - ): Promise { + public async deleteSchedulerDefinition( + deleteSchedulerDefinitionRequest: requests.DeleteSchedulerDefinitionRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#getSchedulerDefinition." + "Calling operation FleetAppsManagementOperationsClient#deleteSchedulerDefinition." ); - const operationName = "getSchedulerDefinition"; + const operationName = "deleteSchedulerDefinition"; const apiReferenceLink = ""; const pathParams = { - "{schedulerDefinitionId}": getSchedulerDefinitionRequest.schedulerDefinitionId + "{schedulerDefinitionId}": deleteSchedulerDefinitionRequest.schedulerDefinitionId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getSchedulerDefinitionRequest.opcRequestId + "if-match": deleteSchedulerDefinitionRequest.ifMatch, + "opc-request-id": deleteSchedulerDefinitionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getSchedulerDefinitionRequest.retryConfiguration, + deleteSchedulerDefinitionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; @@ -6924,7 +7289,7 @@ export class FleetAppsManagementOperationsClient { baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, path: "/schedulerDefinitions/{schedulerDefinitionId}", - method: "GET", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -6938,17 +7303,8 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "schedulerDefinition", - bodyModel: model.SchedulerDefinition, - type: "model.SchedulerDefinition", + responseObject: {}, responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", @@ -6964,35 +7320,38 @@ export class FleetAppsManagementOperationsClient { } /** - * Get the details of a lifecycle management operations job in Fleet Application Management. + * Deletes the schedule job specified by an identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetSchedulerJobRequest - * @return GetSchedulerJobResponse + * @param DeleteSchedulerJobRequest + * @return DeleteSchedulerJobResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetSchedulerJob.ts.html |here} to see how to use GetSchedulerJob API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteSchedulerJob.ts.html |here} to see how to use DeleteSchedulerJob API. */ - public async getSchedulerJob( - getSchedulerJobRequest: requests.GetSchedulerJobRequest - ): Promise { + public async deleteSchedulerJob( + deleteSchedulerJobRequest: requests.DeleteSchedulerJobRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getSchedulerJob."); - const operationName = "getSchedulerJob"; + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#deleteSchedulerJob." + ); + const operationName = "deleteSchedulerJob"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": getSchedulerJobRequest.schedulerJobId + "{schedulerJobId}": deleteSchedulerJobRequest.schedulerJobId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getSchedulerJobRequest.opcRequestId + "if-match": deleteSchedulerJobRequest.ifMatch, + "opc-request-id": deleteSchedulerJobRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getSchedulerJobRequest.retryConfiguration, + deleteSchedulerJobRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; @@ -7000,7 +7359,7 @@ export class FleetAppsManagementOperationsClient { baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, path: "/schedulerJobs/{schedulerJobId}", - method: "GET", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -7014,17 +7373,8 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "schedulerJob", - bodyModel: model.SchedulerJob, - type: "model.SchedulerJob", + responseObject: {}, responseHeaders: [ - { - value: response.headers.get("etag"), - key: "etag", - dataType: "string" - }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", @@ -7040,56 +7390,51 @@ export class FleetAppsManagementOperationsClient { } /** - * Gets a list of complianceDetails. + * Generate Compliance Report * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListComplianceRecordsRequest - * @return ListComplianceRecordsResponse + * @param ExportComplianceReportRequest + * @return ExportComplianceReportResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListComplianceRecords.ts.html |here} to see how to use ListComplianceRecords API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ExportComplianceReport.ts.html |here} to see how to use ExportComplianceReport API. */ - public async listComplianceRecords( - listComplianceRecordsRequest: requests.ListComplianceRecordsRequest - ): Promise { + public async exportComplianceReport( + exportComplianceReportRequest: requests.ExportComplianceReportRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#listComplianceRecords." + "Calling operation FleetAppsManagementOperationsClient#exportComplianceReport." ); - const operationName = "listComplianceRecords"; + const operationName = "exportComplianceReport"; const apiReferenceLink = ""; const pathParams = {}; - const queryParams = { - "compartmentId": listComplianceRecordsRequest.compartmentId, - "resourceId": listComplianceRecordsRequest.resourceId, - "entityId": listComplianceRecordsRequest.entityId, - "productName": listComplianceRecordsRequest.productName, - "productStack": listComplianceRecordsRequest.productStack, - "targetName": listComplianceRecordsRequest.targetName, - "complianceState": listComplianceRecordsRequest.complianceState, - "limit": listComplianceRecordsRequest.limit, - "page": listComplianceRecordsRequest.page, - "sortOrder": listComplianceRecordsRequest.sortOrder, - "sortBy": listComplianceRecordsRequest.sortBy - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listComplianceRecordsRequest.opcRequestId + "opc-retry-token": exportComplianceReportRequest.opcRetryToken, + "if-match": exportComplianceReportRequest.ifMatch, + "opc-request-id": exportComplianceReportRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listComplianceRecordsRequest.retryConfiguration, + exportComplianceReportRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/complianceRecords", - method: "GET", + path: "/complianceRecords/actions/exportComplianceReport", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + exportComplianceReportRequest.exportComplianceReportDetails, + "ExportComplianceReportDetails", + model.ExportComplianceReportDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -7103,20 +7448,30 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "complianceRecordCollection", - bodyModel: model.ComplianceRecordCollection, - type: "model.ComplianceRecordCollection", + responseObject: {}, + + body: response.body!, + bodyKey: "value", + bodyModel: "string", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("content-length"), + key: "contentLength", + dataType: "number" + }, + { + value: response.headers.get("content-type"), + key: "contentType", dataType: "string" } ] @@ -7129,46 +7484,38 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of Task Executions for a Resource. + * Get Task Execution by Identifier for a Resource within an action group. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListExecutionsRequest - * @return ListExecutionsResponse + * @param GetExecutionRequest + * @return GetExecutionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListExecutions.ts.html |here} to see how to use ListExecutions API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetExecution.ts.html |here} to see how to use GetExecution API. */ - public async listExecutions( - listExecutionsRequest: requests.ListExecutionsRequest - ): Promise { + public async getExecution( + getExecutionRequest: requests.GetExecutionRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listExecutions."); - const operationName = "listExecutions"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getExecution."); + const operationName = "getExecution"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": listExecutionsRequest.schedulerJobId, - "{jobActivityId}": listExecutionsRequest.jobActivityId, - "{resourceId}": listExecutionsRequest.resourceId + "{schedulerJobId}": getExecutionRequest.schedulerJobId, + "{jobActivityId}": getExecutionRequest.jobActivityId, + "{resourceId}": getExecutionRequest.resourceId, + "{executionId}": getExecutionRequest.executionId }; - const queryParams = { - "resourceTaskId": listExecutionsRequest.resourceTaskId, - "stepName": listExecutionsRequest.stepName, - "targetName": listExecutionsRequest.targetName, - "sequence": listExecutionsRequest.sequence, - "limit": listExecutionsRequest.limit, - "page": listExecutionsRequest.page, - "sortOrder": listExecutionsRequest.sortOrder, - "sortBy": listExecutionsRequest.sortBy - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listExecutionsRequest.opcRequestId + "opc-request-id": getExecutionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listExecutionsRequest.retryConfiguration, + getExecutionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; @@ -7176,7 +7523,7 @@ export class FleetAppsManagementOperationsClient { baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, path: - "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources/{resourceId}/executions", + "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources/{resourceId}/executions/{executionId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7191,20 +7538,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "executionCollection", - bodyModel: model.ExecutionCollection, - type: "model.ExecutionCollection", + bodyKey: "execution", + bodyModel: model.Execution, + type: "model.Execution", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7217,58 +7564,43 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of Patches. - * + * Gets activity details by identifier for a job. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListPatchesRequest - * @return ListPatchesResponse + * @param GetJobActivityRequest + * @return GetJobActivityResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListPatches.ts.html |here} to see how to use ListPatches API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetJobActivity.ts.html |here} to see how to use GetJobActivity API. */ - public async listPatches( - listPatchesRequest: requests.ListPatchesRequest - ): Promise { + public async getJobActivity( + getJobActivityRequest: requests.GetJobActivityRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listPatches."); - const operationName = "listPatches"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getJobActivity."); + const operationName = "getJobActivity"; const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listPatchesRequest.compartmentId, - "productId": listPatchesRequest.productId, - "version": listPatchesRequest.version, - "type": listPatchesRequest.type, - "patchTypeId": listPatchesRequest.patchTypeId, - "name": listPatchesRequest.name, - "id": listPatchesRequest.id, - "timeReleasedGreaterThanOrEqualTo": listPatchesRequest.timeReleasedGreaterThanOrEqualTo, - "timeReleasedLessThan": listPatchesRequest.timeReleasedLessThan, - "shouldCompliancePolicyRulesBeApplied": - listPatchesRequest.shouldCompliancePolicyRulesBeApplied, - "limit": listPatchesRequest.limit, - "page": listPatchesRequest.page, - "lifecycleState": listPatchesRequest.lifecycleState, - "sortBy": listPatchesRequest.sortBy, - "sortOrder": listPatchesRequest.sortOrder + const pathParams = { + "{schedulerJobId}": getJobActivityRequest.schedulerJobId, + "{jobActivityId}": getJobActivityRequest.jobActivityId }; + const queryParams = {}; + let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listPatchesRequest.opcRequestId + "opc-request-id": getJobActivityRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listPatchesRequest.retryConfiguration, + getJobActivityRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/patches", + path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7283,20 +7615,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "patchCollection", - bodyModel: model.PatchCollection, - type: "model.PatchCollection", + bodyKey: "jobActivity", + bodyModel: model.JobActivity, + type: "model.JobActivity", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7309,52 +7641,42 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of resources for an Activity Execution. + * Gets a Patch by identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListResourcesRequest - * @return ListResourcesResponse + * @param GetPatchRequest + * @return GetPatchResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListResources.ts.html |here} to see how to use ListResources API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetPatch.ts.html |here} to see how to use GetPatch API. */ - public async listResources( - listResourcesRequest: requests.ListResourcesRequest - ): Promise { + public async getPatch( + getPatchRequest: requests.GetPatchRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listResources."); - const operationName = "listResources"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getPatch."); + const operationName = "getPatch"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": listResourcesRequest.schedulerJobId, - "{jobActivityId}": listResourcesRequest.jobActivityId + "{patchId}": getPatchRequest.patchId }; - const queryParams = { - "resourceTaskId": listResourcesRequest.resourceTaskId, - "stepName": listResourcesRequest.stepName, - "targetName": listResourcesRequest.targetName, - "sequence": listResourcesRequest.sequence, - "limit": listResourcesRequest.limit, - "page": listResourcesRequest.page, - "sortOrder": listResourcesRequest.sortOrder, - "sortBy": listResourcesRequest.sortBy - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listResourcesRequest.opcRequestId + "opc-request-id": getPatchRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listResourcesRequest.retryConfiguration, + getPatchRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources", + path: "/patches/{patchId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7369,20 +7691,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "resourceCollection", - bodyModel: model.ResourceCollection, - type: "model.ResourceCollection", + bodyKey: "patch", + bodyModel: model.Patch, + type: "model.Patch", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7395,52 +7717,44 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of ScheduledFleets. - * + * Get the details of a SchedulerDefinition that performs lifecycle management operations. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListScheduledFleetsRequest - * @return ListScheduledFleetsResponse + * @param GetSchedulerDefinitionRequest + * @return GetSchedulerDefinitionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListScheduledFleets.ts.html |here} to see how to use ListScheduledFleets API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetSchedulerDefinition.ts.html |here} to see how to use GetSchedulerDefinition API. */ - public async listScheduledFleets( - listScheduledFleetsRequest: requests.ListScheduledFleetsRequest - ): Promise { + public async getSchedulerDefinition( + getSchedulerDefinitionRequest: requests.GetSchedulerDefinitionRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#listScheduledFleets." + "Calling operation FleetAppsManagementOperationsClient#getSchedulerDefinition." ); - const operationName = "listScheduledFleets"; + const operationName = "getSchedulerDefinition"; const apiReferenceLink = ""; const pathParams = { - "{schedulerDefinitionId}": listScheduledFleetsRequest.schedulerDefinitionId + "{schedulerDefinitionId}": getSchedulerDefinitionRequest.schedulerDefinitionId }; - const queryParams = { - "compartmentId": listScheduledFleetsRequest.compartmentId, - "displayName": listScheduledFleetsRequest.displayName, - "limit": listScheduledFleetsRequest.limit, - "page": listScheduledFleetsRequest.page, - "sortOrder": listScheduledFleetsRequest.sortOrder, - "sortBy": listScheduledFleetsRequest.sortBy - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listScheduledFleetsRequest.opcRequestId + "opc-request-id": getSchedulerDefinitionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listScheduledFleetsRequest.retryConfiguration, + getSchedulerDefinitionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerDefinitions/{schedulerDefinitionId}/scheduledFleets", + path: "/schedulerDefinitions/{schedulerDefinitionId}", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7455,20 +7769,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "scheduledFleetCollection", - bodyModel: model.ScheduledFleetCollection, - type: "model.ScheduledFleetCollection", + bodyKey: "schedulerDefinition", + bodyModel: model.SchedulerDefinition, + type: "model.SchedulerDefinition", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7481,56 +7795,132 @@ export class FleetAppsManagementOperationsClient { } /** - * List all lifecycle management schedules in Fleet Application Management. - * + * Get the details of a lifecycle management operations job in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListSchedulerDefinitionsRequest - * @return ListSchedulerDefinitionsResponse + * @param GetSchedulerJobRequest + * @return GetSchedulerJobResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerDefinitions.ts.html |here} to see how to use ListSchedulerDefinitions API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetSchedulerJob.ts.html |here} to see how to use GetSchedulerJob API. */ - public async listSchedulerDefinitions( - listSchedulerDefinitionsRequest: requests.ListSchedulerDefinitionsRequest - ): Promise { + public async getSchedulerJob( + getSchedulerJobRequest: requests.GetSchedulerJobRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#listSchedulerDefinitions." + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#getSchedulerJob."); + const operationName = "getSchedulerJob"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": getSchedulerJobRequest.schedulerJobId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getSchedulerJobRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getSchedulerJobRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink ); - const operationName = "listSchedulerDefinitions"; + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerJob", + bodyModel: model.SchedulerJob, + type: "model.SchedulerJob", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of complianceDetails. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListComplianceRecordsRequest + * @return ListComplianceRecordsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListComplianceRecords.ts.html |here} to see how to use ListComplianceRecords API. + */ + public async listComplianceRecords( + listComplianceRecordsRequest: requests.ListComplianceRecordsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listComplianceRecords." + ); + const operationName = "listComplianceRecords"; const apiReferenceLink = ""; const pathParams = {}; const queryParams = { - "compartmentId": listSchedulerDefinitionsRequest.compartmentId, - "lifecycleState": listSchedulerDefinitionsRequest.lifecycleState, - "displayName": listSchedulerDefinitionsRequest.displayName, - "product": listSchedulerDefinitionsRequest.product, - "id": listSchedulerDefinitionsRequest.id, - "maintenanceWindowId": listSchedulerDefinitionsRequest.maintenanceWindowId, - "runbookId": listSchedulerDefinitionsRequest.runbookId, - "fleetId": listSchedulerDefinitionsRequest.fleetId, - "limit": listSchedulerDefinitionsRequest.limit, - "page": listSchedulerDefinitionsRequest.page, - "sortOrder": listSchedulerDefinitionsRequest.sortOrder, - "sortBy": listSchedulerDefinitionsRequest.sortBy + "compartmentId": listComplianceRecordsRequest.compartmentId, + "resourceId": listComplianceRecordsRequest.resourceId, + "entityId": listComplianceRecordsRequest.entityId, + "productName": listComplianceRecordsRequest.productName, + "productStack": listComplianceRecordsRequest.productStack, + "targetName": listComplianceRecordsRequest.targetName, + "complianceState": listComplianceRecordsRequest.complianceState, + "compartmentIdInSubtree": listComplianceRecordsRequest.compartmentIdInSubtree, + "limit": listComplianceRecordsRequest.limit, + "page": listComplianceRecordsRequest.page, + "sortOrder": listComplianceRecordsRequest.sortOrder, + "sortBy": listComplianceRecordsRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listSchedulerDefinitionsRequest.opcRequestId + "opc-request-id": listComplianceRecordsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listSchedulerDefinitionsRequest.retryConfiguration, + listComplianceRecordsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerDefinitions", + path: "/complianceRecords", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7545,11 +7935,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "schedulerDefinitionCollection", - bodyModel: model.SchedulerDefinitionCollection, - type: "model.SchedulerDefinitionCollection", + bodyKey: "complianceRecordCollection", + bodyModel: model.ComplianceRecordCollection, + type: "model.ComplianceRecordCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -7560,11 +7950,6 @@ export class FleetAppsManagementOperationsClient { value: response.headers.get("opc-next-page"), key: "opcNextPage", dataType: "string" - }, - { - value: response.headers.get("opc-total-items"), - key: "opcTotalItems", - dataType: "number" } ] }); @@ -7576,57 +7961,54 @@ export class FleetAppsManagementOperationsClient { } /** - * List scheduled lifecycle operation jobs in Fleet Application Management. - * + * Returns a list of Task Executions for a Resource. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListSchedulerJobsRequest - * @return ListSchedulerJobsResponse + * @param ListExecutionsRequest + * @return ListExecutionsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerJobs.ts.html |here} to see how to use ListSchedulerJobs API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListExecutions.ts.html |here} to see how to use ListExecutions API. */ - public async listSchedulerJobs( - listSchedulerJobsRequest: requests.ListSchedulerJobsRequest - ): Promise { + public async listExecutions( + listExecutionsRequest: requests.ListExecutionsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listSchedulerJobs."); - const operationName = "listSchedulerJobs"; + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listExecutions."); + const operationName = "listExecutions"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{schedulerJobId}": listExecutionsRequest.schedulerJobId, + "{jobActivityId}": listExecutionsRequest.jobActivityId, + "{resourceId}": listExecutionsRequest.resourceId + }; const queryParams = { - "compartmentId": listSchedulerJobsRequest.compartmentId, - "lifecycleState": listSchedulerJobsRequest.lifecycleState, - "fleetId": listSchedulerJobsRequest.fleetId, - "timeScheduledGreaterThanOrEqualTo": - listSchedulerJobsRequest.timeScheduledGreaterThanOrEqualTo, - "timeScheduledLessThan": listSchedulerJobsRequest.timeScheduledLessThan, - "isRemediationJobNeeded": listSchedulerJobsRequest.isRemediationJobNeeded, - "subState": listSchedulerJobsRequest.subState, - "displayName": listSchedulerJobsRequest.displayName, - "id": listSchedulerJobsRequest.id, - "defintionId": listSchedulerJobsRequest.defintionId, - "limit": listSchedulerJobsRequest.limit, - "page": listSchedulerJobsRequest.page, - "sortOrder": listSchedulerJobsRequest.sortOrder, - "sortBy": listSchedulerJobsRequest.sortBy + "resourceTaskId": listExecutionsRequest.resourceTaskId, + "stepName": listExecutionsRequest.stepName, + "targetName": listExecutionsRequest.targetName, + "sequence": listExecutionsRequest.sequence, + "limit": listExecutionsRequest.limit, + "page": listExecutionsRequest.page, + "sortOrder": listExecutionsRequest.sortOrder, + "sortBy": listExecutionsRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listSchedulerJobsRequest.opcRequestId + "opc-request-id": listExecutionsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listSchedulerJobsRequest.retryConfiguration, + listExecutionsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs", + path: + "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources/{resourceId}/executions", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7641,11 +8023,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "schedulerJobCollection", - bodyModel: model.SchedulerJobCollection, - type: "model.SchedulerJobCollection", + bodyKey: "executionCollection", + bodyModel: model.ExecutionCollection, + type: "model.ExecutionCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -7667,52 +8049,52 @@ export class FleetAppsManagementOperationsClient { } /** - * Returns a list of Steps for an Activity Execution. + * Gets a list of inventoryDetails. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListStepsRequest - * @return ListStepsResponse + * @param ListInventoryRecordsRequest + * @return ListInventoryRecordsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSteps.ts.html |here} to see how to use ListSteps API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListInventoryRecords.ts.html |here} to see how to use ListInventoryRecords API. */ - public async listSteps( - listStepsRequest: requests.ListStepsRequest - ): Promise { + public async listInventoryRecords( + listInventoryRecordsRequest: requests.ListInventoryRecordsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listSteps."); - const operationName = "listSteps"; + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listInventoryRecords." + ); + const operationName = "listInventoryRecords"; const apiReferenceLink = ""; - const pathParams = { - "{schedulerJobId}": listStepsRequest.schedulerJobId, - "{jobActivityId}": listStepsRequest.jobActivityId - }; + const pathParams = {}; const queryParams = { - "resourceTaskId": listStepsRequest.resourceTaskId, - "stepName": listStepsRequest.stepName, - "targetName": listStepsRequest.targetName, - "sequence": listStepsRequest.sequence, - "limit": listStepsRequest.limit, - "page": listStepsRequest.page, - "sortOrder": listStepsRequest.sortOrder, - "sortBy": listStepsRequest.sortBy + "compartmentId": listInventoryRecordsRequest.compartmentId, + "compartmentIdInSubtree": listInventoryRecordsRequest.compartmentIdInSubtree, + "fleetId": listInventoryRecordsRequest.fleetId, + "resourceId": listInventoryRecordsRequest.resourceId, + "limit": listInventoryRecordsRequest.limit, + "page": listInventoryRecordsRequest.page, + "sortOrder": listInventoryRecordsRequest.sortOrder, + "sortBy": listInventoryRecordsRequest.sortBy }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listStepsRequest.opcRequestId + "opc-request-id": listInventoryRecordsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listStepsRequest.retryConfiguration, + listInventoryRecordsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/steps", + path: "/inventoryRecords", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -7727,11 +8109,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "stepCollection", - bodyModel: model.StepCollection, - type: "model.StepCollection", + bodyKey: "inventoryRecordCollection", + bodyModel: model.InventoryRecordCollection, + type: "model.InventoryRecordCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -7739,8 +8121,2209 @@ export class FleetAppsManagementOperationsClient { dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all the Patches in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPatchesRequest + * @return ListPatchesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListPatches.ts.html |here} to see how to use ListPatches API. + */ + public async listPatches( + listPatchesRequest: requests.ListPatchesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listPatches."); + const operationName = "listPatches"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPatchesRequest.compartmentId, + "productId": listPatchesRequest.productId, + "version": listPatchesRequest.version, + "type": listPatchesRequest.type, + "patchTypeId": listPatchesRequest.patchTypeId, + "name": listPatchesRequest.name, + "id": listPatchesRequest.id, + "timeReleasedGreaterThanOrEqualTo": listPatchesRequest.timeReleasedGreaterThanOrEqualTo, + "timeReleasedLessThan": listPatchesRequest.timeReleasedLessThan, + "shouldCompliancePolicyRulesBeApplied": + listPatchesRequest.shouldCompliancePolicyRulesBeApplied, + "limit": listPatchesRequest.limit, + "page": listPatchesRequest.page, + "lifecycleState": listPatchesRequest.lifecycleState, + "sortBy": listPatchesRequest.sortBy, + "sortOrder": listPatchesRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPatchesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPatchesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/patches", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "patchCollection", + bodyModel: model.PatchCollection, + type: "model.PatchCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of resources for an Activity Execution. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListResourcesRequest + * @return ListResourcesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListResources.ts.html |here} to see how to use ListResources API. + */ + public async listResources( + listResourcesRequest: requests.ListResourcesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listResources."); + const operationName = "listResources"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": listResourcesRequest.schedulerJobId, + "{jobActivityId}": listResourcesRequest.jobActivityId + }; + + const queryParams = { + "resourceTaskId": listResourcesRequest.resourceTaskId, + "stepName": listResourcesRequest.stepName, + "targetName": listResourcesRequest.targetName, + "sequence": listResourcesRequest.sequence, + "limit": listResourcesRequest.limit, + "page": listResourcesRequest.page, + "sortOrder": listResourcesRequest.sortOrder, + "sortBy": listResourcesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listResourcesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listResourcesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/resources", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "resourceCollection", + bodyModel: model.ResourceCollection, + type: "model.ResourceCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of ScheduledFleets. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListScheduledFleetsRequest + * @return ListScheduledFleetsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListScheduledFleets.ts.html |here} to see how to use ListScheduledFleets API. + */ + public async listScheduledFleets( + listScheduledFleetsRequest: requests.ListScheduledFleetsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listScheduledFleets." + ); + const operationName = "listScheduledFleets"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerDefinitionId}": listScheduledFleetsRequest.schedulerDefinitionId + }; + + const queryParams = { + "displayName": listScheduledFleetsRequest.displayName, + "limit": listScheduledFleetsRequest.limit, + "page": listScheduledFleetsRequest.page, + "sortOrder": listScheduledFleetsRequest.sortOrder, + "sortBy": listScheduledFleetsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listScheduledFleetsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listScheduledFleetsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerDefinitions/{schedulerDefinitionId}/scheduledFleets", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "scheduledFleetCollection", + bodyModel: model.ScheduledFleetCollection, + type: "model.ScheduledFleetCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all the Schedule Definitions in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListSchedulerDefinitionsRequest + * @return ListSchedulerDefinitionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerDefinitions.ts.html |here} to see how to use ListSchedulerDefinitions API. + */ + public async listSchedulerDefinitions( + listSchedulerDefinitionsRequest: requests.ListSchedulerDefinitionsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listSchedulerDefinitions." + ); + const operationName = "listSchedulerDefinitions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listSchedulerDefinitionsRequest.compartmentId, + "lifecycleState": listSchedulerDefinitionsRequest.lifecycleState, + "displayName": listSchedulerDefinitionsRequest.displayName, + "product": listSchedulerDefinitionsRequest.product, + "id": listSchedulerDefinitionsRequest.id, + "maintenanceWindowId": listSchedulerDefinitionsRequest.maintenanceWindowId, + "runbookId": listSchedulerDefinitionsRequest.runbookId, + "runbookVersionName": listSchedulerDefinitionsRequest.runbookVersionName, + "timeScheduledGreaterThanOrEqualTo": + listSchedulerDefinitionsRequest.timeScheduledGreaterThanOrEqualTo, + "timeScheduledLessThan": listSchedulerDefinitionsRequest.timeScheduledLessThan, + "fleetId": listSchedulerDefinitionsRequest.fleetId, + "limit": listSchedulerDefinitionsRequest.limit, + "page": listSchedulerDefinitionsRequest.page, + "sortOrder": listSchedulerDefinitionsRequest.sortOrder, + "sortBy": listSchedulerDefinitionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listSchedulerDefinitionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listSchedulerDefinitionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerDefinitions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerDefinitionCollection", + bodyModel: model.SchedulerDefinitionCollection, + type: "model.SchedulerDefinitionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-total-items"), + key: "opcTotalItems", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all Fleets that are scheduled. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListSchedulerExecutionsRequest + * @return ListSchedulerExecutionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerExecutions.ts.html |here} to see how to use ListSchedulerExecutions API. + */ + public async listSchedulerExecutions( + listSchedulerExecutionsRequest: requests.ListSchedulerExecutionsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#listSchedulerExecutions." + ); + const operationName = "listSchedulerExecutions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listSchedulerExecutionsRequest.compartmentId, + "displayName": listSchedulerExecutionsRequest.displayName, + "timeScheduledGreaterThanOrEqualTo": + listSchedulerExecutionsRequest.timeScheduledGreaterThanOrEqualTo, + "timeScheduledLessThan": listSchedulerExecutionsRequest.timeScheduledLessThan, + "schedulerDefintionId": listSchedulerExecutionsRequest.schedulerDefintionId, + "schedulerJobId": listSchedulerExecutionsRequest.schedulerJobId, + "resourceId": listSchedulerExecutionsRequest.resourceId, + "runbookId": listSchedulerExecutionsRequest.runbookId, + "runbookVersionName": listSchedulerExecutionsRequest.runbookVersionName, + "substate": listSchedulerExecutionsRequest.substate, + "limit": listSchedulerExecutionsRequest.limit, + "page": listSchedulerExecutionsRequest.page, + "sortOrder": listSchedulerExecutionsRequest.sortOrder, + "sortBy": listSchedulerExecutionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listSchedulerExecutionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listSchedulerExecutionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerExecutions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerExecutionCollection", + bodyModel: model.SchedulerExecutionCollection, + type: "model.SchedulerExecutionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all schedule jobs in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListSchedulerJobsRequest + * @return ListSchedulerJobsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerJobs.ts.html |here} to see how to use ListSchedulerJobs API. + */ + public async listSchedulerJobs( + listSchedulerJobsRequest: requests.ListSchedulerJobsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listSchedulerJobs."); + const operationName = "listSchedulerJobs"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listSchedulerJobsRequest.compartmentId, + "compartmentIdInSubtree": listSchedulerJobsRequest.compartmentIdInSubtree, + "lifecycleState": listSchedulerJobsRequest.lifecycleState, + "fleetId": listSchedulerJobsRequest.fleetId, + "timeScheduledGreaterThanOrEqualTo": + listSchedulerJobsRequest.timeScheduledGreaterThanOrEqualTo, + "timeScheduledLessThan": listSchedulerJobsRequest.timeScheduledLessThan, + "isRemediationJobNeeded": listSchedulerJobsRequest.isRemediationJobNeeded, + "substate": listSchedulerJobsRequest.substate, + "displayName": listSchedulerJobsRequest.displayName, + "id": listSchedulerJobsRequest.id, + "schedulerDefintionId": listSchedulerJobsRequest.schedulerDefintionId, + "limit": listSchedulerJobsRequest.limit, + "page": listSchedulerJobsRequest.page, + "sortOrder": listSchedulerJobsRequest.sortOrder, + "sortBy": listSchedulerJobsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listSchedulerJobsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listSchedulerJobsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerJobCollection", + bodyModel: model.SchedulerJobCollection, + type: "model.SchedulerJobCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of Steps for an Activity Execution. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListStepsRequest + * @return ListStepsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSteps.ts.html |here} to see how to use ListSteps API. + */ + public async listSteps( + listStepsRequest: requests.ListStepsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#listSteps."); + const operationName = "listSteps"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": listStepsRequest.schedulerJobId, + "{jobActivityId}": listStepsRequest.jobActivityId + }; + + const queryParams = { + "resourceTaskId": listStepsRequest.resourceTaskId, + "stepName": listStepsRequest.stepName, + "targetName": listStepsRequest.targetName, + "sequence": listStepsRequest.sequence, + "limit": listStepsRequest.limit, + "page": listStepsRequest.page, + "sortOrder": listStepsRequest.sortOrder, + "sortBy": listStepsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listStepsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listStepsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}/jobActivities/{jobActivityId}/steps", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "stepCollection", + bodyModel: model.StepCollection, + type: "model.StepCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Manage execution actions for a Job like retrying or pausing a task. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ManageJobExecutionRequest + * @return ManageJobExecutionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ManageJobExecution.ts.html |here} to see how to use ManageJobExecution API. + */ + public async manageJobExecution( + manageJobExecutionRequest: requests.ManageJobExecutionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#manageJobExecution." + ); + const operationName = "manageJobExecution"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": manageJobExecutionRequest.schedulerJobId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": manageJobExecutionRequest.opcRetryToken, + "if-match": manageJobExecutionRequest.ifMatch, + "opc-request-id": manageJobExecutionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + manageJobExecutionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}/actions/manageJobExecution", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + manageJobExecutionRequest.manageJobExecutionDetails, + "ManageJobExecutionDetails", + model.ManageJobExecutionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve aggregated summary information of ComplianceRecords within a Compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param SummarizeComplianceRecordCountsRequest + * @return SummarizeComplianceRecordCountsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeComplianceRecordCounts.ts.html |here} to see how to use SummarizeComplianceRecordCounts API. + */ + public async summarizeComplianceRecordCounts( + summarizeComplianceRecordCountsRequest: requests.SummarizeComplianceRecordCountsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#summarizeComplianceRecordCounts." + ); + const operationName = "summarizeComplianceRecordCounts"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": summarizeComplianceRecordCountsRequest.compartmentId, + "compartmentIdInSubtree": summarizeComplianceRecordCountsRequest.compartmentIdInSubtree, + "limit": summarizeComplianceRecordCountsRequest.limit, + "page": summarizeComplianceRecordCountsRequest.page, + "sortOrder": summarizeComplianceRecordCountsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": summarizeComplianceRecordCountsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + summarizeComplianceRecordCountsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/complianceRecordCounts", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "complianceRecordAggregationCollection", + bodyModel: model.ComplianceRecordAggregationCollection, + type: "model.ComplianceRecordAggregationCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve aggregated summary information of Managed entities within a Compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param SummarizeManagedEntityCountsRequest + * @return SummarizeManagedEntityCountsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeManagedEntityCounts.ts.html |here} to see how to use SummarizeManagedEntityCounts API. + */ + public async summarizeManagedEntityCounts( + summarizeManagedEntityCountsRequest: requests.SummarizeManagedEntityCountsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#summarizeManagedEntityCounts." + ); + const operationName = "summarizeManagedEntityCounts"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": summarizeManagedEntityCountsRequest.compartmentId, + "compartmentIdInSubtree": summarizeManagedEntityCountsRequest.compartmentIdInSubtree, + "limit": summarizeManagedEntityCountsRequest.limit, + "page": summarizeManagedEntityCountsRequest.page, + "sortOrder": summarizeManagedEntityCountsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": summarizeManagedEntityCountsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + summarizeManagedEntityCountsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/managedEntityCounts", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "managedEntityAggregationCollection", + bodyModel: model.ManagedEntityAggregationCollection, + type: "model.ManagedEntityAggregationCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve aggregated summary information of Scheduler Jobs within a Compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param SummarizeSchedulerJobCountsRequest + * @return SummarizeSchedulerJobCountsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeSchedulerJobCounts.ts.html |here} to see how to use SummarizeSchedulerJobCounts API. + */ + public async summarizeSchedulerJobCounts( + summarizeSchedulerJobCountsRequest: requests.SummarizeSchedulerJobCountsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#summarizeSchedulerJobCounts." + ); + const operationName = "summarizeSchedulerJobCounts"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": summarizeSchedulerJobCountsRequest.compartmentId, + "compartmentIdInSubtree": summarizeSchedulerJobCountsRequest.compartmentIdInSubtree, + "limit": summarizeSchedulerJobCountsRequest.limit, + "page": summarizeSchedulerJobCountsRequest.page, + "sortOrder": summarizeSchedulerJobCountsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": summarizeSchedulerJobCountsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + summarizeSchedulerJobCountsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobCounts", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerJobAggregationCollection", + bodyModel: model.SchedulerJobAggregationCollection, + type: "model.SchedulerJobAggregationCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the patch specified by the identifier. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdatePatchRequest + * @return UpdatePatchResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdatePatch.ts.html |here} to see how to use UpdatePatch API. + */ + public async updatePatch( + updatePatchRequest: requests.UpdatePatchRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementOperationsClient#updatePatch."); + const operationName = "updatePatch"; + const apiReferenceLink = ""; + const pathParams = { + "{patchId}": updatePatchRequest.patchId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updatePatchRequest.ifMatch, + "opc-request-id": updatePatchRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updatePatchRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/patches/{patchId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updatePatchRequest.updatePatchDetails, + "UpdatePatchDetails", + model.UpdatePatchDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Update the details of a SchedulerDefinition that performs lifecycle management operations. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateSchedulerDefinitionRequest + * @return UpdateSchedulerDefinitionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateSchedulerDefinition.ts.html |here} to see how to use UpdateSchedulerDefinition API. + */ + public async updateSchedulerDefinition( + updateSchedulerDefinitionRequest: requests.UpdateSchedulerDefinitionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#updateSchedulerDefinition." + ); + const operationName = "updateSchedulerDefinition"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerDefinitionId}": updateSchedulerDefinitionRequest.schedulerDefinitionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateSchedulerDefinitionRequest.ifMatch, + "opc-request-id": updateSchedulerDefinitionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateSchedulerDefinitionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerDefinitions/{schedulerDefinitionId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateSchedulerDefinitionRequest.updateSchedulerDefinitionDetails, + "UpdateSchedulerDefinitionDetails", + model.UpdateSchedulerDefinitionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates certain attributes for the specified schedule job. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateSchedulerJobRequest + * @return UpdateSchedulerJobResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateSchedulerJob.ts.html |here} to see how to use UpdateSchedulerJob API. + */ + public async updateSchedulerJob( + updateSchedulerJobRequest: requests.UpdateSchedulerJobRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementOperationsClient#updateSchedulerJob." + ); + const operationName = "updateSchedulerJob"; + const apiReferenceLink = ""; + const pathParams = { + "{schedulerJobId}": updateSchedulerJobRequest.schedulerJobId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateSchedulerJobRequest.ifMatch, + "opc-request-id": updateSchedulerJobRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateSchedulerJobRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/schedulerJobs/{schedulerJobId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateSchedulerJobRequest.updateSchedulerJobDetails, + "UpdateSchedulerJobDetails", + model.UpdateSchedulerJobDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "schedulerJob", + bodyModel: model.SchedulerJob, + type: "model.SchedulerJob", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum FleetAppsManagementProvisionApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class FleetAppsManagementProvisionClient { + protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": FleetAppsManagementProvisionWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "FleetAppsManagementProvision"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("fleetappsmanagement")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("fleetappsmanagement"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250228"; + if (this.logger) + this.logger.info(`FleetAppsManagementProvisionClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementProvisionClient.serviceEndpointTemplate, + this._region, + FleetAppsManagementProvisionClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementProvisionClient.serviceEndpointTemplate, + this._regionId, + FleetAppsManagementProvisionClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementProvisionClient.serviceEndpointTemplate, + region, + FleetAppsManagementProvisionClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementProvisionClient.serviceEndpointTemplate, + regionId, + FleetAppsManagementProvisionClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new FleetAppsManagementProvisionWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementProvisionWaiter { + this._waiters = new FleetAppsManagementProvisionWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): FleetAppsManagementProvisionWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves a Provision into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeProvisionCompartmentRequest + * @return ChangeProvisionCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeProvisionCompartment.ts.html |here} to see how to use ChangeProvisionCompartment API. + */ + public async changeProvisionCompartment( + changeProvisionCompartmentRequest: requests.ChangeProvisionCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementProvisionClient#changeProvisionCompartment." + ); + const operationName = "changeProvisionCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{provisionId}": changeProvisionCompartmentRequest.provisionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeProvisionCompartmentRequest.ifMatch, + "opc-request-id": changeProvisionCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeProvisionCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions/{provisionId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeProvisionCompartmentRequest.changeProvisionCompartmentDetails, + "ChangeProvisionCompartmentDetails", + model.ChangeProvisionCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a Provision. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateProvisionRequest + * @return CreateProvisionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateProvision.ts.html |here} to see how to use CreateProvision API. + */ + public async createProvision( + createProvisionRequest: requests.CreateProvisionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementProvisionClient#createProvision."); + const operationName = "createProvision"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createProvisionRequest.opcRetryToken, + "opc-request-id": createProvisionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createProvisionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createProvisionRequest.createProvisionDetails, + "CreateProvisionDetails", + model.CreateProvisionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "provision", + bodyModel: model.Provision, + type: "model.Provision", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a Provision. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteProvisionRequest + * @return DeleteProvisionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteProvision.ts.html |here} to see how to use DeleteProvision API. + */ + public async deleteProvision( + deleteProvisionRequest: requests.DeleteProvisionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementProvisionClient#deleteProvision."); + const operationName = "deleteProvision"; + const apiReferenceLink = ""; + const pathParams = { + "{provisionId}": deleteProvisionRequest.provisionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteProvisionRequest.ifMatch, + "opc-request-id": deleteProvisionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteProvisionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions/{provisionId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a Provision. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetProvisionRequest + * @return GetProvisionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetProvision.ts.html |here} to see how to use GetProvision API. + */ + public async getProvision( + getProvisionRequest: requests.GetProvisionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementProvisionClient#getProvision."); + const operationName = "getProvision"; + const apiReferenceLink = ""; + const pathParams = { + "{provisionId}": getProvisionRequest.provisionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getProvisionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getProvisionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions/{provisionId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "provision", + bodyModel: model.Provision, + type: "model.Provision", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all the Provisions in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` or `fleetId` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListProvisionsRequest + * @return ListProvisionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListProvisions.ts.html |here} to see how to use ListProvisions API. + */ + public async listProvisions( + listProvisionsRequest: requests.ListProvisionsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementProvisionClient#listProvisions."); + const operationName = "listProvisions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listProvisionsRequest.compartmentId, + "lifecycleState": listProvisionsRequest.lifecycleState, + "displayName": listProvisionsRequest.displayName, + "id": listProvisionsRequest.id, + "fleetId": listProvisionsRequest.fleetId, + "limit": listProvisionsRequest.limit, + "page": listProvisionsRequest.page, + "sortOrder": listProvisionsRequest.sortOrder, + "sortBy": listProvisionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listProvisionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listProvisionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "provisionCollection", + bodyModel: model.ProvisionCollection, + type: "model.ProvisionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a Provision. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateProvisionRequest + * @return UpdateProvisionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateProvision.ts.html |here} to see how to use UpdateProvision API. + */ + public async updateProvision( + updateProvisionRequest: requests.UpdateProvisionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementProvisionClient#updateProvision."); + const operationName = "updateProvision"; + const apiReferenceLink = ""; + const pathParams = { + "{provisionId}": updateProvisionRequest.provisionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateProvisionRequest.ifMatch, + "opc-request-id": updateProvisionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateProvisionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/provisions/{provisionId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateProvisionRequest.updateProvisionDetails, + "UpdateProvisionDetails", + model.UpdateProvisionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum FleetAppsManagementRunbooksApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class FleetAppsManagementRunbooksClient { + protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": FleetAppsManagementRunbooksWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "FleetAppsManagementRunbooks"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("fleetappsmanagement")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("fleetappsmanagement"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250228"; + if (this.logger) + this.logger.info(`FleetAppsManagementRunbooksClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementRunbooksClient.serviceEndpointTemplate, + this._region, + FleetAppsManagementRunbooksClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementRunbooksClient.serviceEndpointTemplate, + this._regionId, + FleetAppsManagementRunbooksClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementRunbooksClient.serviceEndpointTemplate, + region, + FleetAppsManagementRunbooksClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementRunbooksClient.serviceEndpointTemplate, + regionId, + FleetAppsManagementRunbooksClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new FleetAppsManagementRunbooksWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementRunbooksWaiter { + this._waiters = new FleetAppsManagementRunbooksWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): FleetAppsManagementRunbooksWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Moves a Runbook into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeRunbookCompartmentRequest + * @return ChangeRunbookCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeRunbookCompartment.ts.html |here} to see how to use ChangeRunbookCompartment API. + */ + public async changeRunbookCompartment( + changeRunbookCompartmentRequest: requests.ChangeRunbookCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#changeRunbookCompartment." + ); + const operationName = "changeRunbookCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookId}": changeRunbookCompartmentRequest.runbookId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeRunbookCompartmentRequest.ifMatch, + "opc-request-id": changeRunbookCompartmentRequest.opcRequestId, + "opc-retry-token": changeRunbookCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeRunbookCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbooks/{runbookId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeRunbookCompartmentRequest.changeRunbookCompartmentDetails, + "ChangeRunbookCompartmentDetails", + model.ChangeRunbookCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7753,52 +10336,53 @@ export class FleetAppsManagementOperationsClient { } /** - * Manage execution actions for a Job like retrying or pausing a task. + * Moves a task record into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ManageJobExecutionRequest - * @return ManageJobExecutionResponse + * @param ChangeTaskRecordCompartmentRequest + * @return ChangeTaskRecordCompartmentResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ManageJobExecution.ts.html |here} to see how to use ManageJobExecution API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeTaskRecordCompartment.ts.html |here} to see how to use ChangeTaskRecordCompartment API. */ - public async manageJobExecution( - manageJobExecutionRequest: requests.ManageJobExecutionRequest - ): Promise { + public async changeTaskRecordCompartment( + changeTaskRecordCompartmentRequest: requests.ChangeTaskRecordCompartmentRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#manageJobExecution." + "Calling operation FleetAppsManagementRunbooksClient#changeTaskRecordCompartment." ); - const operationName = "manageJobExecution"; + const operationName = "changeTaskRecordCompartment"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": manageJobExecutionRequest.schedulerJobId + "{taskRecordId}": changeTaskRecordCompartmentRequest.taskRecordId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": manageJobExecutionRequest.opcRetryToken, - "if-match": manageJobExecutionRequest.ifMatch, - "opc-request-id": manageJobExecutionRequest.opcRequestId + "if-match": changeTaskRecordCompartmentRequest.ifMatch, + "opc-request-id": changeTaskRecordCompartmentRequest.opcRequestId, + "opc-retry-token": changeTaskRecordCompartmentRequest.opcRetryToken }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - manageJobExecutionRequest.retryConfiguration, + changeTaskRecordCompartmentRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}/actions/manageJobExecution", + path: "/taskRecords/{taskRecordId}/actions/changeCompartment", method: "POST", bodyContent: common.ObjectSerializer.serialize( - manageJobExecutionRequest.manageJobExecutionDetails, - "ManageJobExecutionDetails", - model.ManageJobExecutionDetails.getJsonObj + changeTaskRecordCompartmentRequest.changeTaskRecordCompartmentDetails, + "ChangeTaskRecordCompartmentDetails", + model.ChangeTaskRecordCompartmentDetails.getJsonObj ), pathParams: pathParams, headerParams: headerParams, @@ -7813,7 +10397,7 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -7835,49 +10419,48 @@ export class FleetAppsManagementOperationsClient { } /** - * Retrieve aggregated summary information of ComplianceRecords within a Tenancy. + * Creates a runbook. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param SummarizeComplianceRecordCountsRequest - * @return SummarizeComplianceRecordCountsResponse + * @param CreateRunbookRequest + * @return CreateRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeComplianceRecordCounts.ts.html |here} to see how to use SummarizeComplianceRecordCounts API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateRunbook.ts.html |here} to see how to use CreateRunbook API. */ - public async summarizeComplianceRecordCounts( - summarizeComplianceRecordCountsRequest: requests.SummarizeComplianceRecordCountsRequest - ): Promise { + public async createRunbook( + createRunbookRequest: requests.CreateRunbookRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#summarizeComplianceRecordCounts." - ); - const operationName = "summarizeComplianceRecordCounts"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#createRunbook."); + const operationName = "createRunbook"; const apiReferenceLink = ""; const pathParams = {}; - const queryParams = { - "compartmentId": summarizeComplianceRecordCountsRequest.compartmentId, - "limit": summarizeComplianceRecordCountsRequest.limit, - "page": summarizeComplianceRecordCountsRequest.page, - "sortOrder": summarizeComplianceRecordCountsRequest.sortOrder - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": summarizeComplianceRecordCountsRequest.opcRequestId + "opc-retry-token": createRunbookRequest.opcRetryToken, + "opc-request-id": createRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - summarizeComplianceRecordCountsRequest.retryConfiguration, + createRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/complianceRecordCounts", - method: "GET", + path: "/runbooks", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createRunbookRequest.createRunbookDetails, + "CreateRunbookDetails", + model.CreateRunbookDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -7891,20 +10474,35 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "complianceRecordAggregationCollection", - bodyModel: model.ComplianceRecordAggregationCollection, - type: "model.ComplianceRecordAggregationCollection", + bodyKey: "runbook", + bodyModel: model.Runbook, + type: "model.Runbook", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("location"), + key: "location", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7917,49 +10515,50 @@ export class FleetAppsManagementOperationsClient { } /** - * Retrieve aggregated summary information of Managed Entities within a Tenancy. + * Add RunbookVersion in\u00A0Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param SummarizeManagedEntityCountsRequest - * @return SummarizeManagedEntityCountsResponse + * @param CreateRunbookVersionRequest + * @return CreateRunbookVersionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeManagedEntityCounts.ts.html |here} to see how to use SummarizeManagedEntityCounts API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateRunbookVersion.ts.html |here} to see how to use CreateRunbookVersion API. */ - public async summarizeManagedEntityCounts( - summarizeManagedEntityCountsRequest: requests.SummarizeManagedEntityCountsRequest - ): Promise { + public async createRunbookVersion( + createRunbookVersionRequest: requests.CreateRunbookVersionRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#summarizeManagedEntityCounts." + "Calling operation FleetAppsManagementRunbooksClient#createRunbookVersion." ); - const operationName = "summarizeManagedEntityCounts"; + const operationName = "createRunbookVersion"; const apiReferenceLink = ""; const pathParams = {}; - const queryParams = { - "compartmentId": summarizeManagedEntityCountsRequest.compartmentId, - "limit": summarizeManagedEntityCountsRequest.limit, - "page": summarizeManagedEntityCountsRequest.page, - "sortOrder": summarizeManagedEntityCountsRequest.sortOrder - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": summarizeManagedEntityCountsRequest.opcRequestId + "opc-retry-token": createRunbookVersionRequest.opcRetryToken, + "opc-request-id": createRunbookVersionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - summarizeManagedEntityCountsRequest.retryConfiguration, + createRunbookVersionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/managedEntityCounts", - method: "GET", + path: "/runbookVersions", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createRunbookVersionRequest.createRunbookVersionDetails, + "CreateRunbookVersionDetails", + model.CreateRunbookVersionDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -7973,20 +10572,35 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "managedEntityAggregationCollection", - bodyModel: model.ManagedEntityAggregationCollection, - type: "model.ManagedEntityAggregationCollection", + bodyKey: "runbookVersion", + bodyModel: model.RunbookVersion, + type: "model.RunbookVersion", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("location"), + key: "location", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -7999,49 +10613,48 @@ export class FleetAppsManagementOperationsClient { } /** - * Retrieve aggregated summary information of Scheduler Jobs within a Tenancy. + * Creates a new task record. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param SummarizeSchedulerJobCountsRequest - * @return SummarizeSchedulerJobCountsResponse + * @param CreateTaskRecordRequest + * @return CreateTaskRecordResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SummarizeSchedulerJobCounts.ts.html |here} to see how to use SummarizeSchedulerJobCounts API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateTaskRecord.ts.html |here} to see how to use CreateTaskRecord API. */ - public async summarizeSchedulerJobCounts( - summarizeSchedulerJobCountsRequest: requests.SummarizeSchedulerJobCountsRequest - ): Promise { + public async createTaskRecord( + createTaskRecordRequest: requests.CreateTaskRecordRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#summarizeSchedulerJobCounts." - ); - const operationName = "summarizeSchedulerJobCounts"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#createTaskRecord."); + const operationName = "createTaskRecord"; const apiReferenceLink = ""; const pathParams = {}; - const queryParams = { - "compartmentId": summarizeSchedulerJobCountsRequest.compartmentId, - "limit": summarizeSchedulerJobCountsRequest.limit, - "page": summarizeSchedulerJobCountsRequest.page, - "sortOrder": summarizeSchedulerJobCountsRequest.sortOrder - }; + const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": summarizeSchedulerJobCountsRequest.opcRequestId + "opc-retry-token": createTaskRecordRequest.opcRetryToken, + "opc-request-id": createTaskRecordRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - summarizeSchedulerJobCountsRequest.retryConfiguration, + createTaskRecordRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobCounts", - method: "GET", + path: "/taskRecords", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createTaskRecordRequest.createTaskRecordDetails, + "CreateTaskRecordDetails", + model.CreateTaskRecordDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8055,20 +10668,20 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "schedulerJobAggregationCollection", - bodyModel: model.SchedulerJobAggregationCollection, - type: "model.SchedulerJobAggregationCollection", + bodyKey: "taskRecord", + bodyModel: model.TaskRecord, + type: "model.TaskRecord", responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -8081,49 +10694,44 @@ export class FleetAppsManagementOperationsClient { } /** - * Updates the Patch + * Deletes a runbook specified by the identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdatePatchRequest - * @return UpdatePatchResponse + * @param DeleteRunbookRequest + * @return DeleteRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdatePatch.ts.html |here} to see how to use UpdatePatch API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteRunbook.ts.html |here} to see how to use DeleteRunbook API. */ - public async updatePatch( - updatePatchRequest: requests.UpdatePatchRequest - ): Promise { + public async deleteRunbook( + deleteRunbookRequest: requests.DeleteRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementOperationsClient#updatePatch."); - const operationName = "updatePatch"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#deleteRunbook."); + const operationName = "deleteRunbook"; const apiReferenceLink = ""; const pathParams = { - "{patchId}": updatePatchRequest.patchId + "{runbookId}": deleteRunbookRequest.runbookId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updatePatchRequest.ifMatch, - "opc-request-id": updatePatchRequest.opcRequestId + "if-match": deleteRunbookRequest.ifMatch, + "opc-request-id": deleteRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updatePatchRequest.retryConfiguration, + deleteRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/patches/{patchId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updatePatchRequest.updatePatchDetails, - "UpdatePatchDetails", - model.UpdatePatchDetails.getJsonObj - ), + path: "/runbooks/{runbookId}", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8137,7 +10745,7 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -8159,51 +10767,46 @@ export class FleetAppsManagementOperationsClient { } /** - * Update the details of a SchedulerDefinition that performs lifecycle management operations. + * Removes a Runbook Version from the runbook in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateSchedulerDefinitionRequest - * @return UpdateSchedulerDefinitionResponse + * @param DeleteRunbookVersionRequest + * @return DeleteRunbookVersionResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateSchedulerDefinition.ts.html |here} to see how to use UpdateSchedulerDefinition API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteRunbookVersion.ts.html |here} to see how to use DeleteRunbookVersion API. */ - public async updateSchedulerDefinition( - updateSchedulerDefinitionRequest: requests.UpdateSchedulerDefinitionRequest - ): Promise { + public async deleteRunbookVersion( + deleteRunbookVersionRequest: requests.DeleteRunbookVersionRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#updateSchedulerDefinition." + "Calling operation FleetAppsManagementRunbooksClient#deleteRunbookVersion." ); - const operationName = "updateSchedulerDefinition"; + const operationName = "deleteRunbookVersion"; const apiReferenceLink = ""; const pathParams = { - "{schedulerDefinitionId}": updateSchedulerDefinitionRequest.schedulerDefinitionId + "{runbookVersionId}": deleteRunbookVersionRequest.runbookVersionId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateSchedulerDefinitionRequest.ifMatch, - "opc-request-id": updateSchedulerDefinitionRequest.opcRequestId + "if-match": deleteRunbookVersionRequest.ifMatch, + "opc-request-id": deleteRunbookVersionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateSchedulerDefinitionRequest.retryConfiguration, + deleteRunbookVersionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, - defaultHeaders: this._defaultHeaders, - path: "/schedulerDefinitions/{schedulerDefinitionId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateSchedulerDefinitionRequest.updateSchedulerDefinitionDetails, - "UpdateSchedulerDefinitionDetails", - model.UpdateSchedulerDefinitionDetails.getJsonObj - ), + defaultHeaders: this._defaultHeaders, + path: "/runbookVersions/{runbookVersionId}", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8217,7 +10820,7 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -8239,51 +10842,44 @@ export class FleetAppsManagementOperationsClient { } /** - * Update a lifecycle operation job schedule in Fleet Application Management. + * Deletes the task record specified by an identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateSchedulerJobRequest - * @return UpdateSchedulerJobResponse + * @param DeleteTaskRecordRequest + * @return DeleteTaskRecordResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateSchedulerJob.ts.html |here} to see how to use UpdateSchedulerJob API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteTaskRecord.ts.html |here} to see how to use DeleteTaskRecord API. */ - public async updateSchedulerJob( - updateSchedulerJobRequest: requests.UpdateSchedulerJobRequest - ): Promise { + public async deleteTaskRecord( + deleteTaskRecordRequest: requests.DeleteTaskRecordRequest + ): Promise { if (this.logger) - this.logger.debug( - "Calling operation FleetAppsManagementOperationsClient#updateSchedulerJob." - ); - const operationName = "updateSchedulerJob"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#deleteTaskRecord."); + const operationName = "deleteTaskRecord"; const apiReferenceLink = ""; const pathParams = { - "{schedulerJobId}": updateSchedulerJobRequest.schedulerJobId + "{taskRecordId}": deleteTaskRecordRequest.taskRecordId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateSchedulerJobRequest.ifMatch, - "opc-request-id": updateSchedulerJobRequest.opcRequestId + "if-match": deleteTaskRecordRequest.ifMatch, + "opc-request-id": deleteTaskRecordRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateSchedulerJobRequest.retryConfiguration, + deleteTaskRecordRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/schedulerJobs/{schedulerJobId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateSchedulerJobRequest.updateSchedulerJobDetails, - "UpdateSchedulerJobDetails", - model.UpdateSchedulerJobDetails.getJsonObj - ), + path: "/taskRecords/{taskRecordId}", + method: "DELETE", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8297,15 +10893,11 @@ export class FleetAppsManagementOperationsClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "schedulerJob", - bodyModel: model.SchedulerJob, - type: "model.SchedulerJob", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -8313,267 +10905,53 @@ export class FleetAppsManagementOperationsClient { key: "opcRequestId", dataType: "string" } - ] - }); - - return sdkResponse; - } catch (err) { - throw err; - } - } -} -export enum FleetAppsManagementRunbooksApiKeys {} -/** - * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. - */ -export class FleetAppsManagementRunbooksClient { - protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; - protected static endpointServiceName = ""; - protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; - protected "_endpoint": string = ""; - protected "_defaultHeaders": any = {}; - protected "_waiters": FleetAppsManagementRunbooksWaiter; - protected "_clientConfiguration": common.ClientConfiguration; - protected _circuitBreaker: typeof Breaker | null = null; - protected _httpOptions: any = undefined; - protected _bodyDuplexMode: any = undefined; - public targetService = "FleetAppsManagementRunbooks"; - protected _regionId: string = ""; - protected "_region": common.Region; - protected _lastSetRegionOrRegionId: string = ""; - - protected _httpClient: common.HttpClient; - protected _authProvider: common.AuthenticationDetailsProvider | undefined; - - constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { - const requestSigner = params.authenticationDetailsProvider - ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) - : null; - this._authProvider = params.authenticationDetailsProvider; - if (clientConfiguration) { - this._clientConfiguration = clientConfiguration; - this._circuitBreaker = clientConfiguration.circuitBreaker - ? clientConfiguration.circuitBreaker!.circuit - : null; - this._httpOptions = clientConfiguration.httpOptions - ? clientConfiguration.httpOptions - : undefined; - this._bodyDuplexMode = clientConfiguration.bodyDuplexMode - ? clientConfiguration.bodyDuplexMode - : undefined; - } - - if (!developerToolConfiguration.isServiceEnabled("fleetappsmanagement")) { - let errmsg = - "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; - throw errmsg.concat("fleetappsmanagement"); - } - - // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker - const specCircuitBreakerEnabled = true; - if ( - !this._circuitBreaker && - common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && - (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) - ) { - this._circuitBreaker = new common.CircuitBreaker().circuit; - } - this._httpClient = - params.httpClient || - new common.FetchHttpClient( - requestSigner, - this._circuitBreaker, - this._httpOptions, - this._bodyDuplexMode - ); - - if ( - params.authenticationDetailsProvider && - common.isRegionProvider(params.authenticationDetailsProvider) - ) { - const provider: common.RegionProvider = params.authenticationDetailsProvider; - if (provider.getRegion()) { - this.region = provider.getRegion(); - } - } - } - - /** - * Get the endpoint that is being used to call (ex, https://www.example.com). - */ - public get endpoint() { - return this._endpoint; - } - - /** - * Sets the endpoint to call (ex, https://www.example.com). - * @param endpoint The endpoint of the service. - */ - public set endpoint(endpoint: string) { - this._endpoint = endpoint; - this._endpoint = this._endpoint + "/20230831"; - if (this.logger) - this.logger.info(`FleetAppsManagementRunbooksClient endpoint set to ${this._endpoint}`); - } - - public get logger() { - return common.LOG.logger; - } - - /** - * Determines whether realm specific endpoint should be used or not. - * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" - * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template - */ - public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { - this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; - if (this.logger) - this.logger.info( - `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` - ); - if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementRunbooksClient.serviceEndpointTemplate, - this._region, - FleetAppsManagementRunbooksClient.endpointServiceName - ); - } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementRunbooksClient.serviceEndpointTemplate, - this._regionId, - FleetAppsManagementRunbooksClient.endpointServiceName - ); - } - } - - /** - * Sets the region to call (ex, Region.US_PHOENIX_1). - * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. - * @param region The region of the service. - */ - public set region(region: common.Region) { - this._region = region; - this.endpoint = common.EndpointBuilder.createEndpointFromRegion( - FleetAppsManagementRunbooksClient.serviceEndpointTemplate, - region, - FleetAppsManagementRunbooksClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_STRING; - } - - /** - * Sets the regionId to call (ex, 'us-phoenix-1'). - * - * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. - * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 - * and then call {@link #endpoint(String) endpoint}. - * @param regionId The public region ID. - */ - public set regionId(regionId: string) { - this._regionId = regionId; - this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( - FleetAppsManagementRunbooksClient.serviceEndpointTemplate, - regionId, - FleetAppsManagementRunbooksClient.endpointServiceName - ); - this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; - } - - /** - * Creates a new FleetAppsManagementRunbooksWaiter for resources for this service. - * - * @param config The waiter configuration for termination and delay strategy - * @return The service waiters. - */ - public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementRunbooksWaiter { - this._waiters = new FleetAppsManagementRunbooksWaiter(this, config); - return this._waiters; - } - - /** - * Gets the waiters available for resources for this service. - * - * @return The service waiters. - */ - public getWaiters(): FleetAppsManagementRunbooksWaiter { - if (this._waiters) { - return this._waiters; - } - throw Error("Waiters do not exist. Please create waiters."); - } - - /** - * Shutdown the circuit breaker used by the client when it is no longer needed - */ - public shutdownCircuitBreaker() { - if (this._circuitBreaker) { - this._circuitBreaker.shutdown(); - } - } - - /** - * Close the provider if possible which in turn shuts down any associated circuit breaker - */ - public closeProvider() { - if (this._authProvider) { - if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) - (( - this._authProvider - )).closeProvider(); - } - } + ] + }); - /** - * Close the client once it is no longer needed - */ - public close() { - this.shutdownCircuitBreaker(); - this.closeProvider(); + return sdkResponse; + } catch (err) { + throw err; + } } /** - * Creates a new Runbook. - * + * Get the details of a runbook in Fleet Application Management. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateRunbookRequest - * @return CreateRunbookResponse + * @param GetRunbookRequest + * @return GetRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateRunbook.ts.html |here} to see how to use CreateRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbook.ts.html |here} to see how to use GetRunbook API. */ - public async createRunbook( - createRunbookRequest: requests.CreateRunbookRequest - ): Promise { + public async getRunbook( + getRunbookRequest: requests.GetRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#createRunbook."); - const operationName = "createRunbook"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbook."); + const operationName = "getRunbook"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{runbookId}": getRunbookRequest.runbookId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createRunbookRequest.opcRetryToken, - "opc-request-id": createRunbookRequest.opcRequestId + "opc-request-id": getRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createRunbookRequest.retryConfiguration, + getRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createRunbookRequest.createRunbookDetails, - "CreateRunbookDetails", - model.CreateRunbookDetails.getJsonObj - ), + path: "/runbooks/{runbookId}", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8587,30 +10965,167 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), bodyKey: "runbook", bodyModel: model.Runbook, type: "model.Runbook", responseHeaders: [ { - value: response.headers.get("location"), - key: "location", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { - value: response.headers.get("content-location"), - key: "contentLocation", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" - }, + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a Runbook Version by identifier. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetRunbookVersionRequest + * @return GetRunbookVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookVersion.ts.html |here} to see how to use GetRunbookVersion API. + */ + public async getRunbookVersion( + getRunbookVersionRequest: requests.GetRunbookVersionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbookVersion."); + const operationName = "getRunbookVersion"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookVersionId}": getRunbookVersionRequest.runbookVersionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getRunbookVersionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getRunbookVersionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbookVersions/{runbookVersionId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "runbookVersion", + bodyModel: model.RunbookVersion, + type: "model.RunbookVersion", + responseHeaders: [ { value: response.headers.get("etag"), key: "etag", dataType: "string" }, { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information for the specified task record. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetTaskRecordRequest + * @return GetTaskRecordResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetTaskRecord.ts.html |here} to see how to use GetTaskRecord API. + */ + public async getTaskRecord( + getTaskRecordRequest: requests.GetTaskRecordRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getTaskRecord."); + const operationName = "getTaskRecord"; + const apiReferenceLink = ""; + const pathParams = { + "{taskRecordId}": getTaskRecordRequest.taskRecordId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getTaskRecordRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getTaskRecordRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskRecords/{taskRecordId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "taskRecord", + bodyModel: model.TaskRecord, + type: "model.TaskRecord", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { @@ -8628,48 +11143,140 @@ export class FleetAppsManagementRunbooksClient { } /** - * Creates a new Task. + * List versions for a runbook in Fleet Application Management. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param CreateTaskRecordRequest - * @return CreateTaskRecordResponse + * @param ListRunbookVersionsRequest + * @return ListRunbookVersionsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateTaskRecord.ts.html |here} to see how to use CreateTaskRecord API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbookVersions.ts.html |here} to see how to use ListRunbookVersions API. */ - public async createTaskRecord( - createTaskRecordRequest: requests.CreateTaskRecordRequest - ): Promise { + public async listRunbookVersions( + listRunbookVersionsRequest: requests.ListRunbookVersionsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#createTaskRecord."); - const operationName = "createTaskRecord"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#listRunbookVersions."); + const operationName = "listRunbookVersions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listRunbookVersionsRequest.compartmentId, + "lifecycleState": listRunbookVersionsRequest.lifecycleState, + "runbookId": listRunbookVersionsRequest.runbookId, + "id": listRunbookVersionsRequest.id, + "limit": listRunbookVersionsRequest.limit, + "page": listRunbookVersionsRequest.page, + "sortOrder": listRunbookVersionsRequest.sortOrder, + "sortBy": listRunbookVersionsRequest.sortBy, + "name": listRunbookVersionsRequest.name + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listRunbookVersionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listRunbookVersionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/runbookVersions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "runbookVersionCollection", + bodyModel: model.RunbookVersionCollection, + type: "model.RunbookVersionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of all the runbooks in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListRunbooksRequest + * @return ListRunbooksResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbooks.ts.html |here} to see how to use ListRunbooks API. + */ + public async listRunbooks( + listRunbooksRequest: requests.ListRunbooksRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#listRunbooks."); + const operationName = "listRunbooks"; const apiReferenceLink = ""; const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listRunbooksRequest.compartmentId, + "lifecycleState": listRunbooksRequest.lifecycleState, + "displayName": listRunbooksRequest.displayName, + "id": listRunbooksRequest.id, + "type": listRunbooksRequest.type, + "platform": listRunbooksRequest.platform, + "operation": listRunbooksRequest.operation, + "limit": listRunbooksRequest.limit, + "page": listRunbooksRequest.page, + "sortOrder": listRunbooksRequest.sortOrder, + "sortBy": listRunbooksRequest.sortBy + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": createTaskRecordRequest.opcRetryToken, - "opc-request-id": createTaskRecordRequest.opcRequestId + "opc-request-id": listRunbooksRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - createTaskRecordRequest.retryConfiguration, + listRunbooksRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - createTaskRecordRequest.createTaskRecordDetails, - "CreateTaskRecordDetails", - model.CreateTaskRecordDetails.getJsonObj - ), + path: "/runbooks", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8683,20 +11290,20 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "taskRecord", - bodyModel: model.TaskRecord, - type: "model.TaskRecord", + bodyKey: "runbookCollection", + bodyModel: model.RunbookCollection, + type: "model.RunbookCollection", responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] @@ -8709,44 +11316,55 @@ export class FleetAppsManagementRunbooksClient { } /** - * Deletes a Runbook resource by identifier + * Returns a list of all the task records in the specified compartment. + * The query parameter `compartmentId` is required unless the query parameter `id` is specified. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteRunbookRequest - * @return DeleteRunbookResponse + * @param ListTaskRecordsRequest + * @return ListTaskRecordsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteRunbook.ts.html |here} to see how to use DeleteRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListTaskRecords.ts.html |here} to see how to use ListTaskRecords API. */ - public async deleteRunbook( - deleteRunbookRequest: requests.DeleteRunbookRequest - ): Promise { + public async listTaskRecords( + listTaskRecordsRequest: requests.ListTaskRecordsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#deleteRunbook."); - const operationName = "deleteRunbook"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#listTaskRecords."); + const operationName = "listTaskRecords"; const apiReferenceLink = ""; - const pathParams = { - "{runbookId}": deleteRunbookRequest.runbookId - }; + const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listTaskRecordsRequest.compartmentId, + "platform": listTaskRecordsRequest.platform, + "type": listTaskRecordsRequest.type, + "displayName": listTaskRecordsRequest.displayName, + "operation": listTaskRecordsRequest.operation, + "id": listTaskRecordsRequest.id, + "limit": listTaskRecordsRequest.limit, + "page": listTaskRecordsRequest.page, + "lifecycleState": listTaskRecordsRequest.lifecycleState, + "sortBy": listTaskRecordsRequest.sortBy, + "sortOrder": listTaskRecordsRequest.sortOrder + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteRunbookRequest.ifMatch, - "opc-request-id": deleteRunbookRequest.opcRequestId + "opc-request-id": listTaskRecordsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteRunbookRequest.retryConfiguration, + listTaskRecordsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/{runbookId}", - method: "DELETE", + path: "/taskRecords", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8760,16 +11378,20 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "taskRecordCollection", + bodyModel: model.TaskRecordCollection, + type: "model.TaskRecordCollection", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] @@ -8782,44 +11404,50 @@ export class FleetAppsManagementRunbooksClient { } /** - * Deletes a Task Record resource by identifier + * Publish the specified version of the runbook. + * The specified version of the runbook becomes acitve when it is published.Only active versions of runbook can be used in execution. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param DeleteTaskRecordRequest - * @return DeleteTaskRecordResponse + * @param PublishRunbookRequest + * @return PublishRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteTaskRecord.ts.html |here} to see how to use DeleteTaskRecord API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/PublishRunbook.ts.html |here} to see how to use PublishRunbook API. */ - public async deleteTaskRecord( - deleteTaskRecordRequest: requests.DeleteTaskRecordRequest - ): Promise { + public async publishRunbook( + publishRunbookRequest: requests.PublishRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#deleteTaskRecord."); - const operationName = "deleteTaskRecord"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#publishRunbook."); + const operationName = "publishRunbook"; const apiReferenceLink = ""; - const pathParams = { - "{taskRecordId}": deleteTaskRecordRequest.taskRecordId - }; + const pathParams = {}; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": deleteTaskRecordRequest.ifMatch, - "opc-request-id": deleteTaskRecordRequest.opcRequestId + "opc-retry-token": publishRunbookRequest.opcRetryToken, + "if-match": publishRunbookRequest.ifMatch, + "opc-request-id": publishRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - deleteTaskRecordRequest.retryConfiguration, + publishRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords/{taskRecordId}", - method: "DELETE", + path: "/runbooks/actions/publishRunbook", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + publishRunbookRequest.publishRunbookDetails, + "PublishRunbookDetails", + model.PublishRunbookDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8833,7 +11461,7 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, responseHeaders: [ { value: response.headers.get("opc-work-request-id"), @@ -8855,43 +11483,49 @@ export class FleetAppsManagementRunbooksClient { } /** - * Get the details of a runbook in Fleet Application Management. + * Set a runbook as default. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetRunbookRequest - * @return GetRunbookResponse + * @param SetDefaultRunbookRequest + * @return SetDefaultRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbook.ts.html |here} to see how to use GetRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SetDefaultRunbook.ts.html |here} to see how to use SetDefaultRunbook API. */ - public async getRunbook( - getRunbookRequest: requests.GetRunbookRequest - ): Promise { + public async setDefaultRunbook( + setDefaultRunbookRequest: requests.SetDefaultRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getRunbook."); - const operationName = "getRunbook"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#setDefaultRunbook."); + const operationName = "setDefaultRunbook"; const apiReferenceLink = ""; - const pathParams = { - "{runbookId}": getRunbookRequest.runbookId - }; + const pathParams = {}; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getRunbookRequest.opcRequestId + "opc-retry-token": setDefaultRunbookRequest.opcRetryToken, + "if-match": setDefaultRunbookRequest.ifMatch, + "opc-request-id": setDefaultRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getRunbookRequest.retryConfiguration, + setDefaultRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/{runbookId}", - method: "GET", + path: "/runbooks/actions/setDefaultRunbook", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + setDefaultRunbookRequest.setDefaultRunbookDetails, + "SetDefaultRunbookDetails", + model.SetDefaultRunbookDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8905,7 +11539,7 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), bodyKey: "runbook", bodyModel: model.Runbook, @@ -8931,43 +11565,49 @@ export class FleetAppsManagementRunbooksClient { } /** - * Gets a Task by identifier + * Updates the runbook specified by the identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param GetTaskRecordRequest - * @return GetTaskRecordResponse + * @param UpdateRunbookRequest + * @return UpdateRunbookResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetTaskRecord.ts.html |here} to see how to use GetTaskRecord API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateRunbook.ts.html |here} to see how to use UpdateRunbook API. */ - public async getTaskRecord( - getTaskRecordRequest: requests.GetTaskRecordRequest - ): Promise { + public async updateRunbook( + updateRunbookRequest: requests.UpdateRunbookRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#getTaskRecord."); - const operationName = "getTaskRecord"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#updateRunbook."); + const operationName = "updateRunbook"; const apiReferenceLink = ""; const pathParams = { - "{taskRecordId}": getTaskRecordRequest.taskRecordId + "{runbookId}": updateRunbookRequest.runbookId }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": getTaskRecordRequest.opcRequestId + "if-match": updateRunbookRequest.ifMatch, + "opc-request-id": updateRunbookRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - getTaskRecordRequest.retryConfiguration, + updateRunbookRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords/{taskRecordId}", - method: "GET", + path: "/runbooks/{runbookId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateRunbookRequest.updateRunbookDetails, + "UpdateRunbookDetails", + model.UpdateRunbookDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -8981,15 +11621,11 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "taskRecord", - bodyModel: model.TaskRecord, - type: "model.TaskRecord", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { @@ -9003,59 +11639,55 @@ export class FleetAppsManagementRunbooksClient { return sdkResponse; } catch (err) { throw err; - } - } - - /** - * List runbooks in Fleet Application Management. - * - * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListRunbooksRequest - * @return ListRunbooksResponse - * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbooks.ts.html |here} to see how to use ListRunbooks API. - */ - public async listRunbooks( - listRunbooksRequest: requests.ListRunbooksRequest - ): Promise { - if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#listRunbooks."); - const operationName = "listRunbooks"; - const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listRunbooksRequest.compartmentId, - "lifecycleState": listRunbooksRequest.lifecycleState, - "displayName": listRunbooksRequest.displayName, - "id": listRunbooksRequest.id, - "type": listRunbooksRequest.type, - "runbookRelevance": listRunbooksRequest.runbookRelevance, - "platform": listRunbooksRequest.platform, - "operation": listRunbooksRequest.operation, - "limit": listRunbooksRequest.limit, - "page": listRunbooksRequest.page, - "sortOrder": listRunbooksRequest.sortOrder, - "sortBy": listRunbooksRequest.sortBy + } + } + + /** + * Updates the RunbookVersion. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateRunbookVersionRequest + * @return UpdateRunbookVersionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateRunbookVersion.ts.html |here} to see how to use UpdateRunbookVersion API. + */ + public async updateRunbookVersion( + updateRunbookVersionRequest: requests.UpdateRunbookVersionRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation FleetAppsManagementRunbooksClient#updateRunbookVersion." + ); + const operationName = "updateRunbookVersion"; + const apiReferenceLink = ""; + const pathParams = { + "{runbookVersionId}": updateRunbookVersionRequest.runbookVersionId }; + const queryParams = {}; + let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listRunbooksRequest.opcRequestId + "if-match": updateRunbookVersionRequest.ifMatch, + "opc-request-id": updateRunbookVersionRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listRunbooksRequest.retryConfiguration, + updateRunbookVersionRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks", - method: "GET", + path: "/runbookVersions/{runbookVersionId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateRunbookVersionRequest.updateRunbookVersionDetails, + "UpdateRunbookVersionDetails", + model.UpdateRunbookVersionDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9069,20 +11701,16 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "runbookCollection", - bodyModel: model.RunbookCollection, - type: "model.RunbookCollection", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] @@ -9095,53 +11723,49 @@ export class FleetAppsManagementRunbooksClient { } /** - * Returns a list of TaskRecords. - * + * Updates certain attributes for the specified task record. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListTaskRecordsRequest - * @return ListTaskRecordsResponse + * @param UpdateTaskRecordRequest + * @return UpdateTaskRecordResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListTaskRecords.ts.html |here} to see how to use ListTaskRecords API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateTaskRecord.ts.html |here} to see how to use UpdateTaskRecord API. */ - public async listTaskRecords( - listTaskRecordsRequest: requests.ListTaskRecordsRequest - ): Promise { + public async updateTaskRecord( + updateTaskRecordRequest: requests.UpdateTaskRecordRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#listTaskRecords."); - const operationName = "listTaskRecords"; + this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#updateTaskRecord."); + const operationName = "updateTaskRecord"; const apiReferenceLink = ""; - const pathParams = {}; - - const queryParams = { - "compartmentId": listTaskRecordsRequest.compartmentId, - "platform": listTaskRecordsRequest.platform, - "type": listTaskRecordsRequest.type, - "displayName": listTaskRecordsRequest.displayName, - "id": listTaskRecordsRequest.id, - "limit": listTaskRecordsRequest.limit, - "page": listTaskRecordsRequest.page, - "lifecycleState": listTaskRecordsRequest.lifecycleState, - "sortBy": listTaskRecordsRequest.sortBy, - "sortOrder": listTaskRecordsRequest.sortOrder + const pathParams = { + "{taskRecordId}": updateTaskRecordRequest.taskRecordId }; + const queryParams = {}; + let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listTaskRecordsRequest.opcRequestId + "if-match": updateTaskRecordRequest.ifMatch, + "opc-request-id": updateTaskRecordRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listTaskRecordsRequest.retryConfiguration, + updateTaskRecordRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords", - method: "GET", + path: "/taskRecords/{taskRecordId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateTaskRecordRequest.updateTaskRecordDetails, + "UpdateTaskRecordDetails", + model.UpdateTaskRecordDetails.getJsonObj + ), pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9155,75 +11779,274 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, - body: await response.json(), - bodyKey: "taskRecordCollection", - bodyModel: model.TaskRecordCollection, - type: "model.TaskRecordCollection", + responseObject: {}, responseHeaders: [ { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", dataType: "string" }, { - value: response.headers.get("opc-next-page"), - key: "opcNextPage", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" } ] }); - return sdkResponse; - } catch (err) { - throw err; + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum FleetAppsManagementWorkRequestApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class FleetAppsManagementWorkRequestClient { + protected static serviceEndpointTemplate = "https://fams.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": FleetAppsManagementWorkRequestWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "FleetAppsManagementWorkRequest"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("fleetappsmanagement")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("fleetappsmanagement"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250228"; + if (this.logger) + this.logger.info(`FleetAppsManagementWorkRequestClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementWorkRequestClient.serviceEndpointTemplate, + this._region, + FleetAppsManagementWorkRequestClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementWorkRequestClient.serviceEndpointTemplate, + this._regionId, + FleetAppsManagementWorkRequestClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + FleetAppsManagementWorkRequestClient.serviceEndpointTemplate, + region, + FleetAppsManagementWorkRequestClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + FleetAppsManagementWorkRequestClient.serviceEndpointTemplate, + regionId, + FleetAppsManagementWorkRequestClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new FleetAppsManagementWorkRequestWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): FleetAppsManagementWorkRequestWaiter { + this._waiters = new FleetAppsManagementWorkRequestWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): FleetAppsManagementWorkRequestWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); } } /** - * Publish a Runbook. - * + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Gets details of the work request with the given ID. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param PublishRunbookRequest - * @return PublishRunbookResponse + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/PublishRunbook.ts.html |here} to see how to use PublishRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. */ - public async publishRunbook( - publishRunbookRequest: requests.PublishRunbookRequest - ): Promise { + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#publishRunbook."); - const operationName = "publishRunbook"; + this.logger.debug("Calling operation FleetAppsManagementWorkRequestClient#getWorkRequest."); + const operationName = "getWorkRequest"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; const queryParams = {}; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": publishRunbookRequest.opcRetryToken, - "if-match": publishRunbookRequest.ifMatch, - "opc-request-id": publishRunbookRequest.opcRequestId + "opc-request-id": getWorkRequestRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - publishRunbookRequest.retryConfiguration, + getWorkRequestRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/actions/publishRunbook", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - publishRunbookRequest.publishRunbookDetails, - "PublishRunbookDetails", - model.PublishRunbookDetails.getJsonObj - ), + path: "/workRequests/{workRequestId}", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9237,17 +12060,26 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("etag"), + key: "etag", dataType: "string" }, { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" } ] }); @@ -9259,49 +12091,51 @@ export class FleetAppsManagementRunbooksClient { } /** - * Publish a Runbook. + * Returns a (paginated) list of errors for the work request with the given ID. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param SetDefaultRunbookRequest - * @return SetDefaultRunbookResponse + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/SetDefaultRunbook.ts.html |here} to see how to use SetDefaultRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. */ - public async setDefaultRunbook( - setDefaultRunbookRequest: requests.SetDefaultRunbookRequest - ): Promise { + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#setDefaultRunbook."); - const operationName = "setDefaultRunbook"; + this.logger.debug( + "Calling operation FleetAppsManagementWorkRequestClient#listWorkRequestErrors." + ); + const operationName = "listWorkRequestErrors"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; - const queryParams = {}; + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-retry-token": setDefaultRunbookRequest.opcRetryToken, - "if-match": setDefaultRunbookRequest.ifMatch, - "opc-request-id": setDefaultRunbookRequest.opcRequestId + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - setDefaultRunbookRequest.retryConfiguration, + listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/actions/setDefaultRunbook", - method: "POST", - bodyContent: common.ObjectSerializer.serialize( - setDefaultRunbookRequest.setDefaultRunbookDetails, - "SetDefaultRunbookDetails", - model.SetDefaultRunbookDetails.getJsonObj - ), + path: "/workRequests/{workRequestId}/errors", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9315,15 +12149,15 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "runbook", - bodyModel: model.Runbook, - type: "model.Runbook", + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", responseHeaders: [ { - value: response.headers.get("etag"), - key: "etag", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" }, { @@ -9341,49 +12175,51 @@ export class FleetAppsManagementRunbooksClient { } /** - * Updates the Ronbook + * Returns a (paginated) list of logs for the work request with the given ID. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateRunbookRequest - * @return UpdateRunbookResponse + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateRunbook.ts.html |here} to see how to use UpdateRunbook API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. */ - public async updateRunbook( - updateRunbookRequest: requests.UpdateRunbookRequest - ): Promise { + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#updateRunbook."); - const operationName = "updateRunbook"; + this.logger.debug( + "Calling operation FleetAppsManagementWorkRequestClient#listWorkRequestLogs." + ); + const operationName = "listWorkRequestLogs"; const apiReferenceLink = ""; const pathParams = { - "{runbookId}": updateRunbookRequest.runbookId + "{workRequestId}": listWorkRequestLogsRequest.workRequestId }; - const queryParams = {}; + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateRunbookRequest.ifMatch, - "opc-request-id": updateRunbookRequest.opcRequestId + "opc-request-id": listWorkRequestLogsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateRunbookRequest.retryConfiguration, + listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/runbooks/{runbookId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateRunbookRequest.updateRunbookDetails, - "UpdateRunbookDetails", - model.UpdateRunbookDetails.getJsonObj - ), + path: "/workRequests/{workRequestId}/logs", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9397,11 +12233,15 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" }, { @@ -9419,49 +12259,51 @@ export class FleetAppsManagementRunbooksClient { } /** - * Updates the Task + * Lists the work requests in a compartment. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param UpdateTaskRecordRequest - * @return UpdateTaskRecordResponse + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateTaskRecord.ts.html |here} to see how to use UpdateTaskRecord API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. */ - public async updateTaskRecord( - updateTaskRecordRequest: requests.UpdateTaskRecordRequest - ): Promise { + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation FleetAppsManagementRunbooksClient#updateTaskRecord."); - const operationName = "updateTaskRecord"; + this.logger.debug("Calling operation FleetAppsManagementWorkRequestClient#listWorkRequests."); + const operationName = "listWorkRequests"; const apiReferenceLink = ""; - const pathParams = { - "{taskRecordId}": updateTaskRecordRequest.taskRecordId - }; + const pathParams = {}; - const queryParams = {}; + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "if-match": updateTaskRecordRequest.ifMatch, - "opc-request-id": updateTaskRecordRequest.opcRequestId + "opc-request-id": listWorkRequestsRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - updateTaskRecordRequest.retryConfiguration, + listWorkRequestsRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/taskRecords/{taskRecordId}", - method: "PUT", - bodyContent: common.ObjectSerializer.serialize( - updateTaskRecordRequest.updateTaskRecordDetails, - "UpdateTaskRecordDetails", - model.UpdateTaskRecordDetails.getJsonObj - ), + path: "/workRequests", + method: "GET", pathParams: pathParams, headerParams: headerParams, queryParams: queryParams @@ -9475,16 +12317,20 @@ export class FleetAppsManagementRunbooksClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", responseHeaders: [ { - value: response.headers.get("opc-work-request-id"), - key: "opcWorkRequestId", + value: response.headers.get("opc-request-id"), + key: "opcRequestId", dataType: "string" }, { - value: response.headers.get("opc-request-id"), - key: "opcRequestId", + value: response.headers.get("opc-next-page"), + key: "opcNextPage", dataType: "string" } ] diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagement-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagement-waiter.ts index c31c5523de..ad653536a5 100644 --- a/lib/fleetappsmanagement/lib/fleetappsmanagement-waiter.ts +++ b/lib/fleetappsmanagement/lib/fleetappsmanagement-waiter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -99,20 +99,4 @@ export class FleetAppsManagementWaiter { targetStates.includes(models.FleetResource.LifecycleState.Deleted) ); } - - /** - * Waits forWorkRequest - * - * @param request the request to send - * @return response returns GetWorkRequestResponse - */ - public async forWorkRequest( - request: serviceRequests.GetWorkRequestRequest - ): Promise { - return genericWaiter( - this.config, - () => this.client.getWorkRequest(request), - response => (response.workRequest.timeFinished ? true : false) - ); - } } diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementadmin-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementadmin-waiter.ts index 51e49cd5a4..92fb583dd0 100644 --- a/lib/fleetappsmanagement/lib/fleetappsmanagementadmin-waiter.ts +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementadmin-waiter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementcatalog-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementcatalog-waiter.ts new file mode 100644 index 0000000000..b0b5886719 --- /dev/null +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementcatalog-waiter.ts @@ -0,0 +1,45 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { FleetAppsManagementCatalogClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class FleetAppsManagementCatalogWaiter { + public constructor( + private client: FleetAppsManagementCatalogClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forCatalogItem till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetCatalogItemResponse | null (null in case of 404 response) + */ + public async forCatalogItem( + request: serviceRequests.GetCatalogItemRequest, + ...targetStates: models.CatalogItem.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getCatalogItem(request), + response => targetStates.includes(response.catalogItem.lifecycleState!), + targetStates.includes(models.CatalogItem.LifecycleState.Deleted) + ); + } +} diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementmaintenancewindow-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementmaintenancewindow-waiter.ts index 10d8dd00fa..3857b41085 100644 --- a/lib/fleetappsmanagement/lib/fleetappsmanagementmaintenancewindow-waiter.ts +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementmaintenancewindow-waiter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementoperations-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementoperations-waiter.ts index f08b84b002..5c878a64c5 100644 --- a/lib/fleetappsmanagement/lib/fleetappsmanagementoperations-waiter.ts +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementoperations-waiter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -67,17 +67,16 @@ export class FleetAppsManagementOperationsWaiter { * * @param request the request to send * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states - * @return response returns GetSchedulerJobResponse | null (null in case of 404 response) + * @return response returns GetSchedulerJobResponse */ public async forSchedulerJob( request: serviceRequests.GetSchedulerJobRequest, ...targetStates: models.SchedulerJob.LifecycleState[] - ): Promise { - return genericTerminalConditionWaiter( + ): Promise { + return genericWaiter( this.config, () => this.client.getSchedulerJob(request), - response => targetStates.includes(response.schedulerJob.lifecycleState!), - targetStates.includes(models.SchedulerJob.LifecycleState.Deleted) + response => targetStates.includes(response.schedulerJob.lifecycleState!) ); } } diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementprovision-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementprovision-waiter.ts new file mode 100644 index 0000000000..4ae629e0a7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementprovision-waiter.ts @@ -0,0 +1,45 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { FleetAppsManagementProvisionClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class FleetAppsManagementProvisionWaiter { + public constructor( + private client: FleetAppsManagementProvisionClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forProvision till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetProvisionResponse | null (null in case of 404 response) + */ + public async forProvision( + request: serviceRequests.GetProvisionRequest, + ...targetStates: models.Provision.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getProvision(request), + response => targetStates.includes(response.provision.lifecycleState!), + targetStates.includes(models.Provision.LifecycleState.Deleted) + ); + } +} diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementrunbooks-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementrunbooks-waiter.ts index e70cb7efad..1972ea6617 100644 --- a/lib/fleetappsmanagement/lib/fleetappsmanagementrunbooks-waiter.ts +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementrunbooks-waiter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -43,6 +43,25 @@ export class FleetAppsManagementRunbooksWaiter { ); } + /** + * Waits forRunbookVersion till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetRunbookVersionResponse | null (null in case of 404 response) + */ + public async forRunbookVersion( + request: serviceRequests.GetRunbookVersionRequest, + ...targetStates: models.RunbookVersion.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getRunbookVersion(request), + response => targetStates.includes(response.runbookVersion.lifecycleState!), + targetStates.includes(models.RunbookVersion.LifecycleState.Deleted) + ); + } + /** * Waits forTaskRecord till it reaches any of the provided states * diff --git a/lib/fleetappsmanagement/lib/fleetappsmanagementworkrequest-waiter.ts b/lib/fleetappsmanagement/lib/fleetappsmanagementworkrequest-waiter.ts new file mode 100644 index 0000000000..044e3f7be4 --- /dev/null +++ b/lib/fleetappsmanagement/lib/fleetappsmanagementworkrequest-waiter.ts @@ -0,0 +1,42 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { FleetAppsManagementWorkRequestClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class FleetAppsManagementWorkRequestWaiter { + public constructor( + private client: FleetAppsManagementWorkRequestClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/fleetappsmanagement/lib/model/action-group-based-user-action-details.ts b/lib/fleetappsmanagement/lib/model/action-group-based-user-action-details.ts index 9b3f42033a..5cd30e1b4e 100644 --- a/lib/fleetappsmanagement/lib/model/action-group-based-user-action-details.ts +++ b/lib/fleetappsmanagement/lib/model/action-group-based-user-action-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/action-group-details.ts b/lib/fleetappsmanagement/lib/model/action-group-details.ts index 51bea85177..79a16222a4 100644 --- a/lib/fleetappsmanagement/lib/model/action-group-details.ts +++ b/lib/fleetappsmanagement/lib/model/action-group-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,26 +19,10 @@ import common = require("oci-common"); * Action Group details. */ export interface ActionGroupDetails { - /** - * The ID of the ActionGroup resource. - * Ex:fleetId. - * - */ - "resourceId": string; /** * Name of the ActionGroup. */ - "name"?: string; - /** - * Type of the ActionGroup - */ - "type"?: model.LifeCycleActionGroupType; - /** - * Application Type associated. - * Only applicable if actionGroup type is ENVIRONMENT. - * - */ - "applicationType"?: string; + "displayName"?: string; /** * Product associated. * Only applicable if actionGroup type is PRODUCT. @@ -65,21 +49,41 @@ export interface ActionGroupDetails { * The time the Scheduler Job ended. An RFC3339 formatted datetime string. */ "timeEnded"?: Date; - /** - * OCID of the runbook. - */ - "runbookId": string; + + "kind": string; } export namespace ActionGroupDetails { export function getJsonObj(obj: ActionGroupDetails): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "FLEET_USING_RUNBOOK": + return model.FleetBasedActionGroupDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } export function getDeserializedJsonObj(obj: ActionGroupDetails): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "FLEET_USING_RUNBOOK": + return model.FleetBasedActionGroupDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } } diff --git a/lib/fleetappsmanagement/lib/model/action-group.ts b/lib/fleetappsmanagement/lib/model/action-group.ts index 7d4dace1bd..9064cf3e34 100644 --- a/lib/fleetappsmanagement/lib/model/action-group.ts +++ b/lib/fleetappsmanagement/lib/model/action-group.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,52 +20,48 @@ import common = require("oci-common"); */ export interface ActionGroup { /** - * Provide the ID of the resource. Example fleet ID. - */ - "resourceId": string; - /** - * ActionGroup Type associated. - */ - "type"?: model.LifeCycleActionGroupType; - /** - * Application Type associated. - * Only applicable if type is ENVIRONMENT. - * - */ - "applicationType"?: string; - /** - * Product associated. - * Only applicable if type is PRODUCT. - * - */ - "product"?: string; - /** - * LifeCycle Operation - */ - "lifecycleOperation"?: string; - /** - * ID of the runbook - */ - "runbookId": string; - /** - * Provide the target if schedule is created against the target - */ - "targetId"?: string; - /** - * Provide subjects that need to be considered for the schedule. - */ - "subjects"?: Array; + * A user-friendly name. Does not have to be unique, and it's changeable. +* Avoid entering confidential information. +*

+Example: {@code My new resource} +* + */ + "displayName"?: string; + + "kind": string; } export namespace ActionGroup { export function getJsonObj(obj: ActionGroup): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "FLEET_USING_RUNBOOK": + return model.FleetBasedActionGroup.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } export function getDeserializedJsonObj(obj: ActionGroup): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "FLEET_USING_RUNBOOK": + return model.FleetBasedActionGroup.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } } diff --git a/lib/fleetappsmanagement/lib/model/action-type.ts b/lib/fleetappsmanagement/lib/model/action-type.ts index 05d06fd28b..b50da17c12 100644 --- a/lib/fleetappsmanagement/lib/model/action-type.ts +++ b/lib/fleetappsmanagement/lib/model/action-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/activity-resource-target.ts b/lib/fleetappsmanagement/lib/model/activity-resource-target.ts index cd1310b7d2..794a28e89c 100644 --- a/lib/fleetappsmanagement/lib/model/activity-resource-target.ts +++ b/lib/fleetappsmanagement/lib/model/activity-resource-target.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/announcement-collection.ts b/lib/fleetappsmanagement/lib/model/announcement-collection.ts index 67222b2d2b..501fbbcca3 100644 --- a/lib/fleetappsmanagement/lib/model/announcement-collection.ts +++ b/lib/fleetappsmanagement/lib/model/announcement-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface AnnouncementCollection { /** - * List of AnnouncementSummary items + * List of AnnouncementSummary items. */ "items": Array; } diff --git a/lib/fleetappsmanagement/lib/model/announcement-sort-by.ts b/lib/fleetappsmanagement/lib/model/announcement-sort-by.ts index e4020b8c00..de3ea48574 100644 --- a/lib/fleetappsmanagement/lib/model/announcement-sort-by.ts +++ b/lib/fleetappsmanagement/lib/model/announcement-sort-by.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/announcement-summary.ts b/lib/fleetappsmanagement/lib/model/announcement-summary.ts index a03f7e54ee..cbe2553f92 100644 --- a/lib/fleetappsmanagement/lib/model/announcement-summary.ts +++ b/lib/fleetappsmanagement/lib/model/announcement-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -62,7 +62,7 @@ Example: {@code My new resource} */ "summary": string; /** - * Announcement Details. + * Announcement details. */ "details"?: string; /** @@ -74,7 +74,7 @@ Example: {@code My new resource} */ "announcementStart": Date; /** - * Announcement end date + * Announcement end date. */ "announcementEnd": Date; /** diff --git a/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts index 8ba99766b4..b3a1b09de5 100644 --- a/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/api-based-execution-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/artifact-details.ts b/lib/fleetappsmanagement/lib/model/artifact-details.ts index ed5d01c24a..e3132c1d69 100644 --- a/lib/fleetappsmanagement/lib/model/artifact-details.ts +++ b/lib/fleetappsmanagement/lib/model/artifact-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/associated-fleet-credential-details.ts b/lib/fleetappsmanagement/lib/model/associated-fleet-credential-details.ts index bdeb2db574..b6eecfcd15 100644 --- a/lib/fleetappsmanagement/lib/model/associated-fleet-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-fleet-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -28,7 +28,7 @@ Example: {@code My new resource} */ "displayName": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; "entitySpecifics": diff --git a/lib/fleetappsmanagement/lib/model/associated-fleet-property-details.ts b/lib/fleetappsmanagement/lib/model/associated-fleet-property-details.ts index afaca40fc0..db0e9668a8 100644 --- a/lib/fleetappsmanagement/lib/model/associated-fleet-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-fleet-property-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface AssociatedFleetPropertyDetails { /** - * Tenancy OCID + * compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/associated-fleet-resource-details.ts b/lib/fleetappsmanagement/lib/model/associated-fleet-resource-details.ts index 3bc38f9016..12a06ed22c 100644 --- a/lib/fleetappsmanagement/lib/model/associated-fleet-resource-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-fleet-resource-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/associated-local-task-details.ts b/lib/fleetappsmanagement/lib/model/associated-local-task-details.ts index 5b37a967a4..387f85a0c3 100644 --- a/lib/fleetappsmanagement/lib/model/associated-local-task-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-local-task-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -21,7 +21,10 @@ import common = require("oci-common"); * */ export interface AssociatedLocalTaskDetails extends model.AssociatedTaskDetails { - "executionDetails": model.ScriptBasedExecutionDetails | model.ApiBasedExecutionDetails; + "executionDetails": + | model.ScriptBasedExecutionDetails + | model.TerraformBasedExecutionDetails + | model.ApiBasedExecutionDetails; /** * The description of the task. */ @@ -37,7 +40,7 @@ export interface AssociatedLocalTaskDetails extends model.AssociatedTaskDetails /** * The OS for the task. */ - "osType": model.OsType; + "osType"?: model.OsType; "properties"?: model.Properties; /** * Is this a discovery output task? diff --git a/lib/fleetappsmanagement/lib/model/associated-scheduler-definition.ts b/lib/fleetappsmanagement/lib/model/associated-scheduler-definition.ts index 8f5ea15d92..2fd97b734c 100644 --- a/lib/fleetappsmanagement/lib/model/associated-scheduler-definition.ts +++ b/lib/fleetappsmanagement/lib/model/associated-scheduler-definition.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -31,10 +31,6 @@ Example: {@code My new resource} * */ "displayName": string; - /** - * OCID of the tenancy to which the resource belongs to. - */ - "tenancyId": string; /** * Is this a recurring schedule? */ diff --git a/lib/fleetappsmanagement/lib/model/associated-shared-task-details.ts b/lib/fleetappsmanagement/lib/model/associated-shared-task-details.ts index 5454847a5e..8c535a241f 100644 --- a/lib/fleetappsmanagement/lib/model/associated-shared-task-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-shared-task-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/associated-task-details.ts b/lib/fleetappsmanagement/lib/model/associated-task-details.ts index 4f1d640c14..d72f7c681c 100644 --- a/lib/fleetappsmanagement/lib/model/associated-task-details.ts +++ b/lib/fleetappsmanagement/lib/model/associated-task-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/catalog-content-details.ts b/lib/fleetappsmanagement/lib/model/catalog-content-details.ts new file mode 100644 index 0000000000..f2400fad6d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-content-details.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for Terraform content. + */ +export interface CatalogContentDetails extends model.ContentDetails { + /** + * Catalog Id having terraform package. + */ + "catalogId": string; + + "sourceType": string; +} + +export namespace CatalogContentDetails { + export function getJsonObj(obj: CatalogContentDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ContentDetails.getJsonObj(obj) as CatalogContentDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "CATALOG"; + export function getDeserializedJsonObj( + obj: CatalogContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ContentDetails.getDeserializedJsonObj(obj) as CatalogContentDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-git-result-config.ts b/lib/fleetappsmanagement/lib/model/catalog-git-result-config.ts new file mode 100644 index 0000000000..a49d430759 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-git-result-config.ts @@ -0,0 +1,67 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog GIT result config. + * + */ +export interface CatalogGitResultConfig extends model.CatalogResultPayload { + /** + * branch Name + * + */ + "branchName"?: string; + /** + * configuration Source Provider [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + "configurationSourceProviderId"?: string; + /** + * repository Url + * + */ + "repositoryUrl"?: string; + + "configResultType": string; +} + +export namespace CatalogGitResultConfig { + export function getJsonObj(obj: CatalogGitResultConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getJsonObj(obj) as CatalogGitResultConfig)), + ...{} + }; + + return jsonObj; + } + export const configResultType = "GIT_RESULT_CONFIG"; + export function getDeserializedJsonObj( + obj: CatalogGitResultConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getDeserializedJsonObj(obj) as CatalogGitResultConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-git-source-config.ts b/lib/fleetappsmanagement/lib/model/catalog-git-source-config.ts new file mode 100644 index 0000000000..ef93ca1aa7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-git-source-config.ts @@ -0,0 +1,67 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog GIT result config. + * + */ +export interface CatalogGitSourceConfig extends model.CatalogSourcePayload { + /** + * branch Name + * + */ + "branchName"?: string; + /** + * configuration Source Provider [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * + */ + "configurationSourceProviderId"?: string; + /** + * repository Url + * + */ + "repositoryUrl"?: string; + + "configSourceType": string; +} + +export namespace CatalogGitSourceConfig { + export function getJsonObj(obj: CatalogGitSourceConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getJsonObj(obj) as CatalogGitSourceConfig)), + ...{} + }; + + return jsonObj; + } + export const configSourceType = "GIT_CATALOG_SOURCE"; + export function getDeserializedJsonObj( + obj: CatalogGitSourceConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getDeserializedJsonObj(obj) as CatalogGitSourceConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-item-collection.ts b/lib/fleetappsmanagement/lib/model/catalog-item-collection.ts new file mode 100644 index 0000000000..bcc2a17f7f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-item-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The results of a CatalogItem search containing list of CatalogItemSummary items + */ +export interface CatalogItemCollection { + /** + * List of CatalogItems. + */ + "items": Array; +} + +export namespace CatalogItemCollection { + export function getJsonObj(obj: CatalogItemCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.CatalogItemSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogItemCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.CatalogItemSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/life-cycle-action-group-type.ts b/lib/fleetappsmanagement/lib/model/catalog-item-sort-by.ts similarity index 59% rename from lib/fleetappsmanagement/lib/model/life-cycle-action-group-type.ts rename to lib/fleetappsmanagement/lib/model/catalog-item-sort-by.ts index eb6747c56a..64f10139f6 100644 --- a/lib/fleetappsmanagement/lib/model/life-cycle-action-group-type.ts +++ b/lib/fleetappsmanagement/lib/model/catalog-item-sort-by.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,24 +16,20 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Possible Action Group types. + * The sort by to use. At present, the values are either time created ({@code timeCreated}), name ({@code displayName}) or timeBackfillLastChecked. + * **/ -export enum LifeCycleActionGroupType { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" +export enum CatalogItemSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName", + TimeBackfillLastChecked = "timeBackfillLastChecked" } -export namespace LifeCycleActionGroupType { - export function getJsonObj(obj: LifeCycleActionGroupType): LifeCycleActionGroupType { +export namespace CatalogItemSortBy { + export function getJsonObj(obj: CatalogItemSortBy): CatalogItemSortBy { return obj; } - export function getDeserializedJsonObj(obj: LifeCycleActionGroupType): LifeCycleActionGroupType { + export function getDeserializedJsonObj(obj: CatalogItemSortBy): CatalogItemSortBy { return obj; } } diff --git a/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts b/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts new file mode 100644 index 0000000000..4898abd0c2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-item-summary.ts @@ -0,0 +1,155 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a CatalogItem. + */ +export interface CatalogItemSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the catalog. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. + * + */ + "configSourceType": string; + /** + * The description of the catalogItem. + */ + "description": string; + "catalogSourcePayload"?: + | model.CatalogGitSourceConfig + | model.CatalogSourceTemplateConfig + | model.CatalogParSourceConfig + | model.CatalogMarketplaceSourceConfig; + "catalogResultPayload"?: + | model.CatalogGitResultConfig + | model.CatalogTemplateResultConfig + | model.CatalogParResultConfig; + /** + * The catalog listing Id. + * + */ + "listingId": string; + /** + * The catalog package version. + * + */ + "listingVersion": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * Config package type Eg: BASE_PACKAGE, EXTENSION_PACKAGE. + * + */ + "packageType": string; + /** + * The current state of the CatalogItem. + */ + "lifecycleState": string; + /** + * The details of lifecycle state CatalogItem. + */ + "lifecycleDetails": string; + /** + * The date and time the CatalogItem was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time the CatalogItem was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated": Date; + /** + * Version description about the catalog item. + */ + "versionDescription": string; + /** + * Short description about the catalog item. + */ + "shortDescription": string; + /** + * The date and time the CatalogItem was released, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeReleased": Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CatalogItemSummary { + export function getJsonObj(obj: CatalogItemSummary): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getJsonObj(obj.catalogSourcePayload) + : undefined, + "catalogResultPayload": obj.catalogResultPayload + ? model.CatalogResultPayload.getJsonObj(obj.catalogResultPayload) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogItemSummary): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getDeserializedJsonObj(obj.catalogSourcePayload) + : undefined, + "catalogResultPayload": obj.catalogResultPayload + ? model.CatalogResultPayload.getDeserializedJsonObj(obj.catalogResultPayload) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-item.ts b/lib/fleetappsmanagement/lib/model/catalog-item.ts new file mode 100644 index 0000000000..c0fb18e5ad --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-item.ts @@ -0,0 +1,212 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A description of a CatalogItem resource. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface CatalogItem { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the catalog. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. + * + */ + "configSourceType": CatalogItem.ConfigSourceType; + /** + * The indicator to append Public Items from the root compartment to any query, when set to TRUE. + */ + "shouldListPublicItems"?: boolean; + /** + * Description about the catalog item. + */ + "description": string; + "catalogSourcePayload"?: + | model.CatalogGitSourceConfig + | model.CatalogSourceTemplateConfig + | model.CatalogParSourceConfig + | model.CatalogMarketplaceSourceConfig; + "catalogResultPayload"?: + | model.CatalogGitResultConfig + | model.CatalogTemplateResultConfig + | model.CatalogParResultConfig; + /** + * The catalog listing Id. + * + */ + "listingId": string; + /** + * The catalog package version. + * + */ + "listingVersion": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName": string; + /** + * Version description about the catalog item. + */ + "versionDescription"?: string; + /** + * Short description about the catalog item. + */ + "shortDescription"?: string; + /** + * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. + * + */ + "packageType": CatalogItem.PackageType; + /** + * The current state of the CatalogItem. + */ + "lifecycleState": CatalogItem.LifecycleState; + /** + * The details of lifecycle state CatalogItem. + */ + "lifecycleDetails": string; + /** + * The date and time the CatalogItem was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time the CatalogItem was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeUpdated": Date; + /** + * The date and time the CatalogItem was released, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeReleased"?: Date; + /** + * The date and time the CatalogItem was last checked by backfill job, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeBackfillLastChecked"?: Date; + /** + * The date and time the CatalogItem was last checked, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeLastChecked"?: Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CatalogItem { + export enum ConfigSourceType { + ParCatalogSource = "PAR_CATALOG_SOURCE", + GitCatalogSource = "GIT_CATALOG_SOURCE", + MarketplaceCatalogSource = "MARKETPLACE_CATALOG_SOURCE", + StackTemplateCatalogSource = "STACK_TEMPLATE_CATALOG_SOURCE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum PackageType { + TfPackage = "TF_PACKAGE", + NonTfPackage = "NON_TF_PACKAGE", + ConfigFile = "CONFIG_FILE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: CatalogItem): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getJsonObj(obj.catalogSourcePayload) + : undefined, + "catalogResultPayload": obj.catalogResultPayload + ? model.CatalogResultPayload.getJsonObj(obj.catalogResultPayload) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogItem): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getDeserializedJsonObj(obj.catalogSourcePayload) + : undefined, + "catalogResultPayload": obj.catalogResultPayload + ? model.CatalogResultPayload.getDeserializedJsonObj(obj.catalogResultPayload) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-listing-version-criteria-enum.ts b/lib/fleetappsmanagement/lib/model/catalog-listing-version-criteria-enum.ts new file mode 100644 index 0000000000..e972f3500d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-listing-version-criteria-enum.ts @@ -0,0 +1,39 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This Enum is used for specifying listing parameters. + * + **/ +export enum CatalogListingVersionCriteriaEnum { + ListAllVersions = "LIST_ALL_VERSIONS", + ListEarliestVersionOnly = "LIST_EARLIEST_VERSION_ONLY", + ListLatestVersionOnly = "LIST_LATEST_VERSION_ONLY" +} + +export namespace CatalogListingVersionCriteriaEnum { + export function getJsonObj( + obj: CatalogListingVersionCriteriaEnum + ): CatalogListingVersionCriteriaEnum { + return obj; + } + export function getDeserializedJsonObj( + obj: CatalogListingVersionCriteriaEnum + ): CatalogListingVersionCriteriaEnum { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-marketplace-source-config.ts b/lib/fleetappsmanagement/lib/model/catalog-marketplace-source-config.ts new file mode 100644 index 0000000000..885cf91c8f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-marketplace-source-config.ts @@ -0,0 +1,65 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog market source config. + * + */ +export interface CatalogMarketplaceSourceConfig extends model.CatalogSourcePayload { + /** + * This listing Id parameter of Payload. + */ + "listingId"?: string; + /** + * This version parameter of Payload. + */ + "version"?: string; + + "configSourceType": string; +} + +export namespace CatalogMarketplaceSourceConfig { + export function getJsonObj( + obj: CatalogMarketplaceSourceConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getJsonObj(obj) as CatalogMarketplaceSourceConfig)), + ...{} + }; + + return jsonObj; + } + export const configSourceType = "MARKETPLACE_CATALOG_SOURCE"; + export function getDeserializedJsonObj( + obj: CatalogMarketplaceSourceConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getDeserializedJsonObj( + obj + ) as CatalogMarketplaceSourceConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-par-result-config.ts b/lib/fleetappsmanagement/lib/model/catalog-par-result-config.ts new file mode 100644 index 0000000000..6cd9071326 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-par-result-config.ts @@ -0,0 +1,64 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog par result config. + * + */ +export interface CatalogParResultConfig extends model.CatalogResultPayload { + /** + * package url + * + */ + "packageUrl"?: string; + /** + * The date and time expires, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeExpires"?: Date; + + "configResultType": string; +} + +export namespace CatalogParResultConfig { + export function getJsonObj(obj: CatalogParResultConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getJsonObj(obj) as CatalogParResultConfig)), + ...{} + }; + + return jsonObj; + } + export const configResultType = "PAR_RESULT_CONFIG"; + export function getDeserializedJsonObj( + obj: CatalogParResultConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getDeserializedJsonObj(obj) as CatalogParResultConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-par-source-config.ts b/lib/fleetappsmanagement/lib/model/catalog-par-source-config.ts new file mode 100644 index 0000000000..da7b1e08b0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-par-source-config.ts @@ -0,0 +1,79 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog par source config. + * + */ +export interface CatalogParSourceConfig extends model.CatalogSourcePayload { + /** + * nameSpace + * + */ + "namespaceName"?: string; + /** + * bucket name + * + */ + "bucketName"?: string; + /** + * object name + * + */ + "objectName"?: string; + /** + * access uri + * + */ + "accessUri"?: string; + /** + * The date and time expires, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeExpires"?: Date; + + "configSourceType": string; +} + +export namespace CatalogParSourceConfig { + export function getJsonObj(obj: CatalogParSourceConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getJsonObj(obj) as CatalogParSourceConfig)), + ...{} + }; + + return jsonObj; + } + export const configSourceType = "PAR_CATALOG_SOURCE"; + export function getDeserializedJsonObj( + obj: CatalogParSourceConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getDeserializedJsonObj(obj) as CatalogParSourceConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-result-payload.ts b/lib/fleetappsmanagement/lib/model/catalog-result-payload.ts new file mode 100644 index 0000000000..6e71f0e10f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-result-payload.ts @@ -0,0 +1,87 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog result payload. + * + */ +export interface CatalogResultPayload { + /** + * working directory + * + */ + "workingDirectory"?: string; + + "configResultType": string; +} + +export namespace CatalogResultPayload { + export function getJsonObj(obj: CatalogResultPayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "configResultType" in obj && obj.configResultType) { + switch (obj.configResultType) { + case "GIT_RESULT_CONFIG": + return model.CatalogGitResultConfig.getJsonObj( + (jsonObj), + true + ); + case "TEMPLATE_RESULT_CONFIG": + return model.CatalogTemplateResultConfig.getJsonObj( + (jsonObj), + true + ); + case "PAR_RESULT_CONFIG": + return model.CatalogParResultConfig.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.configResultType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogResultPayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "configResultType" in obj && obj.configResultType) { + switch (obj.configResultType) { + case "GIT_RESULT_CONFIG": + return model.CatalogGitResultConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + case "TEMPLATE_RESULT_CONFIG": + return model.CatalogTemplateResultConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PAR_RESULT_CONFIG": + return model.CatalogParResultConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.configResultType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-source-payload.ts b/lib/fleetappsmanagement/lib/model/catalog-source-payload.ts new file mode 100644 index 0000000000..1295f1d156 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-source-payload.ts @@ -0,0 +1,96 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog source payload. + */ +export interface CatalogSourcePayload { + /** + * File path to the directory to use for running Terraform. If not specified, the root directory is used. + * + */ + "workingDirectory"?: string; + + "configSourceType": string; +} + +export namespace CatalogSourcePayload { + export function getJsonObj(obj: CatalogSourcePayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "configSourceType" in obj && obj.configSourceType) { + switch (obj.configSourceType) { + case "GIT_CATALOG_SOURCE": + return model.CatalogGitSourceConfig.getJsonObj( + (jsonObj), + true + ); + case "STACK_TEMPLATE_CATALOG_SOURCE": + return model.CatalogSourceTemplateConfig.getJsonObj( + (jsonObj), + true + ); + case "PAR_CATALOG_SOURCE": + return model.CatalogParSourceConfig.getJsonObj( + (jsonObj), + true + ); + case "MARKETPLACE_CATALOG_SOURCE": + return model.CatalogMarketplaceSourceConfig.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.configSourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: CatalogSourcePayload): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "configSourceType" in obj && obj.configSourceType) { + switch (obj.configSourceType) { + case "GIT_CATALOG_SOURCE": + return model.CatalogGitSourceConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + case "STACK_TEMPLATE_CATALOG_SOURCE": + return model.CatalogSourceTemplateConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PAR_CATALOG_SOURCE": + return model.CatalogParSourceConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + case "MARKETPLACE_CATALOG_SOURCE": + return model.CatalogMarketplaceSourceConfig.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.configSourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-source-template-config.ts b/lib/fleetappsmanagement/lib/model/catalog-source-template-config.ts new file mode 100644 index 0000000000..a7389989fa --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-source-template-config.ts @@ -0,0 +1,72 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog source template config. + * + */ +export interface CatalogSourceTemplateConfig extends model.CatalogSourcePayload { + /** + * The Base64 encoded template. This payload will trigger CreateTemplate API, where the parameter will be passed. + * + */ + "zipFileBase64Encoded"?: string; + /** + * Template Description + * + */ + "description"?: string; + /** + * Template Long Description + * + */ + "longDescription"?: string; + /** + * Template Display Name + * + */ + "templateDisplayName"?: string; + + "configSourceType": string; +} + +export namespace CatalogSourceTemplateConfig { + export function getJsonObj(obj: CatalogSourceTemplateConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getJsonObj(obj) as CatalogSourceTemplateConfig)), + ...{} + }; + + return jsonObj; + } + export const configSourceType = "STACK_TEMPLATE_CATALOG_SOURCE"; + export function getDeserializedJsonObj( + obj: CatalogSourceTemplateConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogSourcePayload.getDeserializedJsonObj(obj) as CatalogSourceTemplateConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/catalog-template-result-config.ts b/lib/fleetappsmanagement/lib/model/catalog-template-result-config.ts new file mode 100644 index 0000000000..7b6990d18f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/catalog-template-result-config.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Catalog par result config. + * + */ +export interface CatalogTemplateResultConfig extends model.CatalogResultPayload { + /** + * template id + * + */ + "templateId"?: string; + + "configResultType": string; +} + +export namespace CatalogTemplateResultConfig { + export function getJsonObj(obj: CatalogTemplateResultConfig, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getJsonObj(obj) as CatalogTemplateResultConfig)), + ...{} + }; + + return jsonObj; + } + export const configResultType = "TEMPLATE_RESULT_CONFIG"; + export function getDeserializedJsonObj( + obj: CatalogTemplateResultConfig, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.CatalogResultPayload.getDeserializedJsonObj(obj) as CatalogTemplateResultConfig)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-catalog-item-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-catalog-item-compartment-details.ts new file mode 100644 index 0000000000..1027c2b59e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-catalog-item-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeCatalogItemCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the CatalogItem to + * + */ + "compartmentId": string; +} + +export namespace ChangeCatalogItemCompartmentDetails { + export function getJsonObj(obj: ChangeCatalogItemCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeCatalogItemCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-fleet-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-fleet-compartment-details.ts new file mode 100644 index 0000000000..0bf68a768e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-fleet-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeFleetCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Fleet to. + * + */ + "compartmentId": string; +} + +export namespace ChangeFleetCompartmentDetails { + export function getJsonObj(obj: ChangeFleetCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeFleetCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-patch-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-patch-compartment-details.ts new file mode 100644 index 0000000000..22ce8c6af0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-patch-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangePatchCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the patch to. + * + */ + "compartmentId": string; +} + +export namespace ChangePatchCompartmentDetails { + export function getJsonObj(obj: ChangePatchCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangePatchCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-platform-configuration-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-platform-configuration-compartment-details.ts new file mode 100644 index 0000000000..c5cfe7c797 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-platform-configuration-compartment-details.ts @@ -0,0 +1,42 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangePlatformConfigurationCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Platform Configuration to. + * + */ + "compartmentId": string; +} + +export namespace ChangePlatformConfigurationCompartmentDetails { + export function getJsonObj(obj: ChangePlatformConfigurationCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangePlatformConfigurationCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-property-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-property-compartment-details.ts new file mode 100644 index 0000000000..34e32e9148 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-property-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangePropertyCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Property to. + * + */ + "compartmentId": string; +} + +export namespace ChangePropertyCompartmentDetails { + export function getJsonObj(obj: ChangePropertyCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangePropertyCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-provision-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-provision-compartment-details.ts new file mode 100644 index 0000000000..cdef3d3a25 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-provision-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeProvisionCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the FamProvision to. + * + */ + "compartmentId": string; +} + +export namespace ChangeProvisionCompartmentDetails { + export function getJsonObj(obj: ChangeProvisionCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeProvisionCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-runbook-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-runbook-compartment-details.ts new file mode 100644 index 0000000000..f1a5d5de4b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-runbook-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeRunbookCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Planner to. + * + */ + "compartmentId": string; +} + +export namespace ChangeRunbookCompartmentDetails { + export function getJsonObj(obj: ChangeRunbookCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeRunbookCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/change-task-record-compartment-details.ts b/lib/fleetappsmanagement/lib/model/change-task-record-compartment-details.ts new file mode 100644 index 0000000000..c638024766 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/change-task-record-compartment-details.ts @@ -0,0 +1,40 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeTaskRecordCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the task record to. + * + */ + "compartmentId": string; +} + +export namespace ChangeTaskRecordCompartmentDetails { + export function getJsonObj(obj: ChangeTaskRecordCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeTaskRecordCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/check-resource-tagging-details.ts b/lib/fleetappsmanagement/lib/model/check-resource-tagging-details.ts index c71adefe60..54a90526f9 100644 --- a/lib/fleetappsmanagement/lib/model/check-resource-tagging-details.ts +++ b/lib/fleetappsmanagement/lib/model/check-resource-tagging-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface CheckResourceTaggingDetails { /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/clone-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/clone-catalog-item-details.ts new file mode 100644 index 0000000000..6d7dc1f840 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/clone-catalog-item-details.ts @@ -0,0 +1,44 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the clone operation. + */ +export interface CloneCatalogItemDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to clone the CatalogItem to + * + */ + "compartmentId": string; + /** + * Version description about the catalog item. + */ + "versionDescription"?: string; +} + +export namespace CloneCatalogItemDetails { + export function getJsonObj(obj: CloneCatalogItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CloneCatalogItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compliance-detail-policy.ts b/lib/fleetappsmanagement/lib/model/compliance-detail-policy.ts index a2e8567bf1..7876873e82 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-detail-policy.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-detail-policy.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-detail-product.ts b/lib/fleetappsmanagement/lib/model/compliance-detail-product.ts index 53c9029257..74c885399b 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-detail-product.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-detail-product.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details of the Product + * Details of the Product. */ export interface ComplianceDetailProduct { /** diff --git a/lib/fleetappsmanagement/lib/model/compliance-detail-resource.ts b/lib/fleetappsmanagement/lib/model/compliance-detail-resource.ts index a313eee8f0..9b1ce63afe 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-detail-resource.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-detail-resource.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -28,7 +28,7 @@ export interface ComplianceDetailResource { */ "resourceName": string; /** - * TenancyId of the resource. + * Compartment OCID of the resource. */ "compartmentId"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/compliance-detail-target.ts b/lib/fleetappsmanagement/lib/model/compliance-detail-target.ts index 8bf1c4ae92..b9a69ec7b6 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-detail-target.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-detail-target.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details of the Target + * Details of the Target. */ export interface ComplianceDetailTarget { /** diff --git a/lib/fleetappsmanagement/lib/model/compliance-level.ts b/lib/fleetappsmanagement/lib/model/compliance-level.ts index 1f72f085fb..bdbcd29238 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-level.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-level.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-patch-detail.ts b/lib/fleetappsmanagement/lib/model/compliance-patch-detail.ts index 073beb3ad5..27800d051c 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-patch-detail.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-patch-detail.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details of the Patch + * Details of the Patch. */ export interface CompliancePatchDetail { /** diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-collection.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-collection.ts index 6ee24afcf5..38a056c45b 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy-collection.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface CompliancePolicyCollection { /** - * List of compliancePolicys. + * List of compliance policies. */ "items": Array; } diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-rule-collection.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-collection.ts index 969f0efd90..7a8eb6fb09 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy-rule-collection.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-rule-sort-by.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-sort-by.ts new file mode 100644 index 0000000000..ae8568690d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-sort-by.ts @@ -0,0 +1,36 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum CompliancePolicyRuleSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace CompliancePolicyRuleSortBy { + export function getJsonObj(obj: CompliancePolicyRuleSortBy): CompliancePolicyRuleSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: CompliancePolicyRuleSortBy + ): CompliancePolicyRuleSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-rule-summary.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-summary.ts index ce54f2f174..38e2efb999 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy-rule-summary.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-rule-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -39,7 +39,7 @@ Example: {@code My new resource} /** * PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies. */ - "patchType": Array; + "patchTypeId": Array; /** * Severity to which this CompliancePolicyRule applies. */ diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-rule.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-rule.ts index a30f2032be..550a7ccbb9 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy-rule.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-rule.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -41,7 +41,7 @@ Example: {@code My new resource} /** * PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies. */ - "patchType": Array; + "patchTypeId": Array; /** * Severity to which this CompliancePolicyRule applies. */ diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-sort-by.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-sort-by.ts new file mode 100644 index 0000000000..ab3a99c99c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum CompliancePolicySortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace CompliancePolicySortBy { + export function getJsonObj(obj: CompliancePolicySortBy): CompliancePolicySortBy { + return obj; + } + export function getDeserializedJsonObj(obj: CompliancePolicySortBy): CompliancePolicySortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy-summary.ts b/lib/fleetappsmanagement/lib/model/compliance-policy-summary.ts index 31af733727..be1d9b080e 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy-summary.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -35,6 +35,10 @@ export interface CompliancePolicySummary { * The OCID of the compartment the CompliancePolicy belongs to. */ "compartmentId": string; + /** + * The type of the Compliance Policy. + */ + "type"?: string; /** * The date and time the CompliancePolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). *

diff --git a/lib/fleetappsmanagement/lib/model/compliance-policy.ts b/lib/fleetappsmanagement/lib/model/compliance-policy.ts index 6bcb0b3f52..a246d17fbb 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-policy.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-policy.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * Define software patch compliance policies for various products running in OCI resources. - * A compliance policy is a configuration you set up for various products to report compliance by defining the schedule and patch baseline + * A compliance policy is a configuration you set up for various products to report compliance by defining the schedule and patch baseline. * */ export interface CompliancePolicy { @@ -37,6 +37,10 @@ export interface CompliancePolicy { * The OCID of the compartment the CompliancePolicy belongs to. */ "compartmentId": string; + /** + * The type of the Compliance Policy. + */ + "type"?: CompliancePolicy.Type; /** * The date and time the CompliancePolicy was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). *

@@ -82,6 +86,16 @@ Example: {@code 2016-08-25T21:10:29.600Z} } export namespace CompliancePolicy { + export enum Type { + UserDefined = "USER_DEFINED", + OracleDefined = "ORACLE_DEFINED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export enum LifecycleState { Creating = "CREATING", Updating = "UPDATING", diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-aggregation-collection.ts b/lib/fleetappsmanagement/lib/model/compliance-record-aggregation-collection.ts index 46ea712d3b..33bfbb5293 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record-aggregation-collection.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record-aggregation-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-aggregation.ts b/lib/fleetappsmanagement/lib/model/compliance-record-aggregation.ts index a4c889ce4e..28b66b1758 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record-aggregation.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record-aggregation.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface ComplianceRecordAggregation { /** - * count of ComplianceRecord in a Tenancy. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Count of compliance records in a compartment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "count": number; "dimensions": model.ComplianceRecordDimension; diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-collection.ts b/lib/fleetappsmanagement/lib/model/compliance-record-collection.ts index d89c04f763..cdf9963bb0 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record-collection.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-dimension.ts b/lib/fleetappsmanagement/lib/model/compliance-record-dimension.ts index a9b0c375ca..340712f77e 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record-dimension.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record-dimension.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-sort-by.ts b/lib/fleetappsmanagement/lib/model/compliance-record-sort-by.ts new file mode 100644 index 0000000000..7a94629565 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/compliance-record-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum ComplianceRecordSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace ComplianceRecordSortBy { + export function getJsonObj(obj: ComplianceRecordSortBy): ComplianceRecordSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: ComplianceRecordSortBy): ComplianceRecordSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/compliance-record-summary.ts b/lib/fleetappsmanagement/lib/model/compliance-record-summary.ts index 91e20ce23e..31bd8a9e04 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record-summary.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -61,6 +61,24 @@ Example: {@code 2016-08-25T21:10:29.600Z} * The current state of the ComplianceRecord. */ "lifecycleState"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ComplianceRecordSummary { diff --git a/lib/fleetappsmanagement/lib/model/compliance-record.ts b/lib/fleetappsmanagement/lib/model/compliance-record.ts index e2f8e6ebcf..9a194c4714 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-record.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-record.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -62,6 +62,24 @@ Example: {@code 2016-08-25T21:10:29.600Z} * The current state of the ComplianceRecord. */ "lifecycleState"?: ComplianceRecord.LifecycleState; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace ComplianceRecord { diff --git a/lib/fleetappsmanagement/lib/model/compliance-report-patch-detail.ts b/lib/fleetappsmanagement/lib/model/compliance-report-patch-detail.ts index 121bfcc6af..8421726117 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-report-patch-detail.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-report-patch-detail.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-report-product.ts b/lib/fleetappsmanagement/lib/model/compliance-report-product.ts index 503031ea4c..612af90c49 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-report-product.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-report-product.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-report-resource.ts b/lib/fleetappsmanagement/lib/model/compliance-report-resource.ts index 9018c34b4f..ff9eb42478 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-report-resource.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-report-resource.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-report-target.ts b/lib/fleetappsmanagement/lib/model/compliance-report-target.ts index c8815f69a8..5df3b663bd 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-report-target.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-report-target.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-report.ts b/lib/fleetappsmanagement/lib/model/compliance-report.ts index 91c2bac11a..a486f96b89 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-report.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-report.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -31,6 +31,10 @@ export interface ComplianceReport { * The last known compliance state of the fleet. */ "complianceState": model.ComplianceState; + /** + * The compliance percentage. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentCompliant"?: number; /** * Resources associated with the Fleet. */ diff --git a/lib/fleetappsmanagement/lib/model/compliance-rule-severity.ts b/lib/fleetappsmanagement/lib/model/compliance-rule-severity.ts index 9458afd1cf..ccbbd79816 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-rule-severity.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-rule-severity.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/compliance-state.ts b/lib/fleetappsmanagement/lib/model/compliance-state.ts index 9515c8dc1f..b382f24e47 100644 --- a/lib/fleetappsmanagement/lib/model/compliance-state.ts +++ b/lib/fleetappsmanagement/lib/model/compliance-state.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/component-properties.ts b/lib/fleetappsmanagement/lib/model/component-properties.ts index 5ad1658314..0f3b7985be 100644 --- a/lib/fleetappsmanagement/lib/model/component-properties.ts +++ b/lib/fleetappsmanagement/lib/model/component-properties.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,19 +19,15 @@ import common = require("oci-common"); * The properties of the component. */ export interface ComponentProperties { - /** - * The runOn condition for the task/group/container. - * Build task execution conditions if applicable to product and product-specific components. - * This condition is relevant when handling product stack workflows. - * Example: target.product.name = Oracle WebLogic Server OR target.product.name = Oracle HTTP Server - * - */ - "runOn"?: string; + "runOn"?: + | model.SelfHostedInstanceRunOnDetails + | model.ScheduleInstanceRunOnDetails + | model.PreviousTaskInstanceRunOnDetails; /** * Build control flow conditions that determine the relevance of the task execution. * */ - "condition"?: string; + "preCondition"?: string; /** * The action to be taken in case of a failure. */ @@ -56,6 +52,8 @@ export namespace ComponentProperties { const jsonObj = { ...obj, ...{ + "runOn": obj.runOn ? model.RunOnDetails.getJsonObj(obj.runOn) : undefined, + "pauseDetails": obj.pauseDetails ? model.PauseDetails.getJsonObj(obj.pauseDetails) : undefined, @@ -71,6 +69,8 @@ export namespace ComponentProperties { const jsonObj = { ...obj, ...{ + "runOn": obj.runOn ? model.RunOnDetails.getDeserializedJsonObj(obj.runOn) : undefined, + "pauseDetails": obj.pauseDetails ? model.PauseDetails.getDeserializedJsonObj(obj.pauseDetails) : undefined, diff --git a/lib/fleetappsmanagement/lib/model/condition.ts b/lib/fleetappsmanagement/lib/model/condition.ts index e951376bbe..8043bffc85 100644 --- a/lib/fleetappsmanagement/lib/model/condition.ts +++ b/lib/fleetappsmanagement/lib/model/condition.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/config-association-details.ts b/lib/fleetappsmanagement/lib/model/config-association-details.ts index 507ea1d6ca..717619fcef 100644 --- a/lib/fleetappsmanagement/lib/model/config-association-details.ts +++ b/lib/fleetappsmanagement/lib/model/config-association-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/config-category-details.ts b/lib/fleetappsmanagement/lib/model/config-category-details.ts index a14c840728..de9f7995cc 100644 --- a/lib/fleetappsmanagement/lib/model/config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -48,11 +48,21 @@ export namespace ConfigCategoryDetails { (jsonObj), true ); + case "LIFECYCLE_OPERATION": + return model.LifecycleOperationConfigCategoryDetails.getJsonObj( + (jsonObj), + true + ); case "PRODUCT": return model.ProductConfigCategoryDetails.getJsonObj( (jsonObj), true ); + case "SELF_HOSTED_INSTANCE": + return model.SelfHostedInstanceConfigCategoryDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.configCategory}`); } @@ -84,11 +94,21 @@ export namespace ConfigCategoryDetails { (jsonObj), true ); + case "LIFECYCLE_OPERATION": + return model.LifecycleOperationConfigCategoryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "PRODUCT": return model.ProductConfigCategoryDetails.getDeserializedJsonObj( (jsonObj), true ); + case "SELF_HOSTED_INSTANCE": + return model.SelfHostedInstanceConfigCategoryDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.configCategory}`); } diff --git a/lib/fleetappsmanagement/lib/model/config-file-details.ts b/lib/fleetappsmanagement/lib/model/config-file-details.ts new file mode 100644 index 0000000000..b4b852507b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/config-file-details.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface ConfigFileDetails { + "sourceType": string; +} + +export namespace ConfigFileDetails { + export function getJsonObj(obj: ConfigFileDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.ObjectStorageBucketConfigFileDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: ConfigFileDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.ObjectStorageBucketConfigFileDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/confirm-targets-details.ts b/lib/fleetappsmanagement/lib/model/confirm-targets-details.ts index d286a87d6c..8cec2abfce 100644 --- a/lib/fleetappsmanagement/lib/model/confirm-targets-details.ts +++ b/lib/fleetappsmanagement/lib/model/confirm-targets-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/content-details.ts b/lib/fleetappsmanagement/lib/model/content-details.ts index d0b36e38ed..009444fbfc 100644 --- a/lib/fleetappsmanagement/lib/model/content-details.ts +++ b/lib/fleetappsmanagement/lib/model/content-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -28,6 +28,11 @@ export namespace ContentDetails { if (obj && "sourceType" in obj && obj.sourceType) { switch (obj.sourceType) { + case "CATALOG": + return model.CatalogContentDetails.getJsonObj( + (jsonObj), + true + ); case "OBJECT_STORAGE_BUCKET": return model.ObjectStorageBucketContentDetails.getJsonObj( (jsonObj), @@ -44,6 +49,11 @@ export namespace ContentDetails { if (obj && "sourceType" in obj && obj.sourceType) { switch (obj.sourceType) { + case "CATALOG": + return model.CatalogContentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "OBJECT_STORAGE_BUCKET": return model.ObjectStorageBucketContentDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts new file mode 100644 index 0000000000..4e102d527f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/create-catalog-item-details.ts @@ -0,0 +1,113 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a CatalogItem. + */ +export interface CreateCatalogItemDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. + * + */ + "configSourceType": string; + /** + * The description of the CatalogItem. + * + */ + "description": string; + /** + * Version description about the catalog item. + */ + "versionDescription"?: string; + /** + * Short description about the catalog item. + */ + "shortDescription"?: string; + /** + * The date and time the CatalogItem was released, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeReleased"?: Date; + /** + * The CatalogItem name. + */ + "displayName": string; + "catalogSourcePayload"?: + | model.CatalogGitSourceConfig + | model.CatalogSourceTemplateConfig + | model.CatalogParSourceConfig + | model.CatalogMarketplaceSourceConfig; + /** + * The catalog listing Id. + * + */ + "listingId"?: string; + /** + * The catalog package version. + * + */ + "listingVersion"?: string; + /** + * Config package type Eg: TF_PACKAGE, NON_TF_PACKAGE, CONFIG_FILE. + * + */ + "packageType": string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateCatalogItemDetails { + export function getJsonObj(obj: CreateCatalogItemDetails): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getJsonObj(obj.catalogSourcePayload) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateCatalogItemDetails): object { + const jsonObj = { + ...obj, + ...{ + "catalogSourcePayload": obj.catalogSourcePayload + ? model.CatalogSourcePayload.getDeserializedJsonObj(obj.catalogSourcePayload) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/create-compliance-policy-rule-details.ts b/lib/fleetappsmanagement/lib/model/create-compliance-policy-rule-details.ts index 9755a1a602..71473c22ed 100644 --- a/lib/fleetappsmanagement/lib/model/create-compliance-policy-rule-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-compliance-policy-rule-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -30,12 +30,12 @@ Example: {@code My new resource} /** * Unique OCID of the CompliancePolicy this CompliancePolicyRule belongs to. */ - "compliancePolicyId"?: string; + "compliancePolicyId": string; "productVersion": model.ProductVersionDetails; /** * PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies. */ - "patchType": Array; + "patchTypeId": Array; /** * Severity to which this CompliancePolicyRule applies. */ @@ -50,10 +50,6 @@ Example: {@code My new resource} * */ "gracePeriod"?: string; - /** - * The OCID of the compartment the CompliancePolicyRule belongs to. - */ - "compartmentId": string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/create-fleet-credential-details.ts b/lib/fleetappsmanagement/lib/model/create-fleet-credential-details.ts index a71397ef37..a5ad6c8b27 100644 --- a/lib/fleetappsmanagement/lib/model/create-fleet-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-fleet-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -27,10 +27,6 @@ Example: {@code My new resource} * */ "displayName": string; - /** - * Tenancy OCID - */ - "compartmentId": string; "entitySpecifics": | model.TargetCredentialEntitySpecificDetails | model.FleetCredentialEntitySpecificDetails diff --git a/lib/fleetappsmanagement/lib/model/create-fleet-details.ts b/lib/fleetappsmanagement/lib/model/create-fleet-details.ts index be6caa409a..e3722e806f 100644 --- a/lib/fleetappsmanagement/lib/model/create-fleet-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-fleet-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -26,7 +26,7 @@ export interface CreateFleetDetails { Example: {@code My new resource} * */ - "displayName"?: string; + "displayName": string; /** * A user-friendly description. To provide some insight about the resource. * Avoid entering confidential information. @@ -34,47 +34,29 @@ Example: {@code My new resource} */ "description"?: string; /** - * Tenancy OCID + * compartment OCID */ "compartmentId": string; - /** - * Type of the Fleet. - * PRODUCT - A fleet of product-specific resources for a product type. - * ENVIRONMENT - A fleet of environment-specific resources for a product stack. - * GROUP - A fleet of a fleet of either environment or product fleets. - * GENERIC - A fleet of resources selected dynamically or manually for reporting purposes - * - */ - "fleetType": string; + "details"?: + | model.GroupFleetDetails + | model.ProductFleetDetails + | model.GenericFleetDetails + | model.EnvironmentFleetDetails; /** * Products associated with the Fleet. */ "products"?: Array; - /** - * Product stack associated with the Fleet. - * Applicable for ENVIRONMENT fleet types. - * - */ - "applicationType"?: string; /** * Environment Type associated with the Fleet. * Applicable for ENVIRONMENT fleet types. * */ "environmentType"?: string; + "resourceSelection": model.DynamicResourceSelection | model.ManualResourceSelection; /** - * Group Type associated with Group Fleet. - * - */ - "groupType"?: string; - /** - * Type of resource selection in a Fleet. - * Select resources manually or select resources based on rules. - * + * Notification Preferences associated with the Fleet. */ - "resourceSelectionType"?: string; - "ruleSelectionCriteria"?: model.SelectionCriteria; - "notificationPreferences"?: model.NotificationPreferences; + "notificationPreferences"?: Array; /** * Resources associated with the Fleet if resourceSelectionType is MANUAL. */ @@ -83,6 +65,15 @@ Example: {@code My new resource} * Credentials associated with the Fleet. */ "credentials"?: Array; + /** + * Properties associated with the Fleet. + */ + "properties"?: Array; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet that would be the parent for this fleet. + * + */ + "parentFleetId"?: string; /** * A value that represents if auto-confirming of the targets can be enabled. * This will allow targets to be auto-confirmed in the fleet without manual intervention. @@ -108,11 +99,15 @@ export namespace CreateFleetDetails { const jsonObj = { ...obj, ...{ - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getJsonObj(obj.ruleSelectionCriteria) + "details": obj.details ? model.FleetDetails.getJsonObj(obj.details) : undefined, + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getJsonObj(obj.resourceSelection) : undefined, "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getJsonObj(item); + }) : undefined, "resources": obj.resources ? obj.resources.map(item => { @@ -123,6 +118,11 @@ export namespace CreateFleetDetails { ? obj.credentials.map(item => { return model.AssociatedFleetCredentialDetails.getJsonObj(item); }) + : undefined, + "properties": obj.properties + ? obj.properties.map(item => { + return model.AssociatedFleetPropertyDetails.getJsonObj(item); + }) : undefined } }; @@ -133,11 +133,15 @@ export namespace CreateFleetDetails { const jsonObj = { ...obj, ...{ - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getDeserializedJsonObj(obj.ruleSelectionCriteria) + "details": obj.details ? model.FleetDetails.getDeserializedJsonObj(obj.details) : undefined, + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getDeserializedJsonObj(obj.resourceSelection) : undefined, "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getDeserializedJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getDeserializedJsonObj(item); + }) : undefined, "resources": obj.resources ? obj.resources.map(item => { @@ -148,6 +152,11 @@ export namespace CreateFleetDetails { ? obj.credentials.map(item => { return model.AssociatedFleetCredentialDetails.getDeserializedJsonObj(item); }) + : undefined, + "properties": obj.properties + ? obj.properties.map(item => { + return model.AssociatedFleetPropertyDetails.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/create-fleet-property-details.ts b/lib/fleetappsmanagement/lib/model/create-fleet-property-details.ts index 10ddc315b6..7d3580a159 100644 --- a/lib/fleetappsmanagement/lib/model/create-fleet-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-fleet-property-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,10 +19,6 @@ import common = require("oci-common"); * The information about new Property to manage fleet metadata details. */ export interface CreateFleetPropertyDetails { - /** - * Tenancy OCID - */ - "compartmentId": string; /** * Value of the Property. */ diff --git a/lib/fleetappsmanagement/lib/model/create-fleet-resource-details.ts b/lib/fleetappsmanagement/lib/model/create-fleet-resource-details.ts index a855125f15..c8b91359e0 100644 --- a/lib/fleetappsmanagement/lib/model/create-fleet-resource-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-fleet-resource-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/create-maintenance-window-details.ts b/lib/fleetappsmanagement/lib/model/create-maintenance-window-details.ts index 3b10e8892a..291af55358 100644 --- a/lib/fleetappsmanagement/lib/model/create-maintenance-window-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-maintenance-window-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface CreateMaintenanceWindowDetails { /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -44,14 +44,10 @@ Example: {@code My new resource} * */ "isOutage"?: boolean; - /** - * Type of maintenenace window - */ - "maintenanceWindowType"?: model.MaintenanceWindowType; /** * Specify the date and time of the day that the maintenance window starts. */ - "timeScheduleStart"?: Date; + "timeScheduleStart": Date; /** * Duration of the maintenance window. * Specify how long the maintenance window remains open. @@ -68,10 +64,6 @@ Example: {@code My new resource} * */ "recurrences"?: string; - /** - * Task initiation cutoff time for the maintenance window. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "taskInitiationCutoff"?: number; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts b/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts index 718cc286f9..02f4aa676c 100644 --- a/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-onboarding-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/create-patch-details.ts b/lib/fleetappsmanagement/lib/model/create-patch-details.ts index a5aeec987d..826abb1ac1 100644 --- a/lib/fleetappsmanagement/lib/model/create-patch-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-patch-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts b/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts index 1bfb00b567..4db7c72104 100644 --- a/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-platform-configuration-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface CreatePlatformConfigurationDetails { /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -30,7 +30,7 @@ export interface CreatePlatformConfigurationDetails { Example: {@code My new resource} * */ - "displayName"?: string; + "displayName": string; /** * A user-friendly description. To provide some insight about the resource. * Avoid entering confidential information. @@ -42,7 +42,9 @@ Example: {@code My new resource} | model.EnvironmentConfigCategoryDetails | model.CredentialConfigCategoryDetails | model.PatchTypeConfigCategoryDetails - | model.ProductConfigCategoryDetails; + | model.LifecycleOperationConfigCategoryDetails + | model.ProductConfigCategoryDetails + | model.SelfHostedInstanceConfigCategoryDetails; } export namespace CreatePlatformConfigurationDetails { diff --git a/lib/fleetappsmanagement/lib/model/create-property-details.ts b/lib/fleetappsmanagement/lib/model/create-property-details.ts index 8072c63401..4ca29e0898 100644 --- a/lib/fleetappsmanagement/lib/model/create-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-property-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface CreatePropertyDetails { /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -30,7 +30,7 @@ export interface CreatePropertyDetails { Example: {@code My new resource} * */ - "displayName"?: string; + "displayName": string; /** * Text selection of the property. */ diff --git a/lib/fleetappsmanagement/lib/model/create-provision-details.ts b/lib/fleetappsmanagement/lib/model/create-provision-details.ts new file mode 100644 index 0000000000..de1c7b7ea6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/create-provision-details.ts @@ -0,0 +1,88 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a FamProvision. + */ +export interface CreateProvisionDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A description of the provision. + */ + "provisionDescription"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the FamProvision in. + * + */ + "compartmentId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item. + */ + "packageCatalogItemId": string; + /** + * A [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item to a file with key/value pairs to set up variables for createStack API. + */ + "configCatalogItemId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableTenancyId": string; + /** + * A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableRegionId": string; + /** + * An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableCurrentUserId"?: string; + /** + * An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableCompartmentId"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateProvisionDetails { + export function getJsonObj(obj: CreateProvisionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateProvisionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/create-runbook-details.ts b/lib/fleetappsmanagement/lib/model/create-runbook-details.ts index e33a605460..9600ae9531 100644 --- a/lib/fleetappsmanagement/lib/model/create-runbook-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-runbook-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -26,17 +26,13 @@ export interface CreateRunbookDetails { Example: {@code My new resource} * */ - "displayName"?: string; + "displayName": string; /** * A user-friendly description. To provide some insight about the resource. * Avoid entering confidential information. * */ "description"?: string; - /** - * Type of runbook structure. - */ - "runbookRelevance": string; /** * The lifecycle operation performed by the task. */ @@ -44,7 +40,7 @@ Example: {@code My new resource} /** * The OS type for the runbook. */ - "osType": model.OsType; + "osType"?: model.OsType; /** * The platform of the runbook. */ @@ -54,10 +50,14 @@ Example: {@code My new resource} */ "isDefault"?: boolean; /** - * Estimated time to successfully complete the runbook execution + * Does this runbook need SUDO access to execute? + */ + "isSudoAccessNeeded"?: boolean; + /** + * Estimated time to successfully complete the runbook execution. */ "estimatedTime"?: string; - "associations": model.Associations; + "runbookVersion": model.Version; /** * OCID of the compartment to which the resource belongs to. */ @@ -81,8 +81,8 @@ export namespace CreateRunbookDetails { const jsonObj = { ...obj, ...{ - "associations": obj.associations - ? model.Associations.getJsonObj(obj.associations) + "runbookVersion": obj.runbookVersion + ? model.Version.getJsonObj(obj.runbookVersion) : undefined } }; @@ -93,8 +93,8 @@ export namespace CreateRunbookDetails { const jsonObj = { ...obj, ...{ - "associations": obj.associations - ? model.Associations.getDeserializedJsonObj(obj.associations) + "runbookVersion": obj.runbookVersion + ? model.Version.getDeserializedJsonObj(obj.runbookVersion) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts new file mode 100644 index 0000000000..4b737027d2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/create-runbook-version-details.ts @@ -0,0 +1,102 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information about new Runbook. + */ +export interface CreateRunbookVersionDetails { + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * A set of tasks to execute in the runbook. + */ + "tasks": Array; + /** + * The groups of the runbook. + * + */ + "groups": Array; + "executionWorkflowDetails": model.ExecutionWorkflowDetails; + "rollbackWorkflowDetails"?: model.RollbackWorkflowDetails; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateRunbookVersionDetails { + export function getJsonObj(obj: CreateRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getDeserializedJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getDeserializedJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getDeserializedJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getDeserializedJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/create-scheduler-definition-details.ts b/lib/fleetappsmanagement/lib/model/create-scheduler-definition-details.ts index 590bcc982b..bf9dc8a6a9 100644 --- a/lib/fleetappsmanagement/lib/model/create-scheduler-definition-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-scheduler-definition-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -34,14 +34,10 @@ Example: {@code My new resource} */ "description"?: string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; - /** - * Activity Initiation Cut Off Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "activityInitiationCutOff"?: number; - "schedule": model.Schedule; + "schedule": model.CustomSchedule | model.MaintenanceWindowSchedule; /** * Action Groups associated with the Schedule. */ diff --git a/lib/fleetappsmanagement/lib/model/create-task-record-details.ts b/lib/fleetappsmanagement/lib/model/create-task-record-details.ts index 2d1188a341..efa2f5b7ff 100644 --- a/lib/fleetappsmanagement/lib/model/create-task-record-details.ts +++ b/lib/fleetappsmanagement/lib/model/create-task-record-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information about new Task. + * Attributes to create a task record. */ export interface CreateTaskRecordDetails { /** @@ -26,7 +26,7 @@ export interface CreateTaskRecordDetails { Example: {@code My new resource} * */ - "displayName"?: string; + "displayName": string; /** * A user-friendly description. To provide some insight about the resource. * Avoid entering confidential information. diff --git a/lib/fleetappsmanagement/lib/model/credential-config-category-details.ts b/lib/fleetappsmanagement/lib/model/credential-config-category-details.ts index 886594389f..619e7a3277 100644 --- a/lib/fleetappsmanagement/lib/model/credential-config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/credential-config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/credential-details.ts b/lib/fleetappsmanagement/lib/model/credential-details.ts index 9bf04e677c..c656875172 100644 --- a/lib/fleetappsmanagement/lib/model/credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/credential-entity-specific-details.ts b/lib/fleetappsmanagement/lib/model/credential-entity-specific-details.ts index 8cfe841358..5c2a056e7c 100644 --- a/lib/fleetappsmanagement/lib/model/credential-entity-specific-details.ts +++ b/lib/fleetappsmanagement/lib/model/credential-entity-specific-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/custom-schedule.ts b/lib/fleetappsmanagement/lib/model/custom-schedule.ts new file mode 100644 index 0000000000..deb2e03285 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/custom-schedule.ts @@ -0,0 +1,52 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Custom schedule details. + */ +export interface CustomSchedule extends model.Schedule { + /** + * Recurrence rule specification if recurring + */ + "recurrences"?: string; + /** + * Duration of the schedule. + */ + "duration": string; + + "type": string; +} + +export namespace CustomSchedule { + export function getJsonObj(obj: CustomSchedule, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Schedule.getJsonObj(obj) as CustomSchedule)), + ...{} + }; + + return jsonObj; + } + export const type = "CUSTOM"; + export function getDeserializedJsonObj(obj: CustomSchedule, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Schedule.getDeserializedJsonObj(obj) as CustomSchedule)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/dependent-patch-details.ts b/lib/fleetappsmanagement/lib/model/dependent-patch-details.ts index 331ff61145..20ce86579b 100644 --- a/lib/fleetappsmanagement/lib/model/dependent-patch-details.ts +++ b/lib/fleetappsmanagement/lib/model/dependent-patch-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/deployed-resource-details.ts b/lib/fleetappsmanagement/lib/model/deployed-resource-details.ts new file mode 100644 index 0000000000..ac7ea2561b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/deployed-resource-details.ts @@ -0,0 +1,75 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The Filtered List Of Deployed Resources + */ +export interface DeployedResourceDetails { + /** + * The mode of the resource. Example: \"managed\" + */ + "mode": string; + /** + * The name of the resource + */ + "resourceName": string; + /** + * The name of the Provider + */ + "resourceProvider": string; + /** + * The provider resource type. Must be supported by the [Oracle Cloud Infrastructure provider](https://registry.terraform.io/providers/oracle/oci/latest/docs). + * Example: oci_core_instance + * + */ + "resourceType": string; + /** + * Collection of InstanceSummary + */ + "resourceInstanceList": Array; +} + +export namespace DeployedResourceDetails { + export function getJsonObj(obj: DeployedResourceDetails): object { + const jsonObj = { + ...obj, + ...{ + "resourceInstanceList": obj.resourceInstanceList + ? obj.resourceInstanceList.map(item => { + return model.InstanceSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: DeployedResourceDetails): object { + const jsonObj = { + ...obj, + ...{ + "resourceInstanceList": obj.resourceInstanceList + ? obj.resourceInstanceList.map(item => { + return model.InstanceSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/details.ts b/lib/fleetappsmanagement/lib/model/details.ts index 6380ddeb36..ba7b1a2080 100644 --- a/lib/fleetappsmanagement/lib/model/details.ts +++ b/lib/fleetappsmanagement/lib/model/details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,10 @@ import common = require("oci-common"); * The details of the task. */ export interface Details { - "executionDetails": model.ScriptBasedExecutionDetails | model.ApiBasedExecutionDetails; + "executionDetails": + | model.ScriptBasedExecutionDetails + | model.TerraformBasedExecutionDetails + | model.ApiBasedExecutionDetails; /** * The platform of the runbook. */ @@ -27,7 +30,7 @@ export interface Details { /** * The OS for the task */ - "osType": model.OsType; + "osType"?: model.OsType; /** * The scope of the task */ @@ -43,6 +46,10 @@ export interface Details { * */ "isApplySubjectTask"?: boolean; + /** + * The lifecycle operation performed by the runbook. + */ + "operation"?: string; } export namespace Details { diff --git a/lib/fleetappsmanagement/lib/model/discovered-target.ts b/lib/fleetappsmanagement/lib/model/discovered-target.ts index 551bbeee35..2aee2a090e 100644 --- a/lib/fleetappsmanagement/lib/model/discovered-target.ts +++ b/lib/fleetappsmanagement/lib/model/discovered-target.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/dynamic-resource-selection.ts b/lib/fleetappsmanagement/lib/model/dynamic-resource-selection.ts new file mode 100644 index 0000000000..5ece1e8faf --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/dynamic-resource-selection.ts @@ -0,0 +1,60 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Dynamic Resource Selection Type + */ +export interface DynamicResourceSelection extends model.ResourceSelection { + "ruleSelectionCriteria": model.SelectionCriteria; + + "resourceSelectionType": string; +} + +export namespace DynamicResourceSelection { + export function getJsonObj(obj: DynamicResourceSelection, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ResourceSelection.getJsonObj(obj) as DynamicResourceSelection)), + ...{ + "ruleSelectionCriteria": obj.ruleSelectionCriteria + ? model.SelectionCriteria.getJsonObj(obj.ruleSelectionCriteria) + : undefined + } + }; + + return jsonObj; + } + export const resourceSelectionType = "DYNAMIC"; + export function getDeserializedJsonObj( + obj: DynamicResourceSelection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ResourceSelection.getDeserializedJsonObj(obj) as DynamicResourceSelection)), + ...{ + "ruleSelectionCriteria": obj.ruleSelectionCriteria + ? model.SelectionCriteria.getDeserializedJsonObj(obj.ruleSelectionCriteria) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/enable-latest-policy-details.ts b/lib/fleetappsmanagement/lib/model/enable-latest-policy-details.ts index 573883da6d..ddf4bc02d5 100644 --- a/lib/fleetappsmanagement/lib/model/enable-latest-policy-details.ts +++ b/lib/fleetappsmanagement/lib/model/enable-latest-policy-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/entity-execution-details.ts b/lib/fleetappsmanagement/lib/model/entity-execution-details.ts index dc221e2024..7ef031a2de 100644 --- a/lib/fleetappsmanagement/lib/model/entity-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/entity-execution-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/environment-config-category-details.ts b/lib/fleetappsmanagement/lib/model/environment-config-category-details.ts index f168368892..f885b02fcb 100644 --- a/lib/fleetappsmanagement/lib/model/environment-config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/environment-config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/environment-fleet-details.ts b/lib/fleetappsmanagement/lib/model/environment-fleet-details.ts new file mode 100644 index 0000000000..9da90c86ca --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/environment-fleet-details.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet credential details. + */ +export interface EnvironmentFleetDetails extends model.FleetDetails { + "fleetType": string; +} + +export namespace EnvironmentFleetDetails { + export function getJsonObj(obj: EnvironmentFleetDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FleetDetails.getJsonObj(obj) as EnvironmentFleetDetails)), + ...{} + }; + + return jsonObj; + } + export const fleetType = "ENVIRONMENT"; + export function getDeserializedJsonObj( + obj: EnvironmentFleetDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FleetDetails.getDeserializedJsonObj(obj) as EnvironmentFleetDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/execution-collection.ts b/lib/fleetappsmanagement/lib/model/execution-collection.ts index 6855ddf083..bde28e0f27 100644 --- a/lib/fleetappsmanagement/lib/model/execution-collection.ts +++ b/lib/fleetappsmanagement/lib/model/execution-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/execution-details.ts b/lib/fleetappsmanagement/lib/model/execution-details.ts index 78bdda5a45..f433e83726 100644 --- a/lib/fleetappsmanagement/lib/model/execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/execution-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -33,6 +33,11 @@ export namespace ExecutionDetails { (jsonObj), true ); + case "TERRAFORM": + return model.TerraformBasedExecutionDetails.getJsonObj( + (jsonObj), + true + ); case "API": return model.ApiBasedExecutionDetails.getJsonObj( (jsonObj), @@ -54,6 +59,11 @@ export namespace ExecutionDetails { (jsonObj), true ); + case "TERRAFORM": + return model.TerraformBasedExecutionDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "API": return model.ApiBasedExecutionDetails.getDeserializedJsonObj( (jsonObj), diff --git a/lib/fleetappsmanagement/lib/model/execution-summary.ts b/lib/fleetappsmanagement/lib/model/execution-summary.ts index c4b0552d8b..4058a95f00 100644 --- a/lib/fleetappsmanagement/lib/model/execution-summary.ts +++ b/lib/fleetappsmanagement/lib/model/execution-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -71,6 +71,10 @@ export interface ExecutionSummary { * Resource Identifier associated with the Work Request. */ "resourceId"?: string; + /** + * An attribute which tells if further retries are allowed for the task on failure. + */ + "isRetryExceeded"?: boolean; /** * System tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} diff --git a/lib/fleetappsmanagement/lib/model/execution-workflow-details.ts b/lib/fleetappsmanagement/lib/model/execution-workflow-details.ts index 1cc9bb6ade..b1b367c3d4 100644 --- a/lib/fleetappsmanagement/lib/model/execution-workflow-details.ts +++ b/lib/fleetappsmanagement/lib/model/execution-workflow-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/execution.ts b/lib/fleetappsmanagement/lib/model/execution.ts index 2d2b24d788..491a7d8c1e 100644 --- a/lib/fleetappsmanagement/lib/model/execution.ts +++ b/lib/fleetappsmanagement/lib/model/execution.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -76,6 +76,10 @@ export interface Execution { * Resource Identifier associated with the Work Request. */ "resourceId"?: string; + /** + * An attribute which tells if further retries are allowed for the task on failure. + */ + "isRetryExceeded"?: boolean; /** * System tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} diff --git a/lib/fleetappsmanagement/lib/model/export-compliance-report-details.ts b/lib/fleetappsmanagement/lib/model/export-compliance-report-details.ts index 4ab81ec2ff..aabad04d4e 100644 --- a/lib/fleetappsmanagement/lib/model/export-compliance-report-details.ts +++ b/lib/fleetappsmanagement/lib/model/export-compliance-report-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details for generating Compliance Report + * Details for generating Compliance Report. */ export interface ExportComplianceReportDetails { /** diff --git a/lib/fleetappsmanagement/lib/model/file-input-argument.ts b/lib/fleetappsmanagement/lib/model/file-input-argument.ts new file mode 100644 index 0000000000..f1c83ff597 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-input-argument.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The details of the File Input argument. + */ +export interface FileInputArgument extends model.InputArgument { + "type": string; +} + +export namespace FileInputArgument { + export function getJsonObj(obj: FileInputArgument, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.InputArgument.getJsonObj(obj) as FileInputArgument)), + ...{} + }; + + return jsonObj; + } + export const type = "FILE"; + export function getDeserializedJsonObj( + obj: FileInputArgument, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InputArgument.getDeserializedJsonObj(obj) as FileInputArgument)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/file-task-argument.ts b/lib/fleetappsmanagement/lib/model/file-task-argument.ts new file mode 100644 index 0000000000..b9a9e5dbaa --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/file-task-argument.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A file variable that holds a value + */ +export interface FileTaskArgument extends model.TaskArgument { + "content"?: model.InputFileObjectStorageBucketContentDetails; + + "kind": string; +} + +export namespace FileTaskArgument { + export function getJsonObj(obj: FileTaskArgument, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskArgument.getJsonObj(obj) as FileTaskArgument)), + ...{ + "content": obj.content ? model.InputFileContentDetails.getJsonObj(obj.content) : undefined + } + }; + + return jsonObj; + } + export const kind = "FILE"; + export function getDeserializedJsonObj(obj: FileTaskArgument, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskArgument.getDeserializedJsonObj(obj) as FileTaskArgument)), + ...{ + "content": obj.content + ? model.InputFileContentDetails.getDeserializedJsonObj(obj.content) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-based-action-group-details.ts b/lib/fleetappsmanagement/lib/model/fleet-based-action-group-details.ts new file mode 100644 index 0000000000..9db8b7140a --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-based-action-group-details.ts @@ -0,0 +1,67 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A string variable that holds a value + */ +export interface FleetBasedActionGroupDetails extends model.ActionGroupDetails { + /** + * ID of the fleet + */ + "fleetId": string; + /** + * sequence of the Action Group Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "sequence"?: number; + /** + * ID of the runbook + */ + "runbookId": string; + /** + * Name of the runbook version + */ + "runbookVersionName": string; + + "kind": string; +} + +export namespace FleetBasedActionGroupDetails { + export function getJsonObj(obj: FleetBasedActionGroupDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ActionGroupDetails.getJsonObj(obj) as FleetBasedActionGroupDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "FLEET_USING_RUNBOOK"; + export function getDeserializedJsonObj( + obj: FleetBasedActionGroupDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ActionGroupDetails.getDeserializedJsonObj(obj) as FleetBasedActionGroupDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-based-action-group.ts b/lib/fleetappsmanagement/lib/model/fleet-based-action-group.ts new file mode 100644 index 0000000000..6e1be317f8 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-based-action-group.ts @@ -0,0 +1,69 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A string variable that holds a value + */ +export interface FleetBasedActionGroup extends model.ActionGroup { + /** + * ID of the fleet + */ + "fleetId": string; + /** + * Sequence of the Action Group. + * Action groups will be executed in a seuential order. + * All Action Groups having the same sequence will be executed parallely. + * If no value is provided a default value of 1 will be given. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "sequence"?: number; + /** + * ID of the runbook + */ + "runbookId": string; + /** + * Name of the runbook version + */ + "runbookVersionName": string; + + "kind": string; +} + +export namespace FleetBasedActionGroup { + export function getJsonObj(obj: FleetBasedActionGroup, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.ActionGroup.getJsonObj(obj) as FleetBasedActionGroup)), + ...{} + }; + + return jsonObj; + } + export const kind = "FLEET_USING_RUNBOOK"; + export function getDeserializedJsonObj( + obj: FleetBasedActionGroup, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ActionGroup.getDeserializedJsonObj(obj) as FleetBasedActionGroup)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-collection.ts index f047482b5b..63a08b0ffe 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-credential-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-credential-collection.ts index ae061fd629..65e91d0321 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-credential-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-credential-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-credential-entity-specific-details.ts b/lib/fleetappsmanagement/lib/model/fleet-credential-entity-specific-details.ts index 2f4872c359..377fe2c357 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-credential-entity-specific-details.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-credential-entity-specific-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-credential-sort-by.ts b/lib/fleetappsmanagement/lib/model/fleet-credential-sort-by.ts new file mode 100644 index 0000000000..b7cc3baf90 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-credential-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum FleetCredentialSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace FleetCredentialSortBy { + export function getJsonObj(obj: FleetCredentialSortBy): FleetCredentialSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: FleetCredentialSortBy): FleetCredentialSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-credential-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-credential-summary.ts index 0708e1ed61..7b6e6d66b4 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-credential-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-credential-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -32,7 +32,7 @@ Example: {@code My new resource} */ "displayName": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet-credential.ts b/lib/fleetappsmanagement/lib/model/fleet-credential.ts index 1ff0ba630e..71334cbfa2 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-credential.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-credential.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -32,7 +32,7 @@ Example: {@code My new resource} */ "displayName": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet-details.ts b/lib/fleetappsmanagement/lib/model/fleet-details.ts new file mode 100644 index 0000000000..df3544ba39 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-details.ts @@ -0,0 +1,88 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet Type + */ +export interface FleetDetails { + "fleetType": string; +} + +export namespace FleetDetails { + export function getJsonObj(obj: FleetDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "fleetType" in obj && obj.fleetType) { + switch (obj.fleetType) { + case "GROUP": + return model.GroupFleetDetails.getJsonObj( + (jsonObj), + true + ); + case "PRODUCT": + return model.ProductFleetDetails.getJsonObj( + (jsonObj), + true + ); + case "GENERIC": + return model.GenericFleetDetails.getJsonObj( + (jsonObj), + true + ); + case "ENVIRONMENT": + return model.EnvironmentFleetDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.fleetType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: FleetDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "fleetType" in obj && obj.fleetType) { + switch (obj.fleetType) { + case "GROUP": + return model.GroupFleetDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PRODUCT": + return model.ProductFleetDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GENERIC": + return model.GenericFleetDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ENVIRONMENT": + return model.EnvironmentFleetDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.fleetType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-product-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-product-collection.ts index c72dc469b0..09c65e3dda 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-product-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-product-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-product-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-product-summary.ts index 259eb1f2f2..210e8d0646 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-product-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-product-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-property-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-property-collection.ts index 78ed5a43e7..a63f3e64ab 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-property-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-property-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-property-sort-by.ts b/lib/fleetappsmanagement/lib/model/fleet-property-sort-by.ts new file mode 100644 index 0000000000..a36f57b3a3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-property-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum FleetPropertySortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace FleetPropertySortBy { + export function getJsonObj(obj: FleetPropertySortBy): FleetPropertySortBy { + return obj; + } + export function getDeserializedJsonObj(obj: FleetPropertySortBy): FleetPropertySortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-property-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-property-summary.ts index f9376d8c03..b5f3334514 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-property-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-property-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface FleetPropertySummary { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet-property.ts b/lib/fleetappsmanagement/lib/model/fleet-property.ts index bb2e1e90bb..1ac7f0c340 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-property.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-property.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Property to manage fleet metadata details in\u00A0Fleet Application Management. + * Property to manage fleet metadata details in Fleet Application Management. */ export interface FleetProperty { /** @@ -24,7 +24,7 @@ export interface FleetProperty { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet-resource-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-resource-collection.ts index 294cbb1157..00549e7bd1 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-resource-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-resource-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-resource-sort-by.ts b/lib/fleetappsmanagement/lib/model/fleet-resource-sort-by.ts new file mode 100644 index 0000000000..68f01d7dc8 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-resource-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum FleetResourceSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace FleetResourceSortBy { + export function getJsonObj(obj: FleetResourceSortBy): FleetResourceSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: FleetResourceSortBy): FleetResourceSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-resource-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-resource-summary.ts index 30eb046447..f9b3a034fa 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-resource-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-resource-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -59,6 +59,10 @@ Example: {@code My new resource} * Compliance State of the Resource. */ "complianceState"?: model.ComplianceState; + /** + * The compliance percentage. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentCompliant"?: number; /** * Resource Tenancy Name. */ @@ -85,12 +89,6 @@ Example: {@code My new resource} * */ "product"?: string; - /** - * Application Type associated with the resource when the resource type is fleet. - * Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. - * - */ - "applicationType"?: string; /** * Environment Type associated with the Fleet when the resource type is fleet. * Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. diff --git a/lib/fleetappsmanagement/lib/model/fleet-resource.ts b/lib/fleetappsmanagement/lib/model/fleet-resource.ts index 78385b0a0c..0f20b17360 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-resource.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-resource.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -63,6 +63,10 @@ Example: {@code My new resource} * Compliance State of the Resource. */ "complianceState"?: model.ComplianceState; + /** + * The compliance percentage. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentCompliant"?: number; /** * Resource Tenancy Name. */ @@ -85,12 +89,6 @@ Example: {@code My new resource} * */ "product"?: string; - /** - * Application Type associated with the resource when the resource type is fleet. - * Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. - * - */ - "applicationType"?: string; /** * Environment Type associated with the Fleet when the resource type is fleet. * Will only be returned for ENVIRONMENT fleets that are part of a GROUP Fleet. diff --git a/lib/fleetappsmanagement/lib/model/fleet-sort-by.ts b/lib/fleetappsmanagement/lib/model/fleet-sort-by.ts new file mode 100644 index 0000000000..55d623761d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/fleet-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum FleetSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace FleetSortBy { + export function getJsonObj(obj: FleetSortBy): FleetSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: FleetSortBy): FleetSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/fleet-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-summary.ts index 61abf9d6bf..19b802a408 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -25,7 +25,7 @@ export interface FleetSummary { */ "id": string; /** - * Tenancy OCID + * compartment OCID */ "compartmentId": string; /** @@ -48,15 +48,11 @@ Example: {@code My new resource} * The time this resource was last updated. An RFC3339 formatted datetime string. */ "timeUpdated"?: Date; - /** - * Type of the Fleet. - * PRODUCT - A fleet of product-specific resources for a product type. - * ENVIRONMENT - A fleet of environment-specific resources for a product stack. - * GROUP - A fleet of a fleet of either environment or product fleets. - * GENERIC - A fleet of resources selected dynamically or manually for reporting purposes - * - */ - "fleetType": string; + "details"?: + | model.GroupFleetDetails + | model.ProductFleetDetails + | model.GenericFleetDetails + | model.EnvironmentFleetDetails; /** * Environment Type associated with the Fleet. * Applicable for ENVIRONMENT fleet types. @@ -93,12 +89,22 @@ Example: {@code My new resource} export namespace FleetSummary { export function getJsonObj(obj: FleetSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "details": obj.details ? model.FleetDetails.getJsonObj(obj.details) : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: FleetSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "details": obj.details ? model.FleetDetails.getDeserializedJsonObj(obj.details) : undefined + } + }; return jsonObj; } diff --git a/lib/fleetappsmanagement/lib/model/fleet-target-collection.ts b/lib/fleetappsmanagement/lib/model/fleet-target-collection.ts index 0cd9c65339..700eb56b75 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-target-collection.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-target-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/fleet-target-summary.ts b/lib/fleetappsmanagement/lib/model/fleet-target-summary.ts index 872d043c07..f1d42b057d 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-target-summary.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-target-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface FleetTargetSummary { */ "id": string; /** - * Tenancy OCID + * compartment OCID */ "compartmentId"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet-target.ts b/lib/fleetappsmanagement/lib/model/fleet-target.ts index f0e92825de..9fa956f731 100644 --- a/lib/fleetappsmanagement/lib/model/fleet-target.ts +++ b/lib/fleetappsmanagement/lib/model/fleet-target.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface FleetTarget { */ "id": string; /** - * Tenancy OCID + * compartment OCID */ "compartmentId"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/fleet.ts b/lib/fleetappsmanagement/lib/model/fleet.ts index c19cf07e0f..54c609b667 100644 --- a/lib/fleetappsmanagement/lib/model/fleet.ts +++ b/lib/fleetappsmanagement/lib/model/fleet.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -25,7 +25,7 @@ export interface Fleet { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -54,45 +54,26 @@ Example: {@code My new resource} * The time this resource was last updated. An RFC3339 formatted datetime string. */ "timeUpdated"?: Date; - /** - * Type of the Fleet. - * PRODUCT - A fleet of product-specific resources for a product type. - * ENVIRONMENT - A fleet of environment-specific resources for a product stack. - * GROUP - A fleet of a fleet of either environment or product fleets. - * GENERIC - A fleet of resources selected dynamically or manually for reporting purposes - * - */ - "fleetType": Fleet.FleetType; /** * Products associated with the Fleet. */ "products"?: Array; - /** - * Product stack associated with the Fleet. - * Applicable for ENVIRONMENT fleet types. - * - */ - "applicationType"?: string; + "details"?: + | model.GroupFleetDetails + | model.ProductFleetDetails + | model.GenericFleetDetails + | model.EnvironmentFleetDetails; /** * Environment Type associated with the Fleet. * Applicable for ENVIRONMENT fleet types. * */ "environmentType"?: string; + "resourceSelection"?: model.DynamicResourceSelection | model.ManualResourceSelection; /** - * Group Type associated with Group Fleet. - * Applicable for GROUP fleet types. - * - */ - "groupType"?: Fleet.GroupType; - /** - * Type of resource selection in a Fleet. - * Select resources manually or select resources based on rules. - * + * Notification Preferences associated with the Fleet. */ - "resourceSelectionType"?: Fleet.ResourceSelectionType; - "ruleSelectionCriteria"?: model.SelectionCriteria; - "notificationPreferences"?: model.NotificationPreferences; + "notificationPreferences"?: Array; /** * Resources associated with the Fleet if resourceSelectionType is MANUAL. */ @@ -105,6 +86,11 @@ Example: {@code My new resource} * Credentials associated with the Fleet. */ "credentials"?: Array; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet that would be the parent for this fleet. + * + */ + "parentFleetId"?: string; /** * A value that represents if auto-confirming of the targets can be enabled. * This will allow targets to be auto-confirmed in the fleet without manual intervention. @@ -140,38 +126,6 @@ Example: {@code My new resource} } export namespace Fleet { - export enum FleetType { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - Generic = "GENERIC", - Group = "GROUP", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export enum GroupType { - Environment = "ENVIRONMENT", - Product = "PRODUCT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - - export enum ResourceSelectionType { - Dynamic = "DYNAMIC", - Manual = "MANUAL", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export enum LifecycleState { Active = "ACTIVE", Inactive = "INACTIVE", @@ -192,11 +146,15 @@ export namespace Fleet { const jsonObj = { ...obj, ...{ - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getJsonObj(obj.ruleSelectionCriteria) + "details": obj.details ? model.FleetDetails.getJsonObj(obj.details) : undefined, + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getJsonObj(obj.resourceSelection) : undefined, "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getJsonObj(item); + }) : undefined, "resources": obj.resources ? obj.resources.map(item => { @@ -222,11 +180,15 @@ export namespace Fleet { const jsonObj = { ...obj, ...{ - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getDeserializedJsonObj(obj.ruleSelectionCriteria) + "details": obj.details ? model.FleetDetails.getDeserializedJsonObj(obj.details) : undefined, + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getDeserializedJsonObj(obj.resourceSelection) : undefined, "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getDeserializedJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getDeserializedJsonObj(item); + }) : undefined, "resources": obj.resources ? obj.resources.map(item => { diff --git a/lib/fleetappsmanagement/lib/model/generate-compliance-report-details.ts b/lib/fleetappsmanagement/lib/model/generate-compliance-report-details.ts index 14ba06ec97..e482e0e140 100644 --- a/lib/fleetappsmanagement/lib/model/generate-compliance-report-details.ts +++ b/lib/fleetappsmanagement/lib/model/generate-compliance-report-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/generic-artifact-details.ts b/lib/fleetappsmanagement/lib/model/generic-artifact-details.ts index 2633f2734e..ed466e6ef6 100644 --- a/lib/fleetappsmanagement/lib/model/generic-artifact-details.ts +++ b/lib/fleetappsmanagement/lib/model/generic-artifact-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/generic-artifact.ts b/lib/fleetappsmanagement/lib/model/generic-artifact.ts index b68eb375e2..f019715b59 100644 --- a/lib/fleetappsmanagement/lib/model/generic-artifact.ts +++ b/lib/fleetappsmanagement/lib/model/generic-artifact.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); * */ export interface GenericArtifact { - "content": model.ObjectStorageBucketContentDetails; + "content": model.PatchFileObjectStorageBucketContentDetails; } export namespace GenericArtifact { @@ -28,7 +28,7 @@ export namespace GenericArtifact { const jsonObj = { ...obj, ...{ - "content": obj.content ? model.ContentDetails.getJsonObj(obj.content) : undefined + "content": obj.content ? model.PatchFileContentDetails.getJsonObj(obj.content) : undefined } }; @@ -39,7 +39,7 @@ export namespace GenericArtifact { ...obj, ...{ "content": obj.content - ? model.ContentDetails.getDeserializedJsonObj(obj.content) + ? model.PatchFileContentDetails.getDeserializedJsonObj(obj.content) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/generic-fleet-details.ts b/lib/fleetappsmanagement/lib/model/generic-fleet-details.ts new file mode 100644 index 0000000000..7088e69134 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/generic-fleet-details.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet credential details. + */ +export interface GenericFleetDetails extends model.FleetDetails { + "fleetType": string; +} + +export namespace GenericFleetDetails { + export function getJsonObj(obj: GenericFleetDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FleetDetails.getJsonObj(obj) as GenericFleetDetails)), + ...{} + }; + + return jsonObj; + } + export const fleetType = "GENERIC"; + export function getDeserializedJsonObj( + obj: GenericFleetDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FleetDetails.getDeserializedJsonObj(obj) as GenericFleetDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/group-fleet-details.ts b/lib/fleetappsmanagement/lib/model/group-fleet-details.ts new file mode 100644 index 0000000000..30fa0e4dcd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/group-fleet-details.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet credential details. + */ +export interface GroupFleetDetails extends model.FleetDetails { + "fleetType": string; +} + +export namespace GroupFleetDetails { + export function getJsonObj(obj: GroupFleetDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FleetDetails.getJsonObj(obj) as GroupFleetDetails)), + ...{} + }; + + return jsonObj; + } + export const fleetType = "GROUP"; + export function getDeserializedJsonObj( + obj: GroupFleetDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FleetDetails.getDeserializedJsonObj(obj) as GroupFleetDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/group.ts b/lib/fleetappsmanagement/lib/model/group.ts index 8ae5b7b33c..b4156be406 100644 --- a/lib/fleetappsmanagement/lib/model/group.ts +++ b/lib/fleetappsmanagement/lib/model/group.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/index.ts b/lib/fleetappsmanagement/lib/model/index.ts index 4658cd84ad..aab08c2ded 100644 --- a/lib/fleetappsmanagement/lib/model/index.ts +++ b/lib/fleetappsmanagement/lib/model/index.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -38,10 +38,40 @@ import * as AssociatedSchedulerDefinition from "./associated-scheduler-definitio export import AssociatedSchedulerDefinition = AssociatedSchedulerDefinition.AssociatedSchedulerDefinition; import * as AssociatedTaskDetails from "./associated-task-details"; export import AssociatedTaskDetails = AssociatedTaskDetails.AssociatedTaskDetails; -import * as Associations from "./associations"; -export import Associations = Associations.Associations; +import * as CatalogItem from "./catalog-item"; +export import CatalogItem = CatalogItem.CatalogItem; +import * as CatalogItemCollection from "./catalog-item-collection"; +export import CatalogItemCollection = CatalogItemCollection.CatalogItemCollection; +import * as CatalogItemSortBy from "./catalog-item-sort-by"; +export import CatalogItemSortBy = CatalogItemSortBy.CatalogItemSortBy; +import * as CatalogItemSummary from "./catalog-item-summary"; +export import CatalogItemSummary = CatalogItemSummary.CatalogItemSummary; +import * as CatalogListingVersionCriteriaEnum from "./catalog-listing-version-criteria-enum"; +export import CatalogListingVersionCriteriaEnum = CatalogListingVersionCriteriaEnum.CatalogListingVersionCriteriaEnum; +import * as CatalogResultPayload from "./catalog-result-payload"; +export import CatalogResultPayload = CatalogResultPayload.CatalogResultPayload; +import * as CatalogSourcePayload from "./catalog-source-payload"; +export import CatalogSourcePayload = CatalogSourcePayload.CatalogSourcePayload; +import * as ChangeCatalogItemCompartmentDetails from "./change-catalog-item-compartment-details"; +export import ChangeCatalogItemCompartmentDetails = ChangeCatalogItemCompartmentDetails.ChangeCatalogItemCompartmentDetails; +import * as ChangeFleetCompartmentDetails from "./change-fleet-compartment-details"; +export import ChangeFleetCompartmentDetails = ChangeFleetCompartmentDetails.ChangeFleetCompartmentDetails; +import * as ChangePatchCompartmentDetails from "./change-patch-compartment-details"; +export import ChangePatchCompartmentDetails = ChangePatchCompartmentDetails.ChangePatchCompartmentDetails; +import * as ChangePlatformConfigurationCompartmentDetails from "./change-platform-configuration-compartment-details"; +export import ChangePlatformConfigurationCompartmentDetails = ChangePlatformConfigurationCompartmentDetails.ChangePlatformConfigurationCompartmentDetails; +import * as ChangePropertyCompartmentDetails from "./change-property-compartment-details"; +export import ChangePropertyCompartmentDetails = ChangePropertyCompartmentDetails.ChangePropertyCompartmentDetails; +import * as ChangeProvisionCompartmentDetails from "./change-provision-compartment-details"; +export import ChangeProvisionCompartmentDetails = ChangeProvisionCompartmentDetails.ChangeProvisionCompartmentDetails; +import * as ChangeRunbookCompartmentDetails from "./change-runbook-compartment-details"; +export import ChangeRunbookCompartmentDetails = ChangeRunbookCompartmentDetails.ChangeRunbookCompartmentDetails; +import * as ChangeTaskRecordCompartmentDetails from "./change-task-record-compartment-details"; +export import ChangeTaskRecordCompartmentDetails = ChangeTaskRecordCompartmentDetails.ChangeTaskRecordCompartmentDetails; import * as CheckResourceTaggingDetails from "./check-resource-tagging-details"; export import CheckResourceTaggingDetails = CheckResourceTaggingDetails.CheckResourceTaggingDetails; +import * as CloneCatalogItemDetails from "./clone-catalog-item-details"; +export import CloneCatalogItemDetails = CloneCatalogItemDetails.CloneCatalogItemDetails; import * as ComplianceDetailPolicy from "./compliance-detail-policy"; export import ComplianceDetailPolicy = ComplianceDetailPolicy.ComplianceDetailPolicy; import * as ComplianceDetailProduct from "./compliance-detail-product"; @@ -62,8 +92,12 @@ import * as CompliancePolicyRule from "./compliance-policy-rule"; export import CompliancePolicyRule = CompliancePolicyRule.CompliancePolicyRule; import * as CompliancePolicyRuleCollection from "./compliance-policy-rule-collection"; export import CompliancePolicyRuleCollection = CompliancePolicyRuleCollection.CompliancePolicyRuleCollection; +import * as CompliancePolicyRuleSortBy from "./compliance-policy-rule-sort-by"; +export import CompliancePolicyRuleSortBy = CompliancePolicyRuleSortBy.CompliancePolicyRuleSortBy; import * as CompliancePolicyRuleSummary from "./compliance-policy-rule-summary"; export import CompliancePolicyRuleSummary = CompliancePolicyRuleSummary.CompliancePolicyRuleSummary; +import * as CompliancePolicySortBy from "./compliance-policy-sort-by"; +export import CompliancePolicySortBy = CompliancePolicySortBy.CompliancePolicySortBy; import * as CompliancePolicySummary from "./compliance-policy-summary"; export import CompliancePolicySummary = CompliancePolicySummary.CompliancePolicySummary; import * as ComplianceRecord from "./compliance-record"; @@ -76,6 +110,8 @@ import * as ComplianceRecordCollection from "./compliance-record-collection"; export import ComplianceRecordCollection = ComplianceRecordCollection.ComplianceRecordCollection; import * as ComplianceRecordDimension from "./compliance-record-dimension"; export import ComplianceRecordDimension = ComplianceRecordDimension.ComplianceRecordDimension; +import * as ComplianceRecordSortBy from "./compliance-record-sort-by"; +export import ComplianceRecordSortBy = ComplianceRecordSortBy.ComplianceRecordSortBy; import * as ComplianceRecordSummary from "./compliance-record-summary"; export import ComplianceRecordSummary = ComplianceRecordSummary.ComplianceRecordSummary; import * as ComplianceReport from "./compliance-report"; @@ -100,10 +136,14 @@ import * as ConfigAssociationDetails from "./config-association-details"; export import ConfigAssociationDetails = ConfigAssociationDetails.ConfigAssociationDetails; import * as ConfigCategoryDetails from "./config-category-details"; export import ConfigCategoryDetails = ConfigCategoryDetails.ConfigCategoryDetails; +import * as ConfigFileDetails from "./config-file-details"; +export import ConfigFileDetails = ConfigFileDetails.ConfigFileDetails; import * as ConfirmTargetsDetails from "./confirm-targets-details"; export import ConfirmTargetsDetails = ConfirmTargetsDetails.ConfirmTargetsDetails; import * as ContentDetails from "./content-details"; export import ContentDetails = ContentDetails.ContentDetails; +import * as CreateCatalogItemDetails from "./create-catalog-item-details"; +export import CreateCatalogItemDetails = CreateCatalogItemDetails.CreateCatalogItemDetails; import * as CreateCompliancePolicyRuleDetails from "./create-compliance-policy-rule-details"; export import CreateCompliancePolicyRuleDetails = CreateCompliancePolicyRuleDetails.CreateCompliancePolicyRuleDetails; import * as CreateFleetCredentialDetails from "./create-fleet-credential-details"; @@ -124,8 +164,12 @@ import * as CreatePlatformConfigurationDetails from "./create-platform-configura export import CreatePlatformConfigurationDetails = CreatePlatformConfigurationDetails.CreatePlatformConfigurationDetails; import * as CreatePropertyDetails from "./create-property-details"; export import CreatePropertyDetails = CreatePropertyDetails.CreatePropertyDetails; +import * as CreateProvisionDetails from "./create-provision-details"; +export import CreateProvisionDetails = CreateProvisionDetails.CreateProvisionDetails; import * as CreateRunbookDetails from "./create-runbook-details"; export import CreateRunbookDetails = CreateRunbookDetails.CreateRunbookDetails; +import * as CreateRunbookVersionDetails from "./create-runbook-version-details"; +export import CreateRunbookVersionDetails = CreateRunbookVersionDetails.CreateRunbookVersionDetails; import * as CreateSchedulerDefinitionDetails from "./create-scheduler-definition-details"; export import CreateSchedulerDefinitionDetails = CreateSchedulerDefinitionDetails.CreateSchedulerDefinitionDetails; import * as CreateTaskRecordDetails from "./create-task-record-details"; @@ -136,6 +180,8 @@ import * as CredentialEntitySpecificDetails from "./credential-entity-specific-d export import CredentialEntitySpecificDetails = CredentialEntitySpecificDetails.CredentialEntitySpecificDetails; import * as DependentPatchDetails from "./dependent-patch-details"; export import DependentPatchDetails = DependentPatchDetails.DependentPatchDetails; +import * as DeployedResourceDetails from "./deployed-resource-details"; +export import DeployedResourceDetails = DeployedResourceDetails.DeployedResourceDetails; import * as Details from "./details"; export import Details = Details.Details; import * as DiscoveredTarget from "./discovered-target"; @@ -164,8 +210,12 @@ import * as FleetCredential from "./fleet-credential"; export import FleetCredential = FleetCredential.FleetCredential; import * as FleetCredentialCollection from "./fleet-credential-collection"; export import FleetCredentialCollection = FleetCredentialCollection.FleetCredentialCollection; +import * as FleetCredentialSortBy from "./fleet-credential-sort-by"; +export import FleetCredentialSortBy = FleetCredentialSortBy.FleetCredentialSortBy; import * as FleetCredentialSummary from "./fleet-credential-summary"; export import FleetCredentialSummary = FleetCredentialSummary.FleetCredentialSummary; +import * as FleetDetails from "./fleet-details"; +export import FleetDetails = FleetDetails.FleetDetails; import * as FleetProductCollection from "./fleet-product-collection"; export import FleetProductCollection = FleetProductCollection.FleetProductCollection; import * as FleetProductSummary from "./fleet-product-summary"; @@ -174,14 +224,20 @@ import * as FleetProperty from "./fleet-property"; export import FleetProperty = FleetProperty.FleetProperty; import * as FleetPropertyCollection from "./fleet-property-collection"; export import FleetPropertyCollection = FleetPropertyCollection.FleetPropertyCollection; +import * as FleetPropertySortBy from "./fleet-property-sort-by"; +export import FleetPropertySortBy = FleetPropertySortBy.FleetPropertySortBy; import * as FleetPropertySummary from "./fleet-property-summary"; export import FleetPropertySummary = FleetPropertySummary.FleetPropertySummary; import * as FleetResource from "./fleet-resource"; export import FleetResource = FleetResource.FleetResource; import * as FleetResourceCollection from "./fleet-resource-collection"; export import FleetResourceCollection = FleetResourceCollection.FleetResourceCollection; +import * as FleetResourceSortBy from "./fleet-resource-sort-by"; +export import FleetResourceSortBy = FleetResourceSortBy.FleetResourceSortBy; import * as FleetResourceSummary from "./fleet-resource-summary"; export import FleetResourceSummary = FleetResourceSummary.FleetResourceSummary; +import * as FleetSortBy from "./fleet-sort-by"; +export import FleetSortBy = FleetSortBy.FleetSortBy; import * as FleetSummary from "./fleet-summary"; export import FleetSummary = FleetSummary.FleetSummary; import * as FleetTarget from "./fleet-target"; @@ -198,26 +254,44 @@ import * as Group from "./group"; export import Group = Group.Group; import * as InputArgument from "./input-argument"; export import InputArgument = InputArgument.InputArgument; +import * as InputFileContentDetails from "./input-file-content-details"; +export import InputFileContentDetails = InputFileContentDetails.InputFileContentDetails; import * as InputParameter from "./input-parameter"; export import InputParameter = InputParameter.InputParameter; +import * as InstanceSummary from "./instance-summary"; +export import InstanceSummary = InstanceSummary.InstanceSummary; +import * as InventoryRecord from "./inventory-record"; +export import InventoryRecord = InventoryRecord.InventoryRecord; +import * as InventoryRecordCollection from "./inventory-record-collection"; +export import InventoryRecordCollection = InventoryRecordCollection.InventoryRecordCollection; +import * as InventoryRecordComponent from "./inventory-record-component"; +export import InventoryRecordComponent = InventoryRecordComponent.InventoryRecordComponent; +import * as InventoryRecordPatchDetails from "./inventory-record-patch-details"; +export import InventoryRecordPatchDetails = InventoryRecordPatchDetails.InventoryRecordPatchDetails; +import * as InventoryRecordProperty from "./inventory-record-property"; +export import InventoryRecordProperty = InventoryRecordProperty.InventoryRecordProperty; +import * as InventoryRecordSummary from "./inventory-record-summary"; +export import InventoryRecordSummary = InventoryRecordSummary.InventoryRecordSummary; import * as InventoryResourceCollection from "./inventory-resource-collection"; export import InventoryResourceCollection = InventoryResourceCollection.InventoryResourceCollection; +import * as InventoryResourceSortBy from "./inventory-resource-sort-by"; +export import InventoryResourceSortBy = InventoryResourceSortBy.InventoryResourceSortBy; import * as InventoryResourceSummary from "./inventory-resource-summary"; export import InventoryResourceSummary = InventoryResourceSummary.InventoryResourceSummary; import * as JobActivity from "./job-activity"; export import JobActivity = JobActivity.JobActivity; +import * as JobExecutionDetails from "./job-execution-details"; +export import JobExecutionDetails = JobExecutionDetails.JobExecutionDetails; import * as JobStatus from "./job-status"; export import JobStatus = JobStatus.JobStatus; -import * as LifeCycleActionGroupType from "./life-cycle-action-group-type"; -export import LifeCycleActionGroupType = LifeCycleActionGroupType.LifeCycleActionGroupType; import * as MaintenanceWindow from "./maintenance-window"; export import MaintenanceWindow = MaintenanceWindow.MaintenanceWindow; import * as MaintenanceWindowCollection from "./maintenance-window-collection"; export import MaintenanceWindowCollection = MaintenanceWindowCollection.MaintenanceWindowCollection; +import * as MaintenanceWindowSortBy from "./maintenance-window-sort-by"; +export import MaintenanceWindowSortBy = MaintenanceWindowSortBy.MaintenanceWindowSortBy; import * as MaintenanceWindowSummary from "./maintenance-window-summary"; export import MaintenanceWindowSummary = MaintenanceWindowSummary.MaintenanceWindowSummary; -import * as MaintenanceWindowType from "./maintenance-window-type"; -export import MaintenanceWindowType = MaintenanceWindowType.MaintenanceWindowType; import * as ManageJobExecutionDetails from "./manage-job-execution-details"; export import ManageJobExecutionDetails = ManageJobExecutionDetails.ManageJobExecutionDetails; import * as ManageSettingsDetails from "./manage-settings-details"; @@ -230,8 +304,8 @@ import * as ManagedEntityAggregationCollection from "./managed-entity-aggregatio export import ManagedEntityAggregationCollection = ManagedEntityAggregationCollection.ManagedEntityAggregationCollection; import * as ManagedEntityDimension from "./managed-entity-dimension"; export import ManagedEntityDimension = ManagedEntityDimension.ManagedEntityDimension; -import * as NotificationPreferences from "./notification-preferences"; -export import NotificationPreferences = NotificationPreferences.NotificationPreferences; +import * as NotificationPreference from "./notification-preference"; +export import NotificationPreference = NotificationPreference.NotificationPreference; import * as Onboarding from "./onboarding"; export import Onboarding = Onboarding.Onboarding; import * as OnboardingCollection from "./onboarding-collection"; @@ -260,12 +334,16 @@ import * as Patch from "./patch"; export import Patch = Patch.Patch; import * as PatchCollection from "./patch-collection"; export import PatchCollection = PatchCollection.PatchCollection; +import * as PatchFileContentDetails from "./patch-file-content-details"; +export import PatchFileContentDetails = PatchFileContentDetails.PatchFileContentDetails; import * as PatchProduct from "./patch-product"; export import PatchProduct = PatchProduct.PatchProduct; import * as PatchSelectionDetails from "./patch-selection-details"; export import PatchSelectionDetails = PatchSelectionDetails.PatchSelectionDetails; import * as PatchSeverity from "./patch-severity"; export import PatchSeverity = PatchSeverity.PatchSeverity; +import * as PatchSortBy from "./patch-sort-by"; +export import PatchSortBy = PatchSortBy.PatchSortBy; import * as PatchSummary from "./patch-summary"; export import PatchSummary = PatchSummary.PatchSummary; import * as PatchType from "./patch-type"; @@ -276,12 +354,18 @@ import * as PlatformConfiguration from "./platform-configuration"; export import PlatformConfiguration = PlatformConfiguration.PlatformConfiguration; import * as PlatformConfigurationCollection from "./platform-configuration-collection"; export import PlatformConfigurationCollection = PlatformConfigurationCollection.PlatformConfigurationCollection; +import * as PlatformConfigurationSortBy from "./platform-configuration-sort-by"; +export import PlatformConfigurationSortBy = PlatformConfigurationSortBy.PlatformConfigurationSortBy; import * as PlatformConfigurationSummary from "./platform-configuration-summary"; export import PlatformConfigurationSummary = PlatformConfigurationSummary.PlatformConfigurationSummary; import * as PlatformSpecificArtifact from "./platform-specific-artifact"; export import PlatformSpecificArtifact = PlatformSpecificArtifact.PlatformSpecificArtifact; import * as Preferences from "./preferences"; export import Preferences = Preferences.Preferences; +import * as PreviousTaskInstanceDetails from "./previous-task-instance-details"; +export import PreviousTaskInstanceDetails = PreviousTaskInstanceDetails.PreviousTaskInstanceDetails; +import * as ProductSortBy from "./product-sort-by"; +export import ProductSortBy = ProductSortBy.ProductSortBy; import * as ProductStackSubCategoryDetails from "./product-stack-sub-category-details"; export import ProductStackSubCategoryDetails = ProductStackSubCategoryDetails.ProductStackSubCategoryDetails; import * as ProductVersionDetails from "./product-version-details"; @@ -292,8 +376,16 @@ import * as Property from "./property"; export import Property = Property.Property; import * as PropertyCollection from "./property-collection"; export import PropertyCollection = PropertyCollection.PropertyCollection; +import * as PropertySortBy from "./property-sort-by"; +export import PropertySortBy = PropertySortBy.PropertySortBy; import * as PropertySummary from "./property-summary"; export import PropertySummary = PropertySummary.PropertySummary; +import * as Provision from "./provision"; +export import Provision = Provision.Provision; +import * as ProvisionCollection from "./provision-collection"; +export import ProvisionCollection = ProvisionCollection.ProvisionCollection; +import * as ProvisionSummary from "./provision-summary"; +export import ProvisionSummary = ProvisionSummary.ProvisionSummary; import * as PublishRunbookDetails from "./publish-runbook-details"; export import PublishRunbookDetails = PublishRunbookDetails.PublishRunbookDetails; import * as RequestResourceValidationDetails from "./request-resource-validation-details"; @@ -302,6 +394,8 @@ import * as RequestTargetDiscoveryDetails from "./request-target-discovery-detai export import RequestTargetDiscoveryDetails = RequestTargetDiscoveryDetails.RequestTargetDiscoveryDetails; import * as ResourceCollection from "./resource-collection"; export import ResourceCollection = ResourceCollection.ResourceCollection; +import * as ResourceSelection from "./resource-selection"; +export import ResourceSelection = ResourceSelection.ResourceSelection; import * as ResourceSummary from "./resource-summary"; export import ResourceSummary = ResourceSummary.ResourceSummary; import * as ResourceTagCheckDetails from "./resource-tag-check-details"; @@ -312,12 +406,22 @@ import * as RollbackWorkflowDetails from "./rollback-workflow-details"; export import RollbackWorkflowDetails = RollbackWorkflowDetails.RollbackWorkflowDetails; import * as Rule from "./rule"; export import Rule = Rule.Rule; +import * as RunOnDetails from "./run-on-details"; +export import RunOnDetails = RunOnDetails.RunOnDetails; import * as Runbook from "./runbook"; export import Runbook = Runbook.Runbook; import * as RunbookCollection from "./runbook-collection"; export import RunbookCollection = RunbookCollection.RunbookCollection; +import * as RunbookSortBy from "./runbook-sort-by"; +export import RunbookSortBy = RunbookSortBy.RunbookSortBy; import * as RunbookSummary from "./runbook-summary"; export import RunbookSummary = RunbookSummary.RunbookSummary; +import * as RunbookVersion from "./runbook-version"; +export import RunbookVersion = RunbookVersion.RunbookVersion; +import * as RunbookVersionCollection from "./runbook-version-collection"; +export import RunbookVersionCollection = RunbookVersionCollection.RunbookVersionCollection; +import * as RunbookVersionSummary from "./runbook-version-summary"; +export import RunbookVersionSummary = RunbookVersionSummary.RunbookVersionSummary; import * as Schedule from "./schedule"; export import Schedule = Schedule.Schedule; import * as ScheduledFleetCollection from "./scheduled-fleet-collection"; @@ -330,6 +434,10 @@ import * as SchedulerDefinitionCollection from "./scheduler-definition-collectio export import SchedulerDefinitionCollection = SchedulerDefinitionCollection.SchedulerDefinitionCollection; import * as SchedulerDefinitionSummary from "./scheduler-definition-summary"; export import SchedulerDefinitionSummary = SchedulerDefinitionSummary.SchedulerDefinitionSummary; +import * as SchedulerExecutionCollection from "./scheduler-execution-collection"; +export import SchedulerExecutionCollection = SchedulerExecutionCollection.SchedulerExecutionCollection; +import * as SchedulerExecutionSummary from "./scheduler-execution-summary"; +export import SchedulerExecutionSummary = SchedulerExecutionSummary.SchedulerExecutionSummary; import * as SchedulerJob from "./scheduler-job"; export import SchedulerJob = SchedulerJob.SchedulerJob; import * as SchedulerJobAggregation from "./scheduler-job-aggregation"; @@ -350,6 +458,8 @@ import * as SelectionCriteria from "./selection-criteria"; export import SelectionCriteria = SelectionCriteria.SelectionCriteria; import * as SetDefaultRunbookDetails from "./set-default-runbook-details"; export import SetDefaultRunbookDetails = SetDefaultRunbookDetails.SetDefaultRunbookDetails; +import * as SortBy from "./sort-by"; +export import SortBy = SortBy.SortBy; import * as SortOrder from "./sort-order"; export import SortOrder = SortOrder.SortOrder; import * as StepCollection from "./step-collection"; @@ -358,6 +468,8 @@ import * as StepSummary from "./step-summary"; export import StepSummary = StepSummary.StepSummary; import * as TargetResource from "./target-resource"; export import TargetResource = TargetResource.TargetResource; +import * as TargetSortBy from "./target-sort-by"; +export import TargetSortBy = TargetSortBy.TargetSortBy; import * as Task from "./task"; export import Task = Task.Task; import * as TaskArgument from "./task-argument"; @@ -370,12 +482,18 @@ import * as TaskRecord from "./task-record"; export import TaskRecord = TaskRecord.TaskRecord; import * as TaskRecordCollection from "./task-record-collection"; export import TaskRecordCollection = TaskRecordCollection.TaskRecordCollection; +import * as TaskRecordSortBy from "./task-record-sort-by"; +export import TaskRecordSortBy = TaskRecordSortBy.TaskRecordSortBy; import * as TaskRecordSummary from "./task-record-summary"; export import TaskRecordSummary = TaskRecordSummary.TaskRecordSummary; import * as TaskScope from "./task-scope"; export import TaskScope = TaskScope.TaskScope; import * as TaskVariable from "./task-variable"; export import TaskVariable = TaskVariable.TaskVariable; +import * as UpcomingSchedule from "./upcoming-schedule"; +export import UpcomingSchedule = UpcomingSchedule.UpcomingSchedule; +import * as UpdateCatalogItemDetails from "./update-catalog-item-details"; +export import UpdateCatalogItemDetails = UpdateCatalogItemDetails.UpdateCatalogItemDetails; import * as UpdateCompliancePolicyRuleDetails from "./update-compliance-policy-rule-details"; export import UpdateCompliancePolicyRuleDetails = UpdateCompliancePolicyRuleDetails.UpdateCompliancePolicyRuleDetails; import * as UpdateFleetCredentialDetails from "./update-fleet-credential-details"; @@ -396,8 +514,12 @@ import * as UpdatePlatformConfigurationDetails from "./update-platform-configura export import UpdatePlatformConfigurationDetails = UpdatePlatformConfigurationDetails.UpdatePlatformConfigurationDetails; import * as UpdatePropertyDetails from "./update-property-details"; export import UpdatePropertyDetails = UpdatePropertyDetails.UpdatePropertyDetails; +import * as UpdateProvisionDetails from "./update-provision-details"; +export import UpdateProvisionDetails = UpdateProvisionDetails.UpdateProvisionDetails; import * as UpdateRunbookDetails from "./update-runbook-details"; export import UpdateRunbookDetails = UpdateRunbookDetails.UpdateRunbookDetails; +import * as UpdateRunbookVersionDetails from "./update-runbook-version-details"; +export import UpdateRunbookVersionDetails = UpdateRunbookVersionDetails.UpdateRunbookVersionDetails; import * as UpdateSchedulerDefinitionDetails from "./update-scheduler-definition-details"; export import UpdateSchedulerDefinitionDetails = UpdateSchedulerDefinitionDetails.UpdateSchedulerDefinitionDetails; import * as UpdateSchedulerJobDetails from "./update-scheduler-job-details"; @@ -410,6 +532,8 @@ import * as ValueType from "./value-type"; export import ValueType = ValueType.ValueType; import * as Variable from "./variable"; export import Variable = Variable.Variable; +import * as Version from "./version"; +export import Version = Version.Version; import * as WorkRequest from "./work-request"; export import WorkRequest = WorkRequest.WorkRequest; import * as WorkRequestError from "./work-request-error"; @@ -441,20 +565,66 @@ import * as AssociatedLocalTaskDetails from "./associated-local-task-details"; export import AssociatedLocalTaskDetails = AssociatedLocalTaskDetails.AssociatedLocalTaskDetails; import * as AssociatedSharedTaskDetails from "./associated-shared-task-details"; export import AssociatedSharedTaskDetails = AssociatedSharedTaskDetails.AssociatedSharedTaskDetails; +import * as CatalogContentDetails from "./catalog-content-details"; +export import CatalogContentDetails = CatalogContentDetails.CatalogContentDetails; +import * as CatalogGitResultConfig from "./catalog-git-result-config"; +export import CatalogGitResultConfig = CatalogGitResultConfig.CatalogGitResultConfig; +import * as CatalogGitSourceConfig from "./catalog-git-source-config"; +export import CatalogGitSourceConfig = CatalogGitSourceConfig.CatalogGitSourceConfig; +import * as CatalogMarketplaceSourceConfig from "./catalog-marketplace-source-config"; +export import CatalogMarketplaceSourceConfig = CatalogMarketplaceSourceConfig.CatalogMarketplaceSourceConfig; +import * as CatalogParResultConfig from "./catalog-par-result-config"; +export import CatalogParResultConfig = CatalogParResultConfig.CatalogParResultConfig; +import * as CatalogParSourceConfig from "./catalog-par-source-config"; +export import CatalogParSourceConfig = CatalogParSourceConfig.CatalogParSourceConfig; +import * as CatalogSourceTemplateConfig from "./catalog-source-template-config"; +export import CatalogSourceTemplateConfig = CatalogSourceTemplateConfig.CatalogSourceTemplateConfig; +import * as CatalogTemplateResultConfig from "./catalog-template-result-config"; +export import CatalogTemplateResultConfig = CatalogTemplateResultConfig.CatalogTemplateResultConfig; import * as CredentialConfigCategoryDetails from "./credential-config-category-details"; export import CredentialConfigCategoryDetails = CredentialConfigCategoryDetails.CredentialConfigCategoryDetails; +import * as CustomSchedule from "./custom-schedule"; +export import CustomSchedule = CustomSchedule.CustomSchedule; +import * as DynamicResourceSelection from "./dynamic-resource-selection"; +export import DynamicResourceSelection = DynamicResourceSelection.DynamicResourceSelection; import * as EnvironmentConfigCategoryDetails from "./environment-config-category-details"; export import EnvironmentConfigCategoryDetails = EnvironmentConfigCategoryDetails.EnvironmentConfigCategoryDetails; +import * as EnvironmentFleetDetails from "./environment-fleet-details"; +export import EnvironmentFleetDetails = EnvironmentFleetDetails.EnvironmentFleetDetails; +import * as FileInputArgument from "./file-input-argument"; +export import FileInputArgument = FileInputArgument.FileInputArgument; +import * as FileTaskArgument from "./file-task-argument"; +export import FileTaskArgument = FileTaskArgument.FileTaskArgument; +import * as FleetBasedActionGroup from "./fleet-based-action-group"; +export import FleetBasedActionGroup = FleetBasedActionGroup.FleetBasedActionGroup; +import * as FleetBasedActionGroupDetails from "./fleet-based-action-group-details"; +export import FleetBasedActionGroupDetails = FleetBasedActionGroupDetails.FleetBasedActionGroupDetails; import * as FleetCredentialEntitySpecificDetails from "./fleet-credential-entity-specific-details"; export import FleetCredentialEntitySpecificDetails = FleetCredentialEntitySpecificDetails.FleetCredentialEntitySpecificDetails; import * as GenericArtifactDetails from "./generic-artifact-details"; export import GenericArtifactDetails = GenericArtifactDetails.GenericArtifactDetails; +import * as GenericFleetDetails from "./generic-fleet-details"; +export import GenericFleetDetails = GenericFleetDetails.GenericFleetDetails; +import * as GroupFleetDetails from "./group-fleet-details"; +export import GroupFleetDetails = GroupFleetDetails.GroupFleetDetails; +import * as InputFileObjectStorageBucketContentDetails from "./input-file-object-storage-bucket-content-details"; +export import InputFileObjectStorageBucketContentDetails = InputFileObjectStorageBucketContentDetails.InputFileObjectStorageBucketContentDetails; import * as KeyEncryptionCredentialDetails from "./key-encryption-credential-details"; export import KeyEncryptionCredentialDetails = KeyEncryptionCredentialDetails.KeyEncryptionCredentialDetails; +import * as LifecycleOperationConfigCategoryDetails from "./lifecycle-operation-config-category-details"; +export import LifecycleOperationConfigCategoryDetails = LifecycleOperationConfigCategoryDetails.LifecycleOperationConfigCategoryDetails; +import * as MaintenanceWindowSchedule from "./maintenance-window-schedule"; +export import MaintenanceWindowSchedule = MaintenanceWindowSchedule.MaintenanceWindowSchedule; +import * as ManualResourceSelection from "./manual-resource-selection"; +export import ManualResourceSelection = ManualResourceSelection.ManualResourceSelection; +import * as ObjectStorageBucketConfigFileDetails from "./object-storage-bucket-config-file-details"; +export import ObjectStorageBucketConfigFileDetails = ObjectStorageBucketConfigFileDetails.ObjectStorageBucketConfigFileDetails; import * as ObjectStorageBucketContentDetails from "./object-storage-bucket-content-details"; export import ObjectStorageBucketContentDetails = ObjectStorageBucketContentDetails.ObjectStorageBucketContentDetails; import * as OutputVariableInputArgument from "./output-variable-input-argument"; export import OutputVariableInputArgument = OutputVariableInputArgument.OutputVariableInputArgument; +import * as PatchFileObjectStorageBucketContentDetails from "./patch-file-object-storage-bucket-content-details"; +export import PatchFileObjectStorageBucketContentDetails = PatchFileObjectStorageBucketContentDetails.PatchFileObjectStorageBucketContentDetails; import * as PatchLevelSelectionDetails from "./patch-level-selection-details"; export import PatchLevelSelectionDetails = PatchLevelSelectionDetails.PatchLevelSelectionDetails; import * as PatchNameSelectionDetails from "./patch-name-selection-details"; @@ -467,8 +637,12 @@ import * as PlainTextCredentialDetails from "./plain-text-credential-details"; export import PlainTextCredentialDetails = PlainTextCredentialDetails.PlainTextCredentialDetails; import * as PlatformSpecificArtifactDetails from "./platform-specific-artifact-details"; export import PlatformSpecificArtifactDetails = PlatformSpecificArtifactDetails.PlatformSpecificArtifactDetails; +import * as PreviousTaskInstanceRunOnDetails from "./previous-task-instance-run-on-details"; +export import PreviousTaskInstanceRunOnDetails = PreviousTaskInstanceRunOnDetails.PreviousTaskInstanceRunOnDetails; import * as ProductConfigCategoryDetails from "./product-config-category-details"; export import ProductConfigCategoryDetails = ProductConfigCategoryDetails.ProductConfigCategoryDetails; +import * as ProductFleetDetails from "./product-fleet-details"; +export import ProductFleetDetails = ProductFleetDetails.ProductFleetDetails; import * as ProductStackAsProductSubCategoryDetails from "./product-stack-as-product-sub-category-details"; export import ProductStackAsProductSubCategoryDetails = ProductStackAsProductSubCategoryDetails.ProductStackAsProductSubCategoryDetails; import * as ProductStackConfigCategoryDetails from "./product-stack-config-category-details"; @@ -477,14 +651,24 @@ import * as ProductStackGenericSubCategoryDetails from "./product-stack-generic- export import ProductStackGenericSubCategoryDetails = ProductStackGenericSubCategoryDetails.ProductStackGenericSubCategoryDetails; import * as ResourceCredentialEntitySpecificDetails from "./resource-credential-entity-specific-details"; export import ResourceCredentialEntitySpecificDetails = ResourceCredentialEntitySpecificDetails.ResourceCredentialEntitySpecificDetails; +import * as ScheduleInstanceRunOnDetails from "./schedule-instance-run-on-details"; +export import ScheduleInstanceRunOnDetails = ScheduleInstanceRunOnDetails.ScheduleInstanceRunOnDetails; import * as ScriptBasedExecutionDetails from "./script-based-execution-details"; export import ScriptBasedExecutionDetails = ScriptBasedExecutionDetails.ScriptBasedExecutionDetails; +import * as SelfHostedInstanceConfigCategoryDetails from "./self-hosted-instance-config-category-details"; +export import SelfHostedInstanceConfigCategoryDetails = SelfHostedInstanceConfigCategoryDetails.SelfHostedInstanceConfigCategoryDetails; +import * as SelfHostedInstanceRunOnDetails from "./self-hosted-instance-run-on-details"; +export import SelfHostedInstanceRunOnDetails = SelfHostedInstanceRunOnDetails.SelfHostedInstanceRunOnDetails; import * as StepBasedUserActionDetails from "./step-based-user-action-details"; export import StepBasedUserActionDetails = StepBasedUserActionDetails.StepBasedUserActionDetails; import * as StringInputArgument from "./string-input-argument"; export import StringInputArgument = StringInputArgument.StringInputArgument; +import * as StringTaskArgument from "./string-task-argument"; +export import StringTaskArgument = StringTaskArgument.StringTaskArgument; import * as TargetCredentialEntitySpecificDetails from "./target-credential-entity-specific-details"; export import TargetCredentialEntitySpecificDetails = TargetCredentialEntitySpecificDetails.TargetCredentialEntitySpecificDetails; +import * as TerraformBasedExecutionDetails from "./terraform-based-execution-details"; +export import TerraformBasedExecutionDetails = TerraformBasedExecutionDetails.TerraformBasedExecutionDetails; import * as TimeBasedPauseDetails from "./time-based-pause-details"; export import TimeBasedPauseDetails = TimeBasedPauseDetails.TimeBasedPauseDetails; import * as UserActionBasedPauseDetails from "./user-action-based-pause-details"; diff --git a/lib/fleetappsmanagement/lib/model/input-argument.ts b/lib/fleetappsmanagement/lib/model/input-argument.ts index 6d87baec76..51c8a59fb2 100644 --- a/lib/fleetappsmanagement/lib/model/input-argument.ts +++ b/lib/fleetappsmanagement/lib/model/input-argument.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -47,6 +47,11 @@ export namespace InputArgument { (jsonObj), true ); + case "FILE": + return model.FileInputArgument.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } @@ -68,6 +73,11 @@ export namespace InputArgument { (jsonObj), true ); + case "FILE": + return model.FileInputArgument.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); } diff --git a/lib/fleetappsmanagement/lib/model/input-file-content-details.ts b/lib/fleetappsmanagement/lib/model/input-file-content-details.ts new file mode 100644 index 0000000000..81a79179c2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/input-file-content-details.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface InputFileContentDetails { + "sourceType": string; +} + +export namespace InputFileContentDetails { + export function getJsonObj(obj: InputFileContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.InputFileObjectStorageBucketContentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: InputFileContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.InputFileObjectStorageBucketContentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/input-file-object-storage-bucket-content-details.ts b/lib/fleetappsmanagement/lib/model/input-file-object-storage-bucket-content-details.ts new file mode 100644 index 0000000000..4daff401eb --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/input-file-object-storage-bucket-content-details.ts @@ -0,0 +1,76 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about Object Storage Bucket source. + * Restricted to the region this is called. + * + */ +export interface InputFileObjectStorageBucketContentDetails extends model.InputFileContentDetails { + /** + * Namespace. + */ + "namespaceName": string; + /** + * Bucket Name. + */ + "bucketName": string; + /** + * Object Name. + */ + "objectName": string; + /** + * md5 checksum of the artifact. + */ + "checksum": string; + + "sourceType": string; +} + +export namespace InputFileObjectStorageBucketContentDetails { + export function getJsonObj( + obj: InputFileObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InputFileContentDetails.getJsonObj( + obj + ) as InputFileObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "OBJECT_STORAGE_BUCKET"; + export function getDeserializedJsonObj( + obj: InputFileObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.InputFileContentDetails.getDeserializedJsonObj( + obj + ) as InputFileObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/input-parameter.ts b/lib/fleetappsmanagement/lib/model/input-parameter.ts index ddf7082e69..c44fbda6e5 100644 --- a/lib/fleetappsmanagement/lib/model/input-parameter.ts +++ b/lib/fleetappsmanagement/lib/model/input-parameter.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/instance-summary.ts b/lib/fleetappsmanagement/lib/model/instance-summary.ts new file mode 100644 index 0000000000..63ceee2ecd --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/instance-summary.ts @@ -0,0 +1,47 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * InstanceSummary contains info regarding deployed instances. + */ +export interface InstanceSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which instance is deployed. + */ + "compartmentId": string; + /** + * Instance lifecycle state + */ + "state": string; +} + +export namespace InstanceSummary { + export function getJsonObj(obj: InstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-collection.ts b/lib/fleetappsmanagement/lib/model/inventory-record-collection.ts new file mode 100644 index 0000000000..e0a86b609b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of an inventory search. + */ +export interface InventoryRecordCollection { + /** + * List of inventory targets + */ + "items": Array; +} + +export namespace InventoryRecordCollection { + export function getJsonObj(obj: InventoryRecordCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.InventoryRecordSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecordCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.InventoryRecordSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-component.ts b/lib/fleetappsmanagement/lib/model/inventory-record-component.ts new file mode 100644 index 0000000000..4ea9e17ed3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record-component.ts @@ -0,0 +1,69 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about a target component + */ +export interface InventoryRecordComponent { + /** + * Name of the target component + */ + "componentName": string; + /** + * Version of the target component + */ + "componentVersion": string; + /** + * Path of the component + */ + "componentPath": string; + /** + * List of component properties + */ + "properties": Array; +} + +export namespace InventoryRecordComponent { + export function getJsonObj(obj: InventoryRecordComponent): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecordComponent): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts b/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts new file mode 100644 index 0000000000..ddf127bce9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record-patch-details.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about an installed patch on the target + */ +export interface InventoryRecordPatchDetails { + /** + * OCID of the installed patch + */ + "patchId"?: string; + /** + * Name of the installed patch + */ + "patchName": string; + /** + * Description for the installed patch + */ + "patchDescription": string; + /** + * Date on which the patch was applied to the target + */ + "timeApplied": Date; + /** + * Type of patch applied + */ + "patchType": string; +} + +export namespace InventoryRecordPatchDetails { + export function getJsonObj(obj: InventoryRecordPatchDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecordPatchDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-property.ts b/lib/fleetappsmanagement/lib/model/inventory-record-property.ts new file mode 100644 index 0000000000..4ff3abcc6e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record-property.ts @@ -0,0 +1,43 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about a inventory target + */ +export interface InventoryRecordProperty { + /** + * Name of the inventory target property. + */ + "name": string; + /** + * Value of the inventory target property. + */ + "value": string; +} + +export namespace InventoryRecordProperty { + export function getJsonObj(obj: InventoryRecordProperty): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecordProperty): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts b/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts new file mode 100644 index 0000000000..68c11def57 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record-summary.ts @@ -0,0 +1,137 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an inventory target. + */ +export interface InventoryRecordSummary { + /** + * The OCID of the Inventory target. + */ + "targetId": string; + /** + * Name of the target + */ + "targetName": string; + /** + * Version of the product on the target + */ + "version": string; + /** + * OCID of the resource associated with the target + */ + "targetResourceId": string; + /** + * Name of the resource associated with the target + */ + "targetResourceName"?: string; + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + /** + * OCID of the product installed at the target path + */ + "targetProductId"?: string; + /** + * Name of the product installed at the target path + */ + "targetProductName": string; + /** + * OS installed on the resource associated with the target + */ + "osType": string; + /** + * Architecture of the resource associated with the target + */ + "architecture": string; + /** + * List of target properties + */ + "properties": Array; + /** + * List of target components + */ + "components": Array; + /** + * List of details on the patches currently installed on the target + */ + "installedPatches": Array; + /** + * The time this resource was created. An RFC3339 formatted datetime string. + */ + "timeCreated"?: Date; + /** + * The time this resource was last updated. An RFC3339 formatted datetime string. + */ + "timeUpdated"?: Date; + /** + * The current state of the Inventory target. + */ + "lifecycleState"?: string; +} + +export namespace InventoryRecordSummary { + export function getJsonObj(obj: InventoryRecordSummary): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getJsonObj(item); + }) + : undefined, + "components": obj.components + ? obj.components.map(item => { + return model.InventoryRecordComponent.getJsonObj(item); + }) + : undefined, + "installedPatches": obj.installedPatches + ? obj.installedPatches.map(item => { + return model.InventoryRecordPatchDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecordSummary): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getDeserializedJsonObj(item); + }) + : undefined, + "components": obj.components + ? obj.components.map(item => { + return model.InventoryRecordComponent.getDeserializedJsonObj(item); + }) + : undefined, + "installedPatches": obj.installedPatches + ? obj.installedPatches.map(item => { + return model.InventoryRecordPatchDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-record.ts b/lib/fleetappsmanagement/lib/model/inventory-record.ts new file mode 100644 index 0000000000..dcd25bd4c3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-record.ts @@ -0,0 +1,147 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Information about an inventory target. + * + */ +export interface InventoryRecord { + /** + * The OCID of the Inventory target. + */ + "targetId": string; + /** + * Name of the target + */ + "targetName": string; + /** + * Version of the product on the target + */ + "version": string; + /** + * OCID of the resource associated with the target + */ + "targetResourceId": string; + /** + * Name of the resource associated with the target + */ + "targetResourceName"?: string; + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId": string; + /** + * OCID of the product installed at the target path + */ + "targetProductId"?: string; + /** + * Name of the product installed at the target path + */ + "targetProductName": string; + /** + * OS installed on the resource associated with the target + */ + "osType": string; + /** + * Architecture of the resource associated with the target + */ + "architecture": string; + /** + * List of target properties + */ + "properties": Array; + /** + * List of target components + */ + "components": Array; + /** + * List of details on the patches currently installed on the target + */ + "installedPatches": Array; + /** + * The time this resource was created. An RFC3339 formatted datetime string. + */ + "timeCreated"?: Date; + /** + * The time this resource was last updated. An RFC3339 formatted datetime string. + */ + "timeUpdated"?: Date; + /** + * The current state of the Inventory target. + */ + "lifecycleState"?: InventoryRecord.LifecycleState; +} + +export namespace InventoryRecord { + export enum LifecycleState { + Active = "ACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: InventoryRecord): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getJsonObj(item); + }) + : undefined, + "components": obj.components + ? obj.components.map(item => { + return model.InventoryRecordComponent.getJsonObj(item); + }) + : undefined, + "installedPatches": obj.installedPatches + ? obj.installedPatches.map(item => { + return model.InventoryRecordPatchDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: InventoryRecord): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.InventoryRecordProperty.getDeserializedJsonObj(item); + }) + : undefined, + "components": obj.components + ? obj.components.map(item => { + return model.InventoryRecordComponent.getDeserializedJsonObj(item); + }) + : undefined, + "installedPatches": obj.installedPatches + ? obj.installedPatches.map(item => { + return model.InventoryRecordPatchDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-resource-collection.ts b/lib/fleetappsmanagement/lib/model/inventory-resource-collection.ts index 39e4f9d88e..0f033709df 100644 --- a/lib/fleetappsmanagement/lib/model/inventory-resource-collection.ts +++ b/lib/fleetappsmanagement/lib/model/inventory-resource-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/inventory-resource-sort-by.ts b/lib/fleetappsmanagement/lib/model/inventory-resource-sort-by.ts new file mode 100644 index 0000000000..e845be5185 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/inventory-resource-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are resource name ({@code resourceDisplayName}), target name ({@code displayName}) or product name ({@code product}). + * + **/ +export enum InventoryResourceSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace InventoryResourceSortBy { + export function getJsonObj(obj: InventoryResourceSortBy): InventoryResourceSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: InventoryResourceSortBy): InventoryResourceSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/inventory-resource-summary.ts b/lib/fleetappsmanagement/lib/model/inventory-resource-summary.ts index 09522922f0..88103b591f 100644 --- a/lib/fleetappsmanagement/lib/model/inventory-resource-summary.ts +++ b/lib/fleetappsmanagement/lib/model/inventory-resource-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/job-activity.ts b/lib/fleetappsmanagement/lib/model/job-activity.ts index 5910ef7314..3f798af048 100644 --- a/lib/fleetappsmanagement/lib/model/job-activity.ts +++ b/lib/fleetappsmanagement/lib/model/job-activity.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -41,6 +41,10 @@ export interface JobActivity { * OCID of the runbook associated with the Action Group. */ "runbookId"?: string; + /** + * Name of the RunbookVersion associated with the Action Group. + */ + "runbookVersionName"?: string; /** * Name of the runbook associated with the Action Group. */ diff --git a/lib/fleetappsmanagement/lib/model/job-execution-details.ts b/lib/fleetappsmanagement/lib/model/job-execution-details.ts new file mode 100644 index 0000000000..304a5316d2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/job-execution-details.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The Apply job output variable + */ +export interface JobExecutionDetails { + /** + * The output name + */ + "outputName": string; + /** + * The output type + */ + "outputType": string; + /** + * The output value + */ + "outputValue": string; + /** + * The output description + */ + "outputDescription"?: string; + /** + * The indicator if the data for this parameter is sensitive (e.g. should the data be hidden in UI, encrypted if stored, etc.) + */ + "isSensitive"?: boolean; +} + +export namespace JobExecutionDetails { + export function getJsonObj(obj: JobExecutionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: JobExecutionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/job-status.ts b/lib/fleetappsmanagement/lib/model/job-status.ts index b2aa2a84a0..6998e5b7ac 100644 --- a/lib/fleetappsmanagement/lib/model/job-status.ts +++ b/lib/fleetappsmanagement/lib/model/job-status.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/key-encryption-credential-details.ts b/lib/fleetappsmanagement/lib/model/key-encryption-credential-details.ts index 0188eadee8..1a4d9955aa 100644 --- a/lib/fleetappsmanagement/lib/model/key-encryption-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/key-encryption-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/lifecycle-operation-config-category-details.ts b/lib/fleetappsmanagement/lib/model/lifecycle-operation-config-category-details.ts new file mode 100644 index 0000000000..b891a8c4d9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/lifecycle-operation-config-category-details.ts @@ -0,0 +1,56 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Lifecycle Operations + * + */ +export interface LifecycleOperationConfigCategoryDetails extends model.ConfigCategoryDetails { + "configCategory": string; +} + +export namespace LifecycleOperationConfigCategoryDetails { + export function getJsonObj( + obj: LifecycleOperationConfigCategoryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigCategoryDetails.getJsonObj(obj) as LifecycleOperationConfigCategoryDetails)), + ...{} + }; + + return jsonObj; + } + export const configCategory = "LIFECYCLE_OPERATION"; + export function getDeserializedJsonObj( + obj: LifecycleOperationConfigCategoryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigCategoryDetails.getDeserializedJsonObj( + obj + ) as LifecycleOperationConfigCategoryDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window-collection.ts b/lib/fleetappsmanagement/lib/model/maintenance-window-collection.ts index d37073dbff..97a7e4180e 100644 --- a/lib/fleetappsmanagement/lib/model/maintenance-window-collection.ts +++ b/lib/fleetappsmanagement/lib/model/maintenance-window-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window-schedule.ts b/lib/fleetappsmanagement/lib/model/maintenance-window-schedule.ts new file mode 100644 index 0000000000..7ed44f9dcb --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/maintenance-window-schedule.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * MaintenanceWindow Information for Schedule. + */ +export interface MaintenanceWindowSchedule extends model.Schedule { + /** + * Provide MaintenanceWindowId + */ + "maintenanceWindowId": string; + + "type": string; +} + +export namespace MaintenanceWindowSchedule { + export function getJsonObj(obj: MaintenanceWindowSchedule, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Schedule.getJsonObj(obj) as MaintenanceWindowSchedule)), + ...{} + }; + + return jsonObj; + } + export const type = "MAINTENANCE_WINDOW"; + export function getDeserializedJsonObj( + obj: MaintenanceWindowSchedule, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.Schedule.getDeserializedJsonObj(obj) as MaintenanceWindowSchedule)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window-sort-by.ts b/lib/fleetappsmanagement/lib/model/maintenance-window-sort-by.ts new file mode 100644 index 0000000000..8686466673 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/maintenance-window-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum MaintenanceWindowSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace MaintenanceWindowSortBy { + export function getJsonObj(obj: MaintenanceWindowSortBy): MaintenanceWindowSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: MaintenanceWindowSortBy): MaintenanceWindowSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window-summary.ts b/lib/fleetappsmanagement/lib/model/maintenance-window-summary.ts index da48b05e3e..e37bcba669 100644 --- a/lib/fleetappsmanagement/lib/model/maintenance-window-summary.ts +++ b/lib/fleetappsmanagement/lib/model/maintenance-window-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface MaintenanceWindowSummary { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -53,10 +53,6 @@ Example: {@code My new resource} * The time this resource was last updated. An RFC3339 formatted datetime string. */ "timeUpdated"?: Date; - /** - * Type of the MaintenanceWindow. - */ - "maintenanceWindowType"?: model.MaintenanceWindowType; /** * Does the maintenenace window cause outage? * An outage indicates whether a maintenance window can consider operations that require downtime. @@ -84,10 +80,6 @@ Example: {@code My new resource} * */ "recurrences"?: string; - /** - * Task initiation cutoff time for the maintenance window. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "taskInitiationCutoff": number; /** * The current state of the MaintenanceWindow. */ diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window.ts b/lib/fleetappsmanagement/lib/model/maintenance-window.ts index 75898f6d9a..bf5732d492 100644 --- a/lib/fleetappsmanagement/lib/model/maintenance-window.ts +++ b/lib/fleetappsmanagement/lib/model/maintenance-window.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface MaintenanceWindow { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -53,10 +53,6 @@ Example: {@code My new resource} * The time this resource was last updated. An RFC3339 formatted datetime string. */ "timeUpdated"?: Date; - /** - * Type of the MaintenanceWindow. - */ - "maintenanceWindowType"?: model.MaintenanceWindowType; /** * Does the maintenenace window cause outage? * An outage indicates whether a maintenance window can consider operations that require downtime. @@ -84,10 +80,6 @@ Example: {@code My new resource} * */ "recurrences"?: string; - /** - * Task initiation cutoff time for the maintenance window. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "taskInitiationCutoff": number; /** * The current state of the MaintenanceWindow. */ diff --git a/lib/fleetappsmanagement/lib/model/manage-job-execution-details.ts b/lib/fleetappsmanagement/lib/model/manage-job-execution-details.ts index fb6d9a6b4c..ecb43cb7b7 100644 --- a/lib/fleetappsmanagement/lib/model/manage-job-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/manage-job-execution-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/manage-settings-details.ts b/lib/fleetappsmanagement/lib/model/manage-settings-details.ts index 6f28d29333..5954f259fa 100644 --- a/lib/fleetappsmanagement/lib/model/manage-settings-details.ts +++ b/lib/fleetappsmanagement/lib/model/manage-settings-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/managed-entity-aggregation-collection.ts b/lib/fleetappsmanagement/lib/model/managed-entity-aggregation-collection.ts index 75d53a306e..3b1f699385 100644 --- a/lib/fleetappsmanagement/lib/model/managed-entity-aggregation-collection.ts +++ b/lib/fleetappsmanagement/lib/model/managed-entity-aggregation-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/managed-entity-aggregation.ts b/lib/fleetappsmanagement/lib/model/managed-entity-aggregation.ts index 4018eed22f..3d54d66502 100644 --- a/lib/fleetappsmanagement/lib/model/managed-entity-aggregation.ts +++ b/lib/fleetappsmanagement/lib/model/managed-entity-aggregation.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface ManagedEntityAggregation { /** - * count of Managed Entities in a Tenancy. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Count of managed entities in a compartment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "count": number; "dimensions": model.ManagedEntityDimension; diff --git a/lib/fleetappsmanagement/lib/model/managed-entity-dimension.ts b/lib/fleetappsmanagement/lib/model/managed-entity-dimension.ts index 6c7fe4b771..73db288993 100644 --- a/lib/fleetappsmanagement/lib/model/managed-entity-dimension.ts +++ b/lib/fleetappsmanagement/lib/model/managed-entity-dimension.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/managed-entity.ts b/lib/fleetappsmanagement/lib/model/managed-entity.ts index cde5e60d1a..191f2b7a1f 100644 --- a/lib/fleetappsmanagement/lib/model/managed-entity.ts +++ b/lib/fleetappsmanagement/lib/model/managed-entity.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/manual-resource-selection.ts b/lib/fleetappsmanagement/lib/model/manual-resource-selection.ts new file mode 100644 index 0000000000..529090f1b8 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/manual-resource-selection.ts @@ -0,0 +1,50 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Manual Resource Selection Type + */ +export interface ManualResourceSelection extends model.ResourceSelection { + "resourceSelectionType": string; +} + +export namespace ManualResourceSelection { + export function getJsonObj(obj: ManualResourceSelection, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ResourceSelection.getJsonObj(obj) as ManualResourceSelection)), + ...{} + }; + + return jsonObj; + } + export const resourceSelectionType = "MANUAL"; + export function getDeserializedJsonObj( + obj: ManualResourceSelection, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ResourceSelection.getDeserializedJsonObj(obj) as ManualResourceSelection)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/notification-preferences.ts b/lib/fleetappsmanagement/lib/model/notification-preference.ts similarity index 88% rename from lib/fleetappsmanagement/lib/model/notification-preferences.ts rename to lib/fleetappsmanagement/lib/model/notification-preference.ts index c8025ab154..b10951c565 100644 --- a/lib/fleetappsmanagement/lib/model/notification-preferences.ts +++ b/lib/fleetappsmanagement/lib/model/notification-preference.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,7 +18,7 @@ import common = require("oci-common"); /** * Notification information to get notified when the fleet status changes. */ -export interface NotificationPreferences { +export interface NotificationPreference { /** * Topic Id where the notifications will be directed. * A topic is a communication channel for sending messages on chosen events to subscriptions. @@ -32,8 +32,8 @@ export interface NotificationPreferences { "preferences"?: model.Preferences; } -export namespace NotificationPreferences { - export function getJsonObj(obj: NotificationPreferences): object { +export namespace NotificationPreference { + export function getJsonObj(obj: NotificationPreference): object { const jsonObj = { ...obj, ...{ @@ -43,7 +43,7 @@ export namespace NotificationPreferences { return jsonObj; } - export function getDeserializedJsonObj(obj: NotificationPreferences): object { + export function getDeserializedJsonObj(obj: NotificationPreference): object { const jsonObj = { ...obj, ...{ diff --git a/lib/fleetappsmanagement/lib/model/object-storage-bucket-config-file-details.ts b/lib/fleetappsmanagement/lib/model/object-storage-bucket-config-file-details.ts new file mode 100644 index 0000000000..f21eee16f7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/object-storage-bucket-config-file-details.ts @@ -0,0 +1,74 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about Object Storage Bucket source. + * Restricted to the region this is called. + * + */ +export interface ObjectStorageBucketConfigFileDetails extends model.ConfigFileDetails { + /** + * Namespace. + */ + "namespaceName": string; + /** + * Bucket Name. + */ + "bucketName": string; + /** + * Object Name. + */ + "objectName": string; + /** + * md5 checksum of the artifact. + */ + "checksum": string; + + "sourceType": string; +} + +export namespace ObjectStorageBucketConfigFileDetails { + export function getJsonObj( + obj: ObjectStorageBucketConfigFileDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigFileDetails.getJsonObj(obj) as ObjectStorageBucketConfigFileDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "OBJECT_STORAGE_BUCKET"; + export function getDeserializedJsonObj( + obj: ObjectStorageBucketConfigFileDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigFileDetails.getDeserializedJsonObj( + obj + ) as ObjectStorageBucketConfigFileDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/object-storage-bucket-content-details.ts b/lib/fleetappsmanagement/lib/model/object-storage-bucket-content-details.ts index baada978c5..ba8eaa4d1b 100644 --- a/lib/fleetappsmanagement/lib/model/object-storage-bucket-content-details.ts +++ b/lib/fleetappsmanagement/lib/model/object-storage-bucket-content-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/onboarding-collection.ts b/lib/fleetappsmanagement/lib/model/onboarding-collection.ts index cd9f7ef34f..e966ed9296 100644 --- a/lib/fleetappsmanagement/lib/model/onboarding-collection.ts +++ b/lib/fleetappsmanagement/lib/model/onboarding-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/onboarding-policy-collection.ts b/lib/fleetappsmanagement/lib/model/onboarding-policy-collection.ts index aa5c7154fb..20ac088ab7 100644 --- a/lib/fleetappsmanagement/lib/model/onboarding-policy-collection.ts +++ b/lib/fleetappsmanagement/lib/model/onboarding-policy-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/onboarding-policy-summary.ts b/lib/fleetappsmanagement/lib/model/onboarding-policy-summary.ts index 2e43771f94..5378007164 100644 --- a/lib/fleetappsmanagement/lib/model/onboarding-policy-summary.ts +++ b/lib/fleetappsmanagement/lib/model/onboarding-policy-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/onboarding-summary.ts b/lib/fleetappsmanagement/lib/model/onboarding-summary.ts index 1637cb45a2..3b974960c9 100644 --- a/lib/fleetappsmanagement/lib/model/onboarding-summary.ts +++ b/lib/fleetappsmanagement/lib/model/onboarding-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -70,6 +70,18 @@ export interface OnboardingSummary { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace OnboardingSummary { diff --git a/lib/fleetappsmanagement/lib/model/onboarding.ts b/lib/fleetappsmanagement/lib/model/onboarding.ts index 51139f8c55..06e117f90c 100644 --- a/lib/fleetappsmanagement/lib/model/onboarding.ts +++ b/lib/fleetappsmanagement/lib/model/onboarding.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -72,6 +72,18 @@ export interface Onboarding { * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace Onboarding { diff --git a/lib/fleetappsmanagement/lib/model/operation-runbook.ts b/lib/fleetappsmanagement/lib/model/operation-runbook.ts index c8e3321f3e..718ca2e535 100644 --- a/lib/fleetappsmanagement/lib/model/operation-runbook.ts +++ b/lib/fleetappsmanagement/lib/model/operation-runbook.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,7 +22,11 @@ export interface OperationRunbook { /** * The ID of the Runbook */ - "id": string; + "runbookId": string; + /** + * The runbook version name + */ + "runbookVersionName": string; /** * Input Parameters for the Task */ diff --git a/lib/fleetappsmanagement/lib/model/operation-status.ts b/lib/fleetappsmanagement/lib/model/operation-status.ts index 06fce63ef8..f2e1041a5f 100644 --- a/lib/fleetappsmanagement/lib/model/operation-status.ts +++ b/lib/fleetappsmanagement/lib/model/operation-status.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/operation-type.ts b/lib/fleetappsmanagement/lib/model/operation-type.ts index 870bb9e977..3856b5b635 100644 --- a/lib/fleetappsmanagement/lib/model/operation-type.ts +++ b/lib/fleetappsmanagement/lib/model/operation-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,6 +22,7 @@ export enum OperationType { CreateFleet = "CREATE_FLEET", UpdateFleet = "UPDATE_FLEET", DeleteFleet = "DELETE_FLEET", + MoveFleet = "MOVE_FLEET", ConfirmTarget = "CONFIRM_TARGET", GenerateCompliance = "GENERATE_COMPLIANCE", RequestTargetDiscovery = "REQUEST_TARGET_DISCOVERY", @@ -41,6 +42,12 @@ export enum OperationType { UpdateRunbook = "UPDATE_RUNBOOK", DeleteRunbook = "DELETE_RUNBOOK", PublishRunbook = "PUBLISH_RUNBOOK", + MoveRunbook = "MOVE_RUNBOOK", + CreateRunbookVersion = "CREATE_RUNBOOK_VERSION", + UpdateRunbookVersion = "UPDATE_RUNBOOK_VERSION", + DeleteRunbookVersion = "DELETE_RUNBOOK_VERSION", + PublishRunbookVersion = "PUBLISH_RUNBOOK_VERSION", + MoveTask = "MOVE_TASK", UpdateTask = "UPDATE_TASK", DeleteTask = "DELETE_TASK", UpdateFamsOnboarding = "UPDATE_FAMS_ONBOARDING", @@ -50,9 +57,22 @@ export enum OperationType { DeleteCompliancePolicyRule = "DELETE_COMPLIANCE_POLICY_RULE", UpdatePatch = "UPDATE_PATCH", DeletePatch = "DELETE_PATCH", + MovePatch = "MOVE_PATCH", ManageJobExecution = "MANAGE_JOB_EXECUTION", DeletePlatformConfiguration = "DELETE_PLATFORM_CONFIGURATION", UpdatePlatformConfiguration = "UPDATE_PLATFORM_CONFIGURATION", + MovePlatformConfiguration = "MOVE_PLATFORM_CONFIGURATION", + CreatePlatformConfiguration = "CREATE_PLATFORM_CONFIGURATION", + MoveProperty = "MOVE_PROPERTY", + CreateCatalogItem = "CREATE_CATALOG_ITEM", + UpdateCatalogItem = "UPDATE_CATALOG_ITEM", + DeleteCatalogItem = "DELETE_CATALOG_ITEM", + MoveCatalogItem = "MOVE_CATALOG_ITEM", + CloneCatalogItem = "CLONE_CATALOG_ITEM", + CreateProvision = "CREATE_PROVISION", + UpdateProvision = "UPDATE_PROVISION", + DeleteProvision = "DELETE_PROVISION", + MoveProvision = "MOVE_PROVISION", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/fleetappsmanagement/lib/model/os-type.ts b/lib/fleetappsmanagement/lib/model/os-type.ts index c8d6731fcb..38f41d3608 100644 --- a/lib/fleetappsmanagement/lib/model/os-type.ts +++ b/lib/fleetappsmanagement/lib/model/os-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/outcome.ts b/lib/fleetappsmanagement/lib/model/outcome.ts index 212df9051d..0ae8e9faf4 100644 --- a/lib/fleetappsmanagement/lib/model/outcome.ts +++ b/lib/fleetappsmanagement/lib/model/outcome.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/output-variable-details.ts b/lib/fleetappsmanagement/lib/model/output-variable-details.ts index 41f106fef0..9d7e7a16b1 100644 --- a/lib/fleetappsmanagement/lib/model/output-variable-details.ts +++ b/lib/fleetappsmanagement/lib/model/output-variable-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/output-variable-input-argument.ts b/lib/fleetappsmanagement/lib/model/output-variable-input-argument.ts index 2ae90e88f3..718d8c9932 100644 --- a/lib/fleetappsmanagement/lib/model/output-variable-input-argument.ts +++ b/lib/fleetappsmanagement/lib/model/output-variable-input-argument.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/output-variable-mapping.ts b/lib/fleetappsmanagement/lib/model/output-variable-mapping.ts index a5f39fea2e..2085cb437c 100644 --- a/lib/fleetappsmanagement/lib/model/output-variable-mapping.ts +++ b/lib/fleetappsmanagement/lib/model/output-variable-mapping.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-collection.ts b/lib/fleetappsmanagement/lib/model/patch-collection.ts index cdced4d555..8b96e06bbe 100644 --- a/lib/fleetappsmanagement/lib/model/patch-collection.ts +++ b/lib/fleetappsmanagement/lib/model/patch-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-file-content-details.ts b/lib/fleetappsmanagement/lib/model/patch-file-content-details.ts new file mode 100644 index 0000000000..4e54a01a2f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/patch-file-content-details.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Content Source details. + */ +export interface PatchFileContentDetails { + "sourceType": string; +} + +export namespace PatchFileContentDetails { + export function getJsonObj(obj: PatchFileContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.PatchFileObjectStorageBucketContentDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: PatchFileContentDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "OBJECT_STORAGE_BUCKET": + return model.PatchFileObjectStorageBucketContentDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/patch-file-object-storage-bucket-content-details.ts b/lib/fleetappsmanagement/lib/model/patch-file-object-storage-bucket-content-details.ts new file mode 100644 index 0000000000..ddca01d658 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/patch-file-object-storage-bucket-content-details.ts @@ -0,0 +1,76 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details about Object Storage Bucket source. + * Restricted to the region this is called. + * + */ +export interface PatchFileObjectStorageBucketContentDetails extends model.PatchFileContentDetails { + /** + * Namespace. + */ + "namespaceName": string; + /** + * Bucket Name. + */ + "bucketName": string; + /** + * Object Name. + */ + "objectName": string; + /** + * md5 checksum of the artifact. + */ + "checksum": string; + + "sourceType": string; +} + +export namespace PatchFileObjectStorageBucketContentDetails { + export function getJsonObj( + obj: PatchFileObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.PatchFileContentDetails.getJsonObj( + obj + ) as PatchFileObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "OBJECT_STORAGE_BUCKET"; + export function getDeserializedJsonObj( + obj: PatchFileObjectStorageBucketContentDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.PatchFileContentDetails.getDeserializedJsonObj( + obj + ) as PatchFileObjectStorageBucketContentDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/patch-level-selection-details.ts b/lib/fleetappsmanagement/lib/model/patch-level-selection-details.ts index 496d5e5a54..8c320649d0 100644 --- a/lib/fleetappsmanagement/lib/model/patch-level-selection-details.ts +++ b/lib/fleetappsmanagement/lib/model/patch-level-selection-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-name-selection-details.ts b/lib/fleetappsmanagement/lib/model/patch-name-selection-details.ts index 723b100785..1e5ee20d03 100644 --- a/lib/fleetappsmanagement/lib/model/patch-name-selection-details.ts +++ b/lib/fleetappsmanagement/lib/model/patch-name-selection-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-product.ts b/lib/fleetappsmanagement/lib/model/patch-product.ts index c30e560d1c..b5ea3c4f67 100644 --- a/lib/fleetappsmanagement/lib/model/patch-product.ts +++ b/lib/fleetappsmanagement/lib/model/patch-product.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -26,7 +26,7 @@ export interface PatchProduct { /** * product version. */ - "version"?: string; + "version": string; } export namespace PatchProduct { diff --git a/lib/fleetappsmanagement/lib/model/patch-release-date-selection-details.ts b/lib/fleetappsmanagement/lib/model/patch-release-date-selection-details.ts index 11ad896e90..2ca25d1afa 100644 --- a/lib/fleetappsmanagement/lib/model/patch-release-date-selection-details.ts +++ b/lib/fleetappsmanagement/lib/model/patch-release-date-selection-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-selection-details.ts b/lib/fleetappsmanagement/lib/model/patch-selection-details.ts index bd06847d17..08eca0fe5c 100644 --- a/lib/fleetappsmanagement/lib/model/patch-selection-details.ts +++ b/lib/fleetappsmanagement/lib/model/patch-selection-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-severity.ts b/lib/fleetappsmanagement/lib/model/patch-severity.ts index 5804001a79..2a1586feea 100644 --- a/lib/fleetappsmanagement/lib/model/patch-severity.ts +++ b/lib/fleetappsmanagement/lib/model/patch-severity.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-sort-by.ts b/lib/fleetappsmanagement/lib/model/patch-sort-by.ts new file mode 100644 index 0000000000..22e4431a3b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/patch-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code name}). + * + **/ +export enum PatchSortBy { + TimeCreated = "timeCreated", + Name = "name" +} + +export namespace PatchSortBy { + export function getJsonObj(obj: PatchSortBy): PatchSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: PatchSortBy): PatchSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/patch-summary.ts b/lib/fleetappsmanagement/lib/model/patch-summary.ts index 4ef18c4cf9..0259f627c5 100644 --- a/lib/fleetappsmanagement/lib/model/patch-summary.ts +++ b/lib/fleetappsmanagement/lib/model/patch-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-type-config-category-details.ts b/lib/fleetappsmanagement/lib/model/patch-type-config-category-details.ts index eac08568db..0243e69c9e 100644 --- a/lib/fleetappsmanagement/lib/model/patch-type-config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/patch-type-config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch-type.ts b/lib/fleetappsmanagement/lib/model/patch-type.ts index 14a41f6c3a..7a09db66c2 100644 --- a/lib/fleetappsmanagement/lib/model/patch-type.ts +++ b/lib/fleetappsmanagement/lib/model/patch-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/patch.ts b/lib/fleetappsmanagement/lib/model/patch.ts index a30e193d45..8b7e0af038 100644 --- a/lib/fleetappsmanagement/lib/model/patch.ts +++ b/lib/fleetappsmanagement/lib/model/patch.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/pause-details.ts b/lib/fleetappsmanagement/lib/model/pause-details.ts index 07bd2088f9..7ce78b3181 100644 --- a/lib/fleetappsmanagement/lib/model/pause-details.ts +++ b/lib/fleetappsmanagement/lib/model/pause-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/plain-text-credential-details.ts b/lib/fleetappsmanagement/lib/model/plain-text-credential-details.ts index e314ffc461..3f2afaddce 100644 --- a/lib/fleetappsmanagement/lib/model/plain-text-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/plain-text-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/platform-configuration-collection.ts b/lib/fleetappsmanagement/lib/model/platform-configuration-collection.ts index 5fc9d938d8..5aac26a1a1 100644 --- a/lib/fleetappsmanagement/lib/model/platform-configuration-collection.ts +++ b/lib/fleetappsmanagement/lib/model/platform-configuration-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/platform-configuration-sort-by.ts b/lib/fleetappsmanagement/lib/model/platform-configuration-sort-by.ts new file mode 100644 index 0000000000..cc116e0561 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/platform-configuration-sort-by.ts @@ -0,0 +1,36 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum PlatformConfigurationSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace PlatformConfigurationSortBy { + export function getJsonObj(obj: PlatformConfigurationSortBy): PlatformConfigurationSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: PlatformConfigurationSortBy + ): PlatformConfigurationSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/platform-configuration-summary.ts b/lib/fleetappsmanagement/lib/model/platform-configuration-summary.ts index 176e29e747..6af27ffe7d 100644 --- a/lib/fleetappsmanagement/lib/model/platform-configuration-summary.ts +++ b/lib/fleetappsmanagement/lib/model/platform-configuration-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface PlatformConfigurationSummary { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -62,7 +62,9 @@ Example: {@code My new resource} | model.EnvironmentConfigCategoryDetails | model.CredentialConfigCategoryDetails | model.PatchTypeConfigCategoryDetails - | model.ProductConfigCategoryDetails; + | model.LifecycleOperationConfigCategoryDetails + | model.ProductConfigCategoryDetails + | model.SelfHostedInstanceConfigCategoryDetails; /** * The current state of the PlatformConfiguration. */ diff --git a/lib/fleetappsmanagement/lib/model/platform-configuration.ts b/lib/fleetappsmanagement/lib/model/platform-configuration.ts index 12d76190f3..2717fc794e 100644 --- a/lib/fleetappsmanagement/lib/model/platform-configuration.ts +++ b/lib/fleetappsmanagement/lib/model/platform-configuration.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface PlatformConfiguration { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -62,7 +62,9 @@ Example: {@code My new resource} | model.EnvironmentConfigCategoryDetails | model.CredentialConfigCategoryDetails | model.PatchTypeConfigCategoryDetails - | model.ProductConfigCategoryDetails; + | model.LifecycleOperationConfigCategoryDetails + | model.ProductConfigCategoryDetails + | model.SelfHostedInstanceConfigCategoryDetails; /** * The current state of the PlatformConfiguration. */ @@ -108,6 +110,7 @@ export namespace PlatformConfiguration { Failed = "FAILED", Deleting = "DELETING", Updating = "UPDATING", + Creating = "CREATING", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/fleetappsmanagement/lib/model/platform-specific-artifact-details.ts b/lib/fleetappsmanagement/lib/model/platform-specific-artifact-details.ts index f1e52d01ac..ce3afef0ce 100644 --- a/lib/fleetappsmanagement/lib/model/platform-specific-artifact-details.ts +++ b/lib/fleetappsmanagement/lib/model/platform-specific-artifact-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Patch artifact description and content details which is platform specific + * Patch artifact description and content details which is platform specific. * */ export interface PlatformSpecificArtifactDetails extends model.ArtifactDetails { diff --git a/lib/fleetappsmanagement/lib/model/platform-specific-artifact.ts b/lib/fleetappsmanagement/lib/model/platform-specific-artifact.ts index 61d7795a02..3a5868f9f4 100644 --- a/lib/fleetappsmanagement/lib/model/platform-specific-artifact.ts +++ b/lib/fleetappsmanagement/lib/model/platform-specific-artifact.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); * */ export interface PlatformSpecificArtifact { - "content": model.ObjectStorageBucketContentDetails; + "content": model.PatchFileObjectStorageBucketContentDetails; /** * The OS type the patch is applicable for. */ @@ -56,7 +56,7 @@ export namespace PlatformSpecificArtifact { const jsonObj = { ...obj, ...{ - "content": obj.content ? model.ContentDetails.getJsonObj(obj.content) : undefined + "content": obj.content ? model.PatchFileContentDetails.getJsonObj(obj.content) : undefined } }; @@ -67,7 +67,7 @@ export namespace PlatformSpecificArtifact { ...obj, ...{ "content": obj.content - ? model.ContentDetails.getDeserializedJsonObj(obj.content) + ? model.PatchFileContentDetails.getDeserializedJsonObj(obj.content) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/preferences.ts b/lib/fleetappsmanagement/lib/model/preferences.ts index 7cf728fe94..9b8e9da481 100644 --- a/lib/fleetappsmanagement/lib/model/preferences.ts +++ b/lib/fleetappsmanagement/lib/model/preferences.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,10 +19,7 @@ import common = require("oci-common"); * Preferences to send notifications on the fleet activities. */ export interface Preferences { - /** - * Enables notification on upcoming schedule. - */ - "onUpcomingSchedule"?: boolean; + "upcomingSchedule"?: model.UpcomingSchedule; /** * Enables or disables notification on Job Failures. */ @@ -31,16 +28,50 @@ export interface Preferences { * Enables or disables notification on Environment Fleet Topology Modification. */ "onTopologyModification"?: boolean; + /** + * Enables or disables notification when a task is paused. + */ + "onTaskPause"?: boolean; + /** + * Enables or disables notification on task failure. + */ + "onTaskFailure"?: boolean; + /** + * Enables or disables notification on task success. + */ + "onTaskSuccess"?: boolean; + /** + * Enables or disables notification when fleet resource becomes non compliant. + */ + "onResourceNonCompliance"?: boolean; + /** + * Enables or disables notification when a newer version of runbook associated with a fleet is available + */ + "onRunbookNewerVersion"?: boolean; } export namespace Preferences { export function getJsonObj(obj: Preferences): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "upcomingSchedule": obj.upcomingSchedule + ? model.UpcomingSchedule.getJsonObj(obj.upcomingSchedule) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: Preferences): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "upcomingSchedule": obj.upcomingSchedule + ? model.UpcomingSchedule.getDeserializedJsonObj(obj.upcomingSchedule) + : undefined + } + }; return jsonObj; } diff --git a/lib/fleetappsmanagement/lib/model/previous-task-instance-details.ts b/lib/fleetappsmanagement/lib/model/previous-task-instance-details.ts new file mode 100644 index 0000000000..a2a0d18949 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/previous-task-instance-details.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Previous Task Instance Details. + */ +export interface PreviousTaskInstanceDetails { + "outputVariableDetails": model.OutputVariableDetails; + /** + * Resource Ocid. + */ + "resourceId": string; + /** + * Resource Type. + */ + "resourceType"?: string; +} + +export namespace PreviousTaskInstanceDetails { + export function getJsonObj(obj: PreviousTaskInstanceDetails): object { + const jsonObj = { + ...obj, + ...{ + "outputVariableDetails": obj.outputVariableDetails + ? model.OutputVariableDetails.getJsonObj(obj.outputVariableDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PreviousTaskInstanceDetails): object { + const jsonObj = { + ...obj, + ...{ + "outputVariableDetails": obj.outputVariableDetails + ? model.OutputVariableDetails.getDeserializedJsonObj(obj.outputVariableDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/previous-task-instance-run-on-details.ts b/lib/fleetappsmanagement/lib/model/previous-task-instance-run-on-details.ts new file mode 100644 index 0000000000..a78a906c38 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/previous-task-instance-run-on-details.ts @@ -0,0 +1,71 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Time-based pause details. + */ +export interface PreviousTaskInstanceRunOnDetails extends model.RunOnDetails { + /** + * Previous Task Instance Details + * + */ + "previousTaskInstanceDetails": Array; + + "kind": string; +} + +export namespace PreviousTaskInstanceRunOnDetails { + export function getJsonObj( + obj: PreviousTaskInstanceRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getJsonObj(obj) as PreviousTaskInstanceRunOnDetails)), + ...{ + "previousTaskInstanceDetails": obj.previousTaskInstanceDetails + ? obj.previousTaskInstanceDetails.map(item => { + return model.PreviousTaskInstanceDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const kind = "PREVIOUS_TASK_INSTANCES"; + export function getDeserializedJsonObj( + obj: PreviousTaskInstanceRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getDeserializedJsonObj(obj) as PreviousTaskInstanceRunOnDetails)), + ...{ + "previousTaskInstanceDetails": obj.previousTaskInstanceDetails + ? obj.previousTaskInstanceDetails.map(item => { + return model.PreviousTaskInstanceDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/product-config-category-details.ts b/lib/fleetappsmanagement/lib/model/product-config-category-details.ts index b5fbeed759..90eccdf077 100644 --- a/lib/fleetappsmanagement/lib/model/product-config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/product-fleet-details.ts b/lib/fleetappsmanagement/lib/model/product-fleet-details.ts new file mode 100644 index 0000000000..35eeec1989 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/product-fleet-details.ts @@ -0,0 +1,48 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Fleet credential details. + */ +export interface ProductFleetDetails extends model.FleetDetails { + "fleetType": string; +} + +export namespace ProductFleetDetails { + export function getJsonObj(obj: ProductFleetDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.FleetDetails.getJsonObj(obj) as ProductFleetDetails)), + ...{} + }; + + return jsonObj; + } + export const fleetType = "PRODUCT"; + export function getDeserializedJsonObj( + obj: ProductFleetDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.FleetDetails.getDeserializedJsonObj(obj) as ProductFleetDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/product-sort-by.ts b/lib/fleetappsmanagement/lib/model/product-sort-by.ts new file mode 100644 index 0000000000..b0b65b477c --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/product-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either resource name ({@code resourceDisplayName}) or product name ({@code displayName}). + * + **/ +export enum ProductSortBy { + DisplayName = "displayName", + ResourceDisplayName = "resourceDisplayName" +} + +export namespace ProductSortBy { + export function getJsonObj(obj: ProductSortBy): ProductSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: ProductSortBy): ProductSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/product-stack-as-product-sub-category-details.ts b/lib/fleetappsmanagement/lib/model/product-stack-as-product-sub-category-details.ts index 247edf8633..1a62dc88e3 100644 --- a/lib/fleetappsmanagement/lib/model/product-stack-as-product-sub-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-stack-as-product-sub-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/product-stack-config-category-details.ts b/lib/fleetappsmanagement/lib/model/product-stack-config-category-details.ts index ea9ce23eef..666d0cb0bd 100644 --- a/lib/fleetappsmanagement/lib/model/product-stack-config-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-stack-config-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/product-stack-generic-sub-category-details.ts b/lib/fleetappsmanagement/lib/model/product-stack-generic-sub-category-details.ts index 1a8597f8c2..0274265376 100644 --- a/lib/fleetappsmanagement/lib/model/product-stack-generic-sub-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-stack-generic-sub-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/product-stack-sub-category-details.ts b/lib/fleetappsmanagement/lib/model/product-stack-sub-category-details.ts index fc30aa1f91..00bdcd0b92 100644 --- a/lib/fleetappsmanagement/lib/model/product-stack-sub-category-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-stack-sub-category-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/product-version-details.ts b/lib/fleetappsmanagement/lib/model/product-version-details.ts index 18e0358ed7..bb57baa3ea 100644 --- a/lib/fleetappsmanagement/lib/model/product-version-details.ts +++ b/lib/fleetappsmanagement/lib/model/product-version-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/properties.ts b/lib/fleetappsmanagement/lib/model/properties.ts index f9dec34ab6..572ee2e698 100644 --- a/lib/fleetappsmanagement/lib/model/properties.ts +++ b/lib/fleetappsmanagement/lib/model/properties.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/property-collection.ts b/lib/fleetappsmanagement/lib/model/property-collection.ts index 3ffdd23657..839bd986da 100644 --- a/lib/fleetappsmanagement/lib/model/property-collection.ts +++ b/lib/fleetappsmanagement/lib/model/property-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/property-sort-by.ts b/lib/fleetappsmanagement/lib/model/property-sort-by.ts new file mode 100644 index 0000000000..67286fa83f --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/property-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum PropertySortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace PropertySortBy { + export function getJsonObj(obj: PropertySortBy): PropertySortBy { + return obj; + } + export function getDeserializedJsonObj(obj: PropertySortBy): PropertySortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/property-summary.ts b/lib/fleetappsmanagement/lib/model/property-summary.ts index 174633e6c8..2317148ef9 100644 --- a/lib/fleetappsmanagement/lib/model/property-summary.ts +++ b/lib/fleetappsmanagement/lib/model/property-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface PropertySummary { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** diff --git a/lib/fleetappsmanagement/lib/model/property.ts b/lib/fleetappsmanagement/lib/model/property.ts index 6a3eb5ec5b..4d5adf128e 100644 --- a/lib/fleetappsmanagement/lib/model/property.ts +++ b/lib/fleetappsmanagement/lib/model/property.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,7 +24,7 @@ export interface Property { */ "id": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -100,6 +100,7 @@ export namespace Property { Active = "ACTIVE", Deleted = "DELETED", Failed = "FAILED", + Updating = "UPDATING", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/fleetappsmanagement/lib/model/provision-collection.ts b/lib/fleetappsmanagement/lib/model/provision-collection.ts new file mode 100644 index 0000000000..9bb33bd142 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/provision-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a famProvision search. Contains both FamProvisionSummary items and other information, such as metadata. + */ +export interface ProvisionCollection { + /** + * List of famProvisions. + */ + "items": Array; +} + +export namespace ProvisionCollection { + export function getJsonObj(obj: ProvisionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ProvisionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ProvisionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ProvisionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/provision-summary.ts b/lib/fleetappsmanagement/lib/model/provision-summary.ts new file mode 100644 index 0000000000..90352d3023 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/provision-summary.ts @@ -0,0 +1,133 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a FamProvision. + */ +export interface ProvisionSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * A description of the provision. + */ + "provisionDescription": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the FamProvision was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the FamProvision. + */ + "lifecycleState": string; + /** + * A message that describes the current state of the FamProvision in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item. + */ + "packageCatalogItemId": string; + /** + * A [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item to a file with key/value pairs to set up variables for createStack API. + */ + "configCatalogItemId": string; + /** + * A display Name of the Catalog Item in the Catalog. + */ + "packageCatalogItemDisplayName": string; + /** + * A listing ID of the Catalog Item in the Catalog. + */ + "packageCatalogItemListingId": string; + /** + * A listing version of the Catalog Item in the Catalog. + */ + "packageCatalogItemListingVersion": string; + /** + * A display Name of the Catalog Item in the Catalog. + */ + "configCatalogItemDisplayName": string; + /** + * A listing ID of the Catalog Item in the Catalog. + */ + "configCatalogItemListingId": string; + /** + * A listing version of the Catalog Item in the Catalog. + */ + "configCatalogItemListingVersion": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RMS Stack. + */ + "stackId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags": { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags": { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ProvisionSummary { + export function getJsonObj(obj: ProvisionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ProvisionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/provision.ts b/lib/fleetappsmanagement/lib/model/provision.ts new file mode 100644 index 0000000000..11f35b282b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/provision.ts @@ -0,0 +1,208 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A FamProvision is a description of a FamProvision. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface Provision { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * A description of the provision. + */ + "provisionDescription"?: string; + /** + * A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableTenancyId": string; + /** + * A mandatory variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableRegionId": string; + /** + * An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableCurrentUserId"?: string; + /** + * An optional variable added to a list of RMS variables for createStack API. Overrides the one supplied in configuration file. + */ + "tfVariableCompartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The date and time the FamProvision was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

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

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the FamProvision. + */ + "lifecycleState": Provision.LifecycleState; + /** + * A message that describes the current state of the FamProvision in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item. + */ + "packageCatalogItemId": string; + /** + * A [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Catalog Item to a file with key/value pairs to set up variables for createStack API. + */ + "configCatalogItemId": string; + /** + * A display Name of the Catalog Item in the Catalog. + */ + "packageCatalogItemDisplayName": string; + /** + * A listing ID of the Catalog Item in the Catalog. + */ + "packageCatalogItemListingId": string; + /** + * A listing version of the Catalog Item in the Catalog. + */ + "packageCatalogItemListingVersion": string; + /** + * A display Name of the Catalog Item in the Catalog. + */ + "configCatalogItemDisplayName": string; + /** + * A listing ID of the Catalog Item in the Catalog. + */ + "configCatalogItemListingId": string; + /** + * A listing version of the Catalog Item in the Catalog. + */ + "configCatalogItemListingVersion": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RMS Stack. + */ + "stackId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the RMS APPLY Job. + */ + "rmsApplyJobId"?: string; + /** + * Outputs from the Terraform Apply job + */ + "tfOutputs"?: Array; + /** + * The deployed resources and their summary + */ + "deployedResources"?: Array; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags": { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags": { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace Provision { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: Provision): object { + const jsonObj = { + ...obj, + ...{ + "tfOutputs": obj.tfOutputs + ? obj.tfOutputs.map(item => { + return model.JobExecutionDetails.getJsonObj(item); + }) + : undefined, + "deployedResources": obj.deployedResources + ? obj.deployedResources.map(item => { + return model.DeployedResourceDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Provision): object { + const jsonObj = { + ...obj, + ...{ + "tfOutputs": obj.tfOutputs + ? obj.tfOutputs.map(item => { + return model.JobExecutionDetails.getDeserializedJsonObj(item); + }) + : undefined, + "deployedResources": obj.deployedResources + ? obj.deployedResources.map(item => { + return model.DeployedResourceDetails.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/publish-runbook-details.ts b/lib/fleetappsmanagement/lib/model/publish-runbook-details.ts index 601d6e6c63..b21f222152 100644 --- a/lib/fleetappsmanagement/lib/model/publish-runbook-details.ts +++ b/lib/fleetappsmanagement/lib/model/publish-runbook-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -23,6 +23,10 @@ export interface PublishRunbookDetails { * The OCID of the resource. */ "runbookId": string; + /** + * The OCID of the resource. + */ + "runbookVersionId": string; } export namespace PublishRunbookDetails { diff --git a/lib/fleetappsmanagement/lib/model/request-resource-validation-details.ts b/lib/fleetappsmanagement/lib/model/request-resource-validation-details.ts index 2336166565..745ba322a0 100644 --- a/lib/fleetappsmanagement/lib/model/request-resource-validation-details.ts +++ b/lib/fleetappsmanagement/lib/model/request-resource-validation-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/request-target-discovery-details.ts b/lib/fleetappsmanagement/lib/model/request-target-discovery-details.ts index db67835139..d75afd15b0 100644 --- a/lib/fleetappsmanagement/lib/model/request-target-discovery-details.ts +++ b/lib/fleetappsmanagement/lib/model/request-target-discovery-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/resource-collection.ts b/lib/fleetappsmanagement/lib/model/resource-collection.ts index 241406841a..29ff121b2e 100644 --- a/lib/fleetappsmanagement/lib/model/resource-collection.ts +++ b/lib/fleetappsmanagement/lib/model/resource-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/resource-credential-entity-specific-details.ts b/lib/fleetappsmanagement/lib/model/resource-credential-entity-specific-details.ts index 67e874b086..c1cbeb8136 100644 --- a/lib/fleetappsmanagement/lib/model/resource-credential-entity-specific-details.ts +++ b/lib/fleetappsmanagement/lib/model/resource-credential-entity-specific-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/resource-selection.ts b/lib/fleetappsmanagement/lib/model/resource-selection.ts new file mode 100644 index 0000000000..4d99148f32 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/resource-selection.ts @@ -0,0 +1,70 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Resource Selection Type + */ +export interface ResourceSelection { + "resourceSelectionType": string; +} + +export namespace ResourceSelection { + export function getJsonObj(obj: ResourceSelection): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "resourceSelectionType" in obj && obj.resourceSelectionType) { + switch (obj.resourceSelectionType) { + case "DYNAMIC": + return model.DynamicResourceSelection.getJsonObj( + (jsonObj), + true + ); + case "MANUAL": + return model.ManualResourceSelection.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.resourceSelectionType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceSelection): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "resourceSelectionType" in obj && obj.resourceSelectionType) { + switch (obj.resourceSelectionType) { + case "DYNAMIC": + return model.DynamicResourceSelection.getDeserializedJsonObj( + (jsonObj), + true + ); + case "MANUAL": + return model.ManualResourceSelection.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) + common.LOG.logger.info(`Unknown value for: ${obj.resourceSelectionType}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/resource-summary.ts b/lib/fleetappsmanagement/lib/model/resource-summary.ts index 7a73039269..62b33a2278 100644 --- a/lib/fleetappsmanagement/lib/model/resource-summary.ts +++ b/lib/fleetappsmanagement/lib/model/resource-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/resource-tag-check-details.ts b/lib/fleetappsmanagement/lib/model/resource-tag-check-details.ts index 97acc55086..b861b61795 100644 --- a/lib/fleetappsmanagement/lib/model/resource-tag-check-details.ts +++ b/lib/fleetappsmanagement/lib/model/resource-tag-check-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/resource-tag-enablement-info.ts b/lib/fleetappsmanagement/lib/model/resource-tag-enablement-info.ts index 35b4b629f6..f9a6f97bdb 100644 --- a/lib/fleetappsmanagement/lib/model/resource-tag-enablement-info.ts +++ b/lib/fleetappsmanagement/lib/model/resource-tag-enablement-info.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/rollback-workflow-details.ts b/lib/fleetappsmanagement/lib/model/rollback-workflow-details.ts index 1c81723698..1bf474e259 100644 --- a/lib/fleetappsmanagement/lib/model/rollback-workflow-details.ts +++ b/lib/fleetappsmanagement/lib/model/rollback-workflow-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/rule.ts b/lib/fleetappsmanagement/lib/model/rule.ts index 3715a59904..3474e733d8 100644 --- a/lib/fleetappsmanagement/lib/model/rule.ts +++ b/lib/fleetappsmanagement/lib/model/rule.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -29,7 +29,7 @@ export interface Rule { */ "basis"?: string; /** - * Tenancy Id (Root Compartment Id)for which the rule is created. + * Compartment Id for which the rule is created. * */ "compartmentId": string; diff --git a/lib/fleetappsmanagement/lib/model/run-on-details.ts b/lib/fleetappsmanagement/lib/model/run-on-details.ts new file mode 100644 index 0000000000..651bc22b2b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/run-on-details.ts @@ -0,0 +1,78 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The runon conditions + */ +export interface RunOnDetails { + "kind": string; +} + +export namespace RunOnDetails { + export function getJsonObj(obj: RunOnDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "SELF_HOSTED_INSTANCES": + return model.SelfHostedInstanceRunOnDetails.getJsonObj( + (jsonObj), + true + ); + case "SCHEDULE_INSTANCES": + return model.ScheduleInstanceRunOnDetails.getJsonObj( + (jsonObj), + true + ); + case "PREVIOUS_TASK_INSTANCES": + return model.PreviousTaskInstanceRunOnDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunOnDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "SELF_HOSTED_INSTANCES": + return model.SelfHostedInstanceRunOnDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "SCHEDULE_INSTANCES": + return model.ScheduleInstanceRunOnDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PREVIOUS_TASK_INSTANCES": + return model.PreviousTaskInstanceRunOnDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-collection.ts index 5f835f9095..82fe147be1 100644 --- a/lib/fleetappsmanagement/lib/model/runbook-collection.ts +++ b/lib/fleetappsmanagement/lib/model/runbook-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/runbook-sort-by.ts b/lib/fleetappsmanagement/lib/model/runbook-sort-by.ts new file mode 100644 index 0000000000..4b2673439e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum RunbookSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace RunbookSortBy { + export function getJsonObj(obj: RunbookSortBy): RunbookSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: RunbookSortBy): RunbookSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-summary.ts index 501e86be7f..061157465c 100644 --- a/lib/fleetappsmanagement/lib/model/runbook-summary.ts +++ b/lib/fleetappsmanagement/lib/model/runbook-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -41,10 +41,6 @@ Example: {@code My new resource} * The type of the runbook. */ "type": string; - /** - * Type of runbook structure. - */ - "runbookRelevance": string; /** * The lifecycle operation performed by the runbook. */ @@ -52,11 +48,11 @@ Example: {@code My new resource} /** * The OS type for the runbook. */ - "osType": model.OsType; + "osType"?: model.OsType; /** * The platform of the runbook. */ - "platform": string; + "platform"?: string; /** * Is the runbook default? * Sets this runbook as the default for the chosen product/product stack for the specified lifecycle operation. @@ -67,6 +63,14 @@ Example: {@code My new resource} * Estimated time to successfully complete the runbook execution. */ "estimatedTime"?: string; + /** + * Latest runbook version + */ + "latestVersion"?: string; + /** + * Does this runbook has draft versions? + */ + "hasDraftVersion"?: boolean; /** * The current state of the Runbook. */ diff --git a/lib/fleetappsmanagement/lib/model/runbook-version-collection.ts b/lib/fleetappsmanagement/lib/model/runbook-version-collection.ts new file mode 100644 index 0000000000..2c7acf9e4d --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-version-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a RunbookVersion search. Contains RunbookVersionSummary. + */ +export interface RunbookVersionCollection { + /** + * List of fleetResources. + */ + "items": Array; +} + +export namespace RunbookVersionCollection { + export function getJsonObj(obj: RunbookVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookVersionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookVersionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RunbookVersionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts b/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts new file mode 100644 index 0000000000..2ff9cb90f2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-version-summary.ts @@ -0,0 +1,141 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the FleetResource. + */ +export interface RunbookVersionSummary { + /** + * The OCID of the resource. + */ + "id"?: string; + /** + * The OCID of the resource. + */ + "runbookId"?: string; + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId"?: string; + /** + * A set of tasks to execute in the runbook. + */ + "tasks": Array; + /** + * The groups of the runbook. + * + */ + "groups": Array; + "executionWorkflowDetails": model.ExecutionWorkflowDetails; + "rollbackWorkflowDetails"?: model.RollbackWorkflowDetails; + /** + * The version of the runbook. + */ + "name"?: string; + /** + * Is the latest version for the runbook? + * + */ + "isLatest"?: boolean; + /** + * The current state of the Runbook. + */ + "lifecycleState"?: string; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + */ + "lifecycleDetails"?: string; + /** + * The time this resource was created. An RFC3339 formatted datetime string. + */ + "timeCreated"?: Date; + /** + * The time this resource was last updated. An RFC3339 formatted datetime string. + */ + "timeUpdated"?: Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace RunbookVersionSummary { + export function getJsonObj(obj: RunbookVersionSummary): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookVersionSummary): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getDeserializedJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getDeserializedJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getDeserializedJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getDeserializedJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook-version.ts b/lib/fleetappsmanagement/lib/model/runbook-version.ts new file mode 100644 index 0000000000..8f251cf96e --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/runbook-version.ts @@ -0,0 +1,152 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Version for the runbook. + */ +export interface RunbookVersion { + /** + * The OCID of the resource. + */ + "id": string; + /** + * The OCID of the resource. + */ + "runbookId": string; + /** + * OCID of the compartment to which the resource belongs to. + */ + "compartmentId"?: string; + /** + * A set of tasks to execute in the runbook. + */ + "tasks": Array; + /** + * The groups of the runbook. + * + */ + "groups": Array; + "executionWorkflowDetails": model.ExecutionWorkflowDetails; + "rollbackWorkflowDetails"?: model.RollbackWorkflowDetails; + /** + * The version of the runbook. + */ + "name"?: string; + /** + * The current state of the FleetResource. + */ + "lifecycleState"?: RunbookVersion.LifecycleState; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + */ + "lifecycleDetails"?: string; + /** + * The time this resource was created. An RFC3339 formatted datetime string. + */ + "timeCreated"?: Date; + /** + * The time this resource was last updated. An RFC3339 formatted datetime string. + */ + "timeUpdated"?: Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace RunbookVersion { + export enum LifecycleState { + Active = "ACTIVE", + Deleted = "DELETED", + Failed = "FAILED", + NeedsAttention = "NEEDS_ATTENTION", + Inactive = "INACTIVE", + Creating = "CREATING", + Deleting = "DELETING", + Updating = "UPDATING", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: RunbookVersion): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RunbookVersion): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getDeserializedJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getDeserializedJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getDeserializedJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getDeserializedJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/runbook.ts b/lib/fleetappsmanagement/lib/model/runbook.ts index aa4b890ced..02c40ed111 100644 --- a/lib/fleetappsmanagement/lib/model/runbook.ts +++ b/lib/fleetappsmanagement/lib/model/runbook.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,6 +18,7 @@ import common = require("oci-common"); /** * Runbook definition. * Runbooks allow you to capture procedural tasks for handling a workflow. + * Only active versions of runbook will be available for executions. * */ export interface Runbook { @@ -43,11 +44,6 @@ Example: {@code My new resource} * The type of the runbook. */ "type": Runbook.Type; - /** - * Relevance of the runbook. - * - */ - "runbookRelevance": Runbook.RunbookRelevance; /** * The lifecycle operation performed by the runbook. */ @@ -55,23 +51,35 @@ Example: {@code My new resource} /** * The OS type for the runbook. */ - "osType": model.OsType; + "osType"?: model.OsType; /** * The platform of the runbook. */ - "platform": string; + "platform"?: string; /** * Is the runbook default? * Sets this runbook as the default for the chosen product/product stack for the specified lifecycle operation. * */ "isDefault": boolean; + /** + * Does this runbook need SUDO access to execute? + */ + "isSudoAccessNeeded"?: boolean; /** * Estimated time to successfully complete the runbook execution. */ "estimatedTime"?: string; /** - * The current state of the Runbook. + * Latest runbook version + */ + "latestVersion"?: string; + /** + * Does this runbook has draft versions? + */ + "hasDraftVersion"?: boolean; + /** + * The current state of the runbook. */ "lifecycleState": Runbook.LifecycleState; /** @@ -86,7 +94,7 @@ Example: {@code My new resource} * The time this resource was last updated. An RFC3339 formatted datetime string. */ "timeUpdated": Date; - "associations"?: model.Associations; + "runbookVersion"?: model.Version; /** * OCID of the compartment to which the resource belongs to. */ @@ -127,16 +135,6 @@ export namespace Runbook { UnknownValue = "UNKNOWN_VALUE" } - export enum RunbookRelevance { - ProductGroup = "PRODUCT_GROUP", - Product = "PRODUCT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export enum LifecycleState { Active = "ACTIVE", Deleted = "DELETED", @@ -156,8 +154,8 @@ export namespace Runbook { const jsonObj = { ...obj, ...{ - "associations": obj.associations - ? model.Associations.getJsonObj(obj.associations) + "runbookVersion": obj.runbookVersion + ? model.Version.getJsonObj(obj.runbookVersion) : undefined } }; @@ -168,8 +166,8 @@ export namespace Runbook { const jsonObj = { ...obj, ...{ - "associations": obj.associations - ? model.Associations.getDeserializedJsonObj(obj.associations) + "runbookVersion": obj.runbookVersion + ? model.Version.getDeserializedJsonObj(obj.runbookVersion) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/schedule-instance-run-on-details.ts b/lib/fleetappsmanagement/lib/model/schedule-instance-run-on-details.ts new file mode 100644 index 0000000000..b3573ee7f0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/schedule-instance-run-on-details.ts @@ -0,0 +1,56 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Schedule Instance Run On Details. + */ +export interface ScheduleInstanceRunOnDetails extends model.RunOnDetails { + /** + * Build control flow conditions that determine the relevance of the task execution. + * + */ + "condition": string; + + "kind": string; +} + +export namespace ScheduleInstanceRunOnDetails { + export function getJsonObj(obj: ScheduleInstanceRunOnDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getJsonObj(obj) as ScheduleInstanceRunOnDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "SCHEDULE_INSTANCES"; + export function getDeserializedJsonObj( + obj: ScheduleInstanceRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getDeserializedJsonObj(obj) as ScheduleInstanceRunOnDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/schedule.ts b/lib/fleetappsmanagement/lib/model/schedule.ts index fcf9cfa0ee..8fe85e9cb7 100644 --- a/lib/fleetappsmanagement/lib/model/schedule.ts +++ b/lib/fleetappsmanagement/lib/model/schedule.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,47 +19,52 @@ import common = require("oci-common"); * Schedule Information. */ export interface Schedule { - /** - * Schedule Type - */ - "type": Schedule.Type; /** * Start Date for the schedule. An RFC3339 formatted datetime string */ "executionStartdate": Date; - /** - * Provide MaintenanceWindowId if Schedule Type is Maintenance Window - */ - "maintenanceWindowId"?: string; - /** - * Recurrence rule specification if Schedule Type is Custom and Recurring - */ - "recurrences"?: string; - /** - * Duration if schedule type is Custom - */ - "duration"?: string; + + "type": string; } export namespace Schedule { - export enum Type { - Custom = "CUSTOM", - MaintenanceWindow = "MAINTENANCE_WINDOW", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export function getJsonObj(obj: Schedule): object { const jsonObj = { ...obj, ...{} }; + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "CUSTOM": + return model.CustomSchedule.getJsonObj((jsonObj), true); + case "MAINTENANCE_WINDOW": + return model.MaintenanceWindowSchedule.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } return jsonObj; } export function getDeserializedJsonObj(obj: Schedule): object { const jsonObj = { ...obj, ...{} }; + if (obj && "type" in obj && obj.type) { + switch (obj.type) { + case "CUSTOM": + return model.CustomSchedule.getDeserializedJsonObj( + (jsonObj), + true + ); + case "MAINTENANCE_WINDOW": + return model.MaintenanceWindowSchedule.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.type}`); + } + } return jsonObj; } } diff --git a/lib/fleetappsmanagement/lib/model/scheduled-fleet-collection.ts b/lib/fleetappsmanagement/lib/model/scheduled-fleet-collection.ts index 0004101a91..50d3856aea 100644 --- a/lib/fleetappsmanagement/lib/model/scheduled-fleet-collection.ts +++ b/lib/fleetappsmanagement/lib/model/scheduled-fleet-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/scheduled-fleet-summary.ts b/lib/fleetappsmanagement/lib/model/scheduled-fleet-summary.ts index b3613cfae8..be0a84a4f8 100644 --- a/lib/fleetappsmanagement/lib/model/scheduled-fleet-summary.ts +++ b/lib/fleetappsmanagement/lib/model/scheduled-fleet-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,9 +24,9 @@ export interface ScheduledFleetSummary { */ "id": string; /** - * OCID of the tenancy to which the resource belongs to. + * The OCID of the resource. */ - "tenancyId"?: string; + "compartmentId": string; /** * A user-friendly name. Does not have to be unique, and it's changeable. * Avoid entering confidential information. @@ -44,13 +44,9 @@ Example: {@code My new resource} */ "countOfAffectedTargets"?: number; /** - * All ActionGroup Types part of the schedule. - */ - "actionGroupTypes"?: Array; - /** - * All application types part of the schedule. + * All products part of the schedule. */ - "applicationTypes"?: Array; + "products"?: Array; /** * System tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} @@ -60,16 +56,6 @@ Example: {@code My new resource} } export namespace ScheduledFleetSummary { - export enum ActionGroupTypes { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export function getJsonObj(obj: ScheduledFleetSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/fleetappsmanagement/lib/model/scheduler-definition-collection.ts b/lib/fleetappsmanagement/lib/model/scheduler-definition-collection.ts index a77324895c..c9fe6229d5 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-definition-collection.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-definition-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/scheduler-definition-summary.ts b/lib/fleetappsmanagement/lib/model/scheduler-definition-summary.ts index b61a1da68f..148686bd06 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-definition-summary.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-definition-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -38,7 +38,7 @@ Example: {@code My new resource} */ "description"?: string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -57,7 +57,7 @@ Example: {@code My new resource} * Scheduled date for the next run of the Job. */ "timeOfNextRun"?: Date; - "schedule"?: model.Schedule; + "schedule"?: model.CustomSchedule | model.MaintenanceWindowSchedule; /** * Count of Action Groups affected by the Schedule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ @@ -71,15 +71,7 @@ Example: {@code My new resource} */ "countOfAffectedTargets"?: number; /** - * All ActionGroup Types part of the schedule. - */ - "actionGroupTypes"?: Array; - /** - * All application types part of the schedule for ENVIRONMENT ActionGroup Type. - */ - "applicationTypes"?: Array; - /** - * All products part of the schedule for PRODUCT ActionGroup Type. + * All products part of the schedule */ "products"?: Array; /** @@ -115,16 +107,6 @@ Example: {@code My new resource} } export namespace SchedulerDefinitionSummary { - export enum ActionGroupTypes { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export function getJsonObj(obj: SchedulerDefinitionSummary): object { const jsonObj = { ...obj, diff --git a/lib/fleetappsmanagement/lib/model/scheduler-definition.ts b/lib/fleetappsmanagement/lib/model/scheduler-definition.ts index da4e98431f..cb5b66af13 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-definition.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-definition.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -38,7 +38,7 @@ Example: {@code My new resource} */ "description"?: string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -57,11 +57,7 @@ Example: {@code My new resource} * The scheduled date for the next run of the Job. */ "timeOfNextRun"?: Date; - /** - * Activity Initiation Cut Off. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "activityInitiationCutOff"?: number; - "schedule"?: model.Schedule; + "schedule"?: model.CustomSchedule | model.MaintenanceWindowSchedule; /** * Count of Action Groups affected by the Schedule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ @@ -74,15 +70,6 @@ Example: {@code My new resource} * Count of Targets affected by the Schedule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "countOfAffectedTargets"?: number; - /** - * All ActionGroup Types that are part of the schedule. - */ - "actionGroupTypes"?: Array; - /** - * All application types that are part of the schedule for ENVIRONMENT ActionGroup Type. - * - */ - "applicationTypes"?: Array; /** * All products that are part of the schedule for PRODUCT ActionGroup Type. */ @@ -128,16 +115,6 @@ Example: {@code My new resource} } export namespace SchedulerDefinition { - export enum ActionGroupTypes { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export enum LifecycleState { Creating = "CREATING", Updating = "UPDATING", diff --git a/lib/fleetappsmanagement/lib/model/scheduler-execution-collection.ts b/lib/fleetappsmanagement/lib/model/scheduler-execution-collection.ts new file mode 100644 index 0000000000..e4aa1ecb91 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/scheduler-execution-collection.ts @@ -0,0 +1,57 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a schedulerExecution search. Contains SchedulerExecutionSummary items. + */ +export interface SchedulerExecutionCollection { + /** + * List of schedulerExecutions. + */ + "items": Array; +} + +export namespace SchedulerExecutionCollection { + export function getJsonObj(obj: SchedulerExecutionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.SchedulerExecutionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SchedulerExecutionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.SchedulerExecutionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts b/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts new file mode 100644 index 0000000000..6ffcf7c053 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/scheduler-execution-summary.ts @@ -0,0 +1,156 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of the Scheduler Executions. + */ +export interface SchedulerExecutionSummary { + /** + * The OCID of the resource. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. +* Avoid entering confidential information. +*

+Example: {@code My new resource} +* + */ + "displayName": string; + /** + * Compartment OCID + */ + "compartmentId": string; + /** + * The time this resource was created. An RFC3339 formatted datetime string. + */ + "timeCreated": Date; + /** + * The time this resource was last updated. An RFC3339 formatted datetime string. + */ + "timeUpdated"?: Date; + /** + * The scheduled date and time for the Job. + */ + "timeScheduled"?: Date; + /** + * Action Group associated with the Schedule. + */ + "activityId"?: string; + /** + * ResourceId associated with the Schedule. + */ + "resourceId"?: string; + /** + * jobId associated with the Schedule. + */ + "schedulerJobId"?: string; + /** + * Resource DsiplayName associated with the Schedule. + */ + "resourceDisplayName"?: string; + /** + * RunbookId associated with the Schedule. + */ + "runbookId"?: string; + /** + * Name of the Runbook version associated with the Schedule. + */ + "runbookVersionName"?: string; + /** + * DsiplayName of Runbook associated with the Schedule. + */ + "runbookDisplayName"?: string; + /** + * Latest Runbook version available. + */ + "latestRunbookVersionName"?: string; + "schedulerDefinition"?: model.AssociatedSchedulerDefinition; + /** + * Actual start date and time for the Execution. + */ + "timeStarted"?: Date; + /** + * Actual end date and time for the Execution. + */ + "timeEnded"?: Date; + /** + * The current state of the Scheduler Execution. + */ + "lifecycleState": SchedulerExecutionSummary.LifecycleState; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + */ + "lifecycleDetails"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags": { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags": { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + * + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace SchedulerExecutionSummary { + export enum LifecycleState { + Active = "ACTIVE", + Deleted = "DELETED", + Failed = "FAILED", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: SchedulerExecutionSummary): object { + const jsonObj = { + ...obj, + ...{ + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getJsonObj(obj.schedulerDefinition) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SchedulerExecutionSummary): object { + const jsonObj = { + ...obj, + ...{ + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getDeserializedJsonObj(obj.schedulerDefinition) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation-collection.ts b/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation-collection.ts index 3f4115bedc..9557160b5c 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation-collection.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation.ts b/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation.ts index 972b0a58f5..8f2880f7e7 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job-aggregation.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface SchedulerJobAggregation { /** - * Count of jobs in a Tenancy. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + * Count of jobs in a Compartment. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "count": number; "dimensions": model.SchedulerJobDimension; diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job-collection.ts b/lib/fleetappsmanagement/lib/model/scheduler-job-collection.ts index 1b8ff78fa1..ac18363ff4 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job-collection.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job-dimension.ts b/lib/fleetappsmanagement/lib/model/scheduler-job-dimension.ts index 73770a35ad..b328f5d02f 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job-dimension.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job-dimension.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job-summary.ts b/lib/fleetappsmanagement/lib/model/scheduler-job-summary.ts index f7d958195b..2a90758a7d 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job-summary.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -32,7 +32,7 @@ Example: {@code My new resource} */ "displayName": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -62,14 +62,6 @@ Example: {@code My new resource} * Count of targets affected by the schedule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "countOfAffectedTargets"?: number; - /** - * All Action Group types are part of the schedule. - */ - "actionGroupTypes"?: Array; - /** - * All application types that are part of the schedule for an ENVIRONMENT action group Type. - */ - "applicationTypes"?: Array; /** * All products that are part of the schedule for a PRODUCT action group type. */ @@ -82,7 +74,7 @@ Example: {@code My new resource} * Action Groups associated with the Schedule. */ "actionGroups"?: Array; - "associatedScheduleDefinition"?: model.AssociatedSchedulerDefinition; + "schedulerDefinition"?: model.AssociatedSchedulerDefinition; /** * The current state of the SchedulerJob. */ @@ -112,16 +104,6 @@ Example: {@code My new resource} } export namespace SchedulerJobSummary { - export enum ActionGroupTypes { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export function getJsonObj(obj: SchedulerJobSummary): object { const jsonObj = { ...obj, @@ -131,8 +113,8 @@ export namespace SchedulerJobSummary { return model.ActionGroupDetails.getJsonObj(item); }) : undefined, - "associatedScheduleDefinition": obj.associatedScheduleDefinition - ? model.AssociatedSchedulerDefinition.getJsonObj(obj.associatedScheduleDefinition) + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getJsonObj(obj.schedulerDefinition) : undefined } }; @@ -148,10 +130,8 @@ export namespace SchedulerJobSummary { return model.ActionGroupDetails.getDeserializedJsonObj(item); }) : undefined, - "associatedScheduleDefinition": obj.associatedScheduleDefinition - ? model.AssociatedSchedulerDefinition.getDeserializedJsonObj( - obj.associatedScheduleDefinition - ) + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getDeserializedJsonObj(obj.schedulerDefinition) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/scheduler-job.ts b/lib/fleetappsmanagement/lib/model/scheduler-job.ts index d0e48643ae..77a2c6a7f9 100644 --- a/lib/fleetappsmanagement/lib/model/scheduler-job.ts +++ b/lib/fleetappsmanagement/lib/model/scheduler-job.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -32,7 +32,7 @@ Example: {@code My new resource} */ "displayName": string; /** - * Tenancy OCID + * Compartment OCID */ "compartmentId": string; /** @@ -70,14 +70,6 @@ Example: {@code My new resource} * Count of targets affected by the schedule. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "countOfAffectedTargets"?: number; - /** - * All Action Group types are part of the schedule. - */ - "actionGroupTypes"?: Array; - /** - * All application types that are part of the schedule for an ENVIRONMENT action group Type. - */ - "applicationTypes"?: Array; /** * All products that are part of the schedule for a PRODUCT action group type. */ @@ -90,7 +82,7 @@ Example: {@code My new resource} * Action Groups associated with the Schedule. */ "actionGroups"?: Array; - "associatedScheduleDefinition"?: model.AssociatedSchedulerDefinition; + "schedulerDefinition"?: model.AssociatedSchedulerDefinition; /** * The current state of the SchedulerJob. */ @@ -120,20 +112,14 @@ Example: {@code My new resource} } export namespace SchedulerJob { - export enum ActionGroupTypes { - Product = "PRODUCT", - Environment = "ENVIRONMENT", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export enum LifecycleState { - Active = "ACTIVE", - Deleted = "DELETED", + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", Failed = "FAILED", + Succeeded = "SUCCEEDED", + Canceled = "CANCELED", + NeedsAttention = "NEEDS_ATTENTION", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. @@ -150,8 +136,8 @@ export namespace SchedulerJob { return model.ActionGroupDetails.getJsonObj(item); }) : undefined, - "associatedScheduleDefinition": obj.associatedScheduleDefinition - ? model.AssociatedSchedulerDefinition.getJsonObj(obj.associatedScheduleDefinition) + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getJsonObj(obj.schedulerDefinition) : undefined } }; @@ -167,10 +153,8 @@ export namespace SchedulerJob { return model.ActionGroupDetails.getDeserializedJsonObj(item); }) : undefined, - "associatedScheduleDefinition": obj.associatedScheduleDefinition - ? model.AssociatedSchedulerDefinition.getDeserializedJsonObj( - obj.associatedScheduleDefinition - ) + "schedulerDefinition": obj.schedulerDefinition + ? model.AssociatedSchedulerDefinition.getDeserializedJsonObj(obj.schedulerDefinition) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/scope.ts b/lib/fleetappsmanagement/lib/model/scope.ts index 184b85ab85..897240790b 100644 --- a/lib/fleetappsmanagement/lib/model/scope.ts +++ b/lib/fleetappsmanagement/lib/model/scope.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts index 6ccfe842e8..9a6c7edb7a 100644 --- a/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts +++ b/lib/fleetappsmanagement/lib/model/script-based-execution-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,7 +20,7 @@ import common = require("oci-common"); */ export interface ScriptBasedExecutionDetails extends model.ExecutionDetails { "variables"?: model.TaskVariable; - "content"?: model.ObjectStorageBucketContentDetails; + "content"?: model.CatalogContentDetails | model.ObjectStorageBucketContentDetails; /** * Optional command to execute the content. * You can provide any commands/arguments that can't be part of the script. @@ -32,6 +32,14 @@ export interface ScriptBasedExecutionDetails extends model.ExecutionDetails { * */ "credentials"?: Array; + /** + * Is the script locked to prevent changes directly in Object Storage? + */ + "isLocked"?: boolean; + /** + * Is the Content an executable file? + */ + "isExecutableContent"?: boolean; "executionType": string; } diff --git a/lib/fleetappsmanagement/lib/model/selection-criteria.ts b/lib/fleetappsmanagement/lib/model/selection-criteria.ts index cb12ed9eb2..ee4bd48b4c 100644 --- a/lib/fleetappsmanagement/lib/model/selection-criteria.ts +++ b/lib/fleetappsmanagement/lib/model/selection-criteria.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/selection.ts b/lib/fleetappsmanagement/lib/model/selection.ts index 9bc0088916..4c25ae6e67 100644 --- a/lib/fleetappsmanagement/lib/model/selection.ts +++ b/lib/fleetappsmanagement/lib/model/selection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/self-hosted-instance-config-category-details.ts b/lib/fleetappsmanagement/lib/model/self-hosted-instance-config-category-details.ts new file mode 100644 index 0000000000..a1fae9b4dc --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/self-hosted-instance-config-category-details.ts @@ -0,0 +1,69 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Define Self Hosted Instances. + * + */ +export interface SelfHostedInstanceConfigCategoryDetails extends model.ConfigCategoryDetails { + /** + * The OCID of the resource. + */ + "instanceId": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. +* Avoid entering confidential information. +*

+Example: {@code My new resource} +* + */ + "instanceName"?: string; + + "configCategory": string; +} + +export namespace SelfHostedInstanceConfigCategoryDetails { + export function getJsonObj( + obj: SelfHostedInstanceConfigCategoryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigCategoryDetails.getJsonObj(obj) as SelfHostedInstanceConfigCategoryDetails)), + ...{} + }; + + return jsonObj; + } + export const configCategory = "SELF_HOSTED_INSTANCE"; + export function getDeserializedJsonObj( + obj: SelfHostedInstanceConfigCategoryDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ConfigCategoryDetails.getDeserializedJsonObj( + obj + ) as SelfHostedInstanceConfigCategoryDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/self-hosted-instance-run-on-details.ts b/lib/fleetappsmanagement/lib/model/self-hosted-instance-run-on-details.ts new file mode 100644 index 0000000000..a80eb0a20b --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/self-hosted-instance-run-on-details.ts @@ -0,0 +1,58 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Self Hosted Instance Run On Details. + */ +export interface SelfHostedInstanceRunOnDetails extends model.RunOnDetails { + /** + * OCID of the self hosted instance. + */ + "host": string; + + "kind": string; +} + +export namespace SelfHostedInstanceRunOnDetails { + export function getJsonObj( + obj: SelfHostedInstanceRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getJsonObj(obj) as SelfHostedInstanceRunOnDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "SELF_HOSTED_INSTANCES"; + export function getDeserializedJsonObj( + obj: SelfHostedInstanceRunOnDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.RunOnDetails.getDeserializedJsonObj(obj) as SelfHostedInstanceRunOnDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/set-default-runbook-details.ts b/lib/fleetappsmanagement/lib/model/set-default-runbook-details.ts index db0ceecc14..0044b91363 100644 --- a/lib/fleetappsmanagement/lib/model/set-default-runbook-details.ts +++ b/lib/fleetappsmanagement/lib/model/set-default-runbook-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/sort-by.ts b/lib/fleetappsmanagement/lib/model/sort-by.ts new file mode 100644 index 0000000000..aa76bd3aef --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum SortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace SortBy { + export function getJsonObj(obj: SortBy): SortBy { + return obj; + } + export function getDeserializedJsonObj(obj: SortBy): SortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/sort-order.ts b/lib/fleetappsmanagement/lib/model/sort-order.ts index 3028c8659e..2c0125cbac 100644 --- a/lib/fleetappsmanagement/lib/model/sort-order.ts +++ b/lib/fleetappsmanagement/lib/model/sort-order.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/step-based-user-action-details.ts b/lib/fleetappsmanagement/lib/model/step-based-user-action-details.ts index 2d0d947db8..4212772901 100644 --- a/lib/fleetappsmanagement/lib/model/step-based-user-action-details.ts +++ b/lib/fleetappsmanagement/lib/model/step-based-user-action-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/step-collection.ts b/lib/fleetappsmanagement/lib/model/step-collection.ts index 1647fb6dd3..a3014e9e32 100644 --- a/lib/fleetappsmanagement/lib/model/step-collection.ts +++ b/lib/fleetappsmanagement/lib/model/step-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/step-summary.ts b/lib/fleetappsmanagement/lib/model/step-summary.ts index 4e6fa54aa2..62badba359 100644 --- a/lib/fleetappsmanagement/lib/model/step-summary.ts +++ b/lib/fleetappsmanagement/lib/model/step-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,19 +20,19 @@ import common = require("oci-common"); */ export interface StepSummary { /** - * The OCID of taskRecord assocaited with the step + * The OCID of taskRecord assocaited with the step. */ "taskRecordId"?: string; /** - * Name of the Step + * Name of the Step. */ "stepName": string; /** - * The sequence of the step + * The sequence of the step. */ "sequence"?: string; /** - * Status of the Task + * Status of the Task. */ "status": model.JobStatus; /** @@ -48,7 +48,7 @@ export interface StepSummary { */ "isRollbackTask"?: boolean; /** - * Description of the step Execution + * Description of the step Execution. */ "description"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/string-input-argument.ts b/lib/fleetappsmanagement/lib/model/string-input-argument.ts index 2f8cc80fbc..aa920ebea1 100644 --- a/lib/fleetappsmanagement/lib/model/string-input-argument.ts +++ b/lib/fleetappsmanagement/lib/model/string-input-argument.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/string-task-argument.ts b/lib/fleetappsmanagement/lib/model/string-task-argument.ts new file mode 100644 index 0000000000..61e6ab51a7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/string-task-argument.ts @@ -0,0 +1,53 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A string variable that holds a value + */ +export interface StringTaskArgument extends model.TaskArgument { + /** + * The task input + */ + "value"?: string; + + "kind": string; +} + +export namespace StringTaskArgument { + export function getJsonObj(obj: StringTaskArgument, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskArgument.getJsonObj(obj) as StringTaskArgument)), + ...{} + }; + + return jsonObj; + } + export const kind = "STRING"; + export function getDeserializedJsonObj( + obj: StringTaskArgument, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskArgument.getDeserializedJsonObj(obj) as StringTaskArgument)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/target-credential-entity-specific-details.ts b/lib/fleetappsmanagement/lib/model/target-credential-entity-specific-details.ts index f2dece0903..50a037e19c 100644 --- a/lib/fleetappsmanagement/lib/model/target-credential-entity-specific-details.ts +++ b/lib/fleetappsmanagement/lib/model/target-credential-entity-specific-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/target-resource.ts b/lib/fleetappsmanagement/lib/model/target-resource.ts index 108229bd4c..105ee78dd7 100644 --- a/lib/fleetappsmanagement/lib/model/target-resource.ts +++ b/lib/fleetappsmanagement/lib/model/target-resource.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/maintenance-window-type.ts b/lib/fleetappsmanagement/lib/model/target-sort-by.ts similarity index 64% rename from lib/fleetappsmanagement/lib/model/maintenance-window-type.ts rename to lib/fleetappsmanagement/lib/model/target-sort-by.ts index d9ba6b91a2..d3aae0d517 100644 --- a/lib/fleetappsmanagement/lib/model/maintenance-window-type.ts +++ b/lib/fleetappsmanagement/lib/model/target-sort-by.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,23 +16,20 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Possible maintenance window types + * The sort order to use. At present, the values are resource name ({@code resourceDisplayName}), target name ({@code displayName}) or product name ({@code product}). + * **/ -export enum MaintenanceWindowType { - OpenEnded = "OPEN_ENDED", - - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" +export enum TargetSortBy { + DisplayName = "displayName", + Product = "product", + ResourceDisplayName = "resourceDisplayName" } -export namespace MaintenanceWindowType { - export function getJsonObj(obj: MaintenanceWindowType): MaintenanceWindowType { +export namespace TargetSortBy { + export function getJsonObj(obj: TargetSortBy): TargetSortBy { return obj; } - export function getDeserializedJsonObj(obj: MaintenanceWindowType): MaintenanceWindowType { + export function getDeserializedJsonObj(obj: TargetSortBy): TargetSortBy { return obj; } } diff --git a/lib/fleetappsmanagement/lib/model/task-argument.ts b/lib/fleetappsmanagement/lib/model/task-argument.ts index cb25dcebd6..6bc62601bf 100644 --- a/lib/fleetappsmanagement/lib/model/task-argument.ts +++ b/lib/fleetappsmanagement/lib/model/task-argument.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,28 +16,55 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A variable that holds a value + * A Task argument that holds a value. */ export interface TaskArgument { /** - * Name of the output variable + * Name of the input variable */ "name": string; - /** - * The task output - */ - "value"?: string; + + "kind": string; } export namespace TaskArgument { export function getJsonObj(obj: TaskArgument): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STRING": + return model.StringTaskArgument.getJsonObj( + (jsonObj), + true + ); + case "FILE": + return model.FileTaskArgument.getJsonObj((jsonObj), true); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } export function getDeserializedJsonObj(obj: TaskArgument): object { const jsonObj = { ...obj, ...{} }; + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "STRING": + return model.StringTaskArgument.getDeserializedJsonObj( + (jsonObj), + true + ); + case "FILE": + return model.FileTaskArgument.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } return jsonObj; } } diff --git a/lib/fleetappsmanagement/lib/model/task-execution-type.ts b/lib/fleetappsmanagement/lib/model/task-execution-type.ts index 772e1f7c86..920edfd026 100644 --- a/lib/fleetappsmanagement/lib/model/task-execution-type.ts +++ b/lib/fleetappsmanagement/lib/model/task-execution-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -21,6 +21,7 @@ import common = require("oci-common"); export enum TaskExecutionType { Script = "SCRIPT", Api = "API", + Terraform = "TERRAFORM", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/fleetappsmanagement/lib/model/task-notification-preferences.ts b/lib/fleetappsmanagement/lib/model/task-notification-preferences.ts index d5dc339486..cf217e8191 100644 --- a/lib/fleetappsmanagement/lib/model/task-notification-preferences.ts +++ b/lib/fleetappsmanagement/lib/model/task-notification-preferences.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/task-record-collection.ts b/lib/fleetappsmanagement/lib/model/task-record-collection.ts index e1e6788a95..8eb2be73a7 100644 --- a/lib/fleetappsmanagement/lib/model/task-record-collection.ts +++ b/lib/fleetappsmanagement/lib/model/task-record-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,11 +16,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Results of a taskRecord search. Contains boh TaskRecordSummary items and other information, such as metadata. + * Results of a task record search. Contains boh TaskRecordSummary items and other information, such as metadata. */ export interface TaskRecordCollection { /** - * List of taskRecords. + * List of task records. */ "items": Array; } diff --git a/lib/fleetappsmanagement/lib/model/task-record-sort-by.ts b/lib/fleetappsmanagement/lib/model/task-record-sort-by.ts new file mode 100644 index 0000000000..6051f907a0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/task-record-sort-by.ts @@ -0,0 +1,34 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use. At present, the values are either time created ({@code timeCreated}) or name ({@code displayName}). + * + **/ +export enum TaskRecordSortBy { + TimeCreated = "timeCreated", + DisplayName = "displayName" +} + +export namespace TaskRecordSortBy { + export function getJsonObj(obj: TaskRecordSortBy): TaskRecordSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: TaskRecordSortBy): TaskRecordSortBy { + return obj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/task-record-summary.ts b/lib/fleetappsmanagement/lib/model/task-record-summary.ts index d4ce569918..b56acbfb43 100644 --- a/lib/fleetappsmanagement/lib/model/task-record-summary.ts +++ b/lib/fleetappsmanagement/lib/model/task-record-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Summary of the TaskRecord. + * Summary of the task record. */ export interface TaskRecordSummary { /** @@ -42,7 +42,7 @@ Example: {@code My new resource} */ "type": string; /** - * The current state of the TaskRecord. + * The current state of the task record. */ "lifecycleState": string; /** @@ -59,7 +59,7 @@ Example: {@code My new resource} */ "lifecycleDetails"?: string; /** - * The version of the task + * The version of the task record. */ "version"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/task-record.ts b/lib/fleetappsmanagement/lib/model/task-record.ts index fbfc2bc93a..b2d75b5fce 100644 --- a/lib/fleetappsmanagement/lib/model/task-record.ts +++ b/lib/fleetappsmanagement/lib/model/task-record.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Details of a task. + * Attributes of a task record. */ export interface TaskRecord { /** @@ -42,7 +42,7 @@ Example: {@code My new resource} */ "type": TaskRecord.Type; /** - * The current state of the TaskRecord. + * The current state of the task record. */ "lifecycleState": TaskRecord.LifecycleState; /** @@ -59,7 +59,7 @@ Example: {@code My new resource} */ "lifecycleDetails"?: string; /** - * The version of the task + * The version of the task record. */ "version"?: string; /** diff --git a/lib/fleetappsmanagement/lib/model/task-scope.ts b/lib/fleetappsmanagement/lib/model/task-scope.ts index c1f2c928ca..5e9bf1a0d4 100644 --- a/lib/fleetappsmanagement/lib/model/task-scope.ts +++ b/lib/fleetappsmanagement/lib/model/task-scope.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/task-variable.ts b/lib/fleetappsmanagement/lib/model/task-variable.ts index a6e0d48604..bbd8c50c61 100644 --- a/lib/fleetappsmanagement/lib/model/task-variable.ts +++ b/lib/fleetappsmanagement/lib/model/task-variable.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/task.ts b/lib/fleetappsmanagement/lib/model/task.ts index 0c3e82d993..065c22784a 100644 --- a/lib/fleetappsmanagement/lib/model/task.ts +++ b/lib/fleetappsmanagement/lib/model/task.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -23,10 +23,6 @@ export interface Task { * The name of the task step. */ "stepName": string; - /** - * The association type of the task - */ - "associationType": Task.AssociationType; "taskRecordDetails": model.AssociatedLocalTaskDetails | model.AssociatedSharedTaskDetails; "stepProperties"?: model.ComponentProperties; /** @@ -36,15 +32,6 @@ export interface Task { } export namespace Task { - export enum AssociationType { - Task = "TASK", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export function getJsonObj(obj: Task): object { const jsonObj = { ...obj, diff --git a/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts b/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts new file mode 100644 index 0000000000..48141e1312 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/terraform-based-execution-details.ts @@ -0,0 +1,70 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for Terraform execution. + */ +export interface TerraformBasedExecutionDetails extends model.ExecutionDetails { + /** + * Catalog Id having terraform package. + */ + "catalogId": string; + /** + * Catalog Id having config file. + */ + "configFile"?: string; + /** + * OCID of the compartment to which the resource belongs to. + */ + "targetCompartmentId": string; + /** + * Is read output variable enabled + */ + "isReadOutputVariableEnabled"?: boolean; + + "executionType": string; +} + +export namespace TerraformBasedExecutionDetails { + export function getJsonObj( + obj: TerraformBasedExecutionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ExecutionDetails.getJsonObj(obj) as TerraformBasedExecutionDetails)), + ...{} + }; + + return jsonObj; + } + export const executionType = "TERRAFORM"; + export function getDeserializedJsonObj( + obj: TerraformBasedExecutionDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.ExecutionDetails.getDeserializedJsonObj(obj) as TerraformBasedExecutionDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/time-based-pause-details.ts b/lib/fleetappsmanagement/lib/model/time-based-pause-details.ts index 26b201284f..0eeee46c2f 100644 --- a/lib/fleetappsmanagement/lib/model/time-based-pause-details.ts +++ b/lib/fleetappsmanagement/lib/model/time-based-pause-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/upcoming-schedule.ts b/lib/fleetappsmanagement/lib/model/upcoming-schedule.ts new file mode 100644 index 0000000000..4d11d932d7 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/upcoming-schedule.ts @@ -0,0 +1,44 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Enables notification on upcoming schedule. + */ +export interface UpcomingSchedule { + /** + * Enables notification on upcoming schedule. + */ + "onUpcomingSchedule"?: boolean; + /** + * Specify when the notification should be sent. + * + */ + "notifyBefore"?: string; +} + +export namespace UpcomingSchedule { + export function getJsonObj(obj: UpcomingSchedule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpcomingSchedule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts b/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts new file mode 100644 index 0000000000..9ac9353d38 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/update-catalog-item-details.ts @@ -0,0 +1,64 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a CatalogItem. + */ +export interface UpdateCatalogItemDetails { + /** + * The description of the CatalogItem. + * + */ + "description"?: string; + /** + * Version description about the catalog item. + */ + "versionDescription"?: string; + /** + * Short description about the catalog item. + */ + "shortDescription"?: string; + /** + * The CatalogItem name. + */ + "displayName"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateCatalogItemDetails { + export function getJsonObj(obj: UpdateCatalogItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateCatalogItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/update-compliance-policy-rule-details.ts b/lib/fleetappsmanagement/lib/model/update-compliance-policy-rule-details.ts index 6fffe7fe06..6be4fa657c 100644 --- a/lib/fleetappsmanagement/lib/model/update-compliance-policy-rule-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-compliance-policy-rule-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -23,7 +23,7 @@ export interface UpdateCompliancePolicyRuleDetails { /** * PlatformConfiguration OCID for the patch type to which this CompliancePolicyRule applies. */ - "patchType"?: Array; + "patchTypeId"?: Array; /** * Severity to which this CompliancePolicyRule applies. */ diff --git a/lib/fleetappsmanagement/lib/model/update-fleet-credential-details.ts b/lib/fleetappsmanagement/lib/model/update-fleet-credential-details.ts index 2522adff06..cc0c6c6dc8 100644 --- a/lib/fleetappsmanagement/lib/model/update-fleet-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-fleet-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-fleet-details.ts b/lib/fleetappsmanagement/lib/model/update-fleet-details.ts index 7ece9b618c..c2fce3e41e 100644 --- a/lib/fleetappsmanagement/lib/model/update-fleet-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-fleet-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -33,14 +33,23 @@ Example: {@code My new resource} * */ "description"?: string; - "notificationPreferences"?: model.NotificationPreferences; - "ruleSelectionCriteria"?: model.SelectionCriteria; + /** + * Notification Preferences associated with the Fleet. + * An UPDATE operation replaces the existing notification preferences list entirely + * + */ + "notificationPreferences"?: Array; /** * A value that represents if auto-confirming of the targets can be enabled. * This will allow targets to be auto-confirmed in the fleet without manual intervention. * */ "isTargetAutoConfirm"?: boolean; + "resourceSelection"?: model.DynamicResourceSelection | model.ManualResourceSelection; + /** + * Products associated with the Fleet. + */ + "products"?: Array; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -61,10 +70,13 @@ export namespace UpdateFleetDetails { ...obj, ...{ "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getJsonObj(item); + }) : undefined, - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getJsonObj(obj.ruleSelectionCriteria) + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getJsonObj(obj.resourceSelection) : undefined } }; @@ -76,10 +88,13 @@ export namespace UpdateFleetDetails { ...obj, ...{ "notificationPreferences": obj.notificationPreferences - ? model.NotificationPreferences.getDeserializedJsonObj(obj.notificationPreferences) + ? obj.notificationPreferences.map(item => { + return model.NotificationPreference.getDeserializedJsonObj(item); + }) : undefined, - "ruleSelectionCriteria": obj.ruleSelectionCriteria - ? model.SelectionCriteria.getDeserializedJsonObj(obj.ruleSelectionCriteria) + + "resourceSelection": obj.resourceSelection + ? model.ResourceSelection.getDeserializedJsonObj(obj.resourceSelection) : undefined } }; diff --git a/lib/fleetappsmanagement/lib/model/update-fleet-property-details.ts b/lib/fleetappsmanagement/lib/model/update-fleet-property-details.ts index cb2267acae..9094d4668f 100644 --- a/lib/fleetappsmanagement/lib/model/update-fleet-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-fleet-property-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-fleet-resource-details.ts b/lib/fleetappsmanagement/lib/model/update-fleet-resource-details.ts index 1c26b23e6f..83048bdb6e 100644 --- a/lib/fleetappsmanagement/lib/model/update-fleet-resource-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-fleet-resource-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-maintenance-window-details.ts b/lib/fleetappsmanagement/lib/model/update-maintenance-window-details.ts index 7008fb0cbd..badeb3f69a 100644 --- a/lib/fleetappsmanagement/lib/model/update-maintenance-window-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-maintenance-window-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -33,10 +33,6 @@ Example: {@code My new resource} * */ "description"?: string; - /** - * MaintenanceWindow Identifier - */ - "maintenanceWindowType"?: model.MaintenanceWindowType; /** * Does the maintenenace window cause outage? * An outage indicates whether a maintenance window can consider operations that require downtime. @@ -64,10 +60,6 @@ Example: {@code My new resource} * */ "recurrences"?: string; - /** - * Task initiation cutoff time for the maintenance window. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "taskInitiationCutoff"?: number; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts b/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts index 06a974e10e..6aa8de4dba 100644 --- a/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-onboarding-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-patch-details.ts b/lib/fleetappsmanagement/lib/model/update-patch-details.ts index 2f96f56c03..1315655a85 100644 --- a/lib/fleetappsmanagement/lib/model/update-patch-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-patch-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -41,10 +41,6 @@ export interface UpdatePatchDetails { * */ "dependentPatches"?: Array; - /** - * OCID of the compartment to which the resource belongs to. - */ - "compartmentId"?: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} diff --git a/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts b/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts index 76847a23df..37c1257e10 100644 --- a/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-platform-configuration-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -38,7 +38,9 @@ Example: {@code My new resource} | model.EnvironmentConfigCategoryDetails | model.CredentialConfigCategoryDetails | model.PatchTypeConfigCategoryDetails - | model.ProductConfigCategoryDetails; + | model.LifecycleOperationConfigCategoryDetails + | model.ProductConfigCategoryDetails + | model.SelfHostedInstanceConfigCategoryDetails; } export namespace UpdatePlatformConfigurationDetails { diff --git a/lib/fleetappsmanagement/lib/model/update-property-details.ts b/lib/fleetappsmanagement/lib/model/update-property-details.ts index a3d6913bde..4f6d7d21ff 100644 --- a/lib/fleetappsmanagement/lib/model/update-property-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-property-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-provision-details.ts b/lib/fleetappsmanagement/lib/model/update-provision-details.ts new file mode 100644 index 0000000000..14dd2d0f17 --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/update-provision-details.ts @@ -0,0 +1,55 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a FamProvision. + */ +export interface UpdateProvisionDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A description of the provision. + */ + "provisionDescription"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateProvisionDetails { + export function getJsonObj(obj: UpdateProvisionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateProvisionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/update-runbook-details.ts b/lib/fleetappsmanagement/lib/model/update-runbook-details.ts index 199a252193..adda93889e 100644 --- a/lib/fleetappsmanagement/lib/model/update-runbook-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-runbook-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -34,11 +34,11 @@ Example: {@code My new resource} */ "description"?: string; /** - * Type of runbook structure. + * Does this runbook need SUDO access to execute? */ - "runbookRelevance"?: string; + "isSudoAccessNeeded"?: boolean; /** - * The lifecycle operation performed by the task. + * The lifecycle operation performed by the runbook. */ "operation"?: string; /** @@ -54,10 +54,9 @@ Example: {@code My new resource} */ "isDefault"?: boolean; /** - * Estimated time to successfully complete the runbook execution + * Estimated time to successfully complete the runbook execution. */ "estimatedTime"?: string; - "associations"?: model.Associations; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. * Example: {@code {\"bar-key\": \"value\"}} @@ -74,26 +73,12 @@ Example: {@code My new resource} export namespace UpdateRunbookDetails { export function getJsonObj(obj: UpdateRunbookDetails): object { - const jsonObj = { - ...obj, - ...{ - "associations": obj.associations - ? model.Associations.getJsonObj(obj.associations) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateRunbookDetails): object { - const jsonObj = { - ...obj, - ...{ - "associations": obj.associations - ? model.Associations.getDeserializedJsonObj(obj.associations) - : undefined - } - }; + const jsonObj = { ...obj, ...{} }; return jsonObj; } diff --git a/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts b/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts new file mode 100644 index 0000000000..8c79b015ed --- /dev/null +++ b/lib/fleetappsmanagement/lib/model/update-runbook-version-details.ts @@ -0,0 +1,86 @@ +/** + * Fleet Application Management Service API + * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. + + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information to be updated. + */ +export interface UpdateRunbookVersionDetails { + /** + * A set of tasks to execute in the runbook. + */ + "tasks"?: Array; + /** + * The groups of the runbook. + * + */ + "groups"?: Array; + "executionWorkflowDetails"?: model.ExecutionWorkflowDetails; + "rollbackWorkflowDetails"?: model.RollbackWorkflowDetails; +} + +export namespace UpdateRunbookVersionDetails { + export function getJsonObj(obj: UpdateRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateRunbookVersionDetails): object { + const jsonObj = { + ...obj, + ...{ + "tasks": obj.tasks + ? obj.tasks.map(item => { + return model.Task.getDeserializedJsonObj(item); + }) + : undefined, + "groups": obj.groups + ? obj.groups.map(item => { + return model.Group.getDeserializedJsonObj(item); + }) + : undefined, + "executionWorkflowDetails": obj.executionWorkflowDetails + ? model.ExecutionWorkflowDetails.getDeserializedJsonObj(obj.executionWorkflowDetails) + : undefined, + "rollbackWorkflowDetails": obj.rollbackWorkflowDetails + ? model.RollbackWorkflowDetails.getDeserializedJsonObj(obj.rollbackWorkflowDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/fleetappsmanagement/lib/model/update-scheduler-definition-details.ts b/lib/fleetappsmanagement/lib/model/update-scheduler-definition-details.ts index 39e12f8945..85c8f1c2f7 100644 --- a/lib/fleetappsmanagement/lib/model/update-scheduler-definition-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-scheduler-definition-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -33,11 +33,7 @@ Example: {@code My new resource} * */ "description"?: string; - /** - * Activity Initiation Cut Off Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. - */ - "activityInitiationCutOff"?: number; - "schedule"?: model.Schedule; + "schedule"?: model.CustomSchedule | model.MaintenanceWindowSchedule; /** * Action Groups associated with the Schedule. */ diff --git a/lib/fleetappsmanagement/lib/model/update-scheduler-job-details.ts b/lib/fleetappsmanagement/lib/model/update-scheduler-job-details.ts index d82b781374..f395376e58 100644 --- a/lib/fleetappsmanagement/lib/model/update-scheduler-job-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-scheduler-job-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/update-task-record-details.ts b/lib/fleetappsmanagement/lib/model/update-task-record-details.ts index d05cef6678..f9a5a17c1f 100644 --- a/lib/fleetappsmanagement/lib/model/update-task-record-details.ts +++ b/lib/fleetappsmanagement/lib/model/update-task-record-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The information to be updated. + * Attributes to update a task record. */ export interface UpdateTaskRecordDetails { /** diff --git a/lib/fleetappsmanagement/lib/model/user-action-based-pause-details.ts b/lib/fleetappsmanagement/lib/model/user-action-based-pause-details.ts index fb1fc52c8d..40fa028cd6 100644 --- a/lib/fleetappsmanagement/lib/model/user-action-based-pause-details.ts +++ b/lib/fleetappsmanagement/lib/model/user-action-based-pause-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/user-action-details.ts b/lib/fleetappsmanagement/lib/model/user-action-details.ts index 3c79ee6d43..81cc1368cc 100644 --- a/lib/fleetappsmanagement/lib/model/user-action-details.ts +++ b/lib/fleetappsmanagement/lib/model/user-action-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -33,7 +33,9 @@ export interface UserActionDetails { export namespace UserActionDetails { export enum Action { Retry = "RETRY", - Resume = "RESUME" + Resume = "RESUME", + Ignore = "IGNORE", + Abort = "ABORT" } export function getJsonObj(obj: UserActionDetails): object { diff --git a/lib/fleetappsmanagement/lib/model/value-type.ts b/lib/fleetappsmanagement/lib/model/value-type.ts index b34d57a7aa..676f6c4b37 100644 --- a/lib/fleetappsmanagement/lib/model/value-type.ts +++ b/lib/fleetappsmanagement/lib/model/value-type.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/variable.ts b/lib/fleetappsmanagement/lib/model/variable.ts index 5496772449..93c7e32057 100644 --- a/lib/fleetappsmanagement/lib/model/variable.ts +++ b/lib/fleetappsmanagement/lib/model/variable.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/vault-secret-credential-details.ts b/lib/fleetappsmanagement/lib/model/vault-secret-credential-details.ts index 94f5327664..307d918e3d 100644 --- a/lib/fleetappsmanagement/lib/model/vault-secret-credential-details.ts +++ b/lib/fleetappsmanagement/lib/model/vault-secret-credential-details.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/associations.ts b/lib/fleetappsmanagement/lib/model/version.ts similarity index 89% rename from lib/fleetappsmanagement/lib/model/associations.ts rename to lib/fleetappsmanagement/lib/model/version.ts index f22386719a..2af5f27d02 100644 --- a/lib/fleetappsmanagement/lib/model/associations.ts +++ b/lib/fleetappsmanagement/lib/model/version.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -16,9 +16,9 @@ import * as model from "../model"; import common = require("oci-common"); /** - * Associations for the runbook. + * Version for the runbook. */ -export interface Associations { +export interface Version { /** * A set of tasks to execute in the runbook. */ @@ -34,10 +34,15 @@ export interface Associations { * The version of the runbook. */ "version"?: string; + /** + * Is this version the latest? + * + */ + "isLatest"?: boolean; } -export namespace Associations { - export function getJsonObj(obj: Associations): object { +export namespace Version { + export function getJsonObj(obj: Version): object { const jsonObj = { ...obj, ...{ @@ -62,7 +67,7 @@ export namespace Associations { return jsonObj; } - export function getDeserializedJsonObj(obj: Associations): object { + export function getDeserializedJsonObj(obj: Version): object { const jsonObj = { ...obj, ...{ diff --git a/lib/fleetappsmanagement/lib/model/work-request-error-collection.ts b/lib/fleetappsmanagement/lib/model/work-request-error-collection.ts index f19508b95e..a7b7ba16ca 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-error-collection.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-error-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-error.ts b/lib/fleetappsmanagement/lib/model/work-request-error.ts index 85c3d35a2a..98ab1d5b1a 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-error.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-error.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-log-entry-collection.ts b/lib/fleetappsmanagement/lib/model/work-request-log-entry-collection.ts index 380e3f0c30..bcdabedfdb 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-log-entry-collection.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-log-entry-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-log-entry.ts b/lib/fleetappsmanagement/lib/model/work-request-log-entry.ts index 0c4a911f0a..09f3e060dd 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-log-entry.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-log-entry.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-resource-metadata-key.ts b/lib/fleetappsmanagement/lib/model/work-request-resource-metadata-key.ts index 90b4f51809..0d09a14ca7 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-resource-metadata-key.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-resource-metadata-key.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-resource.ts b/lib/fleetappsmanagement/lib/model/work-request-resource.ts index 69ce66507c..4c7f0c4f6b 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-resource.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-resource.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-summary-collection.ts b/lib/fleetappsmanagement/lib/model/work-request-summary-collection.ts index 460b350a6d..6b3f31aef1 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-summary-collection.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-summary-collection.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request-summary.ts b/lib/fleetappsmanagement/lib/model/work-request-summary.ts index 5e91a2c2f6..82b6213794 100644 --- a/lib/fleetappsmanagement/lib/model/work-request-summary.ts +++ b/lib/fleetappsmanagement/lib/model/work-request-summary.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/work-request.ts b/lib/fleetappsmanagement/lib/model/work-request.ts index fd3b067a7f..f582ce5924 100644 --- a/lib/fleetappsmanagement/lib/model/work-request.ts +++ b/lib/fleetappsmanagement/lib/model/work-request.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/workflow-component.ts b/lib/fleetappsmanagement/lib/model/workflow-component.ts index 3a05324c48..760e4c82be 100644 --- a/lib/fleetappsmanagement/lib/model/workflow-component.ts +++ b/lib/fleetappsmanagement/lib/model/workflow-component.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/workflow-group-component.ts b/lib/fleetappsmanagement/lib/model/workflow-group-component.ts index ff722917b9..927eb357b9 100644 --- a/lib/fleetappsmanagement/lib/model/workflow-group-component.ts +++ b/lib/fleetappsmanagement/lib/model/workflow-group-component.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/workflow-group.ts b/lib/fleetappsmanagement/lib/model/workflow-group.ts index 0e604c8542..3d72ef1bfa 100644 --- a/lib/fleetappsmanagement/lib/model/workflow-group.ts +++ b/lib/fleetappsmanagement/lib/model/workflow-group.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/model/workflow-task-component.ts b/lib/fleetappsmanagement/lib/model/workflow-task-component.ts index 71f84ee311..e38577a51d 100644 --- a/lib/fleetappsmanagement/lib/model/workflow-task-component.ts +++ b/lib/fleetappsmanagement/lib/model/workflow-task-component.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/change-catalog-item-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-catalog-item-compartment-request.ts new file mode 100644 index 0000000000..0a10c9663f --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-catalog-item-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeCatalogItemCompartment.ts.html |here} to see how to use ChangeCatalogItemCompartmentRequest. + */ +export interface ChangeCatalogItemCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * Details of the target compartment. + */ + "changeCatalogItemCompartmentDetails": model.ChangeCatalogItemCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-fleet-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-fleet-compartment-request.ts new file mode 100644 index 0000000000..6ccc329fdb --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-fleet-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeFleetCompartment.ts.html |here} to see how to use ChangeFleetCompartmentRequest. + */ +export interface ChangeFleetCompartmentRequest extends common.BaseRequest { + /** + * Unique Fleet identifier. + */ + "fleetId": string; + /** + * Details of the target compartment. + */ + "changeFleetCompartmentDetails": model.ChangeFleetCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-patch-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-patch-compartment-request.ts new file mode 100644 index 0000000000..6d85d18a0e --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-patch-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePatchCompartment.ts.html |here} to see how to use ChangePatchCompartmentRequest. + */ +export interface ChangePatchCompartmentRequest extends common.BaseRequest { + /** + * Unique Patch identifier. + */ + "patchId": string; + /** + * Details of the target compartment. + */ + "changePatchCompartmentDetails": model.ChangePatchCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-platform-configuration-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-platform-configuration-compartment-request.ts new file mode 100644 index 0000000000..f2d0cadddb --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-platform-configuration-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePlatformConfigurationCompartment.ts.html |here} to see how to use ChangePlatformConfigurationCompartmentRequest. + */ +export interface ChangePlatformConfigurationCompartmentRequest extends common.BaseRequest { + /** + * unique PlatformConfiguration identifier + */ + "platformConfigurationId": string; + /** + * Details of the target compartment. + */ + "changePlatformConfigurationCompartmentDetails": model.ChangePlatformConfigurationCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-property-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-property-compartment-request.ts new file mode 100644 index 0000000000..28aaf48072 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-property-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangePropertyCompartment.ts.html |here} to see how to use ChangePropertyCompartmentRequest. + */ +export interface ChangePropertyCompartmentRequest extends common.BaseRequest { + /** + * unique Property identifier + */ + "propertyId": string; + /** + * Details of the target compartment. + */ + "changePropertyCompartmentDetails": model.ChangePropertyCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-provision-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-provision-compartment-request.ts new file mode 100644 index 0000000000..5b748d9cc3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-provision-compartment-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeProvisionCompartment.ts.html |here} to see how to use ChangeProvisionCompartmentRequest. + */ +export interface ChangeProvisionCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "provisionId": string; + /** + * Details of the target compartment. + */ + "changeProvisionCompartmentDetails": model.ChangeProvisionCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-runbook-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-runbook-compartment-request.ts new file mode 100644 index 0000000000..4cae19d314 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-runbook-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeRunbookCompartment.ts.html |here} to see how to use ChangeRunbookCompartmentRequest. + */ +export interface ChangeRunbookCompartmentRequest extends common.BaseRequest { + /** + * Unique Runbook identifier + */ + "runbookId": string; + /** + * Details of the target compartment. + */ + "changeRunbookCompartmentDetails": model.ChangeRunbookCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/change-task-record-compartment-request.ts b/lib/fleetappsmanagement/lib/request/change-task-record-compartment-request.ts new file mode 100644 index 0000000000..566f344045 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/change-task-record-compartment-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ChangeTaskRecordCompartment.ts.html |here} to see how to use ChangeTaskRecordCompartmentRequest. + */ +export interface ChangeTaskRecordCompartmentRequest extends common.BaseRequest { + /** + * The OCID of the task record. + */ + "taskRecordId": string; + /** + * Details of the target compartment. + */ + "changeTaskRecordCompartmentDetails": model.ChangeTaskRecordCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/check-resource-tagging-request.ts b/lib/fleetappsmanagement/lib/request/check-resource-tagging-request.ts index d503cc2c99..3c107003da 100644 --- a/lib/fleetappsmanagement/lib/request/check-resource-tagging-request.ts +++ b/lib/fleetappsmanagement/lib/request/check-resource-tagging-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/clone-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/clone-catalog-item-request.ts new file mode 100644 index 0000000000..3df9a71bba --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/clone-catalog-item-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CloneCatalogItem.ts.html |here} to see how to use CloneCatalogItemRequest. + */ +export interface CloneCatalogItemRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * The information to be updated. + */ + "cloneCatalogItemDetails": model.CloneCatalogItemDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/confirm-targets-request.ts b/lib/fleetappsmanagement/lib/request/confirm-targets-request.ts index 13dfad9a3d..9aed1809e2 100644 --- a/lib/fleetappsmanagement/lib/request/confirm-targets-request.ts +++ b/lib/fleetappsmanagement/lib/request/confirm-targets-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/create-catalog-item-request.ts new file mode 100644 index 0000000000..56ba2cb67b --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/create-catalog-item-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateCatalogItem.ts.html |here} to see how to use CreateCatalogItemRequest. + */ +export interface CreateCatalogItemRequest extends common.BaseRequest { + /** + * Details for the new CatalogItem. + */ + "createCatalogItemDetails": model.CreateCatalogItemDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/create-compliance-policy-rule-request.ts b/lib/fleetappsmanagement/lib/request/create-compliance-policy-rule-request.ts index 0059677f71..16d1f6f852 100644 --- a/lib/fleetappsmanagement/lib/request/create-compliance-policy-rule-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-compliance-policy-rule-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-fleet-credential-request.ts b/lib/fleetappsmanagement/lib/request/create-fleet-credential-request.ts index 0019e27e79..096c810bb8 100644 --- a/lib/fleetappsmanagement/lib/request/create-fleet-credential-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-fleet-credential-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateFleetCredentialRequest extends common.BaseRequest { /** - * Details for the new FleetCredential. + * Details for the new fleet credential. */ "createFleetCredentialDetails": model.CreateFleetCredentialDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/create-fleet-property-request.ts b/lib/fleetappsmanagement/lib/request/create-fleet-property-request.ts index c0739aa768..f3ae31bef0 100644 --- a/lib/fleetappsmanagement/lib/request/create-fleet-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-fleet-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateFleetPropertyRequest extends common.BaseRequest { /** - * Details for the new FleetProperty. + * Details for the new fleet property. */ "createFleetPropertyDetails": model.CreateFleetPropertyDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/create-fleet-request.ts b/lib/fleetappsmanagement/lib/request/create-fleet-request.ts index 29f016f3d2..e9fb479caf 100644 --- a/lib/fleetappsmanagement/lib/request/create-fleet-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-fleet-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-fleet-resource-request.ts b/lib/fleetappsmanagement/lib/request/create-fleet-resource-request.ts index c1d8f9d907..5053fc9e46 100644 --- a/lib/fleetappsmanagement/lib/request/create-fleet-resource-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-fleet-resource-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateFleetResourceRequest extends common.BaseRequest { /** - * Details for the new FleetResource. + * Details for the new fleet resource. */ "createFleetResourceDetails": model.CreateFleetResourceDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/create-maintenance-window-request.ts b/lib/fleetappsmanagement/lib/request/create-maintenance-window-request.ts index 43cf7f0811..3d3c8157b2 100644 --- a/lib/fleetappsmanagement/lib/request/create-maintenance-window-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-maintenance-window-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-onboarding-request.ts b/lib/fleetappsmanagement/lib/request/create-onboarding-request.ts index 61a9980f42..e22621b192 100644 --- a/lib/fleetappsmanagement/lib/request/create-onboarding-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-onboarding-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-patch-request.ts b/lib/fleetappsmanagement/lib/request/create-patch-request.ts index 2a3c853e9e..42e59cb5f2 100644 --- a/lib/fleetappsmanagement/lib/request/create-patch-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-patch-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-platform-configuration-request.ts b/lib/fleetappsmanagement/lib/request/create-platform-configuration-request.ts index ff5140ca7a..51529b7e6c 100644 --- a/lib/fleetappsmanagement/lib/request/create-platform-configuration-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-platform-configuration-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-property-request.ts b/lib/fleetappsmanagement/lib/request/create-property-request.ts index 88764745de..6758e735a2 100644 --- a/lib/fleetappsmanagement/lib/request/create-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-provision-request.ts b/lib/fleetappsmanagement/lib/request/create-provision-request.ts new file mode 100644 index 0000000000..344ea22b8c --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/create-provision-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateProvision.ts.html |here} to see how to use CreateProvisionRequest. + */ +export interface CreateProvisionRequest extends common.BaseRequest { + /** + * Details for the new Provision. + */ + "createProvisionDetails": model.CreateProvisionDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/create-runbook-request.ts b/lib/fleetappsmanagement/lib/request/create-runbook-request.ts index 03292877c1..feca715cc5 100644 --- a/lib/fleetappsmanagement/lib/request/create-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/create-runbook-version-request.ts new file mode 100644 index 0000000000..f4ff53255a --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/create-runbook-version-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/CreateRunbookVersion.ts.html |here} to see how to use CreateRunbookVersionRequest. + */ +export interface CreateRunbookVersionRequest extends common.BaseRequest { + /** + * Details for the new Runbook Version. + */ + "createRunbookVersionDetails": model.CreateRunbookVersionDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/create-scheduler-definition-request.ts b/lib/fleetappsmanagement/lib/request/create-scheduler-definition-request.ts index 9fff3a8ee1..6afde63e9a 100644 --- a/lib/fleetappsmanagement/lib/request/create-scheduler-definition-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-scheduler-definition-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/create-task-record-request.ts b/lib/fleetappsmanagement/lib/request/create-task-record-request.ts index a5ae961201..b1e1ddb409 100644 --- a/lib/fleetappsmanagement/lib/request/create-task-record-request.ts +++ b/lib/fleetappsmanagement/lib/request/create-task-record-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateTaskRecordRequest extends common.BaseRequest { /** - * Details for the new TaskRecord. + * Attributes to create a task record. */ "createTaskRecordDetails": model.CreateTaskRecordDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/delete-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/delete-catalog-item-request.ts new file mode 100644 index 0000000000..146b43f837 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/delete-catalog-item-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteCatalogItem.ts.html |here} to see how to use DeleteCatalogItemRequest. + */ +export interface DeleteCatalogItemRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/delete-compliance-policy-rule-request.ts b/lib/fleetappsmanagement/lib/request/delete-compliance-policy-rule-request.ts index 16e15c6c5f..262754fcae 100644 --- a/lib/fleetappsmanagement/lib/request/delete-compliance-policy-rule-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-compliance-policy-rule-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-fleet-credential-request.ts b/lib/fleetappsmanagement/lib/request/delete-fleet-credential-request.ts index f3984afad9..64a2131f6e 100644 --- a/lib/fleetappsmanagement/lib/request/delete-fleet-credential-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-fleet-credential-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-fleet-property-request.ts b/lib/fleetappsmanagement/lib/request/delete-fleet-property-request.ts index 24b4698005..596bf4740a 100644 --- a/lib/fleetappsmanagement/lib/request/delete-fleet-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-fleet-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DeleteFleetPropertyRequest extends common.BaseRequest { /** - * unique FleetProperty identifier. + * Unique fleetProperty identifier. */ "fleetPropertyId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/delete-fleet-request.ts b/lib/fleetappsmanagement/lib/request/delete-fleet-request.ts index 1b67de5b60..1a2a1bd5b8 100644 --- a/lib/fleetappsmanagement/lib/request/delete-fleet-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-fleet-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-fleet-resource-request.ts b/lib/fleetappsmanagement/lib/request/delete-fleet-resource-request.ts index e081c75bcf..55905e5b24 100644 --- a/lib/fleetappsmanagement/lib/request/delete-fleet-resource-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-fleet-resource-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-maintenance-window-request.ts b/lib/fleetappsmanagement/lib/request/delete-maintenance-window-request.ts index e60e28fcda..7fcac79cd5 100644 --- a/lib/fleetappsmanagement/lib/request/delete-maintenance-window-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-maintenance-window-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-onboarding-request.ts b/lib/fleetappsmanagement/lib/request/delete-onboarding-request.ts index 4c67114630..5ac862d03a 100644 --- a/lib/fleetappsmanagement/lib/request/delete-onboarding-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-onboarding-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-patch-request.ts b/lib/fleetappsmanagement/lib/request/delete-patch-request.ts index 6f33f38b0d..b36b2b7143 100644 --- a/lib/fleetappsmanagement/lib/request/delete-patch-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-patch-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DeletePatchRequest extends common.BaseRequest { /** - * unique Patch identifier + * Unique Patch identifier. */ "patchId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/delete-platform-configuration-request.ts b/lib/fleetappsmanagement/lib/request/delete-platform-configuration-request.ts index 3566f51a12..1a33fdf816 100644 --- a/lib/fleetappsmanagement/lib/request/delete-platform-configuration-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-platform-configuration-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-property-request.ts b/lib/fleetappsmanagement/lib/request/delete-property-request.ts index 7548f3f6f6..e4154f595e 100644 --- a/lib/fleetappsmanagement/lib/request/delete-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-provision-request.ts b/lib/fleetappsmanagement/lib/request/delete-provision-request.ts new file mode 100644 index 0000000000..eb16ecc86a --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/delete-provision-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteProvision.ts.html |here} to see how to use DeleteProvisionRequest. + */ +export interface DeleteProvisionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "provisionId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/delete-runbook-request.ts b/lib/fleetappsmanagement/lib/request/delete-runbook-request.ts index 2994248999..ab08bfef42 100644 --- a/lib/fleetappsmanagement/lib/request/delete-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/delete-runbook-version-request.ts new file mode 100644 index 0000000000..d28180dc76 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/delete-runbook-version-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/DeleteRunbookVersion.ts.html |here} to see how to use DeleteRunbookVersionRequest. + */ +export interface DeleteRunbookVersionRequest extends common.BaseRequest { + /** + * Unique Runbook Version identifier + */ + "runbookVersionId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/delete-scheduler-definition-request.ts b/lib/fleetappsmanagement/lib/request/delete-scheduler-definition-request.ts index 05cd79e4ec..aa0ec8eed3 100644 --- a/lib/fleetappsmanagement/lib/request/delete-scheduler-definition-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-scheduler-definition-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-scheduler-job-request.ts b/lib/fleetappsmanagement/lib/request/delete-scheduler-job-request.ts index 7b2f32441f..fed9b41000 100644 --- a/lib/fleetappsmanagement/lib/request/delete-scheduler-job-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-scheduler-job-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/delete-task-record-request.ts b/lib/fleetappsmanagement/lib/request/delete-task-record-request.ts index 874c541603..7f18e4f285 100644 --- a/lib/fleetappsmanagement/lib/request/delete-task-record-request.ts +++ b/lib/fleetappsmanagement/lib/request/delete-task-record-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DeleteTaskRecordRequest extends common.BaseRequest { /** - * unique TaskDetail identifier + * The OCID of the task record. */ "taskRecordId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/enable-latest-policy-request.ts b/lib/fleetappsmanagement/lib/request/enable-latest-policy-request.ts index 128749cf4d..83515dd262 100644 --- a/lib/fleetappsmanagement/lib/request/enable-latest-policy-request.ts +++ b/lib/fleetappsmanagement/lib/request/enable-latest-policy-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/export-compliance-report-request.ts b/lib/fleetappsmanagement/lib/request/export-compliance-report-request.ts index 2e50eb0b8f..ad20003990 100644 --- a/lib/fleetappsmanagement/lib/request/export-compliance-report-request.ts +++ b/lib/fleetappsmanagement/lib/request/export-compliance-report-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/generate-compliance-report-request.ts b/lib/fleetappsmanagement/lib/request/generate-compliance-report-request.ts index db65d3087e..6f5e1a9b67 100644 --- a/lib/fleetappsmanagement/lib/request/generate-compliance-report-request.ts +++ b/lib/fleetappsmanagement/lib/request/generate-compliance-report-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GenerateComplianceReportRequest extends common.BaseRequest { /** - * Details for generating Compliance Report for the Fleet. + * Details for generating compliance report for the Fleet. */ "generateComplianceReportDetails": model.GenerateComplianceReportDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/get-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/get-catalog-item-request.ts new file mode 100644 index 0000000000..bee71f7011 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-catalog-item-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetCatalogItem.ts.html |here} to see how to use GetCatalogItemRequest. + */ +export interface GetCatalogItemRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-compliance-policy-request.ts b/lib/fleetappsmanagement/lib/request/get-compliance-policy-request.ts index ae90dab2a6..f2bf8e8a71 100644 --- a/lib/fleetappsmanagement/lib/request/get-compliance-policy-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-compliance-policy-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-compliance-policy-rule-request.ts b/lib/fleetappsmanagement/lib/request/get-compliance-policy-rule-request.ts index 9ea67b75fc..b2717a65d6 100644 --- a/lib/fleetappsmanagement/lib/request/get-compliance-policy-rule-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-compliance-policy-rule-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-compliance-report-request.ts b/lib/fleetappsmanagement/lib/request/get-compliance-report-request.ts index 9082b2204a..4eb9c42480 100644 --- a/lib/fleetappsmanagement/lib/request/get-compliance-report-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-compliance-report-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-execution-request.ts b/lib/fleetappsmanagement/lib/request/get-execution-request.ts index 6d6e4402af..41713e8856 100644 --- a/lib/fleetappsmanagement/lib/request/get-execution-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-execution-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-fleet-credential-request.ts b/lib/fleetappsmanagement/lib/request/get-fleet-credential-request.ts index 6c8672203c..6145dc53e3 100644 --- a/lib/fleetappsmanagement/lib/request/get-fleet-credential-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-fleet-credential-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-fleet-property-request.ts b/lib/fleetappsmanagement/lib/request/get-fleet-property-request.ts index 3f4b46a4a7..327b6b895a 100644 --- a/lib/fleetappsmanagement/lib/request/get-fleet-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-fleet-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GetFleetPropertyRequest extends common.BaseRequest { /** - * unique FleetProperty identifier. + * Unique fleetProperty identifier. */ "fleetPropertyId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/get-fleet-request.ts b/lib/fleetappsmanagement/lib/request/get-fleet-request.ts index 9e2fcdbf8b..5e77eac2bf 100644 --- a/lib/fleetappsmanagement/lib/request/get-fleet-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-fleet-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-fleet-resource-request.ts b/lib/fleetappsmanagement/lib/request/get-fleet-resource-request.ts index 1b2117542a..b00074f561 100644 --- a/lib/fleetappsmanagement/lib/request/get-fleet-resource-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-fleet-resource-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts b/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts index f034a344d1..9366b400e2 100644 --- a/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-job-activity-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-maintenance-window-request.ts b/lib/fleetappsmanagement/lib/request/get-maintenance-window-request.ts index b59f3bdb6b..130b0bd667 100644 --- a/lib/fleetappsmanagement/lib/request/get-maintenance-window-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-maintenance-window-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-onboarding-request.ts b/lib/fleetappsmanagement/lib/request/get-onboarding-request.ts index 873898abf5..099bd95b61 100644 --- a/lib/fleetappsmanagement/lib/request/get-onboarding-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-onboarding-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-patch-request.ts b/lib/fleetappsmanagement/lib/request/get-patch-request.ts index f70e3307e8..3fe565b9ae 100644 --- a/lib/fleetappsmanagement/lib/request/get-patch-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-patch-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GetPatchRequest extends common.BaseRequest { /** - * unique Patch identifier + * Unique Patch identifier. */ "patchId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/get-platform-configuration-request.ts b/lib/fleetappsmanagement/lib/request/get-platform-configuration-request.ts index 07a501615d..04d5764ca1 100644 --- a/lib/fleetappsmanagement/lib/request/get-platform-configuration-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-platform-configuration-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-property-request.ts b/lib/fleetappsmanagement/lib/request/get-property-request.ts index 9e44a496bb..59f0fbc444 100644 --- a/lib/fleetappsmanagement/lib/request/get-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-provision-request.ts b/lib/fleetappsmanagement/lib/request/get-provision-request.ts new file mode 100644 index 0000000000..965f9b069e --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-provision-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetProvision.ts.html |here} to see how to use GetProvisionRequest. + */ +export interface GetProvisionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "provisionId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-runbook-request.ts b/lib/fleetappsmanagement/lib/request/get-runbook-request.ts index 7ab4a25764..8af44bf4df 100644 --- a/lib/fleetappsmanagement/lib/request/get-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/get-runbook-version-request.ts new file mode 100644 index 0000000000..0429be1cda --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/get-runbook-version-request.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/GetRunbookVersion.ts.html |here} to see how to use GetRunbookVersionRequest. + */ +export interface GetRunbookVersionRequest extends common.BaseRequest { + /** + * Unique Runbook Version identifier + */ + "runbookVersionId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/get-scheduler-definition-request.ts b/lib/fleetappsmanagement/lib/request/get-scheduler-definition-request.ts index 0729657bbc..6d2a1f9719 100644 --- a/lib/fleetappsmanagement/lib/request/get-scheduler-definition-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-scheduler-definition-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-scheduler-job-request.ts b/lib/fleetappsmanagement/lib/request/get-scheduler-job-request.ts index b7506faae2..4a2e7470c5 100644 --- a/lib/fleetappsmanagement/lib/request/get-scheduler-job-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-scheduler-job-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/get-task-record-request.ts b/lib/fleetappsmanagement/lib/request/get-task-record-request.ts index d1eca0d7ad..e978144d4e 100644 --- a/lib/fleetappsmanagement/lib/request/get-task-record-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-task-record-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GetTaskRecordRequest extends common.BaseRequest { /** - * unique TaskDetail identifier + * The OCID of the task record. */ "taskRecordId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/get-work-request-request.ts b/lib/fleetappsmanagement/lib/request/get-work-request-request.ts index e5bf7d85c4..049adc95b0 100644 --- a/lib/fleetappsmanagement/lib/request/get-work-request-request.ts +++ b/lib/fleetappsmanagement/lib/request/get-work-request-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/index.ts b/lib/fleetappsmanagement/lib/request/index.ts index 35474d29e4..1ceda3dcef 100644 --- a/lib/fleetappsmanagement/lib/request/index.ts +++ b/lib/fleetappsmanagement/lib/request/index.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -12,6 +12,8 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as ChangeFleetCompartmentRequest from "./change-fleet-compartment-request"; +export import ChangeFleetCompartmentRequest = ChangeFleetCompartmentRequest.ChangeFleetCompartmentRequest; import * as CheckResourceTaggingRequest from "./check-resource-tagging-request"; export import CheckResourceTaggingRequest = CheckResourceTaggingRequest.CheckResourceTaggingRequest; import * as ConfirmTargetsRequest from "./confirm-targets-request"; @@ -44,8 +46,6 @@ import * as GetFleetPropertyRequest from "./get-fleet-property-request"; export import GetFleetPropertyRequest = GetFleetPropertyRequest.GetFleetPropertyRequest; import * as GetFleetResourceRequest from "./get-fleet-resource-request"; export import GetFleetResourceRequest = GetFleetResourceRequest.GetFleetResourceRequest; -import * as GetWorkRequestRequest from "./get-work-request-request"; -export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; import * as ListAnnouncementsRequest from "./list-announcements-request"; export import ListAnnouncementsRequest = ListAnnouncementsRequest.ListAnnouncementsRequest; import * as ListFleetCredentialsRequest from "./list-fleet-credentials-request"; @@ -64,12 +64,6 @@ import * as ListInventoryResourcesRequest from "./list-inventory-resources-reque export import ListInventoryResourcesRequest = ListInventoryResourcesRequest.ListInventoryResourcesRequest; import * as ListTargetsRequest from "./list-targets-request"; export import ListTargetsRequest = ListTargetsRequest.ListTargetsRequest; -import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; -export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; -import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; -export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; -import * as ListWorkRequestsRequest from "./list-work-requests-request"; -export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; import * as RequestResourceValidationRequest from "./request-resource-validation-request"; export import RequestResourceValidationRequest = RequestResourceValidationRequest.RequestResourceValidationRequest; import * as RequestTargetDiscoveryRequest from "./request-target-discovery-request"; @@ -82,6 +76,10 @@ import * as UpdateFleetPropertyRequest from "./update-fleet-property-request"; export import UpdateFleetPropertyRequest = UpdateFleetPropertyRequest.UpdateFleetPropertyRequest; import * as UpdateFleetResourceRequest from "./update-fleet-resource-request"; export import UpdateFleetResourceRequest = UpdateFleetResourceRequest.UpdateFleetResourceRequest; +import * as ChangePlatformConfigurationCompartmentRequest from "./change-platform-configuration-compartment-request"; +export import ChangePlatformConfigurationCompartmentRequest = ChangePlatformConfigurationCompartmentRequest.ChangePlatformConfigurationCompartmentRequest; +import * as ChangePropertyCompartmentRequest from "./change-property-compartment-request"; +export import ChangePropertyCompartmentRequest = ChangePropertyCompartmentRequest.ChangePropertyCompartmentRequest; import * as CreateCompliancePolicyRuleRequest from "./create-compliance-policy-rule-request"; export import CreateCompliancePolicyRuleRequest = CreateCompliancePolicyRuleRequest.CreateCompliancePolicyRuleRequest; import * as CreateOnboardingRequest from "./create-onboarding-request"; @@ -132,6 +130,20 @@ import * as UpdatePlatformConfigurationRequest from "./update-platform-configura export import UpdatePlatformConfigurationRequest = UpdatePlatformConfigurationRequest.UpdatePlatformConfigurationRequest; import * as UpdatePropertyRequest from "./update-property-request"; export import UpdatePropertyRequest = UpdatePropertyRequest.UpdatePropertyRequest; +import * as ChangeCatalogItemCompartmentRequest from "./change-catalog-item-compartment-request"; +export import ChangeCatalogItemCompartmentRequest = ChangeCatalogItemCompartmentRequest.ChangeCatalogItemCompartmentRequest; +import * as CloneCatalogItemRequest from "./clone-catalog-item-request"; +export import CloneCatalogItemRequest = CloneCatalogItemRequest.CloneCatalogItemRequest; +import * as CreateCatalogItemRequest from "./create-catalog-item-request"; +export import CreateCatalogItemRequest = CreateCatalogItemRequest.CreateCatalogItemRequest; +import * as DeleteCatalogItemRequest from "./delete-catalog-item-request"; +export import DeleteCatalogItemRequest = DeleteCatalogItemRequest.DeleteCatalogItemRequest; +import * as GetCatalogItemRequest from "./get-catalog-item-request"; +export import GetCatalogItemRequest = GetCatalogItemRequest.GetCatalogItemRequest; +import * as ListCatalogItemsRequest from "./list-catalog-items-request"; +export import ListCatalogItemsRequest = ListCatalogItemsRequest.ListCatalogItemsRequest; +import * as UpdateCatalogItemRequest from "./update-catalog-item-request"; +export import UpdateCatalogItemRequest = UpdateCatalogItemRequest.UpdateCatalogItemRequest; import * as CreateMaintenanceWindowRequest from "./create-maintenance-window-request"; export import CreateMaintenanceWindowRequest = CreateMaintenanceWindowRequest.CreateMaintenanceWindowRequest; import * as DeleteMaintenanceWindowRequest from "./delete-maintenance-window-request"; @@ -142,6 +154,8 @@ import * as ListMaintenanceWindowsRequest from "./list-maintenance-windows-reque export import ListMaintenanceWindowsRequest = ListMaintenanceWindowsRequest.ListMaintenanceWindowsRequest; import * as UpdateMaintenanceWindowRequest from "./update-maintenance-window-request"; export import UpdateMaintenanceWindowRequest = UpdateMaintenanceWindowRequest.UpdateMaintenanceWindowRequest; +import * as ChangePatchCompartmentRequest from "./change-patch-compartment-request"; +export import ChangePatchCompartmentRequest = ChangePatchCompartmentRequest.ChangePatchCompartmentRequest; import * as CreatePatchRequest from "./create-patch-request"; export import CreatePatchRequest = CreatePatchRequest.CreatePatchRequest; import * as CreateSchedulerDefinitionRequest from "./create-scheduler-definition-request"; @@ -168,6 +182,8 @@ import * as ListComplianceRecordsRequest from "./list-compliance-records-request export import ListComplianceRecordsRequest = ListComplianceRecordsRequest.ListComplianceRecordsRequest; import * as ListExecutionsRequest from "./list-executions-request"; export import ListExecutionsRequest = ListExecutionsRequest.ListExecutionsRequest; +import * as ListInventoryRecordsRequest from "./list-inventory-records-request"; +export import ListInventoryRecordsRequest = ListInventoryRecordsRequest.ListInventoryRecordsRequest; import * as ListPatchesRequest from "./list-patches-request"; export import ListPatchesRequest = ListPatchesRequest.ListPatchesRequest; import * as ListResourcesRequest from "./list-resources-request"; @@ -176,6 +192,8 @@ import * as ListScheduledFleetsRequest from "./list-scheduled-fleets-request"; export import ListScheduledFleetsRequest = ListScheduledFleetsRequest.ListScheduledFleetsRequest; import * as ListSchedulerDefinitionsRequest from "./list-scheduler-definitions-request"; export import ListSchedulerDefinitionsRequest = ListSchedulerDefinitionsRequest.ListSchedulerDefinitionsRequest; +import * as ListSchedulerExecutionsRequest from "./list-scheduler-executions-request"; +export import ListSchedulerExecutionsRequest = ListSchedulerExecutionsRequest.ListSchedulerExecutionsRequest; import * as ListSchedulerJobsRequest from "./list-scheduler-jobs-request"; export import ListSchedulerJobsRequest = ListSchedulerJobsRequest.ListSchedulerJobsRequest; import * as ListStepsRequest from "./list-steps-request"; @@ -194,18 +212,42 @@ import * as UpdateSchedulerDefinitionRequest from "./update-scheduler-definition export import UpdateSchedulerDefinitionRequest = UpdateSchedulerDefinitionRequest.UpdateSchedulerDefinitionRequest; import * as UpdateSchedulerJobRequest from "./update-scheduler-job-request"; export import UpdateSchedulerJobRequest = UpdateSchedulerJobRequest.UpdateSchedulerJobRequest; +import * as ChangeProvisionCompartmentRequest from "./change-provision-compartment-request"; +export import ChangeProvisionCompartmentRequest = ChangeProvisionCompartmentRequest.ChangeProvisionCompartmentRequest; +import * as CreateProvisionRequest from "./create-provision-request"; +export import CreateProvisionRequest = CreateProvisionRequest.CreateProvisionRequest; +import * as DeleteProvisionRequest from "./delete-provision-request"; +export import DeleteProvisionRequest = DeleteProvisionRequest.DeleteProvisionRequest; +import * as GetProvisionRequest from "./get-provision-request"; +export import GetProvisionRequest = GetProvisionRequest.GetProvisionRequest; +import * as ListProvisionsRequest from "./list-provisions-request"; +export import ListProvisionsRequest = ListProvisionsRequest.ListProvisionsRequest; +import * as UpdateProvisionRequest from "./update-provision-request"; +export import UpdateProvisionRequest = UpdateProvisionRequest.UpdateProvisionRequest; +import * as ChangeRunbookCompartmentRequest from "./change-runbook-compartment-request"; +export import ChangeRunbookCompartmentRequest = ChangeRunbookCompartmentRequest.ChangeRunbookCompartmentRequest; +import * as ChangeTaskRecordCompartmentRequest from "./change-task-record-compartment-request"; +export import ChangeTaskRecordCompartmentRequest = ChangeTaskRecordCompartmentRequest.ChangeTaskRecordCompartmentRequest; import * as CreateRunbookRequest from "./create-runbook-request"; export import CreateRunbookRequest = CreateRunbookRequest.CreateRunbookRequest; +import * as CreateRunbookVersionRequest from "./create-runbook-version-request"; +export import CreateRunbookVersionRequest = CreateRunbookVersionRequest.CreateRunbookVersionRequest; import * as CreateTaskRecordRequest from "./create-task-record-request"; export import CreateTaskRecordRequest = CreateTaskRecordRequest.CreateTaskRecordRequest; import * as DeleteRunbookRequest from "./delete-runbook-request"; export import DeleteRunbookRequest = DeleteRunbookRequest.DeleteRunbookRequest; +import * as DeleteRunbookVersionRequest from "./delete-runbook-version-request"; +export import DeleteRunbookVersionRequest = DeleteRunbookVersionRequest.DeleteRunbookVersionRequest; import * as DeleteTaskRecordRequest from "./delete-task-record-request"; export import DeleteTaskRecordRequest = DeleteTaskRecordRequest.DeleteTaskRecordRequest; import * as GetRunbookRequest from "./get-runbook-request"; export import GetRunbookRequest = GetRunbookRequest.GetRunbookRequest; +import * as GetRunbookVersionRequest from "./get-runbook-version-request"; +export import GetRunbookVersionRequest = GetRunbookVersionRequest.GetRunbookVersionRequest; import * as GetTaskRecordRequest from "./get-task-record-request"; export import GetTaskRecordRequest = GetTaskRecordRequest.GetTaskRecordRequest; +import * as ListRunbookVersionsRequest from "./list-runbook-versions-request"; +export import ListRunbookVersionsRequest = ListRunbookVersionsRequest.ListRunbookVersionsRequest; import * as ListRunbooksRequest from "./list-runbooks-request"; export import ListRunbooksRequest = ListRunbooksRequest.ListRunbooksRequest; import * as ListTaskRecordsRequest from "./list-task-records-request"; @@ -216,5 +258,15 @@ import * as SetDefaultRunbookRequest from "./set-default-runbook-request"; export import SetDefaultRunbookRequest = SetDefaultRunbookRequest.SetDefaultRunbookRequest; import * as UpdateRunbookRequest from "./update-runbook-request"; export import UpdateRunbookRequest = UpdateRunbookRequest.UpdateRunbookRequest; +import * as UpdateRunbookVersionRequest from "./update-runbook-version-request"; +export import UpdateRunbookVersionRequest = UpdateRunbookVersionRequest.UpdateRunbookVersionRequest; import * as UpdateTaskRecordRequest from "./update-task-record-request"; export import UpdateTaskRecordRequest = UpdateTaskRecordRequest.UpdateTaskRecordRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; diff --git a/lib/fleetappsmanagement/lib/request/list-announcements-request.ts b/lib/fleetappsmanagement/lib/request/list-announcements-request.ts index a10a03589d..139c04d996 100644 --- a/lib/fleetappsmanagement/lib/request/list-announcements-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-announcements-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,6 +18,10 @@ import common = require("oci-common"); * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListAnnouncements.ts.html |here} to see how to use ListAnnouncementsRequest. */ export interface ListAnnouncementsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; /** * Filter the list of announcements that contains the given summary value. * diff --git a/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts b/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts new file mode 100644 index 0000000000..aeed89ea8d --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-catalog-items-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListCatalogItems.ts.html |here} to see how to use ListCatalogItemsRequest. + */ +export interface ListCatalogItemsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * The [ConfigSourceType](https://docs.oracle.com/iaas/definitions/CatalogItem/configSourceType) Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, URL_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE. + * + */ + "configSourceType"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort by. Default value for {@code timeCreated} + * is descending. Default order for {@code displayName} is ascending + * + */ + "sortBy"?: model.CatalogItemSortBy; + /** + * A filter to return only resources that match the entire display name given. + */ + "displayName"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * catalogListingId of the package. This is an integer whose min and max length are specified. + */ + "catalogListingId"?: string; + /** + * Parameter to list all catalog items only with latest version or list all catalog items with all versions. + */ + "catalogListingVersionCriteria"?: model.CatalogListingVersionCriteriaEnum; + /** + * The indicator to append Public Items from the root compartment to any query, when set to TRUE. + */ + "shouldListPublicItems"?: boolean; +} diff --git a/lib/fleetappsmanagement/lib/request/list-compliance-policies-request.ts b/lib/fleetappsmanagement/lib/request/list-compliance-policies-request.ts index b8d6e26083..c5578b596e 100644 --- a/lib/fleetappsmanagement/lib/request/list-compliance-policies-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-compliance-policies-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListCompliancePoliciesRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -33,7 +35,13 @@ export interface ListCompliancePoliciesRequest extends common.BaseRequest { */ "displayName"?: string; /** - * unique CompliancePolicy identifier. + * A filter to return Platform Configurations whose type matches the given type. + */ + "type"?: string; + /** + * Unique identifier or OCID for listing a single Compliance Policy by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -52,16 +60,9 @@ export interface ListCompliancePoliciesRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListCompliancePoliciesRequest.SortBy; + "sortBy"?: model.CompliancePolicySortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListCompliancePoliciesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-compliance-policy-rules-request.ts b/lib/fleetappsmanagement/lib/request/list-compliance-policy-rules-request.ts index 226dfe6045..b5d8665e87 100644 --- a/lib/fleetappsmanagement/lib/request/list-compliance-policy-rules-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-compliance-policy-rules-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListCompliancePolicyRulesRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -41,7 +43,9 @@ export interface ListCompliancePolicyRulesRequest extends common.BaseRequest { */ "compliancePolicyId"?: string; /** - * unique CompliancePolicyRule identifier. + * Unique identifier or OCID for listing a single Compliance Policy Rule by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -60,16 +64,9 @@ export interface ListCompliancePolicyRulesRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListCompliancePolicyRulesRequest.SortBy; + "sortBy"?: model.CompliancePolicyRuleSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListCompliancePolicyRulesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-compliance-records-request.ts b/lib/fleetappsmanagement/lib/request/list-compliance-records-request.ts index fe9767e192..b3b1ff5c60 100644 --- a/lib/fleetappsmanagement/lib/request/list-compliance-records-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-compliance-records-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -21,7 +21,7 @@ export interface ListComplianceRecordsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. */ - "compartmentId"?: string; + "compartmentId": string; /** * Resource identifier. */ @@ -46,6 +46,12 @@ export interface ListComplianceRecordsRequest extends common.BaseRequest { * Target Compliance State. */ "complianceState"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * The maximum number of items to return. */ @@ -62,16 +68,9 @@ export interface ListComplianceRecordsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListComplianceRecordsRequest.SortBy; + "sortBy"?: model.ComplianceRecordSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListComplianceRecordsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-executions-request.ts b/lib/fleetappsmanagement/lib/request/list-executions-request.ts index 491590b98c..b3f9ca2f8b 100644 --- a/lib/fleetappsmanagement/lib/request/list-executions-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-executions-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-credentials-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-credentials-request.ts index e37f304e22..aea2e99182 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-credentials-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-credentials-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,10 +22,6 @@ export interface ListFleetCredentialsRequest extends common.BaseRequest { * Unique Fleet identifier. */ "fleetId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId"?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ @@ -66,16 +62,9 @@ export interface ListFleetCredentialsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListFleetCredentialsRequest.SortBy; + "sortBy"?: model.FleetCredentialSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetCredentialsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-products-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-products-request.ts index 760c0f3b45..b7994850ad 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-products-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-products-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,6 +24,8 @@ export interface ListFleetProductsRequest extends common.BaseRequest { "fleetId": string; /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -54,16 +56,9 @@ export interface ListFleetProductsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for displayName and resourceDisplayName is ascending. * */ - "sortBy"?: ListFleetProductsRequest.SortBy; + "sortBy"?: model.ProductSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetProductsRequest { - export enum SortBy { - DisplayName = "displayName", - ResourceDisplayName = "resourceDisplayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-properties-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-properties-request.ts index 303b50fb07..fd8a32f8b8 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-properties-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-properties-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,10 +22,6 @@ export interface ListFleetPropertiesRequest extends common.BaseRequest { * Unique Fleet identifier. */ "fleetId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId"?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ @@ -54,16 +50,9 @@ export interface ListFleetPropertiesRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListFleetPropertiesRequest.SortBy; + "sortBy"?: model.FleetPropertySortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetPropertiesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-resources-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-resources-request.ts index ccb4d9c76d..b3c3c12a4d 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-resources-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-resources-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,10 +22,6 @@ export interface ListFleetResourcesRequest extends common.BaseRequest { * Unique Fleet identifier. */ "fleetId": string; - /** - * Resource Tenancy Id - */ - "tenancyId"?: string; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ @@ -58,16 +54,9 @@ export interface ListFleetResourcesRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListFleetResourcesRequest.SortBy; + "sortBy"?: model.FleetResourceSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetResourcesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts b/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts index 1270efe3fe..fa90e32bcb 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleet-targets-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -54,17 +54,9 @@ export interface ListFleetTargetsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for displayName,product and resourceDisplayName is ascending. * */ - "sortBy"?: ListFleetTargetsRequest.SortBy; + "sortBy"?: model.TargetSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetTargetsRequest { - export enum SortBy { - DisplayName = "displayName", - Product = "product", - ResourceDisplayName = "resourceDisplayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-fleets-request.ts b/lib/fleetappsmanagement/lib/request/list-fleets-request.ts index 59cfbdb26e..c2217cd905 100644 --- a/lib/fleetappsmanagement/lib/request/list-fleets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-fleets-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -24,6 +24,8 @@ export interface ListFleetsRequest extends common.BaseRequest { "lifecycleState"?: string; /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -35,7 +37,7 @@ export interface ListFleetsRequest extends common.BaseRequest { */ "applicationType"?: string; /** - * A filter to return resources that match the Product given. + * A filter to return resources that match the Product/Product Stack given. */ "product"?: string; /** @@ -47,7 +49,9 @@ export interface ListFleetsRequest extends common.BaseRequest { */ "displayName"?: string; /** - * A filter to return fleets whose id matches the given Fleet identifier + * Unique identifier or OCID for listing a single fleet by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -66,16 +70,9 @@ export interface ListFleetsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListFleetsRequest.SortBy; + "sortBy"?: model.FleetSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListFleetsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts b/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts new file mode 100644 index 0000000000..86785d1532 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-inventory-records-request.ts @@ -0,0 +1,70 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListInventoryRecords.ts.html |here} to see how to use ListInventoryRecordsRequest. + */ +export interface ListInventoryRecordsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; + /** + * unique Fleet identifier + */ + "fleetId"?: string; + /** + * Resource Identifier + */ + "resourceId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The field to sort by. Only one sort order may be provided. + * + */ + "sortBy"?: ListInventoryRecordsRequest.SortBy; +} + +export namespace ListInventoryRecordsRequest { + export enum SortBy { + TargetName = "targetName", + TargetProductName = "targetProductName", + TargetResourceId = "targetResourceId", + OsType = "osType", + Architecture = "architecture" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-inventory-resources-request.ts b/lib/fleetappsmanagement/lib/request/list-inventory-resources-request.ts index 0edcca0026..b923077bd3 100644 --- a/lib/fleetappsmanagement/lib/request/list-inventory-resources-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-inventory-resources-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -82,17 +82,11 @@ export interface ListInventoryResourcesRequest extends common.BaseRequest { /** * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * + * */ - "sortBy"?: ListInventoryResourcesRequest.SortBy; + "sortBy"?: model.InventoryResourceSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListInventoryResourcesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-maintenance-windows-request.ts b/lib/fleetappsmanagement/lib/request/list-maintenance-windows-request.ts index abba85cca2..3409978206 100644 --- a/lib/fleetappsmanagement/lib/request/list-maintenance-windows-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-maintenance-windows-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListMaintenanceWindowsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -35,7 +37,9 @@ export interface ListMaintenanceWindowsRequest extends common.BaseRequest { */ "timeScheduleStartGreaterThanOrEqualTo"?: Date; /** - * A filter to return only the Maintenance Windows whose identifier matches the given identifier. + * Unique identifier or OCID for listing a single maintenance window by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -54,16 +58,9 @@ export interface ListMaintenanceWindowsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListMaintenanceWindowsRequest.SortBy; + "sortBy"?: model.MaintenanceWindowSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListMaintenanceWindowsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-onboarding-policies-request.ts b/lib/fleetappsmanagement/lib/request/list-onboarding-policies-request.ts index 49fb38c75a..68885916d3 100644 --- a/lib/fleetappsmanagement/lib/request/list-onboarding-policies-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-onboarding-policies-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -18,6 +18,10 @@ import common = require("oci-common"); * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListOnboardingPolicies.ts.html |here} to see how to use ListOnboardingPoliciesRequest. */ export interface ListOnboardingPoliciesRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; /** * The maximum number of items to return. */ diff --git a/lib/fleetappsmanagement/lib/request/list-onboardings-request.ts b/lib/fleetappsmanagement/lib/request/list-onboardings-request.ts index 321e212ca9..0e371921c3 100644 --- a/lib/fleetappsmanagement/lib/request/list-onboardings-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-onboardings-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListOnboardingsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -27,7 +29,9 @@ export interface ListOnboardingsRequest extends common.BaseRequest { */ "lifecycleState"?: string; /** - * unique onboarding identifier + * Unique identifier or OCID for listing a single onboarding by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -46,16 +50,9 @@ export interface ListOnboardingsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListOnboardingsRequest.SortBy; + "sortBy"?: model.SortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListOnboardingsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-patches-request.ts b/lib/fleetappsmanagement/lib/request/list-patches-request.ts index 90726a63c7..5e80b635d5 100644 --- a/lib/fleetappsmanagement/lib/request/list-patches-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-patches-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListPatchesRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -27,7 +29,7 @@ export interface ListPatchesRequest extends common.BaseRequest { */ "productId"?: string; /** - * Product version + * Product version. */ "version"?: string; /** @@ -43,19 +45,21 @@ export interface ListPatchesRequest extends common.BaseRequest { */ "name"?: string; /** - * unique Patch identifier + * Unique identifier or OCID for listing a single Patch by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** - * Patch Released Date + * A filter to return patches whose release date is greater than or equal to the given date. */ "timeReleasedGreaterThanOrEqualTo"?: Date; /** - * Patch Released Date + * A filter to return patches whose release date is less than the given date. */ "timeReleasedLessThan"?: Date; /** - * Filter patch based on compliance policy rules for the Product + * Filter patch based on compliance policy rules for the Product. */ "shouldCompliancePolicyRulesBeApplied"?: boolean; /** @@ -71,10 +75,10 @@ export interface ListPatchesRequest extends common.BaseRequest { */ "lifecycleState"?: string; /** - * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. * */ - "sortBy"?: ListPatchesRequest.SortBy; + "sortBy"?: model.PatchSortBy; /** * The sort order to use, either 'ASC' or 'DESC'. */ @@ -84,10 +88,3 @@ export interface ListPatchesRequest extends common.BaseRequest { */ "opcRequestId"?: string; } - -export namespace ListPatchesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-platform-configurations-request.ts b/lib/fleetappsmanagement/lib/request/list-platform-configurations-request.ts index 051fe48ed2..b3ba3e85dc 100644 --- a/lib/fleetappsmanagement/lib/request/list-platform-configurations-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-platform-configurations-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListPlatformConfigurationsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -31,13 +33,25 @@ export interface ListPlatformConfigurationsRequest extends common.BaseRequest { */ "displayName"?: string; /** - * unique PlatformConfiguration identifier + * Unique identifier or OCID for listing a single Platform Configuration by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** * Config Category */ "configCategory"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; + /** + * A filter to return Platform Configurations whose type matches the given type. + */ + "type"?: string; /** * The maximum number of items to return. */ @@ -54,16 +68,9 @@ export interface ListPlatformConfigurationsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListPlatformConfigurationsRequest.SortBy; + "sortBy"?: model.PlatformConfigurationSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListPlatformConfigurationsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-properties-request.ts b/lib/fleetappsmanagement/lib/request/list-properties-request.ts index 3c12911380..fcd57a47dc 100644 --- a/lib/fleetappsmanagement/lib/request/list-properties-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-properties-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListPropertiesRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -31,9 +33,16 @@ export interface ListPropertiesRequest extends common.BaseRequest { */ "displayName"?: string; /** - * A filter to return only resources whose Property identifier matches the given identifier. + * Unique identifier or OCID for listing a single Property by id. + * Either compartmentId or id must be provided. + * + * */ "id"?: string; + /** + * A filter to return properties whose type matches the given type. + */ + "type"?: string; /** * A filter to return only resources their scope matches the given scope. */ @@ -54,16 +63,9 @@ export interface ListPropertiesRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListPropertiesRequest.SortBy; + "sortBy"?: model.PropertySortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListPropertiesRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-provisions-request.ts b/lib/fleetappsmanagement/lib/request/list-provisions-request.ts new file mode 100644 index 0000000000..839010bcab --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-provisions-request.ts @@ -0,0 +1,68 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListProvisions.ts.html |here} to see how to use ListProvisionsRequest. + */ +export interface ListProvisionsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the entire display name given. + */ + "displayName"?: string; + /** + * Unique identifier or OCID for listing a single provision by id. + * Either compartmentId or id must be provided. + * + */ + "id"?: string; + /** + * unique Fleet identifier + */ + "fleetId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: model.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/list-resources-request.ts b/lib/fleetappsmanagement/lib/request/list-resources-request.ts index e6b9796001..a04d55f107 100644 --- a/lib/fleetappsmanagement/lib/request/list-resources-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-resources-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/list-runbook-versions-request.ts b/lib/fleetappsmanagement/lib/request/list-runbook-versions-request.ts new file mode 100644 index 0000000000..c33f5373fd --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-runbook-versions-request.ts @@ -0,0 +1,64 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListRunbookVersions.ts.html |here} to see how to use ListRunbookVersionsRequest. + */ +export interface ListRunbookVersionsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * + */ + "compartmentId"?: string; + /** + * A filter to return only resources whose lifecycleState matches the given lifecycleState. + */ + "lifecycleState"?: string; + /** + * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. + */ + "runbookId"?: string; + /** + * A filter to return runbook versions whose identifier matches the given identifier. + */ + "id"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. + * + */ + "sortBy"?: model.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A filter to return only resources that match the entire name given. + */ + "name"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts b/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts index 944dcb5cd9..83af655806 100644 --- a/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-runbooks-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListRunbooksRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -31,17 +33,15 @@ export interface ListRunbooksRequest extends common.BaseRequest { */ "displayName"?: string; /** - * A filter to return runbooks whose identifier matches the given identifier. + * Unique identifier or OCID for listing a single Runbook by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** * A filter to return runbooks whose type matches the given type. */ "type"?: string; - /** - * A filter to return runbooks whose runbookRelevance matches the given runbookRelevance. - */ - "runbookRelevance"?: string; /** * A filter to return runbooks whose platform matches the given platform. */ @@ -63,19 +63,14 @@ export interface ListRunbooksRequest extends common.BaseRequest { */ "sortOrder"?: model.SortOrder; /** - * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. - * - */ - "sortBy"?: ListRunbooksRequest.SortBy; + * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. +*

+ +* + */ + "sortBy"?: model.RunbookSortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListRunbooksRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-scheduled-fleets-request.ts b/lib/fleetappsmanagement/lib/request/list-scheduled-fleets-request.ts index 5a04efe316..542a9c1f7a 100644 --- a/lib/fleetappsmanagement/lib/request/list-scheduled-fleets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-scheduled-fleets-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -22,10 +22,6 @@ export interface ListScheduledFleetsRequest extends common.BaseRequest { * unique SchedulerDefinition identifier */ "schedulerDefinitionId": string; - /** - * The ID of the compartment in which to list resources. - */ - "compartmentId"?: string; /** * A filter to return only resources that match the entire display name given. */ diff --git a/lib/fleetappsmanagement/lib/request/list-scheduler-definitions-request.ts b/lib/fleetappsmanagement/lib/request/list-scheduler-definitions-request.ts index ccd974b0ca..2e414133ee 100644 --- a/lib/fleetappsmanagement/lib/request/list-scheduler-definitions-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-scheduler-definitions-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListSchedulerDefinitionsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** @@ -35,7 +37,9 @@ export interface ListSchedulerDefinitionsRequest extends common.BaseRequest { */ "product"?: string; /** - * A filter to return only schedule definitions whose identifier matches the given identifier. + * Unique identifier or OCID for listing a single Schedule Definition by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** @@ -46,6 +50,18 @@ export interface ListSchedulerDefinitionsRequest extends common.BaseRequest { * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. */ "runbookId"?: string; + /** + * RunbookVersion Name filter + */ + "runbookVersionName"?: string; + /** + * Scheduled Time + */ + "timeScheduledGreaterThanOrEqualTo"?: Date; + /** + * Scheduled Time + */ + "timeScheduledLessThan"?: Date; /** * unique Fleet identifier */ diff --git a/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts b/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts new file mode 100644 index 0000000000..51c9690139 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/list-scheduler-executions-request.ts @@ -0,0 +1,91 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/ListSchedulerExecutions.ts.html |here} to see how to use ListSchedulerExecutionsRequest. + */ +export interface ListSchedulerExecutionsRequest extends common.BaseRequest { + /** + * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the entire display name given. + */ + "displayName"?: string; + /** + * Scheduled Time + */ + "timeScheduledGreaterThanOrEqualTo"?: Date; + /** + * Scheduled Time + */ + "timeScheduledLessThan"?: Date; + /** + * SchedulerDefinition identifier + */ + "schedulerDefintionId"?: string; + /** + * SchedulerJob identifier filter + */ + "schedulerJobId"?: string; + /** + * ResourceId filter (Example FleetId) + */ + "resourceId"?: string; + /** + * A filter to return only schedule definitions whose associated runbookId matches the given runbookId. + */ + "runbookId"?: string; + /** + * RunbookVersion Name filter + */ + "runbookVersionName"?: string; + /** + * A filter to return only resources their subState matches the given subState. + */ + "substate"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * A token representing the position at which to start retrieving results. This must come from the {@code opc-next-page} header field of a previous response. + */ + "page"?: string; + /** + * The sort order to use, either 'ASC' or 'DESC'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for timeCreated and timeScheduled is descending. + * + */ + "sortBy"?: ListSchedulerExecutionsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListSchedulerExecutionsRequest { + export enum SortBy { + TimeCreated = "timeCreated", + TimeScheduled = "timeScheduled" + } +} diff --git a/lib/fleetappsmanagement/lib/request/list-scheduler-jobs-request.ts b/lib/fleetappsmanagement/lib/request/list-scheduler-jobs-request.ts index 615dbfb155..a62377b1a6 100644 --- a/lib/fleetappsmanagement/lib/request/list-scheduler-jobs-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-scheduler-jobs-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,8 +20,16 @@ import common = require("oci-common"); export interface ListSchedulerJobsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ @@ -45,19 +53,21 @@ export interface ListSchedulerJobsRequest extends common.BaseRequest { /** * A filter to return only resources their subState matches the given subState. */ - "subState"?: string; + "substate"?: string; /** * A filter to return only resources that match the entire display name given. */ "displayName"?: string; /** - * unique SchedulerJob identifier + * Unique identifier or OCID for listing a single Schedule Job by id. + * Either compartmentId or id must be provided. + * */ "id"?: string; /** - * SchedulerJob Definition identifier + * SchedulerDefinition identifier */ - "defintionId"?: string; + "schedulerDefintionId"?: string; /** * The maximum number of items to return. */ diff --git a/lib/fleetappsmanagement/lib/request/list-steps-request.ts b/lib/fleetappsmanagement/lib/request/list-steps-request.ts index 5619e11723..196564c9c2 100644 --- a/lib/fleetappsmanagement/lib/request/list-steps-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-steps-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/list-targets-request.ts b/lib/fleetappsmanagement/lib/request/list-targets-request.ts index a2e7ec551e..2d56f3c952 100644 --- a/lib/fleetappsmanagement/lib/request/list-targets-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-targets-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -42,16 +42,9 @@ export interface ListTargetsRequest extends common.BaseRequest { * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListTargetsRequest.SortBy; + "sortBy"?: model.SortBy; /** * The client request ID for tracing. */ "opcRequestId"?: string; } - -export namespace ListTargetsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-task-records-request.ts b/lib/fleetappsmanagement/lib/request/list-task-records-request.ts index 9fcb48f6e3..fe70a87507 100644 --- a/lib/fleetappsmanagement/lib/request/list-task-records-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-task-records-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,10 +20,12 @@ import common = require("oci-common"); export interface ListTaskRecordsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** - * The platform for the Task. + * The platform for the task record. */ "platform"?: string; /** @@ -35,7 +37,14 @@ export interface ListTaskRecordsRequest extends common.BaseRequest { */ "displayName"?: string; /** - * unique TaskDetail identifier + * A filter to return task records whose operation matches the given lifecycle operation. + */ + "operation"?: string; + /** + * Unique identifier or OCID for listing a single task record by id. + * Either compartmentId or id must be provided. + * + * */ "id"?: string; /** @@ -47,14 +56,14 @@ export interface ListTaskRecordsRequest extends common.BaseRequest { */ "page"?: string; /** - * The current state of the Task. + * The current state of the task record. */ "lifecycleState"?: string; /** * The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. * */ - "sortBy"?: ListTaskRecordsRequest.SortBy; + "sortBy"?: model.TaskRecordSortBy; /** * The sort order to use, either 'ASC' or 'DESC'. */ @@ -64,10 +73,3 @@ export interface ListTaskRecordsRequest extends common.BaseRequest { */ "opcRequestId"?: string; } - -export namespace ListTaskRecordsRequest { - export enum SortBy { - TimeCreated = "timeCreated", - DisplayName = "displayName" - } -} diff --git a/lib/fleetappsmanagement/lib/request/list-work-request-errors-request.ts b/lib/fleetappsmanagement/lib/request/list-work-request-errors-request.ts index 6a68afcc0c..12d261ea07 100644 --- a/lib/fleetappsmanagement/lib/request/list-work-request-errors-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-work-request-errors-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/list-work-request-logs-request.ts b/lib/fleetappsmanagement/lib/request/list-work-request-logs-request.ts index 3aded5a488..d0da4c3d25 100644 --- a/lib/fleetappsmanagement/lib/request/list-work-request-logs-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-work-request-logs-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/list-work-requests-request.ts b/lib/fleetappsmanagement/lib/request/list-work-requests-request.ts index d6ab4dc979..345c5f6b1b 100644 --- a/lib/fleetappsmanagement/lib/request/list-work-requests-request.ts +++ b/lib/fleetappsmanagement/lib/request/list-work-requests-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,6 +20,8 @@ import common = require("oci-common"); export interface ListWorkRequestsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; /** diff --git a/lib/fleetappsmanagement/lib/request/manage-job-execution-request.ts b/lib/fleetappsmanagement/lib/request/manage-job-execution-request.ts index 84557f0ecf..3393911bdb 100644 --- a/lib/fleetappsmanagement/lib/request/manage-job-execution-request.ts +++ b/lib/fleetappsmanagement/lib/request/manage-job-execution-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/manage-settings-request.ts b/lib/fleetappsmanagement/lib/request/manage-settings-request.ts index b96591bff8..9d4e5cceb9 100644 --- a/lib/fleetappsmanagement/lib/request/manage-settings-request.ts +++ b/lib/fleetappsmanagement/lib/request/manage-settings-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/publish-runbook-request.ts b/lib/fleetappsmanagement/lib/request/publish-runbook-request.ts index b851e98c03..2a2c80f008 100644 --- a/lib/fleetappsmanagement/lib/request/publish-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/publish-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface PublishRunbookRequest extends common.BaseRequest { /** - * Details for publishing the Runbook. + * Details for publishing the specified version of runbook. */ "publishRunbookDetails": model.PublishRunbookDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/request-resource-validation-request.ts b/lib/fleetappsmanagement/lib/request/request-resource-validation-request.ts index 6910944230..df08ebf425 100644 --- a/lib/fleetappsmanagement/lib/request/request-resource-validation-request.ts +++ b/lib/fleetappsmanagement/lib/request/request-resource-validation-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/request-target-discovery-request.ts b/lib/fleetappsmanagement/lib/request/request-target-discovery-request.ts index 7beab2879b..13a52a72c7 100644 --- a/lib/fleetappsmanagement/lib/request/request-target-discovery-request.ts +++ b/lib/fleetappsmanagement/lib/request/request-target-discovery-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/set-default-runbook-request.ts b/lib/fleetappsmanagement/lib/request/set-default-runbook-request.ts index 2139552250..f3df11f475 100644 --- a/lib/fleetappsmanagement/lib/request/set-default-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/set-default-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface SetDefaultRunbookRequest extends common.BaseRequest { /** - * Details for setting the Runbook as default. + * Details for setting the runbook as default for a platform and operation. */ "setDefaultRunbookDetails": model.SetDefaultRunbookDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/summarize-compliance-record-counts-request.ts b/lib/fleetappsmanagement/lib/request/summarize-compliance-record-counts-request.ts index 02c6df1a8c..ff94dd336e 100644 --- a/lib/fleetappsmanagement/lib/request/summarize-compliance-record-counts-request.ts +++ b/lib/fleetappsmanagement/lib/request/summarize-compliance-record-counts-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,8 +20,16 @@ import common = require("oci-common"); export interface SummarizeComplianceRecordCountsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * The client request ID for tracing. */ diff --git a/lib/fleetappsmanagement/lib/request/summarize-managed-entity-counts-request.ts b/lib/fleetappsmanagement/lib/request/summarize-managed-entity-counts-request.ts index 4590974d4d..f036f0aedd 100644 --- a/lib/fleetappsmanagement/lib/request/summarize-managed-entity-counts-request.ts +++ b/lib/fleetappsmanagement/lib/request/summarize-managed-entity-counts-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,8 +20,16 @@ import common = require("oci-common"); export interface SummarizeManagedEntityCountsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * The client request ID for tracing. */ diff --git a/lib/fleetappsmanagement/lib/request/summarize-scheduler-job-counts-request.ts b/lib/fleetappsmanagement/lib/request/summarize-scheduler-job-counts-request.ts index b8b7c827e2..3635192a31 100644 --- a/lib/fleetappsmanagement/lib/request/summarize-scheduler-job-counts-request.ts +++ b/lib/fleetappsmanagement/lib/request/summarize-scheduler-job-counts-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -20,8 +20,16 @@ import common = require("oci-common"); export interface SummarizeSchedulerJobCountsRequest extends common.BaseRequest { /** * The ID of the compartment in which to list resources. + * Empty only if the resource OCID query param is not specified. + * */ "compartmentId"?: string; + /** + * If set to true, resources will be returned for not only the provided compartment, but all compartments which + * descend from it. Which resources are returned and their field contents depends on the value of accessLevel. + * + */ + "compartmentIdInSubtree"?: boolean; /** * The client request ID for tracing. */ diff --git a/lib/fleetappsmanagement/lib/request/update-catalog-item-request.ts b/lib/fleetappsmanagement/lib/request/update-catalog-item-request.ts new file mode 100644 index 0000000000..585919a126 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/update-catalog-item-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateCatalogItem.ts.html |here} to see how to use UpdateCatalogItemRequest. + */ +export interface UpdateCatalogItemRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the CatalogItem. + */ + "catalogItemId": string; + /** + * The information to be updated. + */ + "updateCatalogItemDetails": model.UpdateCatalogItemDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/update-compliance-policy-rule-request.ts b/lib/fleetappsmanagement/lib/request/update-compliance-policy-rule-request.ts index 34db235b61..4a59253229 100644 --- a/lib/fleetappsmanagement/lib/request/update-compliance-policy-rule-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-compliance-policy-rule-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-fleet-credential-request.ts b/lib/fleetappsmanagement/lib/request/update-fleet-credential-request.ts index fd5fcbe82c..a17c612784 100644 --- a/lib/fleetappsmanagement/lib/request/update-fleet-credential-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-fleet-credential-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-fleet-property-request.ts b/lib/fleetappsmanagement/lib/request/update-fleet-property-request.ts index 8830cb9f04..0d876cc10d 100644 --- a/lib/fleetappsmanagement/lib/request/update-fleet-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-fleet-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface UpdateFleetPropertyRequest extends common.BaseRequest { /** - * unique FleetProperty identifier. + * Unique fleetProperty identifier. */ "fleetPropertyId": string; /** @@ -27,7 +27,7 @@ export interface UpdateFleetPropertyRequest extends common.BaseRequest { */ "fleetId": string; /** - * The information to be updated. + * Attributes to update a fleet property. */ "updateFleetPropertyDetails": model.UpdateFleetPropertyDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/update-fleet-request.ts b/lib/fleetappsmanagement/lib/request/update-fleet-request.ts index 061acc0480..dd5070d92d 100644 --- a/lib/fleetappsmanagement/lib/request/update-fleet-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-fleet-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-fleet-resource-request.ts b/lib/fleetappsmanagement/lib/request/update-fleet-resource-request.ts index 210704f5a9..86b273b4b1 100644 --- a/lib/fleetappsmanagement/lib/request/update-fleet-resource-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-fleet-resource-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-maintenance-window-request.ts b/lib/fleetappsmanagement/lib/request/update-maintenance-window-request.ts index e74fcacdd1..3908535318 100644 --- a/lib/fleetappsmanagement/lib/request/update-maintenance-window-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-maintenance-window-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-onboarding-request.ts b/lib/fleetappsmanagement/lib/request/update-onboarding-request.ts index c34e0a8842..5d6c644448 100644 --- a/lib/fleetappsmanagement/lib/request/update-onboarding-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-onboarding-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-patch-request.ts b/lib/fleetappsmanagement/lib/request/update-patch-request.ts index bbbf493069..9a4f895762 100644 --- a/lib/fleetappsmanagement/lib/request/update-patch-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-patch-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface UpdatePatchRequest extends common.BaseRequest { /** - * unique Patch identifier + * Unique Patch identifier. */ "patchId": string; /** diff --git a/lib/fleetappsmanagement/lib/request/update-platform-configuration-request.ts b/lib/fleetappsmanagement/lib/request/update-platform-configuration-request.ts index 1001a4186b..8419b1524c 100644 --- a/lib/fleetappsmanagement/lib/request/update-platform-configuration-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-platform-configuration-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-property-request.ts b/lib/fleetappsmanagement/lib/request/update-property-request.ts index d06d157dc5..f2dd998c35 100644 --- a/lib/fleetappsmanagement/lib/request/update-property-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-property-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-provision-request.ts b/lib/fleetappsmanagement/lib/request/update-provision-request.ts new file mode 100644 index 0000000000..f907188763 --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/update-provision-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateProvision.ts.html |here} to see how to use UpdateProvisionRequest. + */ +export interface UpdateProvisionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the FamProvision. + */ + "provisionId": string; + /** + * The information to be updated. + */ + "updateProvisionDetails": model.UpdateProvisionDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/update-runbook-request.ts b/lib/fleetappsmanagement/lib/request/update-runbook-request.ts index 6e062de591..18d1636898 100644 --- a/lib/fleetappsmanagement/lib/request/update-runbook-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-runbook-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-runbook-version-request.ts b/lib/fleetappsmanagement/lib/request/update-runbook-version-request.ts new file mode 100644 index 0000000000..2400b5ae0c --- /dev/null +++ b/lib/fleetappsmanagement/lib/request/update-runbook-version-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/fleetappsmanagement/UpdateRunbookVersion.ts.html |here} to see how to use UpdateRunbookVersionRequest. + */ +export interface UpdateRunbookVersionRequest extends common.BaseRequest { + /** + * Unique Runbook Version identifier + */ + "runbookVersionId": string; + /** + * The information to be updated. + */ + "updateRunbookVersionDetails": model.UpdateRunbookVersionDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/fleetappsmanagement/lib/request/update-scheduler-definition-request.ts b/lib/fleetappsmanagement/lib/request/update-scheduler-definition-request.ts index 9d7ca9bb1c..a327d58a88 100644 --- a/lib/fleetappsmanagement/lib/request/update-scheduler-definition-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-scheduler-definition-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/request/update-scheduler-job-request.ts b/lib/fleetappsmanagement/lib/request/update-scheduler-job-request.ts index 68ffb7f069..a0fc4210c9 100644 --- a/lib/fleetappsmanagement/lib/request/update-scheduler-job-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-scheduler-job-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -23,7 +23,7 @@ export interface UpdateSchedulerJobRequest extends common.BaseRequest { */ "schedulerJobId": string; /** - * The information to be updated. + * Attributes to update a schedule job. */ "updateSchedulerJobDetails": model.UpdateSchedulerJobDetails; /** diff --git a/lib/fleetappsmanagement/lib/request/update-task-record-request.ts b/lib/fleetappsmanagement/lib/request/update-task-record-request.ts index caf60e99a7..0423bba815 100644 --- a/lib/fleetappsmanagement/lib/request/update-task-record-request.ts +++ b/lib/fleetappsmanagement/lib/request/update-task-record-request.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -19,11 +19,11 @@ import common = require("oci-common"); */ export interface UpdateTaskRecordRequest extends common.BaseRequest { /** - * unique TaskDetail identifier + * The OCID of the task record. */ "taskRecordId": string; /** - * The information to be updated. + * Attributes to update a task record. */ "updateTaskRecordDetails": model.UpdateTaskRecordDetails; /** diff --git a/lib/fleetappsmanagement/lib/response/change-catalog-item-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-catalog-item-compartment-response.ts new file mode 100644 index 0000000000..35e30d7364 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-catalog-item-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeCatalogItemCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-fleet-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-fleet-compartment-response.ts new file mode 100644 index 0000000000..4f0c406eef --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-fleet-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeFleetCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-patch-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-patch-compartment-response.ts new file mode 100644 index 0000000000..c387d9265c --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-patch-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangePatchCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-platform-configuration-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-platform-configuration-compartment-response.ts new file mode 100644 index 0000000000..0d30437775 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-platform-configuration-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangePlatformConfigurationCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-property-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-property-compartment-response.ts new file mode 100644 index 0000000000..31e2459524 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-property-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangePropertyCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-provision-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-provision-compartment-response.ts new file mode 100644 index 0000000000..fed8609ea6 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-provision-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeProvisionCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-runbook-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-runbook-compartment-response.ts new file mode 100644 index 0000000000..00382dc9f3 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-runbook-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeRunbookCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/change-task-record-compartment-response.ts b/lib/fleetappsmanagement/lib/response/change-task-record-compartment-response.ts new file mode 100644 index 0000000000..b7710339b2 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/change-task-record-compartment-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeTaskRecordCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/check-resource-tagging-response.ts b/lib/fleetappsmanagement/lib/response/check-resource-tagging-response.ts index 7593571272..84c9ebaf9d 100644 --- a/lib/fleetappsmanagement/lib/response/check-resource-tagging-response.ts +++ b/lib/fleetappsmanagement/lib/response/check-resource-tagging-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/clone-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/clone-catalog-item-response.ts new file mode 100644 index 0000000000..7c17a8556d --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/clone-catalog-item-response.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CloneCatalogItemResponse { + /** + * URL for the created CatalogItem. The catalogItem OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.CatalogItem instance. + */ + "catalogItem": model.CatalogItem; +} diff --git a/lib/fleetappsmanagement/lib/response/confirm-targets-response.ts b/lib/fleetappsmanagement/lib/response/confirm-targets-response.ts index 22fe4446a3..7559a31a4d 100644 --- a/lib/fleetappsmanagement/lib/response/confirm-targets-response.ts +++ b/lib/fleetappsmanagement/lib/response/confirm-targets-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/create-catalog-item-response.ts new file mode 100644 index 0000000000..49fff703e0 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/create-catalog-item-response.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateCatalogItemResponse { + /** + * URL for the created CatalogItem. The catalogItem OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.CatalogItem instance. + */ + "catalogItem": model.CatalogItem; +} diff --git a/lib/fleetappsmanagement/lib/response/create-compliance-policy-rule-response.ts b/lib/fleetappsmanagement/lib/response/create-compliance-policy-rule-response.ts index d684ef5d9e..aebd003d79 100644 --- a/lib/fleetappsmanagement/lib/response/create-compliance-policy-rule-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-compliance-policy-rule-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-fleet-credential-response.ts b/lib/fleetappsmanagement/lib/response/create-fleet-credential-response.ts index d556394b85..a7d0fd5d6a 100644 --- a/lib/fleetappsmanagement/lib/response/create-fleet-credential-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-fleet-credential-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-fleet-property-response.ts b/lib/fleetappsmanagement/lib/response/create-fleet-property-response.ts index d5524ef958..a202541588 100644 --- a/lib/fleetappsmanagement/lib/response/create-fleet-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-fleet-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-fleet-resource-response.ts b/lib/fleetappsmanagement/lib/response/create-fleet-resource-response.ts index 2cd9767102..746ac05e87 100644 --- a/lib/fleetappsmanagement/lib/response/create-fleet-resource-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-fleet-resource-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-fleet-response.ts b/lib/fleetappsmanagement/lib/response/create-fleet-response.ts index 7ea791274d..bfe2159a25 100644 --- a/lib/fleetappsmanagement/lib/response/create-fleet-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-fleet-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-maintenance-window-response.ts b/lib/fleetappsmanagement/lib/response/create-maintenance-window-response.ts index 907b8a6a51..38f93743cb 100644 --- a/lib/fleetappsmanagement/lib/response/create-maintenance-window-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-maintenance-window-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-onboarding-response.ts b/lib/fleetappsmanagement/lib/response/create-onboarding-response.ts index 180834e70b..6adbf7c6cb 100644 --- a/lib/fleetappsmanagement/lib/response/create-onboarding-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-onboarding-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-patch-response.ts b/lib/fleetappsmanagement/lib/response/create-patch-response.ts index ae114f5ae6..0a9f362c19 100644 --- a/lib/fleetappsmanagement/lib/response/create-patch-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-patch-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-platform-configuration-response.ts b/lib/fleetappsmanagement/lib/response/create-platform-configuration-response.ts index 9ec6c35276..a73a328c74 100644 --- a/lib/fleetappsmanagement/lib/response/create-platform-configuration-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-platform-configuration-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -15,11 +15,24 @@ import * as model from "../model"; import common = require("oci-common"); export interface CreatePlatformConfigurationResponse { + /** + * URL for the created PlatformConfiguration, the PlatformConfiguration id will be generated after this request is sent. + */ + "location": string; + /** + * Same as location + */ + "contentLocation": string; /** * For optimistic concurrency control. See {@code if-match}. * */ "etag": string; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; /** * Unique Oracle-assigned identifier for the request. If you need to contact * Oracle about a particular request, please provide the request ID. diff --git a/lib/fleetappsmanagement/lib/response/create-property-response.ts b/lib/fleetappsmanagement/lib/response/create-property-response.ts index 25e46692c9..b411775ffd 100644 --- a/lib/fleetappsmanagement/lib/response/create-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-provision-response.ts b/lib/fleetappsmanagement/lib/response/create-provision-response.ts new file mode 100644 index 0000000000..263c717b5b --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/create-provision-response.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateProvisionResponse { + /** + * URL for the created famProvision. The famProvision OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Provision instance. + */ + "provision": model.Provision; +} diff --git a/lib/fleetappsmanagement/lib/response/create-runbook-response.ts b/lib/fleetappsmanagement/lib/response/create-runbook-response.ts index be6a8aed7c..cf95d2e021 100644 --- a/lib/fleetappsmanagement/lib/response/create-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/create-runbook-version-response.ts new file mode 100644 index 0000000000..44f5f78711 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/create-runbook-version-response.ts @@ -0,0 +1,46 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateRunbookVersionResponse { + /** + * URL for the created RunbookVersion, the RunbookVersion id will be generated after this request is sent. + */ + "location": string; + /** + * Same as location + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.RunbookVersion instance. + */ + "runbookVersion": model.RunbookVersion; +} diff --git a/lib/fleetappsmanagement/lib/response/create-scheduler-definition-response.ts b/lib/fleetappsmanagement/lib/response/create-scheduler-definition-response.ts index 983684be2b..7c97d65c99 100644 --- a/lib/fleetappsmanagement/lib/response/create-scheduler-definition-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-scheduler-definition-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/create-task-record-response.ts b/lib/fleetappsmanagement/lib/response/create-task-record-response.ts index 15b69a696e..746ac2e142 100644 --- a/lib/fleetappsmanagement/lib/response/create-task-record-response.ts +++ b/lib/fleetappsmanagement/lib/response/create-task-record-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/delete-catalog-item-response.ts new file mode 100644 index 0000000000..60c659b052 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/delete-catalog-item-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteCatalogItemResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/delete-compliance-policy-rule-response.ts b/lib/fleetappsmanagement/lib/response/delete-compliance-policy-rule-response.ts index 845b9328c3..6e52e9cd7b 100644 --- a/lib/fleetappsmanagement/lib/response/delete-compliance-policy-rule-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-compliance-policy-rule-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-fleet-credential-response.ts b/lib/fleetappsmanagement/lib/response/delete-fleet-credential-response.ts index f3a29110d3..70c9089333 100644 --- a/lib/fleetappsmanagement/lib/response/delete-fleet-credential-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-fleet-credential-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-fleet-property-response.ts b/lib/fleetappsmanagement/lib/response/delete-fleet-property-response.ts index d6a7ee20e4..2102e4ebb0 100644 --- a/lib/fleetappsmanagement/lib/response/delete-fleet-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-fleet-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-fleet-resource-response.ts b/lib/fleetappsmanagement/lib/response/delete-fleet-resource-response.ts index 86038ab275..7313770699 100644 --- a/lib/fleetappsmanagement/lib/response/delete-fleet-resource-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-fleet-resource-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-fleet-response.ts b/lib/fleetappsmanagement/lib/response/delete-fleet-response.ts index fb48ad3455..5fe0270549 100644 --- a/lib/fleetappsmanagement/lib/response/delete-fleet-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-fleet-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-maintenance-window-response.ts b/lib/fleetappsmanagement/lib/response/delete-maintenance-window-response.ts index fcd86f9e42..237b737586 100644 --- a/lib/fleetappsmanagement/lib/response/delete-maintenance-window-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-maintenance-window-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-onboarding-response.ts b/lib/fleetappsmanagement/lib/response/delete-onboarding-response.ts index c380704a1f..3cccb058f9 100644 --- a/lib/fleetappsmanagement/lib/response/delete-onboarding-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-onboarding-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-patch-response.ts b/lib/fleetappsmanagement/lib/response/delete-patch-response.ts index bbcd03c2bd..bff866f230 100644 --- a/lib/fleetappsmanagement/lib/response/delete-patch-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-patch-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-platform-configuration-response.ts b/lib/fleetappsmanagement/lib/response/delete-platform-configuration-response.ts index 7a978a3aa0..94a0eae941 100644 --- a/lib/fleetappsmanagement/lib/response/delete-platform-configuration-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-platform-configuration-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-property-response.ts b/lib/fleetappsmanagement/lib/response/delete-property-response.ts index 637d0f9f3a..4d0207ea18 100644 --- a/lib/fleetappsmanagement/lib/response/delete-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-provision-response.ts b/lib/fleetappsmanagement/lib/response/delete-provision-response.ts new file mode 100644 index 0000000000..fdbd2be545 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/delete-provision-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteProvisionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/delete-runbook-response.ts b/lib/fleetappsmanagement/lib/response/delete-runbook-response.ts index 9782b6940d..181344c3d1 100644 --- a/lib/fleetappsmanagement/lib/response/delete-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/delete-runbook-version-response.ts new file mode 100644 index 0000000000..482a40c336 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/delete-runbook-version-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteRunbookVersionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/delete-scheduler-definition-response.ts b/lib/fleetappsmanagement/lib/response/delete-scheduler-definition-response.ts index 7061a8f267..ac6fa752b5 100644 --- a/lib/fleetappsmanagement/lib/response/delete-scheduler-definition-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-scheduler-definition-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-scheduler-job-response.ts b/lib/fleetappsmanagement/lib/response/delete-scheduler-job-response.ts index 77b11d5208..8235e6b5c8 100644 --- a/lib/fleetappsmanagement/lib/response/delete-scheduler-job-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-scheduler-job-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/delete-task-record-response.ts b/lib/fleetappsmanagement/lib/response/delete-task-record-response.ts index 61008ac5a9..2fe1936225 100644 --- a/lib/fleetappsmanagement/lib/response/delete-task-record-response.ts +++ b/lib/fleetappsmanagement/lib/response/delete-task-record-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/enable-latest-policy-response.ts b/lib/fleetappsmanagement/lib/response/enable-latest-policy-response.ts index f58246f285..ae02019b25 100644 --- a/lib/fleetappsmanagement/lib/response/enable-latest-policy-response.ts +++ b/lib/fleetappsmanagement/lib/response/enable-latest-policy-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/export-compliance-report-response.ts b/lib/fleetappsmanagement/lib/response/export-compliance-report-response.ts index 50111ad755..79af0f7b44 100644 --- a/lib/fleetappsmanagement/lib/response/export-compliance-report-response.ts +++ b/lib/fleetappsmanagement/lib/response/export-compliance-report-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/generate-compliance-report-response.ts b/lib/fleetappsmanagement/lib/response/generate-compliance-report-response.ts index 5b854d89c5..05b63da678 100644 --- a/lib/fleetappsmanagement/lib/response/generate-compliance-report-response.ts +++ b/lib/fleetappsmanagement/lib/response/generate-compliance-report-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/get-catalog-item-response.ts new file mode 100644 index 0000000000..2a9937b362 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-catalog-item-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetCatalogItemResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.CatalogItem instance. + */ + "catalogItem": model.CatalogItem; +} diff --git a/lib/fleetappsmanagement/lib/response/get-compliance-policy-response.ts b/lib/fleetappsmanagement/lib/response/get-compliance-policy-response.ts index a789b79a04..888aa84698 100644 --- a/lib/fleetappsmanagement/lib/response/get-compliance-policy-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-compliance-policy-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-compliance-policy-rule-response.ts b/lib/fleetappsmanagement/lib/response/get-compliance-policy-rule-response.ts index 710aef3673..d4612435a0 100644 --- a/lib/fleetappsmanagement/lib/response/get-compliance-policy-rule-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-compliance-policy-rule-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-compliance-report-response.ts b/lib/fleetappsmanagement/lib/response/get-compliance-report-response.ts index 3494f73a84..4065451cac 100644 --- a/lib/fleetappsmanagement/lib/response/get-compliance-report-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-compliance-report-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-execution-response.ts b/lib/fleetappsmanagement/lib/response/get-execution-response.ts index 21507f669e..14c7cbb1d9 100644 --- a/lib/fleetappsmanagement/lib/response/get-execution-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-execution-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-fleet-credential-response.ts b/lib/fleetappsmanagement/lib/response/get-fleet-credential-response.ts index d14fbe0c1d..f16247f337 100644 --- a/lib/fleetappsmanagement/lib/response/get-fleet-credential-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-fleet-credential-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-fleet-property-response.ts b/lib/fleetappsmanagement/lib/response/get-fleet-property-response.ts index ed34a5907e..7e26cdaa3b 100644 --- a/lib/fleetappsmanagement/lib/response/get-fleet-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-fleet-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-fleet-resource-response.ts b/lib/fleetappsmanagement/lib/response/get-fleet-resource-response.ts index 1dfdf0f33b..4b9cc732cc 100644 --- a/lib/fleetappsmanagement/lib/response/get-fleet-resource-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-fleet-resource-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-fleet-response.ts b/lib/fleetappsmanagement/lib/response/get-fleet-response.ts index d56555ec2e..01c3ad03f3 100644 --- a/lib/fleetappsmanagement/lib/response/get-fleet-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-fleet-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-job-activity-response.ts b/lib/fleetappsmanagement/lib/response/get-job-activity-response.ts index 3be510372f..833fdc527c 100644 --- a/lib/fleetappsmanagement/lib/response/get-job-activity-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-job-activity-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-maintenance-window-response.ts b/lib/fleetappsmanagement/lib/response/get-maintenance-window-response.ts index 5103fa2c19..1c60ddd881 100644 --- a/lib/fleetappsmanagement/lib/response/get-maintenance-window-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-maintenance-window-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-onboarding-response.ts b/lib/fleetappsmanagement/lib/response/get-onboarding-response.ts index b6aaf70cb6..90e19fae58 100644 --- a/lib/fleetappsmanagement/lib/response/get-onboarding-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-onboarding-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-patch-response.ts b/lib/fleetappsmanagement/lib/response/get-patch-response.ts index 382f7621cb..73b0e7145b 100644 --- a/lib/fleetappsmanagement/lib/response/get-patch-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-patch-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-platform-configuration-response.ts b/lib/fleetappsmanagement/lib/response/get-platform-configuration-response.ts index 510f12fe17..c4e2f6f991 100644 --- a/lib/fleetappsmanagement/lib/response/get-platform-configuration-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-platform-configuration-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-property-response.ts b/lib/fleetappsmanagement/lib/response/get-property-response.ts index 5648d3931a..2dc70cb0b9 100644 --- a/lib/fleetappsmanagement/lib/response/get-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-provision-response.ts b/lib/fleetappsmanagement/lib/response/get-provision-response.ts new file mode 100644 index 0000000000..d09f62777e --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-provision-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetProvisionResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.Provision instance. + */ + "provision": model.Provision; +} diff --git a/lib/fleetappsmanagement/lib/response/get-runbook-response.ts b/lib/fleetappsmanagement/lib/response/get-runbook-response.ts index 7979bd8fbc..fa3ce881fa 100644 --- a/lib/fleetappsmanagement/lib/response/get-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/get-runbook-version-response.ts new file mode 100644 index 0000000000..7d90956a3f --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/get-runbook-version-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetRunbookVersionResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.RunbookVersion instance. + */ + "runbookVersion": model.RunbookVersion; +} diff --git a/lib/fleetappsmanagement/lib/response/get-scheduler-definition-response.ts b/lib/fleetappsmanagement/lib/response/get-scheduler-definition-response.ts index 450e21a701..c95c2e6b60 100644 --- a/lib/fleetappsmanagement/lib/response/get-scheduler-definition-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-scheduler-definition-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-scheduler-job-response.ts b/lib/fleetappsmanagement/lib/response/get-scheduler-job-response.ts index 73c9b43250..9bd55b61f0 100644 --- a/lib/fleetappsmanagement/lib/response/get-scheduler-job-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-scheduler-job-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-task-record-response.ts b/lib/fleetappsmanagement/lib/response/get-task-record-response.ts index bb6f776485..5ab2e8a31b 100644 --- a/lib/fleetappsmanagement/lib/response/get-task-record-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-task-record-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/get-work-request-response.ts b/lib/fleetappsmanagement/lib/response/get-work-request-response.ts index ac53cb2e95..05d22b39c1 100644 --- a/lib/fleetappsmanagement/lib/response/get-work-request-response.ts +++ b/lib/fleetappsmanagement/lib/response/get-work-request-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/index.ts b/lib/fleetappsmanagement/lib/response/index.ts index c3a748549a..32a587f42e 100644 --- a/lib/fleetappsmanagement/lib/response/index.ts +++ b/lib/fleetappsmanagement/lib/response/index.ts @@ -2,7 +2,7 @@ * Fleet Application Management Service API * Fleet Application Management provides a centralized platform to help you automate resource management tasks, validate patch compliance, and enhance operational efficiency across an enterprise. - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. @@ -12,6 +12,8 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as ChangeFleetCompartmentResponse from "./change-fleet-compartment-response"; +export import ChangeFleetCompartmentResponse = ChangeFleetCompartmentResponse.ChangeFleetCompartmentResponse; import * as CheckResourceTaggingResponse from "./check-resource-tagging-response"; export import CheckResourceTaggingResponse = CheckResourceTaggingResponse.CheckResourceTaggingResponse; import * as ConfirmTargetsResponse from "./confirm-targets-response"; @@ -44,8 +46,6 @@ import * as GetFleetPropertyResponse from "./get-fleet-property-response"; export import GetFleetPropertyResponse = GetFleetPropertyResponse.GetFleetPropertyResponse; import * as GetFleetResourceResponse from "./get-fleet-resource-response"; export import GetFleetResourceResponse = GetFleetResourceResponse.GetFleetResourceResponse; -import * as GetWorkRequestResponse from "./get-work-request-response"; -export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; import * as ListAnnouncementsResponse from "./list-announcements-response"; export import ListAnnouncementsResponse = ListAnnouncementsResponse.ListAnnouncementsResponse; import * as ListFleetCredentialsResponse from "./list-fleet-credentials-response"; @@ -64,12 +64,6 @@ import * as ListInventoryResourcesResponse from "./list-inventory-resources-resp export import ListInventoryResourcesResponse = ListInventoryResourcesResponse.ListInventoryResourcesResponse; import * as ListTargetsResponse from "./list-targets-response"; export import ListTargetsResponse = ListTargetsResponse.ListTargetsResponse; -import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; -export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; -import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; -export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; -import * as ListWorkRequestsResponse from "./list-work-requests-response"; -export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; import * as RequestResourceValidationResponse from "./request-resource-validation-response"; export import RequestResourceValidationResponse = RequestResourceValidationResponse.RequestResourceValidationResponse; import * as RequestTargetDiscoveryResponse from "./request-target-discovery-response"; @@ -82,6 +76,10 @@ import * as UpdateFleetPropertyResponse from "./update-fleet-property-response"; export import UpdateFleetPropertyResponse = UpdateFleetPropertyResponse.UpdateFleetPropertyResponse; import * as UpdateFleetResourceResponse from "./update-fleet-resource-response"; export import UpdateFleetResourceResponse = UpdateFleetResourceResponse.UpdateFleetResourceResponse; +import * as ChangePlatformConfigurationCompartmentResponse from "./change-platform-configuration-compartment-response"; +export import ChangePlatformConfigurationCompartmentResponse = ChangePlatformConfigurationCompartmentResponse.ChangePlatformConfigurationCompartmentResponse; +import * as ChangePropertyCompartmentResponse from "./change-property-compartment-response"; +export import ChangePropertyCompartmentResponse = ChangePropertyCompartmentResponse.ChangePropertyCompartmentResponse; import * as CreateCompliancePolicyRuleResponse from "./create-compliance-policy-rule-response"; export import CreateCompliancePolicyRuleResponse = CreateCompliancePolicyRuleResponse.CreateCompliancePolicyRuleResponse; import * as CreateOnboardingResponse from "./create-onboarding-response"; @@ -132,6 +130,20 @@ import * as UpdatePlatformConfigurationResponse from "./update-platform-configur export import UpdatePlatformConfigurationResponse = UpdatePlatformConfigurationResponse.UpdatePlatformConfigurationResponse; import * as UpdatePropertyResponse from "./update-property-response"; export import UpdatePropertyResponse = UpdatePropertyResponse.UpdatePropertyResponse; +import * as ChangeCatalogItemCompartmentResponse from "./change-catalog-item-compartment-response"; +export import ChangeCatalogItemCompartmentResponse = ChangeCatalogItemCompartmentResponse.ChangeCatalogItemCompartmentResponse; +import * as CloneCatalogItemResponse from "./clone-catalog-item-response"; +export import CloneCatalogItemResponse = CloneCatalogItemResponse.CloneCatalogItemResponse; +import * as CreateCatalogItemResponse from "./create-catalog-item-response"; +export import CreateCatalogItemResponse = CreateCatalogItemResponse.CreateCatalogItemResponse; +import * as DeleteCatalogItemResponse from "./delete-catalog-item-response"; +export import DeleteCatalogItemResponse = DeleteCatalogItemResponse.DeleteCatalogItemResponse; +import * as GetCatalogItemResponse from "./get-catalog-item-response"; +export import GetCatalogItemResponse = GetCatalogItemResponse.GetCatalogItemResponse; +import * as ListCatalogItemsResponse from "./list-catalog-items-response"; +export import ListCatalogItemsResponse = ListCatalogItemsResponse.ListCatalogItemsResponse; +import * as UpdateCatalogItemResponse from "./update-catalog-item-response"; +export import UpdateCatalogItemResponse = UpdateCatalogItemResponse.UpdateCatalogItemResponse; import * as CreateMaintenanceWindowResponse from "./create-maintenance-window-response"; export import CreateMaintenanceWindowResponse = CreateMaintenanceWindowResponse.CreateMaintenanceWindowResponse; import * as DeleteMaintenanceWindowResponse from "./delete-maintenance-window-response"; @@ -142,6 +154,8 @@ import * as ListMaintenanceWindowsResponse from "./list-maintenance-windows-resp export import ListMaintenanceWindowsResponse = ListMaintenanceWindowsResponse.ListMaintenanceWindowsResponse; import * as UpdateMaintenanceWindowResponse from "./update-maintenance-window-response"; export import UpdateMaintenanceWindowResponse = UpdateMaintenanceWindowResponse.UpdateMaintenanceWindowResponse; +import * as ChangePatchCompartmentResponse from "./change-patch-compartment-response"; +export import ChangePatchCompartmentResponse = ChangePatchCompartmentResponse.ChangePatchCompartmentResponse; import * as CreatePatchResponse from "./create-patch-response"; export import CreatePatchResponse = CreatePatchResponse.CreatePatchResponse; import * as CreateSchedulerDefinitionResponse from "./create-scheduler-definition-response"; @@ -168,6 +182,8 @@ import * as ListComplianceRecordsResponse from "./list-compliance-records-respon export import ListComplianceRecordsResponse = ListComplianceRecordsResponse.ListComplianceRecordsResponse; import * as ListExecutionsResponse from "./list-executions-response"; export import ListExecutionsResponse = ListExecutionsResponse.ListExecutionsResponse; +import * as ListInventoryRecordsResponse from "./list-inventory-records-response"; +export import ListInventoryRecordsResponse = ListInventoryRecordsResponse.ListInventoryRecordsResponse; import * as ListPatchesResponse from "./list-patches-response"; export import ListPatchesResponse = ListPatchesResponse.ListPatchesResponse; import * as ListResourcesResponse from "./list-resources-response"; @@ -176,6 +192,8 @@ import * as ListScheduledFleetsResponse from "./list-scheduled-fleets-response"; export import ListScheduledFleetsResponse = ListScheduledFleetsResponse.ListScheduledFleetsResponse; import * as ListSchedulerDefinitionsResponse from "./list-scheduler-definitions-response"; export import ListSchedulerDefinitionsResponse = ListSchedulerDefinitionsResponse.ListSchedulerDefinitionsResponse; +import * as ListSchedulerExecutionsResponse from "./list-scheduler-executions-response"; +export import ListSchedulerExecutionsResponse = ListSchedulerExecutionsResponse.ListSchedulerExecutionsResponse; import * as ListSchedulerJobsResponse from "./list-scheduler-jobs-response"; export import ListSchedulerJobsResponse = ListSchedulerJobsResponse.ListSchedulerJobsResponse; import * as ListStepsResponse from "./list-steps-response"; @@ -194,18 +212,42 @@ import * as UpdateSchedulerDefinitionResponse from "./update-scheduler-definitio export import UpdateSchedulerDefinitionResponse = UpdateSchedulerDefinitionResponse.UpdateSchedulerDefinitionResponse; import * as UpdateSchedulerJobResponse from "./update-scheduler-job-response"; export import UpdateSchedulerJobResponse = UpdateSchedulerJobResponse.UpdateSchedulerJobResponse; +import * as ChangeProvisionCompartmentResponse from "./change-provision-compartment-response"; +export import ChangeProvisionCompartmentResponse = ChangeProvisionCompartmentResponse.ChangeProvisionCompartmentResponse; +import * as CreateProvisionResponse from "./create-provision-response"; +export import CreateProvisionResponse = CreateProvisionResponse.CreateProvisionResponse; +import * as DeleteProvisionResponse from "./delete-provision-response"; +export import DeleteProvisionResponse = DeleteProvisionResponse.DeleteProvisionResponse; +import * as GetProvisionResponse from "./get-provision-response"; +export import GetProvisionResponse = GetProvisionResponse.GetProvisionResponse; +import * as ListProvisionsResponse from "./list-provisions-response"; +export import ListProvisionsResponse = ListProvisionsResponse.ListProvisionsResponse; +import * as UpdateProvisionResponse from "./update-provision-response"; +export import UpdateProvisionResponse = UpdateProvisionResponse.UpdateProvisionResponse; +import * as ChangeRunbookCompartmentResponse from "./change-runbook-compartment-response"; +export import ChangeRunbookCompartmentResponse = ChangeRunbookCompartmentResponse.ChangeRunbookCompartmentResponse; +import * as ChangeTaskRecordCompartmentResponse from "./change-task-record-compartment-response"; +export import ChangeTaskRecordCompartmentResponse = ChangeTaskRecordCompartmentResponse.ChangeTaskRecordCompartmentResponse; import * as CreateRunbookResponse from "./create-runbook-response"; export import CreateRunbookResponse = CreateRunbookResponse.CreateRunbookResponse; +import * as CreateRunbookVersionResponse from "./create-runbook-version-response"; +export import CreateRunbookVersionResponse = CreateRunbookVersionResponse.CreateRunbookVersionResponse; import * as CreateTaskRecordResponse from "./create-task-record-response"; export import CreateTaskRecordResponse = CreateTaskRecordResponse.CreateTaskRecordResponse; import * as DeleteRunbookResponse from "./delete-runbook-response"; export import DeleteRunbookResponse = DeleteRunbookResponse.DeleteRunbookResponse; +import * as DeleteRunbookVersionResponse from "./delete-runbook-version-response"; +export import DeleteRunbookVersionResponse = DeleteRunbookVersionResponse.DeleteRunbookVersionResponse; import * as DeleteTaskRecordResponse from "./delete-task-record-response"; export import DeleteTaskRecordResponse = DeleteTaskRecordResponse.DeleteTaskRecordResponse; import * as GetRunbookResponse from "./get-runbook-response"; export import GetRunbookResponse = GetRunbookResponse.GetRunbookResponse; +import * as GetRunbookVersionResponse from "./get-runbook-version-response"; +export import GetRunbookVersionResponse = GetRunbookVersionResponse.GetRunbookVersionResponse; import * as GetTaskRecordResponse from "./get-task-record-response"; export import GetTaskRecordResponse = GetTaskRecordResponse.GetTaskRecordResponse; +import * as ListRunbookVersionsResponse from "./list-runbook-versions-response"; +export import ListRunbookVersionsResponse = ListRunbookVersionsResponse.ListRunbookVersionsResponse; import * as ListRunbooksResponse from "./list-runbooks-response"; export import ListRunbooksResponse = ListRunbooksResponse.ListRunbooksResponse; import * as ListTaskRecordsResponse from "./list-task-records-response"; @@ -216,5 +258,15 @@ import * as SetDefaultRunbookResponse from "./set-default-runbook-response"; export import SetDefaultRunbookResponse = SetDefaultRunbookResponse.SetDefaultRunbookResponse; import * as UpdateRunbookResponse from "./update-runbook-response"; export import UpdateRunbookResponse = UpdateRunbookResponse.UpdateRunbookResponse; +import * as UpdateRunbookVersionResponse from "./update-runbook-version-response"; +export import UpdateRunbookVersionResponse = UpdateRunbookVersionResponse.UpdateRunbookVersionResponse; import * as UpdateTaskRecordResponse from "./update-task-record-response"; export import UpdateTaskRecordResponse = UpdateTaskRecordResponse.UpdateTaskRecordResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; diff --git a/lib/fleetappsmanagement/lib/response/list-announcements-response.ts b/lib/fleetappsmanagement/lib/response/list-announcements-response.ts index 4a91dfc52a..5cf9b6c75c 100644 --- a/lib/fleetappsmanagement/lib/response/list-announcements-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-announcements-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-catalog-items-response.ts b/lib/fleetappsmanagement/lib/response/list-catalog-items-response.ts new file mode 100644 index 0000000000..efc1802977 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-catalog-items-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListCatalogItemsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.CatalogItemCollection instance. + */ + "catalogItemCollection": model.CatalogItemCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-compliance-policies-response.ts b/lib/fleetappsmanagement/lib/response/list-compliance-policies-response.ts index ed9a5cb61b..76ff62e5bc 100644 --- a/lib/fleetappsmanagement/lib/response/list-compliance-policies-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-compliance-policies-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-compliance-policy-rules-response.ts b/lib/fleetappsmanagement/lib/response/list-compliance-policy-rules-response.ts index 387c87247b..c6c23f0c1d 100644 --- a/lib/fleetappsmanagement/lib/response/list-compliance-policy-rules-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-compliance-policy-rules-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-compliance-records-response.ts b/lib/fleetappsmanagement/lib/response/list-compliance-records-response.ts index 3a07c9e284..47f52035d6 100644 --- a/lib/fleetappsmanagement/lib/response/list-compliance-records-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-compliance-records-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-executions-response.ts b/lib/fleetappsmanagement/lib/response/list-executions-response.ts index 34b1c15127..29e2163765 100644 --- a/lib/fleetappsmanagement/lib/response/list-executions-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-executions-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleet-credentials-response.ts b/lib/fleetappsmanagement/lib/response/list-fleet-credentials-response.ts index 1fb1b35a23..4baeb8a52c 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleet-credentials-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleet-credentials-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleet-products-response.ts b/lib/fleetappsmanagement/lib/response/list-fleet-products-response.ts index f758183e1e..8e497a9bb6 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleet-products-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleet-products-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleet-properties-response.ts b/lib/fleetappsmanagement/lib/response/list-fleet-properties-response.ts index 31dfbc8455..dfe09d0481 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleet-properties-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleet-properties-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleet-resources-response.ts b/lib/fleetappsmanagement/lib/response/list-fleet-resources-response.ts index 7ea01e5a84..e11c8f9864 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleet-resources-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleet-resources-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleet-targets-response.ts b/lib/fleetappsmanagement/lib/response/list-fleet-targets-response.ts index 1e1b81bbc7..31256d05e9 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleet-targets-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleet-targets-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-fleets-response.ts b/lib/fleetappsmanagement/lib/response/list-fleets-response.ts index 003ebee5cc..e4a30c927c 100644 --- a/lib/fleetappsmanagement/lib/response/list-fleets-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-fleets-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-inventory-records-response.ts b/lib/fleetappsmanagement/lib/response/list-inventory-records-response.ts new file mode 100644 index 0000000000..72da740fd9 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-inventory-records-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListInventoryRecordsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.InventoryRecordCollection instance. + */ + "inventoryRecordCollection": model.InventoryRecordCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-inventory-resources-response.ts b/lib/fleetappsmanagement/lib/response/list-inventory-resources-response.ts index 04e6aea5bf..f634e359e4 100644 --- a/lib/fleetappsmanagement/lib/response/list-inventory-resources-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-inventory-resources-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-maintenance-windows-response.ts b/lib/fleetappsmanagement/lib/response/list-maintenance-windows-response.ts index d4b84263fe..b71c9aa174 100644 --- a/lib/fleetappsmanagement/lib/response/list-maintenance-windows-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-maintenance-windows-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-onboarding-policies-response.ts b/lib/fleetappsmanagement/lib/response/list-onboarding-policies-response.ts index 28bc18980d..d4224d6c93 100644 --- a/lib/fleetappsmanagement/lib/response/list-onboarding-policies-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-onboarding-policies-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-onboardings-response.ts b/lib/fleetappsmanagement/lib/response/list-onboardings-response.ts index 36343da261..3869ad74ab 100644 --- a/lib/fleetappsmanagement/lib/response/list-onboardings-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-onboardings-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-patches-response.ts b/lib/fleetappsmanagement/lib/response/list-patches-response.ts index cff53cdd5c..ae8e369fdf 100644 --- a/lib/fleetappsmanagement/lib/response/list-patches-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-patches-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-platform-configurations-response.ts b/lib/fleetappsmanagement/lib/response/list-platform-configurations-response.ts index 4eda606485..b2f6ea52c8 100644 --- a/lib/fleetappsmanagement/lib/response/list-platform-configurations-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-platform-configurations-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-properties-response.ts b/lib/fleetappsmanagement/lib/response/list-properties-response.ts index c4d27927a8..5a6e9c5aba 100644 --- a/lib/fleetappsmanagement/lib/response/list-properties-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-properties-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-provisions-response.ts b/lib/fleetappsmanagement/lib/response/list-provisions-response.ts new file mode 100644 index 0000000000..f03a71acd1 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-provisions-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListProvisionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.ProvisionCollection instance. + */ + "provisionCollection": model.ProvisionCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-resources-response.ts b/lib/fleetappsmanagement/lib/response/list-resources-response.ts index 5723c6b0ca..3901e52630 100644 --- a/lib/fleetappsmanagement/lib/response/list-resources-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-resources-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-runbook-versions-response.ts b/lib/fleetappsmanagement/lib/response/list-runbook-versions-response.ts new file mode 100644 index 0000000000..a9ff401f43 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-runbook-versions-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListRunbookVersionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.RunbookVersionCollection instance. + */ + "runbookVersionCollection": model.RunbookVersionCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-runbooks-response.ts b/lib/fleetappsmanagement/lib/response/list-runbooks-response.ts index aea6fd7ee5..a0eaad193f 100644 --- a/lib/fleetappsmanagement/lib/response/list-runbooks-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-runbooks-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-scheduled-fleets-response.ts b/lib/fleetappsmanagement/lib/response/list-scheduled-fleets-response.ts index cda371183d..96066ae77c 100644 --- a/lib/fleetappsmanagement/lib/response/list-scheduled-fleets-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-scheduled-fleets-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-scheduler-definitions-response.ts b/lib/fleetappsmanagement/lib/response/list-scheduler-definitions-response.ts index 21cdc683eb..da5dca2e30 100644 --- a/lib/fleetappsmanagement/lib/response/list-scheduler-definitions-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-scheduler-definitions-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-scheduler-executions-response.ts b/lib/fleetappsmanagement/lib/response/list-scheduler-executions-response.ts new file mode 100644 index 0000000000..0ab37193f5 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/list-scheduler-executions-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListSchedulerExecutionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * The returned model.SchedulerExecutionCollection instance. + */ + "schedulerExecutionCollection": model.SchedulerExecutionCollection; +} diff --git a/lib/fleetappsmanagement/lib/response/list-scheduler-jobs-response.ts b/lib/fleetappsmanagement/lib/response/list-scheduler-jobs-response.ts index 31725a38d2..978a71f0ab 100644 --- a/lib/fleetappsmanagement/lib/response/list-scheduler-jobs-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-scheduler-jobs-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-steps-response.ts b/lib/fleetappsmanagement/lib/response/list-steps-response.ts index b6fa2cd84b..12daf7b3bf 100644 --- a/lib/fleetappsmanagement/lib/response/list-steps-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-steps-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-targets-response.ts b/lib/fleetappsmanagement/lib/response/list-targets-response.ts index a4ec18b424..e518795fb2 100644 --- a/lib/fleetappsmanagement/lib/response/list-targets-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-targets-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-task-records-response.ts b/lib/fleetappsmanagement/lib/response/list-task-records-response.ts index 5aafff511d..fe45680985 100644 --- a/lib/fleetappsmanagement/lib/response/list-task-records-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-task-records-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-work-request-errors-response.ts b/lib/fleetappsmanagement/lib/response/list-work-request-errors-response.ts index 758198876e..bd59ee62b1 100644 --- a/lib/fleetappsmanagement/lib/response/list-work-request-errors-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-work-request-errors-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-work-request-logs-response.ts b/lib/fleetappsmanagement/lib/response/list-work-request-logs-response.ts index b79655b936..c761cdc9b5 100644 --- a/lib/fleetappsmanagement/lib/response/list-work-request-logs-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-work-request-logs-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/list-work-requests-response.ts b/lib/fleetappsmanagement/lib/response/list-work-requests-response.ts index cde7e8aaed..ebfcb37203 100644 --- a/lib/fleetappsmanagement/lib/response/list-work-requests-response.ts +++ b/lib/fleetappsmanagement/lib/response/list-work-requests-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/manage-job-execution-response.ts b/lib/fleetappsmanagement/lib/response/manage-job-execution-response.ts index 7fce3933c8..af1264c8ff 100644 --- a/lib/fleetappsmanagement/lib/response/manage-job-execution-response.ts +++ b/lib/fleetappsmanagement/lib/response/manage-job-execution-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/manage-settings-response.ts b/lib/fleetappsmanagement/lib/response/manage-settings-response.ts index a9340a161e..85d3927420 100644 --- a/lib/fleetappsmanagement/lib/response/manage-settings-response.ts +++ b/lib/fleetappsmanagement/lib/response/manage-settings-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/publish-runbook-response.ts b/lib/fleetappsmanagement/lib/response/publish-runbook-response.ts index 232117fa55..b29700ca6a 100644 --- a/lib/fleetappsmanagement/lib/response/publish-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/publish-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/request-resource-validation-response.ts b/lib/fleetappsmanagement/lib/response/request-resource-validation-response.ts index 00752832c0..cfcb8ead8c 100644 --- a/lib/fleetappsmanagement/lib/response/request-resource-validation-response.ts +++ b/lib/fleetappsmanagement/lib/response/request-resource-validation-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/request-target-discovery-response.ts b/lib/fleetappsmanagement/lib/response/request-target-discovery-response.ts index c8a5524d25..3aacbbc205 100644 --- a/lib/fleetappsmanagement/lib/response/request-target-discovery-response.ts +++ b/lib/fleetappsmanagement/lib/response/request-target-discovery-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/set-default-runbook-response.ts b/lib/fleetappsmanagement/lib/response/set-default-runbook-response.ts index 707c0b5ac7..b69f15c394 100644 --- a/lib/fleetappsmanagement/lib/response/set-default-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/set-default-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/summarize-compliance-record-counts-response.ts b/lib/fleetappsmanagement/lib/response/summarize-compliance-record-counts-response.ts index 0367b18b7e..61718df47e 100644 --- a/lib/fleetappsmanagement/lib/response/summarize-compliance-record-counts-response.ts +++ b/lib/fleetappsmanagement/lib/response/summarize-compliance-record-counts-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/summarize-managed-entity-counts-response.ts b/lib/fleetappsmanagement/lib/response/summarize-managed-entity-counts-response.ts index 031135756b..71a3d5f92d 100644 --- a/lib/fleetappsmanagement/lib/response/summarize-managed-entity-counts-response.ts +++ b/lib/fleetappsmanagement/lib/response/summarize-managed-entity-counts-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/summarize-scheduler-job-counts-response.ts b/lib/fleetappsmanagement/lib/response/summarize-scheduler-job-counts-response.ts index 28a17f71b4..5ccf6beee4 100644 --- a/lib/fleetappsmanagement/lib/response/summarize-scheduler-job-counts-response.ts +++ b/lib/fleetappsmanagement/lib/response/summarize-scheduler-job-counts-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-catalog-item-response.ts b/lib/fleetappsmanagement/lib/response/update-catalog-item-response.ts new file mode 100644 index 0000000000..7f9317dc0a --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/update-catalog-item-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateCatalogItemResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/update-compliance-policy-rule-response.ts b/lib/fleetappsmanagement/lib/response/update-compliance-policy-rule-response.ts index 0884b18f5c..5a22232ca1 100644 --- a/lib/fleetappsmanagement/lib/response/update-compliance-policy-rule-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-compliance-policy-rule-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-fleet-credential-response.ts b/lib/fleetappsmanagement/lib/response/update-fleet-credential-response.ts index a99c53b19f..4d205c6411 100644 --- a/lib/fleetappsmanagement/lib/response/update-fleet-credential-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-fleet-credential-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-fleet-property-response.ts b/lib/fleetappsmanagement/lib/response/update-fleet-property-response.ts index 8cdbfb5ef9..646c9b8234 100644 --- a/lib/fleetappsmanagement/lib/response/update-fleet-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-fleet-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-fleet-resource-response.ts b/lib/fleetappsmanagement/lib/response/update-fleet-resource-response.ts index 04a0fea911..6e2c5d77e8 100644 --- a/lib/fleetappsmanagement/lib/response/update-fleet-resource-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-fleet-resource-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-fleet-response.ts b/lib/fleetappsmanagement/lib/response/update-fleet-response.ts index 904c4999c8..4599a544f2 100644 --- a/lib/fleetappsmanagement/lib/response/update-fleet-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-fleet-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-maintenance-window-response.ts b/lib/fleetappsmanagement/lib/response/update-maintenance-window-response.ts index da20c28acd..2231e5a764 100644 --- a/lib/fleetappsmanagement/lib/response/update-maintenance-window-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-maintenance-window-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-onboarding-response.ts b/lib/fleetappsmanagement/lib/response/update-onboarding-response.ts index df960daf76..ef2aa05633 100644 --- a/lib/fleetappsmanagement/lib/response/update-onboarding-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-onboarding-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-patch-response.ts b/lib/fleetappsmanagement/lib/response/update-patch-response.ts index b1844e865d..0b1333fb8f 100644 --- a/lib/fleetappsmanagement/lib/response/update-patch-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-patch-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-platform-configuration-response.ts b/lib/fleetappsmanagement/lib/response/update-platform-configuration-response.ts index b1f3c9870c..ffba8d8a36 100644 --- a/lib/fleetappsmanagement/lib/response/update-platform-configuration-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-platform-configuration-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-property-response.ts b/lib/fleetappsmanagement/lib/response/update-property-response.ts index 2a74f1183a..add7282a3f 100644 --- a/lib/fleetappsmanagement/lib/response/update-property-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-property-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-provision-response.ts b/lib/fleetappsmanagement/lib/response/update-provision-response.ts new file mode 100644 index 0000000000..e3a9934741 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/update-provision-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateProvisionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/update-runbook-response.ts b/lib/fleetappsmanagement/lib/response/update-runbook-response.ts index 38e138a877..c36ff95a23 100644 --- a/lib/fleetappsmanagement/lib/response/update-runbook-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-runbook-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-runbook-version-response.ts b/lib/fleetappsmanagement/lib/response/update-runbook-version-response.ts new file mode 100644 index 0000000000..156340e249 --- /dev/null +++ b/lib/fleetappsmanagement/lib/response/update-runbook-version-response.ts @@ -0,0 +1,29 @@ +/** + * + * + * OpenAPI spec version: 20250228 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateRunbookVersionResponse { + /** + * Unique Oracle-assigned identifier for the asynchronous work. You can use this to query its status. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/fleetappsmanagement/lib/response/update-scheduler-definition-response.ts b/lib/fleetappsmanagement/lib/response/update-scheduler-definition-response.ts index 134633e2b0..4d1be4f4f4 100644 --- a/lib/fleetappsmanagement/lib/response/update-scheduler-definition-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-scheduler-definition-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-scheduler-job-response.ts b/lib/fleetappsmanagement/lib/response/update-scheduler-job-response.ts index 5bfd70893f..8bd4f31fc0 100644 --- a/lib/fleetappsmanagement/lib/response/update-scheduler-job-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-scheduler-job-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/lib/response/update-task-record-response.ts b/lib/fleetappsmanagement/lib/response/update-task-record-response.ts index e3f565ea44..9773743bdf 100644 --- a/lib/fleetappsmanagement/lib/response/update-task-record-response.ts +++ b/lib/fleetappsmanagement/lib/response/update-task-record-response.ts @@ -1,7 +1,7 @@ /** * * - * OpenAPI spec version: 20230831 + * OpenAPI spec version: 20250228 * * * NOTE: This class is auto generated by OracleSDKGenerator. diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 24fac24c85..5b1107080e 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index 215714e936..ce635dc8bc 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/package.json b/lib/functions/package.json index 2822c7b0bd..66ece5c6f1 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index e6ab24dfcf..7b38755fcd 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index a2aa64192a..24e8c4d2e0 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index 4343c1e301..a138dae91b 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Generative Ai Agent Service", "repository": { "type": "git", diff --git a/lib/generativeaiagentruntime/package.json b/lib/generativeaiagentruntime/package.json index 76958b7964..9624c23531 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index c9c14394f3..841ea4908e 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Generative Ai Inference Service", "repository": { "type": "git", diff --git a/lib/genericartifactscontent/package.json b/lib/genericartifactscontent/package.json index e78d0e572c..141f94a508 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Generic Artifacts Content Service", "repository": { "type": "git", diff --git a/lib/globallydistributeddatabase/package.json b/lib/globallydistributeddatabase/package.json index 3498b1ecfa..6db081d379 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index 807e8e1806..362a24c640 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Golden Gate Service", "repository": { "type": "git", diff --git a/lib/governancerulescontrolplane/package.json b/lib/governancerulescontrolplane/package.json index 23140ef215..a6c29e23f5 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Governance Rules Control Plane Service", "repository": { "type": "git", diff --git a/lib/healthchecks/package.json b/lib/healthchecks/package.json index d8abd76059..d3a37678e7 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 2a69cc7eb4..32ed21487e 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 2b6e28bc13..5a0696bade 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Identity Data Plane Service", "repository": { "type": "git", diff --git a/lib/identitydomains/package.json b/lib/identitydomains/package.json index 2ab6a370ba..0729154ab4 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Identity Domains Service", "repository": { "type": "git", diff --git a/lib/integration/package.json b/lib/integration/package.json index 164142792f..9bf0cd5713 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index d6fdffca2d..86d9e45883 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 67aa8e948d..032f899fa3 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 1f44fbbf32..d3055eaca7 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 58ae7adbcb..26f23530f1 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/package.json b/lib/limits/package.json index f50383336b..76de0bc3a5 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 25bf8d1738..ef7e35dcbf 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 44e8e86f1a..8c2b3ac8b5 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/lib/client.ts b/lib/loganalytics/lib/client.ts index 941e8f5d09..6bbe46518a 100644 --- a/lib/loganalytics/lib/client.ts +++ b/lib/loganalytics/lib/client.ts @@ -1116,6 +1116,83 @@ export class LogAnalyticsClient { } } + /** + * Moves the specified lookup to a different compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeLookupCompartmentRequest + * @return ChangeLookupCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ChangeLookupCompartment.ts.html |here} to see how to use ChangeLookupCompartment API. + */ + public async changeLookupCompartment( + changeLookupCompartmentRequest: requests.ChangeLookupCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation LogAnalyticsClient#changeLookupCompartment."); + const operationName = "changeLookupCompartment"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsLookup/ChangeLookupCompartment"; + const pathParams = { + "{namespaceName}": changeLookupCompartmentRequest.namespaceName, + "{lookupName}": changeLookupCompartmentRequest.lookupName + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeLookupCompartmentRequest.ifMatch, + "opc-request-id": changeLookupCompartmentRequest.opcRequestId, + "opc-retry-token": changeLookupCompartmentRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeLookupCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/lookups/{lookupName}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeLookupCompartmentRequest.changeLookupCompartmentDetails, + "ChangeLookupCompartmentDetails", + model.ChangeLookupCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Move the scheduled task into a different compartment within the same tenancy. * @@ -2302,7 +2379,9 @@ export class LogAnalyticsClient { "{logAnalyticsEntityId}": deleteLogAnalyticsEntityRequest.logAnalyticsEntityId }; - const queryParams = {}; + const queryParams = { + "isForceDelete": deleteLogAnalyticsEntityRequest.isForceDelete + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -4722,6 +4801,79 @@ export class LogAnalyticsClient { } } + /** + * Gets usage information about the field with the specified name. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetFieldUsagesRequest + * @return GetFieldUsagesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/GetFieldUsages.ts.html |here} to see how to use GetFieldUsages API. + */ + public async getFieldUsages( + getFieldUsagesRequest: requests.GetFieldUsagesRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#getFieldUsages."); + const operationName = "getFieldUsages"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsField/GetFieldUsages"; + const pathParams = { + "{namespaceName}": getFieldUsagesRequest.namespaceName, + "{fieldName}": getFieldUsagesRequest.fieldName + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getFieldUsagesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getFieldUsagesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/fields/{fieldName}/usages", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "logAnalyticsFieldUsages", + bodyModel: model.LogAnalyticsFieldUsages, + type: "model.LogAnalyticsFieldUsages", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Returns the count of fields. You may optionally specify isShowDetail=true to view a summary of each field data type. * @@ -5271,7 +5423,9 @@ export class LogAnalyticsClient { "{logAnalyticsEntityId}": getLogAnalyticsEntityRequest.logAnalyticsEntityId }; - const queryParams = {}; + const queryParams = { + "isShowAssociatedSourcesCount": getLogAnalyticsEntityRequest.isShowAssociatedSourcesCount + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -5811,7 +5965,9 @@ export class LogAnalyticsClient { "{namespaceName}": getLookupSummaryRequest.namespaceName }; - const queryParams = {}; + const queryParams = { + "compartmentId": getLookupSummaryRequest.compartmentId + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -7049,6 +7205,84 @@ export class LogAnalyticsClient { } } + /** + * Gets detailed information about the template with the specified ocid. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetTemplateRequest + * @return GetTemplateResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/GetTemplate.ts.html |here} to see how to use GetTemplate API. + */ + public async getTemplate( + getTemplateRequest: requests.GetTemplateRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#getTemplate."); + const operationName = "getTemplate"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsTemplate/GetTemplate"; + const pathParams = { + "{namespaceName}": getTemplateRequest.namespaceName, + "{templateId}": getTemplateRequest.templateId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getTemplateRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getTemplateRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/templates/{templateId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "logAnalyticsTemplate", + bodyModel: model.LogAnalyticsTemplate, + type: "model.LogAnalyticsTemplate", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * This API retrieves details of the configured bucket that stores unprocessed payloads. * @@ -7831,6 +8065,7 @@ export class LogAnalyticsClient { "isIncludePatterns": listEffectivePropertiesRequest.isIncludePatterns, "entityId": listEffectivePropertiesRequest.entityId, "patternId": listEffectivePropertiesRequest.patternId, + "patternIdLong": listEffectivePropertiesRequest.patternIdLong, "name": listEffectivePropertiesRequest.name, "limit": listEffectivePropertiesRequest.limit, "page": listEffectivePropertiesRequest.page, @@ -8729,7 +8964,12 @@ export class LogAnalyticsClient { "page": listLogAnalyticsEntitiesRequest.page, "sortOrder": listLogAnalyticsEntitiesRequest.sortOrder, "sortBy": listLogAnalyticsEntitiesRequest.sortBy, - "metadataEquals": listLogAnalyticsEntitiesRequest.metadataEquals + "metadataEquals": listLogAnalyticsEntitiesRequest.metadataEquals, + "definedTagEquals": listLogAnalyticsEntitiesRequest.definedTagEquals, + "freeformTagEquals": listLogAnalyticsEntitiesRequest.freeformTagEquals, + "definedTagExists": listLogAnalyticsEntitiesRequest.definedTagExists, + "freeformTagExists": listLogAnalyticsEntitiesRequest.freeformTagExists, + "isShowAssociatedSourcesCount": listLogAnalyticsEntitiesRequest.isShowAssociatedSourcesCount }; let headerParams = { @@ -8814,7 +9054,8 @@ export class LogAnalyticsClient { "page": listLogAnalyticsEntityTopologyRequest.page, "sortOrder": listLogAnalyticsEntityTopologyRequest.sortOrder, "sortBy": listLogAnalyticsEntityTopologyRequest.sortBy, - "metadataEquals": listLogAnalyticsEntityTopologyRequest.metadataEquals + "metadataEquals": listLogAnalyticsEntityTopologyRequest.metadataEquals, + "context": listLogAnalyticsEntityTopologyRequest.context }; let headerParams = { @@ -9245,6 +9486,7 @@ export class LogAnalyticsClient { "sortBy": listLookupsRequest.sortBy, "status": listLookupsRequest.status, "categories": listLookupsRequest.categories, + "compartmentId": listLookupsRequest.compartmentId, "isHideSpecial": listLookupsRequest.isHideSpecial, "limit": listLookupsRequest.limit, "page": listLookupsRequest.page, @@ -9561,6 +9803,95 @@ export class LogAnalyticsClient { } } + /** + * Returns a list of parser actions. You may limit the number of results and provide sorting order. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListParserActionsRequest + * @return ListParserActionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListParserActions.ts.html |here} to see how to use ListParserActions API. + */ + public async listParserActions( + listParserActionsRequest: requests.ListParserActionsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#listParserActions."); + const operationName = "listParserActions"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsParser/ListParserActions"; + const pathParams = { + "{namespaceName}": listParserActionsRequest.namespaceName + }; + + const queryParams = { + "name": listParserActionsRequest.name, + "actionDisplayText": listParserActionsRequest.actionDisplayText, + "limit": listParserActionsRequest.limit, + "page": listParserActionsRequest.page, + "sortOrder": listParserActionsRequest.sortOrder, + "sortBy": listParserActionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listParserActionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listParserActionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/parserActions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "parserActionSummaryCollection", + bodyModel: model.ParserActionSummaryCollection, + type: "model.ParserActionSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Lists the parser functions defined for the specified parser. * @@ -10102,6 +10433,97 @@ export class LogAnalyticsClient { } } + /** + * This API returns the list of recalled data of a tenancy. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListRecalledInfoRequest + * @return ListRecalledInfoResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListRecalledInfo.ts.html |here} to see how to use ListRecalledInfo API. + */ + public async listRecalledInfo( + listRecalledInfoRequest: requests.ListRecalledInfoRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#listRecalledInfo."); + const operationName = "listRecalledInfo"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Storage/ListRecalledInfo"; + const pathParams = { + "{namespaceName}": listRecalledInfoRequest.namespaceName + }; + + const queryParams = { + "limit": listRecalledInfoRequest.limit, + "page": listRecalledInfoRequest.page, + "sortBy": listRecalledInfoRequest.sortBy, + "sortOrder": listRecalledInfoRequest.sortOrder, + "timeDataStartedGreaterThanOrEqual": + listRecalledInfoRequest.timeDataStartedGreaterThanOrEqual, + "timeDataEndedLessThan": listRecalledInfoRequest.timeDataEndedLessThan, + "logSets": listRecalledInfoRequest.logSets + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listRecalledInfoRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listRecalledInfoRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/storage/recalledInfoCollection", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "recalledInfoCollection", + bodyModel: model.RecalledInfoCollection, + type: "model.RecalledInfoCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Returns a list of resources and their category assignments. * You may limit the number of results, provide sorting order, and filter by information such as resource type. @@ -10128,6 +10550,7 @@ export class LogAnalyticsClient { "categories": listResourceCategoriesRequest.categories, "resourceTypes": listResourceCategoriesRequest.resourceTypes, "resourceIds": listResourceCategoriesRequest.resourceIds, + "compartmentId": listResourceCategoriesRequest.compartmentId, "sortOrder": listResourceCategoriesRequest.sortOrder, "sortBy": listResourceCategoriesRequest.sortBy, "limit": listResourceCategoriesRequest.limit, @@ -10313,6 +10736,7 @@ export class LogAnalyticsClient { "displayName": listScheduledTasksRequest.displayName, "sortOrder": listScheduledTasksRequest.sortOrder, "sortBy": listScheduledTasksRequest.sortBy, + "templateId": listScheduledTasksRequest.templateId, "savedSearchId": listScheduledTasksRequest.savedSearchId, "displayNameContains": listScheduledTasksRequest.displayNameContains, "targetService": listScheduledTasksRequest.targetService @@ -10949,6 +11373,7 @@ export class LogAnalyticsClient { "name": listSourcesRequest.name, "sourceType": listSourcesRequest.sourceType, "categories": listSourcesRequest.categories, + "patternText": listSourcesRequest.patternText, "isSimplified": listSourcesRequest.isSimplified, "compartmentId": listSourcesRequest.compartmentId }; @@ -11367,6 +11792,99 @@ export class LogAnalyticsClient { } } + /** + * Returns a list of templates, containing detailed information about them. You may limit the number of results, provide sorting order, and filter by information such as template name, type, display name and description. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListTemplatesRequest + * @return ListTemplatesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListTemplates.ts.html |here} to see how to use ListTemplates API. + */ + public async listTemplates( + listTemplatesRequest: requests.ListTemplatesRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#listTemplates."); + const operationName = "listTemplates"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/LogAnalyticsTemplate/ListTemplates"; + const pathParams = { + "{namespaceName}": listTemplatesRequest.namespaceName + }; + + const queryParams = { + "compartmentId": listTemplatesRequest.compartmentId, + "type": listTemplatesRequest.type, + "name": listTemplatesRequest.name, + "templateDisplayText": listTemplatesRequest.templateDisplayText, + "lifecycleState": listTemplatesRequest.lifecycleState, + "filter": listTemplatesRequest.filter, + "limit": listTemplatesRequest.limit, + "page": listTemplatesRequest.page, + "sortOrder": listTemplatesRequest.sortOrder, + "sortBy": listTemplatesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listTemplatesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listTemplatesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/templates", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "logAnalyticsTemplateCollection", + bodyModel: model.LogAnalyticsTemplateCollection, + type: "model.LogAnalyticsTemplateCollection", + responseHeaders: [ + { + value: response.headers.get("opc-prev-page"), + key: "opcPrevPage", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Gets list of files in an upload along with its processing state. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -12624,7 +13142,7 @@ export class LogAnalyticsClient { } /** - * Creates a lookup with the specified name, type and description. The csv file containing the lookup content is passed in as binary data in the request. + * Creates a lookup with the specified name, type and description. * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param RegisterLookupRequest @@ -12648,7 +13166,8 @@ export class LogAnalyticsClient { "description": registerLookupRequest.description, "charEncoding": registerLookupRequest.charEncoding, "isHidden": registerLookupRequest.isHidden, - "type": registerLookupRequest.type + "type": registerLookupRequest.type, + "compartmentId": registerLookupRequest.compartmentId }; let headerParams = { @@ -14891,6 +15410,92 @@ export class LogAnalyticsClient { } } + /** + * Accepts log data in OTLP JSON-encoded Protobuf format. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UploadOtlpLogsRequest + * @return UploadOtlpLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/UploadOtlpLogs.ts.html |here} to see how to use UploadOtlpLogs API. + */ + public async uploadOtlpLogs( + uploadOtlpLogsRequest: requests.UploadOtlpLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation LogAnalyticsClient#uploadOtlpLogs."); + const operationName = "uploadOtlpLogs"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/logan-api-spec/20200601/Upload/UploadOtlpLogs"; + const pathParams = { + "{namespaceName}": uploadOtlpLogsRequest.namespaceName + }; + + const queryParams = {}; + + let headerParams = { + "opc-request-id": uploadOtlpLogsRequest.opcRequestId, + "opc-meta-loggrpid": uploadOtlpLogsRequest.opcMetaLoggrpid, + "log-set": uploadOtlpLogsRequest.logSet, + "content-type": uploadOtlpLogsRequest.contentType, + "opc-retry-token": uploadOtlpLogsRequest.opcRetryToken, + "opc-meta-properties": uploadOtlpLogsRequest.opcMetaProperties, + "expect": uploadOtlpLogsRequest.expect + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + uploadOtlpLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/namespaces/{namespaceName}/actions/otlp/v1/logs", + method: "POST", + bodyContent: uploadOtlpLogsRequest.uploadOtlpLogsDetails, + pathParams: pathParams, + headerParams: headerParams, + backupBinaryBody: retrier.backUpBinaryBody, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink, + true + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-object-id"), + key: "opcObjectId", + dataType: "string" + }, + { + value: response.headers.get("timeCreated"), + key: "timeCreated", + dataType: "Date" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Creates or updates associations between sources and entities. All entities should belong to the specified input compartment. * diff --git a/lib/loganalytics/lib/model/abstract-command-descriptor.ts b/lib/loganalytics/lib/model/abstract-command-descriptor.ts index ec6b500212..a88c7017fd 100644 --- a/lib/loganalytics/lib/model/abstract-command-descriptor.ts +++ b/lib/loganalytics/lib/model/abstract-command-descriptor.ts @@ -104,6 +104,11 @@ export namespace AbstractCommandDescriptor { (jsonObj), true ); + case "UPDATETABLE": + return model.UpdateTableCommandDescriptor.getJsonObj( + (jsonObj), + true + ); case "DEMO_MODE": return model.DemoModeCommandDescriptor.getJsonObj( (jsonObj), @@ -404,6 +409,11 @@ export namespace AbstractCommandDescriptor { (jsonObj), true ); + case "UPDATETABLE": + return model.UpdateTableCommandDescriptor.getDeserializedJsonObj( + (jsonObj), + true + ); case "DEMO_MODE": return model.DemoModeCommandDescriptor.getDeserializedJsonObj( (jsonObj), diff --git a/lib/loganalytics/lib/model/auto-schedule.ts b/lib/loganalytics/lib/model/auto-schedule.ts new file mode 100644 index 0000000000..be682f44ad --- /dev/null +++ b/lib/loganalytics/lib/model/auto-schedule.ts @@ -0,0 +1,43 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Auto Fixed frequency schedule for a scheduled task. + */ +export interface AutoSchedule extends model.Schedule { + "type": string; +} + +export namespace AutoSchedule { + export function getJsonObj(obj: AutoSchedule, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Schedule.getJsonObj(obj) as AutoSchedule)), + ...{} + }; + + return jsonObj; + } + export const type = "AUTO"; + export function getDeserializedJsonObj(obj: AutoSchedule, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.Schedule.getDeserializedJsonObj(obj) as AutoSchedule)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/change-lookup-compartment-details.ts b/lib/loganalytics/lib/model/change-lookup-compartment-details.ts new file mode 100644 index 0000000000..33b10467a4 --- /dev/null +++ b/lib/loganalytics/lib/model/change-lookup-compartment-details.ts @@ -0,0 +1,41 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The information required to change the compartment of a lookup. + * + */ +export interface ChangeLookupCompartmentDetails { + /** + * The OCID of the compartment where the log analytics entity should be moved. + * + */ + "compartmentId": string; +} + +export namespace ChangeLookupCompartmentDetails { + export function getJsonObj(obj: ChangeLookupCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ChangeLookupCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/create-log-analytics-object-collection-rule-details.ts b/lib/loganalytics/lib/model/create-log-analytics-object-collection-rule-details.ts index 23007910c4..b3ebf8f7d6 100644 --- a/lib/loganalytics/lib/model/create-log-analytics-object-collection-rule-details.ts +++ b/lib/loganalytics/lib/model/create-log-analytics-object-collection-rule-details.ts @@ -68,7 +68,7 @@ export interface CreateLogAnalyticsObjectCollectionRuleDetails { /** * Name of the Logging Analytics Source to use for the processing. */ - "logSourceName": string; + "logSourceName"?: string; /** * Logging Analytics entity OCID. Associates the processed logs with the given entity (optional). */ @@ -135,6 +135,27 @@ export interface CreateLogAnalyticsObjectCollectionRuleDetails { * */ "isForceHistoricCollection"?: boolean; + /** + * A Stream OCID is required for Object Collection rules of type LIVE or HISTORIC_LIVE, which will be used by Logging Analytics while creating Event Rule and consume the event notifications created by the Object Storage. + * + */ + "streamId"?: string; + /** + * Cursor type used to fetch messages from stream. + * When the streamCursorType is set to DEFAULT, the existing cursor position will be used if already set by any previous objection collection rule(s) using the same stream. + * Otherwise, the behaviour is to consume from the oldest available message in the stream. + * When the streamCursorType is set to TRIM_HORIZON, the behaviour is to start consuming from the oldest available message in the stream. + * When the streamCursorType is set to LATEST, the behavior is to start consuming messages that were published after the creation of this rule. + * When the streamCursorType is set to AT_TIME, the behavior is to start consuming from a given time. + * For more information on cursor types, see [Stream Consumer Groups](https://docs.oracle.com/en-us/iaas/Content/Streaming/Tasks/using_consumer_groups.htm). + * + */ + "streamCursorType"?: model.StreamCursorTypes; + /** + * The time from which to consume the objects, if streamCursorType is AT_TIME. + * + */ + "streamCursorTime"?: Date; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/loganalytics/lib/model/create-standard-task-details.ts b/lib/loganalytics/lib/model/create-standard-task-details.ts index 106e97e3ad..cff8712534 100644 --- a/lib/loganalytics/lib/model/create-standard-task-details.ts +++ b/lib/loganalytics/lib/model/create-standard-task-details.ts @@ -31,7 +31,7 @@ export interface CreateStandardTaskDetails extends model.CreateScheduledTaskDeta * Note there may only be a single schedule for SAVED_SEARCH and PURGE scheduled tasks. * */ - "schedules": Array; + "schedules"?: Array; "action": model.PurgeAction | model.StreamAction; "kind": string; diff --git a/lib/loganalytics/lib/model/cron-schedule.ts b/lib/loganalytics/lib/model/cron-schedule.ts index 53af8fa6f1..78d7ac1384 100644 --- a/lib/loganalytics/lib/model/cron-schedule.ts +++ b/lib/loganalytics/lib/model/cron-schedule.ts @@ -22,11 +22,11 @@ export interface CronSchedule extends model.Schedule { /** * Value in cron format. */ - "expression": string; + "expression"?: string; /** * Time zone, by default UTC. */ - "timeZone": string; + "timeZone"?: string; "type": string; } diff --git a/lib/loganalytics/lib/model/dependency.ts b/lib/loganalytics/lib/model/dependency.ts index 21b8cb49c4..420f7040b3 100644 --- a/lib/loganalytics/lib/model/dependency.ts +++ b/lib/loganalytics/lib/model/dependency.ts @@ -33,6 +33,14 @@ export interface Dependency { * The unique identifier of the reference, if available. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "referenceId"?: number; + /** + * The name of the dependency object + */ + "referenceName"?: string; + /** + * The display name of the dependency object + */ + "referenceDisplayName"?: string; } export namespace Dependency { diff --git a/lib/loganalytics/lib/model/dependent-parser.ts b/lib/loganalytics/lib/model/dependent-parser.ts index e0e469c530..7cc88d76ec 100644 --- a/lib/loganalytics/lib/model/dependent-parser.ts +++ b/lib/loganalytics/lib/model/dependent-parser.ts @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A parser used by another parser. + * A parser that depends on or uses the resource such as a field or another parser. */ export interface DependentParser { /** diff --git a/lib/loganalytics/lib/model/dependent-source.ts b/lib/loganalytics/lib/model/dependent-source.ts index 6294911fff..e3e3ca241c 100644 --- a/lib/loganalytics/lib/model/dependent-source.ts +++ b/lib/loganalytics/lib/model/dependent-source.ts @@ -16,7 +16,7 @@ import * as model from "../model"; import common = require("oci-common"); /** - * A source that uses the parser, either directly or indirectly. + * A source that depends on or uses the resource such as a field or a parser */ export interface DependentSource { /** diff --git a/lib/loganalytics/lib/model/estimate-recall-data-size-result.ts b/lib/loganalytics/lib/model/estimate-recall-data-size-result.ts index 5074c15a7f..fe8f813cea 100644 --- a/lib/loganalytics/lib/model/estimate-recall-data-size-result.ts +++ b/lib/loganalytics/lib/model/estimate-recall-data-size-result.ts @@ -50,6 +50,14 @@ export interface EstimateRecallDataSizeResult { * This is the size limit in bytes Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "sizeLimitInBytes"?: number; + /** + * This message shows existing recall overlapping details like collection id, purpose + */ + "message"?: string; + /** + * This is the total number of batches data will be recalled in Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalBatchSize"?: number; } export namespace EstimateRecallDataSizeResult { diff --git a/lib/loganalytics/lib/model/export-details.ts b/lib/loganalytics/lib/model/export-details.ts index 7b49929041..b328a73e62 100644 --- a/lib/loganalytics/lib/model/export-details.ts +++ b/lib/loganalytics/lib/model/export-details.ts @@ -82,7 +82,8 @@ Queries that include certain commands such as head, tail or stats cannot be stre export namespace ExportDetails { export enum OutputFormat { Csv = "CSV", - Json = "JSON" + Json = "JSON", + Parquet = "PARQUET" } export function getJsonObj(obj: ExportDetails): object { diff --git a/lib/loganalytics/lib/model/fixed-frequency-schedule.ts b/lib/loganalytics/lib/model/fixed-frequency-schedule.ts index 26199d2cef..69a2e8403d 100644 --- a/lib/loganalytics/lib/model/fixed-frequency-schedule.ts +++ b/lib/loganalytics/lib/model/fixed-frequency-schedule.ts @@ -26,7 +26,7 @@ export interface FixedFrequencySchedule extends model.Schedule { * The value must be at least 5 minutes (PT5M) and at most 3 weeks (P21D or PT30240M). * */ - "recurringInterval": string; + "recurringInterval"?: string; /** * Number of times (0-based) to execute until auto-stop. * Default value -1 will execute indefinitely. diff --git a/lib/loganalytics/lib/model/generic-condition-block.ts b/lib/loganalytics/lib/model/generic-condition-block.ts new file mode 100644 index 0000000000..7731338b3f --- /dev/null +++ b/lib/loganalytics/lib/model/generic-condition-block.ts @@ -0,0 +1,98 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A condition block. This could represent a single condition, or have nested condition blocks under it. + * To form a single condition, specify the name, operator and value(s). + * To form nested conditions, specify the conditions in conditionBlocks, and how to join them in conditionBlocksOperator. + * + */ +export interface GenericConditionBlock { + /** + * Operator using which the conditionBlocks should be joined. Specify this for nested conditions. + * + */ + "conditionBlocksOperator"?: GenericConditionBlock.ConditionBlocksOperator; + /** + * The name of the field the condition is based on. Specify this if this condition block represents a single condition. + * + */ + "name"?: string; + /** + * The condition operator. Specify this if this condition block represents a single condition. + * + */ + "operator"?: string; + /** + * The condition value. Specify this if this condition block represents a single condition. + * + */ + "value"?: string; + /** + * A list of condition values. Specify this if this condition block represents a single condition. + * + */ + "values"?: Array; + /** + * Condition blocks to evaluate within this condition block. Specify this for nested conditions. + * + */ + "genericConditionBlocks"?: Array; +} + +export namespace GenericConditionBlock { + export enum ConditionBlocksOperator { + And = "AND", + Or = "OR", + NotAnd = "NOT_AND", + NotOr = "NOT_OR", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: GenericConditionBlock): object { + const jsonObj = { + ...obj, + ...{ + "genericConditionBlocks": obj.genericConditionBlocks + ? obj.genericConditionBlocks.map(item => { + return model.GenericConditionBlock.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GenericConditionBlock): object { + const jsonObj = { + ...obj, + ...{ + "genericConditionBlocks": obj.genericConditionBlocks + ? obj.genericConditionBlocks.map(item => { + return model.GenericConditionBlock.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/index.ts b/lib/loganalytics/lib/model/index.ts index 359f55f1a6..8f18fa4a34 100644 --- a/lib/loganalytics/lib/model/index.ts +++ b/lib/loganalytics/lib/model/index.ts @@ -60,6 +60,8 @@ import * as ChangeLogAnalyticsLogGroupCompartmentDetails from "./change-log-anal export import ChangeLogAnalyticsLogGroupCompartmentDetails = ChangeLogAnalyticsLogGroupCompartmentDetails.ChangeLogAnalyticsLogGroupCompartmentDetails; import * as ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails from "./change-log-analytics-object-collection-rule-compartment-details"; export import ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails = ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails.ChangeLogAnalyticsObjectCollectionRuleCompartmentDetails; +import * as ChangeLookupCompartmentDetails from "./change-lookup-compartment-details"; +export import ChangeLookupCompartmentDetails = ChangeLookupCompartmentDetails.ChangeLookupCompartmentDetails; import * as ChangeScheduledTaskCompartmentDetails from "./change-scheduled-task-compartment-details"; export import ChangeScheduledTaskCompartmentDetails = ChangeScheduledTaskCompartmentDetails.ChangeScheduledTaskCompartmentDetails; import * as CharEncodingCollection from "./char-encoding-collection"; @@ -194,6 +196,8 @@ import * as FilterDetails from "./filter-details"; export import FilterDetails = FilterDetails.FilterDetails; import * as FilterOutput from "./filter-output"; export import FilterOutput = FilterOutput.FilterOutput; +import * as GenericConditionBlock from "./generic-condition-block"; +export import GenericConditionBlock = GenericConditionBlock.GenericConditionBlock; import * as Indexes from "./indexes"; export import Indexes = Indexes.Indexes; import * as IngestTimeRule from "./ingest-time-rule"; @@ -296,6 +300,8 @@ import * as LogAnalyticsFieldCollection from "./log-analytics-field-collection"; export import LogAnalyticsFieldCollection = LogAnalyticsFieldCollection.LogAnalyticsFieldCollection; import * as LogAnalyticsFieldSummary from "./log-analytics-field-summary"; export import LogAnalyticsFieldSummary = LogAnalyticsFieldSummary.LogAnalyticsFieldSummary; +import * as LogAnalyticsFieldUsages from "./log-analytics-field-usages"; +export import LogAnalyticsFieldUsages = LogAnalyticsFieldUsages.LogAnalyticsFieldUsages; import * as LogAnalyticsImportCustomChangeList from "./log-analytics-import-custom-change-list"; export import LogAnalyticsImportCustomChangeList = LogAnalyticsImportCustomChangeList.LogAnalyticsImportCustomChangeList; import * as LogAnalyticsImportCustomContent from "./log-analytics-import-custom-content"; @@ -422,6 +428,12 @@ import * as LogAnalyticsSourcePatternCollection from "./log-analytics-source-pat export import LogAnalyticsSourcePatternCollection = LogAnalyticsSourcePatternCollection.LogAnalyticsSourcePatternCollection; import * as LogAnalyticsSourceSummary from "./log-analytics-source-summary"; export import LogAnalyticsSourceSummary = LogAnalyticsSourceSummary.LogAnalyticsSourceSummary; +import * as LogAnalyticsTemplate from "./log-analytics-template"; +export import LogAnalyticsTemplate = LogAnalyticsTemplate.LogAnalyticsTemplate; +import * as LogAnalyticsTemplateCollection from "./log-analytics-template-collection"; +export import LogAnalyticsTemplateCollection = LogAnalyticsTemplateCollection.LogAnalyticsTemplateCollection; +import * as LogAnalyticsTemplateSummary from "./log-analytics-template-summary"; +export import LogAnalyticsTemplateSummary = LogAnalyticsTemplateSummary.LogAnalyticsTemplateSummary; import * as LogAnalyticsWarning from "./log-analytics-warning"; export import LogAnalyticsWarning = LogAnalyticsWarning.LogAnalyticsWarning; import * as LogAnalyticsWarningCollection from "./log-analytics-warning-collection"; @@ -474,6 +486,12 @@ import * as ParsedContent from "./parsed-content"; export import ParsedContent = ParsedContent.ParsedContent; import * as ParsedField from "./parsed-field"; export import ParsedField = ParsedField.ParsedField; +import * as ParserAction from "./parser-action"; +export import ParserAction = ParserAction.ParserAction; +import * as ParserActionSummary from "./parser-action-summary"; +export import ParserActionSummary = ParserActionSummary.ParserActionSummary; +import * as ParserActionSummaryCollection from "./parser-action-summary-collection"; +export import ParserActionSummaryCollection = ParserActionSummaryCollection.ParserActionSummaryCollection; import * as ParserSummaryReport from "./parser-summary-report"; export import ParserSummaryReport = ParserSummaryReport.ParserSummaryReport; import * as ParserTestResult from "./parser-test-result"; @@ -482,6 +500,8 @@ import * as PatternOverride from "./pattern-override"; export import PatternOverride = PatternOverride.PatternOverride; import * as PayloadType from "./payload-type"; export import PayloadType = PayloadType.PayloadType; +import * as PropertyDefinition from "./property-definition"; +export import PropertyDefinition = PropertyDefinition.PropertyDefinition; import * as PropertyMetadataSummary from "./property-metadata-summary"; export import PropertyMetadataSummary = PropertyMetadataSummary.PropertyMetadataSummary; import * as PropertyMetadataSummaryCollection from "./property-metadata-summary-collection"; @@ -506,6 +526,8 @@ import * as RecallArchivedDataDetails from "./recall-archived-data-details"; export import RecallArchivedDataDetails = RecallArchivedDataDetails.RecallArchivedDataDetails; import * as RecallCount from "./recall-count"; export import RecallCount = RecallCount.RecallCount; +import * as RecallDefinition from "./recall-definition"; +export import RecallDefinition = RecallDefinition.RecallDefinition; import * as RecallStatus from "./recall-status"; export import RecallStatus = RecallStatus.RecallStatus; import * as RecalledData from "./recalled-data"; @@ -516,6 +538,10 @@ import * as RecalledDataInfo from "./recalled-data-info"; export import RecalledDataInfo = RecalledDataInfo.RecalledDataInfo; import * as RecalledDataSize from "./recalled-data-size"; export import RecalledDataSize = RecalledDataSize.RecalledDataSize; +import * as RecalledInfo from "./recalled-info"; +export import RecalledInfo = RecalledInfo.RecalledInfo; +import * as RecalledInfoCollection from "./recalled-info-collection"; +export import RecalledInfoCollection = RecalledInfoCollection.RecalledInfoCollection; import * as RegexMatchResult from "./regex-match-result"; export import RegexMatchResult = RegexMatchResult.RegexMatchResult; import * as ReleaseRecalledDataDetails from "./release-recalled-data-details"; @@ -572,6 +598,8 @@ import * as StorageWorkRequestCollection from "./storage-work-request-collection export import StorageWorkRequestCollection = StorageWorkRequestCollection.StorageWorkRequestCollection; import * as StorageWorkRequestSummary from "./storage-work-request-summary"; export import StorageWorkRequestSummary = StorageWorkRequestSummary.StorageWorkRequestSummary; +import * as StreamCursorTypes from "./stream-cursor-types"; +export import StreamCursorTypes = StreamCursorTypes.StreamCursorTypes; import * as SubSystemName from "./sub-system-name"; export import SubSystemName = SubSystemName.SubSystemName; import * as Success from "./success"; @@ -582,6 +610,12 @@ import * as SuggestOutput from "./suggest-output"; export import SuggestOutput = SuggestOutput.SuggestOutput; import * as TaskType from "./task-type"; export import TaskType = TaskType.TaskType; +import * as TemplateDetails from "./template-details"; +export import TemplateDetails = TemplateDetails.TemplateDetails; +import * as TemplateFacet from "./template-facet"; +export import TemplateFacet = TemplateFacet.TemplateFacet; +import * as TemplateParams from "./template-params"; +export import TemplateParams = TemplateParams.TemplateParams; import * as TestParserPayloadDetails from "./test-parser-payload-details"; export import TestParserPayloadDetails = TestParserPayloadDetails.TestParserPayloadDetails; import * as TimeRange from "./time-range"; @@ -648,6 +682,8 @@ import * as ValidateLabelConditionResult from "./validate-label-condition-result export import ValidateLabelConditionResult = ValidateLabelConditionResult.ValidateLabelConditionResult; import * as ValueType from "./value-type"; export import ValueType = ValueType.ValueType; +import * as VariableDefinition from "./variable-definition"; +export import VariableDefinition = VariableDefinition.VariableDefinition; import * as VerifyOutput from "./verify-output"; export import VerifyOutput = VerifyOutput.VerifyOutput; import * as Violation from "./violation"; @@ -679,6 +715,8 @@ import * as AddInsightsCommandDescriptor from "./add-insights-command-descriptor export import AddInsightsCommandDescriptor = AddInsightsCommandDescriptor.AddInsightsCommandDescriptor; import * as AnomalyCommandDescriptor from "./anomaly-command-descriptor"; export import AnomalyCommandDescriptor = AnomalyCommandDescriptor.AnomalyCommandDescriptor; +import * as AutoSchedule from "./auto-schedule"; +export import AutoSchedule = AutoSchedule.AutoSchedule; import * as BottomCommandDescriptor from "./bottom-command-descriptor"; export import BottomCommandDescriptor = BottomCommandDescriptor.BottomCommandDescriptor; import * as BucketCommandDescriptor from "./bucket-command-descriptor"; @@ -837,6 +875,8 @@ import * as TrendColumn from "./trend-column"; export import TrendColumn = TrendColumn.TrendColumn; import * as UpdateStandardTaskDetails from "./update-standard-task-details"; export import UpdateStandardTaskDetails = UpdateStandardTaskDetails.UpdateStandardTaskDetails; +import * as UpdateTableCommandDescriptor from "./update-table-command-descriptor"; +export import UpdateTableCommandDescriptor = UpdateTableCommandDescriptor.UpdateTableCommandDescriptor; import * as WhereCommandDescriptor from "./where-command-descriptor"; export import WhereCommandDescriptor = WhereCommandDescriptor.WhereCommandDescriptor; import * as XmlExtractCommandDescriptor from "./xml-extract-command-descriptor"; diff --git a/lib/loganalytics/lib/model/log-analytics-entity-summary.ts b/lib/loganalytics/lib/model/log-analytics-entity-summary.ts index a0ef17666f..93f503a1ea 100644 --- a/lib/loganalytics/lib/model/log-analytics-entity-summary.ts +++ b/lib/loganalytics/lib/model/log-analytics-entity-summary.ts @@ -110,6 +110,11 @@ export interface LogAnalyticsEntitySummary { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The count of associated log sources for a given log analytics entity. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedSourcesCount"?: number; } export namespace LogAnalyticsEntitySummary { diff --git a/lib/loganalytics/lib/model/log-analytics-entity-topology-link.ts b/lib/loganalytics/lib/model/log-analytics-entity-topology-link.ts index 5abddaea4c..7a033ac2c8 100644 --- a/lib/loganalytics/lib/model/log-analytics-entity-topology-link.ts +++ b/lib/loganalytics/lib/model/log-analytics-entity-topology-link.ts @@ -32,6 +32,15 @@ export interface LogAnalyticsEntityTopologyLink { * */ "destinationEntityId": string; + /** + * Array of log analytics entity relationship context. + */ + "contexts"?: Array; + /** + * The date and time the resource was last discovered, in the format defined by RFC3339. + * + */ + "timeLastDiscovered"?: Date; } export namespace LogAnalyticsEntityTopologyLink { diff --git a/lib/loganalytics/lib/model/log-analytics-entity.ts b/lib/loganalytics/lib/model/log-analytics-entity.ts index 3c936b54b0..4a52e35a27 100644 --- a/lib/loganalytics/lib/model/log-analytics-entity.ts +++ b/lib/loganalytics/lib/model/log-analytics-entity.ts @@ -132,6 +132,11 @@ export interface LogAnalyticsEntity { * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The count of associated log sources for a given log analytics entity. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedSourcesCount"?: number; } export namespace LogAnalyticsEntity { diff --git a/lib/loganalytics/lib/model/log-analytics-field-summary.ts b/lib/loganalytics/lib/model/log-analytics-field-summary.ts index a1a72fe3d7..09949f1f5f 100644 --- a/lib/loganalytics/lib/model/log-analytics-field-summary.ts +++ b/lib/loganalytics/lib/model/log-analytics-field-summary.ts @@ -117,6 +117,15 @@ export interface LogAnalyticsFieldSummary { * The field unit type. */ "unitType"?: string; + /** + * The last updated date and time. + */ + "timeUpdated"?: Date; + /** + * A flag indicating whether or not duplicates would be retained. + * + */ + "isKeepDuplicates"?: boolean; } export namespace LogAnalyticsFieldSummary { diff --git a/lib/loganalytics/lib/model/log-analytics-field-usages.ts b/lib/loganalytics/lib/model/log-analytics-field-usages.ts new file mode 100644 index 0000000000..67fce1e305 --- /dev/null +++ b/lib/loganalytics/lib/model/log-analytics-field-usages.ts @@ -0,0 +1,72 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Contains information about resources such as parsers and sources that use the field. + * + */ +export interface LogAnalyticsFieldUsages { + /** + * Parsers that depend on or use the field. + */ + "dependentParsers": Array; + /** + * Sources that depend on or use the field. + */ + "dependentSources": Array; +} + +export namespace LogAnalyticsFieldUsages { + export function getJsonObj(obj: LogAnalyticsFieldUsages): object { + const jsonObj = { + ...obj, + ...{ + "dependentParsers": obj.dependentParsers + ? obj.dependentParsers.map(item => { + return model.DependentParser.getJsonObj(item); + }) + : undefined, + "dependentSources": obj.dependentSources + ? obj.dependentSources.map(item => { + return model.DependentSource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsFieldUsages): object { + const jsonObj = { + ...obj, + ...{ + "dependentParsers": obj.dependentParsers + ? obj.dependentParsers.map(item => { + return model.DependentParser.getDeserializedJsonObj(item); + }) + : undefined, + "dependentSources": obj.dependentSources + ? obj.dependentSources.map(item => { + return model.DependentSource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/log-analytics-field.ts b/lib/loganalytics/lib/model/log-analytics-field.ts index ea15516542..8d227df65e 100644 --- a/lib/loganalytics/lib/model/log-analytics-field.ts +++ b/lib/loganalytics/lib/model/log-analytics-field.ts @@ -117,6 +117,15 @@ export interface LogAnalyticsField { * The field unit type. */ "unitType"?: string; + /** + * The last updated date and time. + */ + "timeUpdated"?: Date; + /** + * A flag indicating whether or not duplicates would be retained. + * + */ + "isKeepDuplicates"?: boolean; } export namespace LogAnalyticsField { diff --git a/lib/loganalytics/lib/model/log-analytics-lookup.ts b/lib/loganalytics/lib/model/log-analytics-lookup.ts index 422414dd68..e224e8e7da 100644 --- a/lib/loganalytics/lib/model/log-analytics-lookup.ts +++ b/lib/loganalytics/lib/model/log-analytics-lookup.ts @@ -83,6 +83,28 @@ export interface LogAnalyticsLookup { * */ "categories"?: Array; + /** + * The log analytics entity OCID. This ID is a reference used by log analytics features and it represents + * a resource that is provisioned and managed by the customer on their premises or on the cloud. + * + */ + "id"?: string; + /** + * Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId"?: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace LogAnalyticsLookup { diff --git a/lib/loganalytics/lib/model/log-analytics-object-collection-rule-summary.ts b/lib/loganalytics/lib/model/log-analytics-object-collection-rule-summary.ts index 6ae17565a3..9b925a3aa2 100644 --- a/lib/loganalytics/lib/model/log-analytics-object-collection-rule-summary.ts +++ b/lib/loganalytics/lib/model/log-analytics-object-collection-rule-summary.ts @@ -85,6 +85,11 @@ export interface LogAnalyticsObjectCollectionRuleSummary { * */ "logType"?: model.LogTypes; + /** + * A Stream OCID is required for Object Collection rules of type LIVE or HISTORIC_LIVE, which will be used by Logging Analytics while creating Event Rule and consume the event notifications created by the Object Storage. + * + */ + "streamId"?: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/loganalytics/lib/model/log-analytics-object-collection-rule.ts b/lib/loganalytics/lib/model/log-analytics-object-collection-rule.ts index 8d28263a56..fcb0e95fa9 100644 --- a/lib/loganalytics/lib/model/log-analytics-object-collection-rule.ts +++ b/lib/loganalytics/lib/model/log-analytics-object-collection-rule.ts @@ -156,6 +156,32 @@ export interface LogAnalyticsObjectCollectionRule { * */ "isForceHistoricCollection"?: boolean; + /** + * A Stream OCID is required for Object Collection rules of type LIVE or HISTORIC_LIVE, which will be used by Logging Analytics while creating Event Rule and consume the event notifications created by the Object Storage. + * + */ + "streamId"?: string; + /** + * Cursor type used to fetch messages from stream. + * When the streamCursorType is set to DEFAULT, the existing cursor position will be used if already set by any previous objection collection rule(s) using the same stream. + * Otherwise, the behaviour is to consume from the oldest available message in the stream. + * When the streamCursorType is set to TRIM_HORIZON, the behaviour is to start consuming from the oldest available message in the stream. + * When the streamCursorType is set to LATEST, the behavior is to start consuming messages that were published after the creation of this rule. + * When the streamCursorType is set to AT_TIME, the behavior is to start consuming from a given time. + * For more information on cursor types, see [Stream Consumer Groups](https://docs.oracle.com/en-us/iaas/Content/Streaming/Tasks/using_consumer_groups.htm). + * + */ + "streamCursorType"?: model.StreamCursorTypes; + /** + * The time from which to consume the objects, if streamCursorType is AT_TIME. + * + */ + "streamCursorTime"?: Date; + /** + * Last Collected Object for the rule + * + */ + "lastCollectedObject"?: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/loganalytics/lib/model/log-analytics-parser-field.ts b/lib/loganalytics/lib/model/log-analytics-parser-field.ts index 88b581eb16..089b7a9fc6 100644 --- a/lib/loganalytics/lib/model/log-analytics-parser-field.ts +++ b/lib/loganalytics/lib/model/log-analytics-parser-field.ts @@ -53,6 +53,11 @@ export interface LogAnalyticsParserField { * The structured column information. */ "structuredColumnInfo"?: string; + /** + * List of actions/operations to be performed while fetching or parsing the logs. + * + */ + "actions"?: Array; } export namespace LogAnalyticsParserField { @@ -62,7 +67,13 @@ export namespace LogAnalyticsParserField { ...{ "field": obj.field ? model.LogAnalyticsField.getJsonObj(obj.field) : undefined, - "parser": obj.parser ? model.LogAnalyticsParser.getJsonObj(obj.parser) : undefined + "parser": obj.parser ? model.LogAnalyticsParser.getJsonObj(obj.parser) : undefined, + + "actions": obj.actions + ? obj.actions.map(item => { + return model.ParserAction.getJsonObj(item); + }) + : undefined } }; @@ -76,6 +87,12 @@ export namespace LogAnalyticsParserField { "parser": obj.parser ? model.LogAnalyticsParser.getDeserializedJsonObj(obj.parser) + : undefined, + + "actions": obj.actions + ? obj.actions.map(item => { + return model.ParserAction.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/loganalytics/lib/model/log-analytics-resource-category.ts b/lib/loganalytics/lib/model/log-analytics-resource-category.ts index 034155416e..369c824a6d 100644 --- a/lib/loganalytics/lib/model/log-analytics-resource-category.ts +++ b/lib/loganalytics/lib/model/log-analytics-resource-category.ts @@ -37,6 +37,14 @@ export interface LogAnalyticsResourceCategory { * */ "isSystem"?: boolean; + /** + * The resource display name. + */ + "resourceDisplayName"?: string; + /** + * Compartment ID of the resource + */ + "compartmentId"?: string; } export namespace LogAnalyticsResourceCategory { diff --git a/lib/loganalytics/lib/model/log-analytics-source-extended-field-definition.ts b/lib/loganalytics/lib/model/log-analytics-source-extended-field-definition.ts index 67f85f9b79..013e85b87d 100644 --- a/lib/loganalytics/lib/model/log-analytics-source-extended-field-definition.ts +++ b/lib/loganalytics/lib/model/log-analytics-source-extended-field-definition.ts @@ -41,7 +41,7 @@ export interface LogAnalyticsSourceExtendedFieldDefinition { */ "conditionDataType"?: string; /** - * The onditional field. + * The conditional field. */ "conditionField"?: string; /** @@ -83,6 +83,12 @@ export interface LogAnalyticsSourceExtendedFieldDefinition { * The last updated date. */ "timeUpdated"?: Date; + /** + * String representation of the extended field condition. This supports specifying multiple condition blocks at various nested levels. + * + */ + "conditionString"?: string; + "conditionBlock"?: model.GenericConditionBlock; } export namespace LogAnalyticsSourceExtendedFieldDefinition { @@ -96,6 +102,10 @@ export namespace LogAnalyticsSourceExtendedFieldDefinition { ? obj.extendedFields.map(item => { return model.LogAnalyticsExtendedField.getJsonObj(item); }) + : undefined, + + "conditionBlock": obj.conditionBlock + ? model.GenericConditionBlock.getJsonObj(obj.conditionBlock) : undefined } }; @@ -112,6 +122,10 @@ export namespace LogAnalyticsSourceExtendedFieldDefinition { ? obj.extendedFields.map(item => { return model.LogAnalyticsExtendedField.getDeserializedJsonObj(item); }) + : undefined, + + "conditionBlock": obj.conditionBlock + ? model.GenericConditionBlock.getDeserializedJsonObj(obj.conditionBlock) : undefined } }; diff --git a/lib/loganalytics/lib/model/log-analytics-template-collection.ts b/lib/loganalytics/lib/model/log-analytics-template-collection.ts new file mode 100644 index 0000000000..9ff07ed91e --- /dev/null +++ b/lib/loganalytics/lib/model/log-analytics-template-collection.ts @@ -0,0 +1,57 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A collection of template summary objects. + */ +export interface LogAnalyticsTemplateCollection { + /** + * An array of template summary objects. + */ + "items": Array; +} + +export namespace LogAnalyticsTemplateCollection { + export function getJsonObj(obj: LogAnalyticsTemplateCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LogAnalyticsTemplateSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsTemplateCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LogAnalyticsTemplateSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/log-analytics-template-summary.ts b/lib/loganalytics/lib/model/log-analytics-template-summary.ts new file mode 100644 index 0000000000..cb00c45e9d --- /dev/null +++ b/lib/loganalytics/lib/model/log-analytics-template-summary.ts @@ -0,0 +1,114 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of a template object. + * + */ +export interface LogAnalyticsTemplateSummary { + /** + * The log analytics entity OCID. This ID is a reference used by log analytics features and it represents + * a resource that is provisioned and managed by the customer on their premises or on the cloud. + * + */ + "id": string; + /** + * Description for this resource. + * + */ + "description"?: string; + /** + * Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId": string; + /** + * The date and time the resource was created, in the format defined by RFC3339. + * + */ + "timeCreated": Date; + /** + * The date and time the resource was last updated, in the format defined by RFC3339. + * + */ + "timeUpdated"?: Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The template name. + */ + "name": string; + /** + * The template type. + */ + "type"?: string; + /** + * The system flag. A value of false denotes a custom, or user + * defined object. A value of true denotes a built in object. + * + */ + "isSystem"?: boolean; + /** + * The current state of the template. + * + */ + "lifecycleState": model.ConfigLifecycleState; + /** + * Facets of the template + */ + "facets"?: Array; +} + +export namespace LogAnalyticsTemplateSummary { + export function getJsonObj(obj: LogAnalyticsTemplateSummary): object { + const jsonObj = { + ...obj, + ...{ + "facets": obj.facets + ? obj.facets.map(item => { + return model.TemplateFacet.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsTemplateSummary): object { + const jsonObj = { + ...obj, + ...{ + "facets": obj.facets + ? obj.facets.map(item => { + return model.TemplateFacet.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/log-analytics-template.ts b/lib/loganalytics/lib/model/log-analytics-template.ts new file mode 100644 index 0000000000..b0822ad0ba --- /dev/null +++ b/lib/loganalytics/lib/model/log-analytics-template.ts @@ -0,0 +1,134 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A template object. + * + */ +export interface LogAnalyticsTemplate { + /** + * The log analytics entity OCID. This ID is a reference used by log analytics features and it represents + * a resource that is provisioned and managed by the customer on their premises or on the cloud. + * + */ + "id": string; + /** + * Description for this resource. + * + */ + "description"?: string; + /** + * Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "compartmentId": string; + /** + * The date and time the resource was created, in the format defined by RFC3339. + * + */ + "timeCreated": Date; + /** + * The date and time the resource was last updated, in the format defined by RFC3339. + * + */ + "timeUpdated"?: Date; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * The template name. + */ + "name": string; + /** + * The template type. + */ + "type"?: string; + /** + * The system flag. A value of false denotes a custom, or user + * defined object. A value of true denotes a built in object. + * + */ + "isSystem"?: boolean; + /** + * The current state of the template. + * + */ + "lifecycleState": model.ConfigLifecycleState; + /** + * Facets of the template + */ + "facets"?: Array; + /** + * Base64 encoded template content. + */ + "content"?: string; + /** + * Content format. For example - XML. + */ + "contentFormat"?: string; + /** + * Base64 encoded template parameters. + */ + "parameters"?: string; + /** + * Parameters format. For example - NAME_VALUE_PAIR. + */ + "parametersFormat"?: string; + /** + * Base64 encoded parameters metadata definition. + */ + "parametersMetadata"?: string; +} + +export namespace LogAnalyticsTemplate { + export function getJsonObj(obj: LogAnalyticsTemplate): object { + const jsonObj = { + ...obj, + ...{ + "facets": obj.facets + ? obj.facets.map(item => { + return model.TemplateFacet.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LogAnalyticsTemplate): object { + const jsonObj = { + ...obj, + ...{ + "facets": obj.facets + ? obj.facets.map(item => { + return model.TemplateFacet.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/metric-extraction.ts b/lib/loganalytics/lib/model/metric-extraction.ts index 77d56b95b6..1125b69736 100644 --- a/lib/loganalytics/lib/model/metric-extraction.ts +++ b/lib/loganalytics/lib/model/metric-extraction.ts @@ -25,21 +25,21 @@ export interface MetricExtraction { * The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric. * */ - "compartmentId": string; + "compartmentId"?: string; /** * The namespace of the extracted metric. * A valid value starts with an alphabetical character and includes only * alphanumeric characters and underscores (_). * */ - "namespace": string; + "namespace"?: string; /** * The metric name of the extracted metric. * A valid value starts with an alphabetical character and includes only * alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). * */ - "metricName": string; + "metricName"?: string; /** * The resourceGroup of the extracted metric. * A valid value starts with an alphabetical character and includes only diff --git a/lib/loganalytics/lib/model/module-command-descriptor.ts b/lib/loganalytics/lib/model/module-command-descriptor.ts index 6d9f05d5ab..f8026f18ff 100644 --- a/lib/loganalytics/lib/model/module-command-descriptor.ts +++ b/lib/loganalytics/lib/model/module-command-descriptor.ts @@ -20,6 +20,27 @@ import common = require("oci-common"); * */ export interface ModuleCommandDescriptor extends model.AbstractCommandDescriptor { + /** + * Description of the macro. + * + */ + "description"?: string; + /** + * Description of the macro. + * + */ + "example"?: string; + /** + * Optional list of properties for the macro. + * + */ + "properties"?: Array; + /** + * Optional list of arguments used in the macro. + * + */ + "arguments"?: Array; + "name": string; } @@ -29,7 +50,18 @@ export namespace ModuleCommandDescriptor { ...(isParentJsonObj ? obj : (model.AbstractCommandDescriptor.getJsonObj(obj) as ModuleCommandDescriptor)), - ...{} + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getJsonObj(item); + }) + : undefined, + "arguments": obj.arguments + ? obj.arguments.map(item => { + return model.VariableDefinition.getJsonObj(item); + }) + : undefined + } }; return jsonObj; @@ -43,7 +75,18 @@ export namespace ModuleCommandDescriptor { ...(isParentJsonObj ? obj : (model.AbstractCommandDescriptor.getDeserializedJsonObj(obj) as ModuleCommandDescriptor)), - ...{} + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getDeserializedJsonObj(item); + }) + : undefined, + "arguments": obj.arguments + ? obj.arguments.map(item => { + return model.VariableDefinition.getDeserializedJsonObj(item); + }) + : undefined + } }; return jsonObj; diff --git a/lib/loganalytics/lib/model/namespace-summary.ts b/lib/loganalytics/lib/model/namespace-summary.ts index 4bbcf8e153..2e90c35b58 100644 --- a/lib/loganalytics/lib/model/namespace-summary.ts +++ b/lib/loganalytics/lib/model/namespace-summary.ts @@ -39,6 +39,10 @@ export interface NamespaceSummary { * This indicates if data has ever been ingested for the tenancy in Logging Analytics */ "isDataEverIngested"?: boolean; + /** + * This indicates if old data can be archived for a tenancy + */ + "isArchivingEnabled"?: boolean; } export namespace NamespaceSummary { diff --git a/lib/loganalytics/lib/model/namespace.ts b/lib/loganalytics/lib/model/namespace.ts index d00f58c975..11a35188c4 100644 --- a/lib/loganalytics/lib/model/namespace.ts +++ b/lib/loganalytics/lib/model/namespace.ts @@ -39,6 +39,10 @@ export interface Namespace { * This indicates if data has ever been ingested for the tenancy in Logging Analytics */ "isDataEverIngested"?: boolean; + /** + * This indicates if old data can be archived for a tenancy + */ + "isArchivingEnabled"?: boolean; } export namespace Namespace { diff --git a/lib/loganalytics/lib/model/parse-query-output.ts b/lib/loganalytics/lib/model/parse-query-output.ts index 2842b14580..090b0d2ac9 100644 --- a/lib/loganalytics/lib/model/parse-query-output.ts +++ b/lib/loganalytics/lib/model/parse-query-output.ts @@ -46,6 +46,16 @@ export interface ParseQueryOutput { * */ "commands"?: Array; + /** + * Optional list of variables for the query. + * + */ + "variables"?: Array; + /** + * Optional list of properties for the query. + * + */ + "properties"?: Array; } export namespace ParseQueryOutput { @@ -64,6 +74,16 @@ export namespace ParseQueryOutput { ? obj.commands.map(item => { return model.AbstractCommandDescriptor.getJsonObj(item); }) + : undefined, + "variables": obj.variables + ? obj.variables.map(item => { + return model.VariableDefinition.getJsonObj(item); + }) + : undefined, + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getJsonObj(item); + }) : undefined } }; @@ -87,6 +107,16 @@ export namespace ParseQueryOutput { ? obj.commands.map(item => { return model.AbstractCommandDescriptor.getDeserializedJsonObj(item); }) + : undefined, + "variables": obj.variables + ? obj.variables.map(item => { + return model.VariableDefinition.getDeserializedJsonObj(item); + }) + : undefined, + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/loganalytics/lib/model/parser-action-summary-collection.ts b/lib/loganalytics/lib/model/parser-action-summary-collection.ts new file mode 100644 index 0000000000..e886821736 --- /dev/null +++ b/lib/loganalytics/lib/model/parser-action-summary-collection.ts @@ -0,0 +1,57 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A collection of parser action summary objects. + */ +export interface ParserActionSummaryCollection { + /** + * An array of parser action summary objects. + */ + "items": Array; +} + +export namespace ParserActionSummaryCollection { + export function getJsonObj(obj: ParserActionSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ParserActionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ParserActionSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ParserActionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/parser-action-summary.ts b/lib/loganalytics/lib/model/parser-action-summary.ts new file mode 100644 index 0000000000..724f274745 --- /dev/null +++ b/lib/loganalytics/lib/model/parser-action-summary.ts @@ -0,0 +1,48 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A parser action summary object. + * + */ +export interface ParserActionSummary { + /** + * The parser action name. + */ + "name": string; + /** + * The parser action display name. + */ + "displayName"?: string; + /** + * The parser action description. + */ + "description"?: string; +} + +export namespace ParserActionSummary { + export function getJsonObj(obj: ParserActionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ParserActionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/parser-action.ts b/lib/loganalytics/lib/model/parser-action.ts new file mode 100644 index 0000000000..f8abb432ce --- /dev/null +++ b/lib/loganalytics/lib/model/parser-action.ts @@ -0,0 +1,44 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A parser action. Typically refers to an operation to be performed while fetching or parsing the logs. Example: Unzip. + * + */ +export interface ParserAction { + /** + * Parser action name. + */ + "name"?: string; + /** + * Parser action order. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "order"?: number; +} + +export namespace ParserAction { + export function getJsonObj(obj: ParserAction): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ParserAction): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/property-definition.ts b/lib/loganalytics/lib/model/property-definition.ts new file mode 100644 index 0000000000..3efd80d90a --- /dev/null +++ b/lib/loganalytics/lib/model/property-definition.ts @@ -0,0 +1,70 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Defines an property of a macro, variable or query. + * + */ +export interface PropertyDefinition { + /** + * Name of the property. + * + */ + "name"?: string; + /** + * Value of the property. + * + */ + "value"?: string; + /** + * Type of the property. + * + */ + "type"?: PropertyDefinition.Type; + /** + * True if property is for all macros. Not applicable for macro variables or query. + * + */ + "isGlobal"?: boolean; +} + +export namespace PropertyDefinition { + export enum Type { + String = "STRING", + Double = "DOUBLE", + Float = "FLOAT", + Long = "LONG", + Integer = "INTEGER", + Timestamp = "TIMESTAMP", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: PropertyDefinition): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PropertyDefinition): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/query-aggregation.ts b/lib/loganalytics/lib/model/query-aggregation.ts index cb86a15612..c1b7dd0cd9 100644 --- a/lib/loganalytics/lib/model/query-aggregation.ts +++ b/lib/loganalytics/lib/model/query-aggregation.ts @@ -30,6 +30,17 @@ export interface QueryAggregation { * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "totalMatchedCount"?: number; + /** + * Number of groups created by query. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalGroupCount"?: number; + "timeFilter"?: model.TimeRange; + /** + * List of recalls in the query. + * + */ + "recalls"?: Array; /** * True if query did not complete processing all data. * @@ -77,6 +88,13 @@ export namespace QueryAggregation { const jsonObj = { ...obj, ...{ + "timeFilter": obj.timeFilter ? model.TimeRange.getJsonObj(obj.timeFilter) : undefined, + "recalls": obj.recalls + ? obj.recalls.map(item => { + return model.RecallDefinition.getJsonObj(item); + }) + : undefined, + "columns": obj.columns ? obj.columns.map(item => { return model.AbstractColumn.getJsonObj(item); @@ -96,6 +114,15 @@ export namespace QueryAggregation { const jsonObj = { ...obj, ...{ + "timeFilter": obj.timeFilter + ? model.TimeRange.getDeserializedJsonObj(obj.timeFilter) + : undefined, + "recalls": obj.recalls + ? obj.recalls.map(item => { + return model.RecallDefinition.getDeserializedJsonObj(item); + }) + : undefined, + "columns": obj.columns ? obj.columns.map(item => { return model.AbstractColumn.getDeserializedJsonObj(item); diff --git a/lib/loganalytics/lib/model/recall-archived-data-details.ts b/lib/loganalytics/lib/model/recall-archived-data-details.ts index 84c8d20a6b..ffb2d4e46f 100644 --- a/lib/loganalytics/lib/model/recall-archived-data-details.ts +++ b/lib/loganalytics/lib/model/recall-archived-data-details.ts @@ -56,6 +56,12 @@ export interface RecallArchivedDataDetails { * This indicates if user checked system recommended time range */ "isUseRecommendedDataSet"?: boolean; + /** + * This is the id for the recalled data collection to be used only for recall new data. + * If specified, only this collection will be eligible for IsRecallNewDataOnly + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "collectionId"?: number; } export namespace RecallArchivedDataDetails { diff --git a/lib/loganalytics/lib/model/recall-definition.ts b/lib/loganalytics/lib/model/recall-definition.ts new file mode 100644 index 0000000000..8e4dbab9c8 --- /dev/null +++ b/lib/loganalytics/lib/model/recall-definition.ts @@ -0,0 +1,46 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Defines a recall in a query. + * + */ +export interface RecallDefinition { + /** + * Id of the recall. + * + */ + "id"?: string; + /** + * Name of the recall. + * + */ + "name"?: string; +} + +export namespace RecallDefinition { + export function getJsonObj(obj: RecallDefinition): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecallDefinition): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/recall-status.ts b/lib/loganalytics/lib/model/recall-status.ts index ea5dc8b21d..dd2eda9516 100644 --- a/lib/loganalytics/lib/model/recall-status.ts +++ b/lib/loganalytics/lib/model/recall-status.ts @@ -23,6 +23,7 @@ export enum RecallStatus { Recalled = "RECALLED", Pending = "PENDING", Failed = "FAILED", + PartialRecalled = "PARTIAL_RECALLED", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/loganalytics/lib/model/recalled-data.ts b/lib/loganalytics/lib/model/recalled-data.ts index 48594cf30e..9406dca691 100644 --- a/lib/loganalytics/lib/model/recalled-data.ts +++ b/lib/loganalytics/lib/model/recalled-data.ts @@ -77,6 +77,10 @@ export interface RecalledData { * This is the recalled data end time */ "timeRecalledDataEnded": Date; + /** + * This is the current progress percentage for the recalled data Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentageComplete"?: number; } export namespace RecalledData { @@ -84,6 +88,7 @@ export namespace RecalledData { Recalled = "RECALLED", Pending = "PENDING", Failed = "FAILED", + PartialRecalled = "PARTIAL_RECALLED", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/loganalytics/lib/model/recalled-info-collection.ts b/lib/loganalytics/lib/model/recalled-info-collection.ts new file mode 100644 index 0000000000..c3c87cd715 --- /dev/null +++ b/lib/loganalytics/lib/model/recalled-info-collection.ts @@ -0,0 +1,57 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This is the list of recalled data for log explorer + */ +export interface RecalledInfoCollection { + /** + * This is the array of recalled data + */ + "items": Array; +} + +export namespace RecalledInfoCollection { + export function getJsonObj(obj: RecalledInfoCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RecalledInfo.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecalledInfoCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.RecalledInfo.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/recalled-info.ts b/lib/loganalytics/lib/model/recalled-info.ts new file mode 100644 index 0000000000..63466d5094 --- /dev/null +++ b/lib/loganalytics/lib/model/recalled-info.ts @@ -0,0 +1,63 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * This is the information about data recalled + */ +export interface RecalledInfo { + /** + * This is the status of the recall + */ + "status": model.RecallStatus; + /** + * This is the purpose of the recall + */ + "purpose": string; + /** + * This is the query associated with the recall + */ + "queryString": string; + /** + * This is the list of logsets associated with the recall + */ + "logSets": string; + /** + * This is the id for the recalled data collection Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "collectionId": number; + /** + * This is the recalled date start time + */ + "timeRecalledDataStarted": Date; + /** + * This is the recalled data end time + */ + "timeRecalledDataEnded": Date; +} + +export namespace RecalledInfo { + export function getJsonObj(obj: RecalledInfo): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecalledInfo): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/schedule.ts b/lib/loganalytics/lib/model/schedule.ts index aef416964f..ac103dc704 100644 --- a/lib/loganalytics/lib/model/schedule.ts +++ b/lib/loganalytics/lib/model/schedule.ts @@ -52,6 +52,8 @@ export namespace Schedule { switch (obj.type) { case "CRON": return model.CronSchedule.getJsonObj((jsonObj), true); + case "AUTO": + return model.AutoSchedule.getJsonObj((jsonObj), true); case "FIXED_FREQUENCY": return model.FixedFrequencySchedule.getJsonObj( (jsonObj), @@ -73,6 +75,11 @@ export namespace Schedule { (jsonObj), true ); + case "AUTO": + return model.AutoSchedule.getDeserializedJsonObj( + (jsonObj), + true + ); case "FIXED_FREQUENCY": return model.FixedFrequencySchedule.getDeserializedJsonObj( (jsonObj), diff --git a/lib/loganalytics/lib/model/scheduled-task-summary.ts b/lib/loganalytics/lib/model/scheduled-task-summary.ts index a7d4dd6b8f..cdfd835788 100644 --- a/lib/loganalytics/lib/model/scheduled-task-summary.ts +++ b/lib/loganalytics/lib/model/scheduled-task-summary.ts @@ -90,6 +90,10 @@ export interface ScheduledTaskSummary { * The date and time the scheduled task last executed, in the format defined by RFC3339. */ "timeLastExecuted"?: Date; + /** + * Type of the task schedule + */ + "scheduleType"?: ScheduledTaskSummary.ScheduleType; } export namespace ScheduledTaskSummary { @@ -115,6 +119,16 @@ export namespace ScheduledTaskSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum ScheduleType { + FixedFrequency = "FIXED_FREQUENCY", + Cron = "CRON", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export function getJsonObj(obj: ScheduledTaskSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/loganalytics/lib/model/stream-action.ts b/lib/loganalytics/lib/model/stream-action.ts index 9ebec3e09f..1d67342836 100644 --- a/lib/loganalytics/lib/model/stream-action.ts +++ b/lib/loganalytics/lib/model/stream-action.ts @@ -23,6 +23,7 @@ export interface StreamAction extends model.Action { * The ManagementSavedSearch id [OCID] utilized in the action. */ "savedSearchId"?: string; + "templateDetails"?: model.TemplateDetails; "metricExtraction"?: model.MetricExtraction; /** * The duration of data to be searched for SAVED_SEARCH tasks, @@ -59,6 +60,9 @@ export namespace StreamAction { const jsonObj = { ...(isParentJsonObj ? obj : (model.Action.getJsonObj(obj) as StreamAction)), ...{ + "templateDetails": obj.templateDetails + ? model.TemplateDetails.getJsonObj(obj.templateDetails) + : undefined, "metricExtraction": obj.metricExtraction ? model.MetricExtraction.getJsonObj(obj.metricExtraction) : undefined @@ -72,6 +76,9 @@ export namespace StreamAction { const jsonObj = { ...(isParentJsonObj ? obj : (model.Action.getDeserializedJsonObj(obj) as StreamAction)), ...{ + "templateDetails": obj.templateDetails + ? model.TemplateDetails.getDeserializedJsonObj(obj.templateDetails) + : undefined, "metricExtraction": obj.metricExtraction ? model.MetricExtraction.getDeserializedJsonObj(obj.metricExtraction) : undefined diff --git a/lib/loganalytics/lib/model/stream-cursor-types.ts b/lib/loganalytics/lib/model/stream-cursor-types.ts new file mode 100644 index 0000000000..becde4eb1d --- /dev/null +++ b/lib/loganalytics/lib/model/stream-cursor-types.ts @@ -0,0 +1,42 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Allowed values for stream cursor types. + * + **/ +export enum StreamCursorTypes { + Default = "DEFAULT", + TrimHorizon = "TRIM_HORIZON", + Latest = "LATEST", + AtTime = "AT_TIME", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace StreamCursorTypes { + export function getJsonObj(obj: StreamCursorTypes): StreamCursorTypes { + return obj; + } + export function getDeserializedJsonObj(obj: StreamCursorTypes): StreamCursorTypes { + return obj; + } +} diff --git a/lib/loganalytics/lib/model/template-details.ts b/lib/loganalytics/lib/model/template-details.ts new file mode 100644 index 0000000000..b8a8952c74 --- /dev/null +++ b/lib/loganalytics/lib/model/template-details.ts @@ -0,0 +1,61 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * details for scheduled task using template + */ +export interface TemplateDetails { + /** + * The Config template Id of a particular template. + */ + "templateId": string; + /** + * To store macro params. + */ + "templateParams"?: Array; +} + +export namespace TemplateDetails { + export function getJsonObj(obj: TemplateDetails): object { + const jsonObj = { + ...obj, + ...{ + "templateParams": obj.templateParams + ? obj.templateParams.map(item => { + return model.TemplateParams.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TemplateDetails): object { + const jsonObj = { + ...obj, + ...{ + "templateParams": obj.templateParams + ? obj.templateParams.map(item => { + return model.TemplateParams.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/template-facet.ts b/lib/loganalytics/lib/model/template-facet.ts new file mode 100644 index 0000000000..84b7876ca7 --- /dev/null +++ b/lib/loganalytics/lib/model/template-facet.ts @@ -0,0 +1,44 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A facet of a template that may help in searching or filtering. + * + */ +export interface TemplateFacet { + /** + * The facet name. + */ + "name": string; + /** + * The facet value. + */ + "value": string; +} + +export namespace TemplateFacet { + export function getJsonObj(obj: TemplateFacet): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TemplateFacet): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/template-params.ts b/lib/loganalytics/lib/model/template-params.ts new file mode 100644 index 0000000000..4750e3b16f --- /dev/null +++ b/lib/loganalytics/lib/model/template-params.ts @@ -0,0 +1,43 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Template key value params which can store template details like macro name and its parameter. + */ +export interface TemplateParams { + /** + * Contains macro parameter's names. + */ + "keyField": string; + /** + * Contains macro parameter's value. + */ + "valueField": string; +} + +export namespace TemplateParams { + export function getJsonObj(obj: TemplateParams): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TemplateParams): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/update-log-analytics-object-collection-rule-details.ts b/lib/loganalytics/lib/model/update-log-analytics-object-collection-rule-details.ts index 39faa0d00b..258381715d 100644 --- a/lib/loganalytics/lib/model/update-log-analytics-object-collection-rule-details.ts +++ b/lib/loganalytics/lib/model/update-log-analytics-object-collection-rule-details.ts @@ -90,6 +90,27 @@ export interface UpdateLogAnalyticsObjectCollectionRuleDetails { * */ "objectNameFilters"?: Array; + /** + * A Stream OCID is required for Object Collection rules of type LIVE or HISTORIC_LIVE, which will be used by Logging Analytics while creating Event Rule and consume the event notifications created by the Object Storage. + * + */ + "streamId"?: string; + /** + * Cursor type used to fetch messages from stream. + * When the streamCursorType is set to DEFAULT, the existing cursor position will be used if already set by any previous objection collection rule(s) using the same stream. + * Otherwise, the behaviour is to consume from the oldest available message in the stream. + * When the streamCursorType is set to TRIM_HORIZON, the behaviour is to start consuming from the oldest available message in the stream. + * When the streamCursorType is set to LATEST, the behavior is to start consuming messages that were published after the creation of this rule. + * When the streamCursorType is set to AT_TIME, the behavior is to start consuming from a given time. + * For more information on cursor types, see [Stream Consumer Groups](https://docs.oracle.com/en-us/iaas/Content/Streaming/Tasks/using_consumer_groups.htm). + * + */ + "streamCursorType"?: model.StreamCursorTypes; + /** + * The time from which to consume the objects, if streamCursorType is AT_TIME. + * + */ + "streamCursorTime"?: Date; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} diff --git a/lib/loganalytics/lib/model/update-lookup-metadata-details.ts b/lib/loganalytics/lib/model/update-lookup-metadata-details.ts index fbc2ee7818..e26cbc9214 100644 --- a/lib/loganalytics/lib/model/update-lookup-metadata-details.ts +++ b/lib/loganalytics/lib/model/update-lookup-metadata-details.ts @@ -41,6 +41,18 @@ export interface UpdateLookupMetadataDetails { * */ "categories"?: Array; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. + * Example: {@code {\"bar-key\": \"value\"}} + * + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. + * Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} + * + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; } export namespace UpdateLookupMetadataDetails { diff --git a/lib/loganalytics/lib/model/update-table-command-descriptor.ts b/lib/loganalytics/lib/model/update-table-command-descriptor.ts new file mode 100644 index 0000000000..98887d62fa --- /dev/null +++ b/lib/loganalytics/lib/model/update-table-command-descriptor.ts @@ -0,0 +1,59 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Command descriptor for querylanguage UPDATETABLE command. + * + */ +export interface UpdateTableCommandDescriptor extends model.AbstractCommandDescriptor { + /** + * Name of the table being updated. + * + */ + "tableName": string; + + "name": string; +} + +export namespace UpdateTableCommandDescriptor { + export function getJsonObj(obj: UpdateTableCommandDescriptor, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AbstractCommandDescriptor.getJsonObj(obj) as UpdateTableCommandDescriptor)), + ...{} + }; + + return jsonObj; + } + export const name = "UPDATETABLE"; + export function getDeserializedJsonObj( + obj: UpdateTableCommandDescriptor, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AbstractCommandDescriptor.getDeserializedJsonObj( + obj + ) as UpdateTableCommandDescriptor)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/model/upsert-log-analytics-field-details.ts b/lib/loganalytics/lib/model/upsert-log-analytics-field-details.ts index 2a52fe16b8..9220552421 100644 --- a/lib/loganalytics/lib/model/upsert-log-analytics-field-details.ts +++ b/lib/loganalytics/lib/model/upsert-log-analytics-field-details.ts @@ -40,6 +40,11 @@ export interface UpsertLogAnalyticsFieldDetails { * The field internal name. */ "name"?: string; + /** + * A flag indicating whether duplicates should be retained while processing multi-valued fields. + * + */ + "isKeepDuplicates"?: boolean; } export namespace UpsertLogAnalyticsFieldDetails { diff --git a/lib/loganalytics/lib/model/usage-status-item.ts b/lib/loganalytics/lib/model/usage-status-item.ts index c6312d4718..36b5e95504 100644 --- a/lib/loganalytics/lib/model/usage-status-item.ts +++ b/lib/loganalytics/lib/model/usage-status-item.ts @@ -36,6 +36,11 @@ export interface UsageStatusItem { * The maximum availability of the field. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "maxAvailable"?: number; + /** + * A flag indicating whether duplicates should be retained while processing multi-valued fields. + * + */ + "isKeepDuplicates"?: boolean; } export namespace UsageStatusItem { diff --git a/lib/loganalytics/lib/model/variable-definition.ts b/lib/loganalytics/lib/model/variable-definition.ts new file mode 100644 index 0000000000..098f50a8b8 --- /dev/null +++ b/lib/loganalytics/lib/model/variable-definition.ts @@ -0,0 +1,90 @@ +/** + * LogAnalytics API + * The LogAnalytics API for the LogAnalytics service. + + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Defines a variable used in a macro or the initization section of a query. + * + */ +export interface VariableDefinition { + /** + * Name of the variable preceded by a $. + * + */ + "name": string; + /** + * Descripion of the variable to show the user. + * + */ + "description"?: string; + /** + * Type of the variable to show the user. + * + */ + "type"?: VariableDefinition.Type; + /** + * Default value of the variable is not already set. + * + */ + "defaultValue"?: string; + /** + * Optional list of properties for the variable. + * + */ + "properties"?: Array; +} + +export namespace VariableDefinition { + export enum Type { + Number = "NUMBER", + String = "STRING", + Timestamp = "TIMESTAMP", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: VariableDefinition): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: VariableDefinition): object { + const jsonObj = { + ...obj, + ...{ + "properties": obj.properties + ? obj.properties.map(item => { + return model.PropertyDefinition.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/loganalytics/lib/request/change-lookup-compartment-request.ts b/lib/loganalytics/lib/request/change-lookup-compartment-request.ts new file mode 100644 index 0000000000..9e1b1698fb --- /dev/null +++ b/lib/loganalytics/lib/request/change-lookup-compartment-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ChangeLookupCompartment.ts.html |here} to see how to use ChangeLookupCompartmentRequest. + */ +export interface ChangeLookupCompartmentRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The name of the lookup to operate on. + */ + "lookupName": string; + /** + * The compartment id to move the lookup to. + */ + "changeLookupCompartmentDetails": model.ChangeLookupCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * etag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the etag you + * provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/loganalytics/lib/request/delete-log-analytics-entity-request.ts b/lib/loganalytics/lib/request/delete-log-analytics-entity-request.ts index 6d1b7f8449..be97479764 100644 --- a/lib/loganalytics/lib/request/delete-log-analytics-entity-request.ts +++ b/lib/loganalytics/lib/request/delete-log-analytics-entity-request.ts @@ -41,4 +41,8 @@ export interface DeleteLogAnalyticsEntityRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * Option to delete entity even if the entity is associated with a log source and stop any log collections associated with this entity. + */ + "isForceDelete"?: boolean; } diff --git a/lib/loganalytics/lib/request/get-field-usages-request.ts b/lib/loganalytics/lib/request/get-field-usages-request.ts new file mode 100644 index 0000000000..d34ed11174 --- /dev/null +++ b/lib/loganalytics/lib/request/get-field-usages-request.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/GetFieldUsages.ts.html |here} to see how to use GetFieldUsagesRequest. + */ +export interface GetFieldUsagesRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The field name. + */ + "fieldName": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/loganalytics/lib/request/get-log-analytics-entity-request.ts b/lib/loganalytics/lib/request/get-log-analytics-entity-request.ts index c6861ccf95..ca28aa3b72 100644 --- a/lib/loganalytics/lib/request/get-log-analytics-entity-request.ts +++ b/lib/loganalytics/lib/request/get-log-analytics-entity-request.ts @@ -32,4 +32,8 @@ export interface GetLogAnalyticsEntityRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * Option to return count of associated log sources for log analytics entity(s). + */ + "isShowAssociatedSourcesCount"?: boolean; } diff --git a/lib/loganalytics/lib/request/get-lookup-summary-request.ts b/lib/loganalytics/lib/request/get-lookup-summary-request.ts index 078b2dc8e5..901b2b3fe2 100644 --- a/lib/loganalytics/lib/request/get-lookup-summary-request.ts +++ b/lib/loganalytics/lib/request/get-lookup-summary-request.ts @@ -27,4 +27,8 @@ export interface GetLookupSummaryRequest extends common.BaseRequest { * The client request ID for tracing. */ "opcRequestId"?: string; + /** + * The compartment id + */ + "compartmentId"?: string; } diff --git a/lib/loganalytics/lib/request/get-template-request.ts b/lib/loganalytics/lib/request/get-template-request.ts new file mode 100644 index 0000000000..2a9be12582 --- /dev/null +++ b/lib/loganalytics/lib/request/get-template-request.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/GetTemplate.ts.html |here} to see how to use GetTemplateRequest. + */ +export interface GetTemplateRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * Unique ocid of the template. + * + */ + "templateId": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/loganalytics/lib/request/index.ts b/lib/loganalytics/lib/request/index.ts index f6008e0c25..31fec5587c 100644 --- a/lib/loganalytics/lib/request/index.ts +++ b/lib/loganalytics/lib/request/index.ts @@ -34,6 +34,8 @@ import * as ChangeLogAnalyticsLogGroupCompartmentRequest from "./change-log-anal export import ChangeLogAnalyticsLogGroupCompartmentRequest = ChangeLogAnalyticsLogGroupCompartmentRequest.ChangeLogAnalyticsLogGroupCompartmentRequest; import * as ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest from "./change-log-analytics-object-collection-rule-compartment-request"; export import ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest = ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest.ChangeLogAnalyticsObjectCollectionRuleCompartmentRequest; +import * as ChangeLookupCompartmentRequest from "./change-lookup-compartment-request"; +export import ChangeLookupCompartmentRequest = ChangeLookupCompartmentRequest.ChangeLookupCompartmentRequest; import * as ChangeScheduledTaskCompartmentRequest from "./change-scheduled-task-compartment-request"; export import ChangeScheduledTaskCompartmentRequest = ChangeScheduledTaskCompartmentRequest.ChangeScheduledTaskCompartmentRequest; import * as CleanRequest from "./clean-request"; @@ -128,6 +130,8 @@ import * as GetConfigWorkRequestRequest from "./get-config-work-request-request" export import GetConfigWorkRequestRequest = GetConfigWorkRequestRequest.GetConfigWorkRequestRequest; import * as GetFieldRequest from "./get-field-request"; export import GetFieldRequest = GetFieldRequest.GetFieldRequest; +import * as GetFieldUsagesRequest from "./get-field-usages-request"; +export import GetFieldUsagesRequest = GetFieldUsagesRequest.GetFieldUsagesRequest; import * as GetFieldsSummaryRequest from "./get-fields-summary-request"; export import GetFieldsSummaryRequest = GetFieldsSummaryRequest.GetFieldsSummaryRequest; import * as GetIngestTimeRuleRequest from "./get-ingest-time-rule-request"; @@ -188,6 +192,8 @@ import * as GetStorageUsageRequest from "./get-storage-usage-request"; export import GetStorageUsageRequest = GetStorageUsageRequest.GetStorageUsageRequest; import * as GetStorageWorkRequestRequest from "./get-storage-work-request-request"; export import GetStorageWorkRequestRequest = GetStorageWorkRequestRequest.GetStorageWorkRequestRequest; +import * as GetTemplateRequest from "./get-template-request"; +export import GetTemplateRequest = GetTemplateRequest.GetTemplateRequest; import * as GetUnprocessedDataBucketRequest from "./get-unprocessed-data-bucket-request"; export import GetUnprocessedDataBucketRequest = GetUnprocessedDataBucketRequest.GetUnprocessedDataBucketRequest; import * as GetUploadRequest from "./get-upload-request"; @@ -246,6 +252,8 @@ import * as ListNamespacesRequest from "./list-namespaces-request"; export import ListNamespacesRequest = ListNamespacesRequest.ListNamespacesRequest; import * as ListOverlappingRecallsRequest from "./list-overlapping-recalls-request"; export import ListOverlappingRecallsRequest = ListOverlappingRecallsRequest.ListOverlappingRecallsRequest; +import * as ListParserActionsRequest from "./list-parser-actions-request"; +export import ListParserActionsRequest = ListParserActionsRequest.ListParserActionsRequest; import * as ListParserFunctionsRequest from "./list-parser-functions-request"; export import ListParserFunctionsRequest = ListParserFunctionsRequest.ListParserFunctionsRequest; import * as ListParserMetaPluginsRequest from "./list-parser-meta-plugins-request"; @@ -258,6 +266,8 @@ import * as ListQueryWorkRequestsRequest from "./list-query-work-requests-reques export import ListQueryWorkRequestsRequest = ListQueryWorkRequestsRequest.ListQueryWorkRequestsRequest; import * as ListRecalledDataRequest from "./list-recalled-data-request"; export import ListRecalledDataRequest = ListRecalledDataRequest.ListRecalledDataRequest; +import * as ListRecalledInfoRequest from "./list-recalled-info-request"; +export import ListRecalledInfoRequest = ListRecalledInfoRequest.ListRecalledInfoRequest; import * as ListResourceCategoriesRequest from "./list-resource-categories-request"; export import ListResourceCategoriesRequest = ListResourceCategoriesRequest.ListResourceCategoriesRequest; import * as ListRulesRequest from "./list-rules-request"; @@ -286,6 +296,8 @@ import * as ListSupportedCharEncodingsRequest from "./list-supported-char-encodi export import ListSupportedCharEncodingsRequest = ListSupportedCharEncodingsRequest.ListSupportedCharEncodingsRequest; import * as ListSupportedTimezonesRequest from "./list-supported-timezones-request"; export import ListSupportedTimezonesRequest = ListSupportedTimezonesRequest.ListSupportedTimezonesRequest; +import * as ListTemplatesRequest from "./list-templates-request"; +export import ListTemplatesRequest = ListTemplatesRequest.ListTemplatesRequest; import * as ListUploadFilesRequest from "./list-upload-files-request"; export import ListUploadFilesRequest = ListUploadFilesRequest.ListUploadFilesRequest; import * as ListUploadWarningsRequest from "./list-upload-warnings-request"; @@ -372,6 +384,8 @@ import * as UploadLogEventsFileRequest from "./upload-log-events-file-request"; export import UploadLogEventsFileRequest = UploadLogEventsFileRequest.UploadLogEventsFileRequest; import * as UploadLogFileRequest from "./upload-log-file-request"; export import UploadLogFileRequest = UploadLogFileRequest.UploadLogFileRequest; +import * as UploadOtlpLogsRequest from "./upload-otlp-logs-request"; +export import UploadOtlpLogsRequest = UploadOtlpLogsRequest.UploadOtlpLogsRequest; import * as UpsertAssociationsRequest from "./upsert-associations-request"; export import UpsertAssociationsRequest = UpsertAssociationsRequest.UpsertAssociationsRequest; import * as UpsertFieldRequest from "./upsert-field-request"; diff --git a/lib/loganalytics/lib/request/list-effective-properties-request.ts b/lib/loganalytics/lib/request/list-effective-properties-request.ts index 11ec3f3844..10a349dd97 100644 --- a/lib/loganalytics/lib/request/list-effective-properties-request.ts +++ b/lib/loganalytics/lib/request/list-effective-properties-request.ts @@ -47,6 +47,11 @@ export interface ListEffectivePropertiesRequest extends common.BaseRequest { * */ "patternId"?: number; + /** + * The pattern id (long). + * + */ + "patternIdLong"?: number; /** * The property name used for filtering. * diff --git a/lib/loganalytics/lib/request/list-fields-request.ts b/lib/loganalytics/lib/request/list-fields-request.ts index c255ab5959..fb93bbe680 100644 --- a/lib/loganalytics/lib/request/list-fields-request.ts +++ b/lib/loganalytics/lib/request/list-fields-request.ts @@ -110,6 +110,7 @@ export namespace ListFieldsRequest { export enum SortBy { Name = "name", - DataType = "dataType" + DataType = "dataType", + TimeUpdated = "timeUpdated" } } diff --git a/lib/loganalytics/lib/request/list-log-analytics-entities-request.ts b/lib/loganalytics/lib/request/list-log-analytics-entities-request.ts index 9473891665..98fa89d7cf 100644 --- a/lib/loganalytics/lib/request/list-log-analytics-entities-request.ts +++ b/lib/loganalytics/lib/request/list-log-analytics-entities-request.ts @@ -121,6 +121,43 @@ export interface ListLogAnalyticsEntitiesRequest extends common.BaseRequest { * */ "metadataEquals"?: Array; + /** + * A list of tag filters to apply. Only entities with a defined tag matching the value will be returned. + * Each item in the list has the format \"{namespace}.{tagName}.{value}\". All inputs are case-insensitive. + * Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\". + * Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\". + * + */ + "definedTagEquals"?: Array; + /** + * A list of tag filters to apply. Only entities with a freeform tag matching the value will be returned. + * The key for each tag is \"{tagName}.{value}\". All inputs are case-insensitive. + * Multiple values for the same tag name are interpreted as \"OR\". Values for different tag names are interpreted as \"AND\". + * + */ + "freeformTagEquals"?: Array; + /** + * A list of tag existence filters to apply. Only entities for which the specified defined tags exist will be returned. + * Each item in the list has the format \"{namespace}.{tagName}.true\" (for checking existence of a defined tag) + * or \"{namespace}.true\". All inputs are case-insensitive. + * Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported. + * Multiple values for the same key (i.e. same namespace and tag name) are interpreted as \"OR\". + * Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as \"AND\". + * + */ + "definedTagExists"?: Array; + /** + * A list of tag existence filters to apply. Only entities for which the specified freeform tags exist the value will be returned. + * The key for each tag is \"{tagName}.true\". All inputs are case-insensitive. + * Currently, only existence (\"true\" at the end) is supported. Absence (\"false\" at the end) is not supported. + * Multiple values for different tag names are interpreted as \"AND\". + * + */ + "freeformTagExists"?: Array; + /** + * Option to return count of associated log sources for log analytics entity(s). + */ + "isShowAssociatedSourcesCount"?: boolean; } export namespace ListLogAnalyticsEntitiesRequest { diff --git a/lib/loganalytics/lib/request/list-log-analytics-entity-topology-request.ts b/lib/loganalytics/lib/request/list-log-analytics-entity-topology-request.ts index 2f553149ec..bde5f6311a 100644 --- a/lib/loganalytics/lib/request/list-log-analytics-entity-topology-request.ts +++ b/lib/loganalytics/lib/request/list-log-analytics-entity-topology-request.ts @@ -63,6 +63,11 @@ export interface ListLogAnalyticsEntityTopologyRequest extends common.BaseReques * */ "metadataEquals"?: Array; + /** + * A filter to return log analytics entity toplogy whose context matches the specified string. + * + */ + "context"?: string; } export namespace ListLogAnalyticsEntityTopologyRequest { diff --git a/lib/loganalytics/lib/request/list-lookups-request.ts b/lib/loganalytics/lib/request/list-lookups-request.ts index 3bcb6f596c..e2aa0ab771 100644 --- a/lib/loganalytics/lib/request/list-lookups-request.ts +++ b/lib/loganalytics/lib/request/list-lookups-request.ts @@ -52,6 +52,10 @@ export interface ListLookupsRequest extends common.BaseRequest { * A comma-separated list of categories used for filtering */ "categories"?: string; + /** + * The compartment id + */ + "compartmentId"?: string; /** * A flag indicating whether or not to return OMC annotated or hidden lookups. * diff --git a/lib/loganalytics/lib/request/list-parser-actions-request.ts b/lib/loganalytics/lib/request/list-parser-actions-request.ts new file mode 100644 index 0000000000..e8fab34bf6 --- /dev/null +++ b/lib/loganalytics/lib/request/list-parser-actions-request.ts @@ -0,0 +1,68 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListParserActions.ts.html |here} to see how to use ListParserActionsRequest. + */ +export interface ListParserActionsRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The parser action name used for filtering. + * + */ + "name"?: string; + /** + * The parser action display text used for filtering. + * + */ + "actionDisplayText"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + * + */ + "sortOrder"?: ListParserActionsRequest.SortOrder; + /** + * The attribute used to sort the returned parser actions + */ + "sortBy"?: ListParserActionsRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListParserActionsRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + DisplayName = "displayName" + } +} diff --git a/lib/loganalytics/lib/request/list-recalled-info-request.ts b/lib/loganalytics/lib/request/list-recalled-info-request.ts new file mode 100644 index 0000000000..c63322b41e --- /dev/null +++ b/lib/loganalytics/lib/request/list-recalled-info-request.ts @@ -0,0 +1,73 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListRecalledInfo.ts.html |here} to see how to use ListRecalledInfoRequest. + */ +export interface ListRecalledInfoRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * This is the query parameter of which field to sort by. Only one sort order may be provided. Default order for timeDataStarted + * is descending. If no value is specified timeDataStarted is default. + * + */ + "sortBy"?: ListRecalledInfoRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + * + */ + "sortOrder"?: ListRecalledInfoRequest.SortOrder; + /** + * This is the start of the time range for recalled data + */ + "timeDataStartedGreaterThanOrEqual"?: Date; + /** + * This is the end of the time range for recalled data + */ + "timeDataEndedLessThan"?: Date; + /** + * This is the set of logsets to filter recalled collection by if any + */ + "logSets"?: Array; +} + +export namespace ListRecalledInfoRequest { + export enum SortBy { + TimeStarted = "timeStarted", + TimeDataStarted = "timeDataStarted" + } + + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } +} diff --git a/lib/loganalytics/lib/request/list-resource-categories-request.ts b/lib/loganalytics/lib/request/list-resource-categories-request.ts index a1b8fa597f..4604c73b35 100644 --- a/lib/loganalytics/lib/request/list-resource-categories-request.ts +++ b/lib/loganalytics/lib/request/list-resource-categories-request.ts @@ -39,6 +39,10 @@ export interface ListResourceCategoriesRequest extends common.BaseRequest { * */ "resourceIds"?: string; + /** + * The compartment id + */ + "compartmentId"?: string; /** * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). * diff --git a/lib/loganalytics/lib/request/list-scheduled-tasks-request.ts b/lib/loganalytics/lib/request/list-scheduled-tasks-request.ts index 25b07fea78..ec12517f55 100644 --- a/lib/loganalytics/lib/request/list-scheduled-tasks-request.ts +++ b/lib/loganalytics/lib/request/list-scheduled-tasks-request.ts @@ -58,6 +58,12 @@ export interface ListScheduledTasksRequest extends common.BaseRequest { * */ "sortBy"?: ListScheduledTasksRequest.SortBy; + /** + * A filter to return only scheduled tasks whose stream action templateId matches the given + * id exactly. + * + */ + "templateId"?: string; /** * A filter to return only scheduled tasks whose stream action savedSearchId matches the given * ManagementSavedSearch id [OCID] exactly. diff --git a/lib/loganalytics/lib/request/list-sources-request.ts b/lib/loganalytics/lib/request/list-sources-request.ts index 45ef4bc024..a96e8494a9 100644 --- a/lib/loganalytics/lib/request/list-sources-request.ts +++ b/lib/loganalytics/lib/request/list-sources-request.ts @@ -83,6 +83,12 @@ export interface ListSourcesRequest extends common.BaseRequest { * A comma-separated list of categories used for filtering */ "categories"?: string; + /** + * The pattern text filter. Only sources with a pattern | + * which contains text with the specified string will be returned. + * + */ + "patternText"?: string; /** * A flag specifying whether or not to return all source information, or a subset of the * information about each source. A value of true will return only the source unique diff --git a/lib/loganalytics/lib/request/list-templates-request.ts b/lib/loganalytics/lib/request/list-templates-request.ts new file mode 100644 index 0000000000..0e55e06aa1 --- /dev/null +++ b/lib/loganalytics/lib/request/list-templates-request.ts @@ -0,0 +1,91 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/ListTemplates.ts.html |here} to see how to use ListTemplatesRequest. + */ +export interface ListTemplatesRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The ID of the compartment in which to list resources. + */ + "compartmentId": string; + /** + * The template type used for filtering. Only templates of the + * specified type will be returned. + * + */ + "type"?: string; + /** + * The template name used for filtering. + * + */ + "name"?: string; + /** + * The template display text used for filtering. Only templates with the specified name or + * description will be returned. + * + */ + "templateDisplayText"?: string; + /** + * The template lifecycle state used for filtering. Currently supported + * values are ACTIVE and DELETED. + * + */ + "lifecycleState"?: model.ConfigLifecycleState; + /** + * filter + */ + "filter"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + * + */ + "sortOrder"?: ListTemplatesRequest.SortOrder; + /** + * The attribute used to sort the returned templates + */ + "sortBy"?: ListTemplatesRequest.SortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} + +export namespace ListTemplatesRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + DisplayName = "displayName", + TimeCreated = "timeCreated", + TimeUpdated = "timeUpdated" + } +} diff --git a/lib/loganalytics/lib/request/register-lookup-request.ts b/lib/loganalytics/lib/request/register-lookup-request.ts index 15cf9c7666..d96e8caa85 100644 --- a/lib/loganalytics/lib/request/register-lookup-request.ts +++ b/lib/loganalytics/lib/request/register-lookup-request.ts @@ -29,7 +29,10 @@ export interface RegisterLookupRequest extends common.BaseRequest { */ "type": RegisterLookupRequest.Type; /** - * file containing data for lookup creation + * The lookup content to be created, with or without tags. The following formats are supported as binary data: + * 1. If there are no tags: file containing the lookup content. + * 2. If there are tags: JSON file containing the lookup content and tags. + * */ "registerLookupContentFileBody": | Uint8Array @@ -78,6 +81,10 @@ export interface RegisterLookupRequest extends common.BaseRequest { * */ "expect"?: string; + /** + * The compartment id + */ + "compartmentId"?: string; } export namespace RegisterLookupRequest { diff --git a/lib/loganalytics/lib/request/upload-log-file-request.ts b/lib/loganalytics/lib/request/upload-log-file-request.ts index 7f27628eb4..e0334273ba 100644 --- a/lib/loganalytics/lib/request/upload-log-file-request.ts +++ b/lib/loganalytics/lib/request/upload-log-file-request.ts @@ -24,11 +24,6 @@ export interface UploadLogFileRequest extends common.BaseRequest { * */ "namespaceName": string; - /** - * The name of the upload. This can be considered as a container name where different kind of logs will be collected and searched together. This upload name/id can further be used for retrieving the details of the upload, including its status or deleting the upload. - * - */ - "uploadName": string; /** * Name of the log source that will be used to process the files being uploaded. * @@ -48,6 +43,11 @@ export interface UploadLogFileRequest extends common.BaseRequest { * Log data */ "uploadLogFileBody": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string; + /** + * The name of the upload. This can be considered as a container name where different kind of logs will be collected and searched together. This upload name/id can further be used for retrieving the details of the upload, including its status or deleting the upload. + * + */ + "uploadName"?: string; /** * The entity OCID. * diff --git a/lib/loganalytics/lib/request/upload-otlp-logs-request.ts b/lib/loganalytics/lib/request/upload-otlp-logs-request.ts new file mode 100644 index 0000000000..c3807454a1 --- /dev/null +++ b/lib/loganalytics/lib/request/upload-otlp-logs-request.ts @@ -0,0 +1,72 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); +import stream = require("stream"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/loganalytics/UploadOtlpLogs.ts.html |here} to see how to use UploadOtlpLogsRequest. + */ +export interface UploadOtlpLogsRequest extends common.BaseRequest { + /** + * The Logging Analytics namespace used for the request. + * + */ + "namespaceName": string; + /** + * The log group OCID to which the log data in this upload will be mapped to. + * + */ + "opcMetaLoggrpid": string; + /** + * Accepts log data in OTLP JSON-encoded Protobuf format. + * Sample format: https://github.com/open-telemetry/opentelemetry-proto/blob/v1.3.1/examples/logs.json + * + */ + "uploadOtlpLogsDetails": Uint8Array | Buffer | Blob | stream.Readable | ReadableStream | string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The log set that gets associated with the uploaded logs. + * + */ + "logSet"?: string; + /** + * The content type of the log data. + */ + "contentType"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Metadata key and value pairs separated by a semicolon. Example k1:v1;k2:v2;k3:v3 + * + */ + "opcMetaProperties"?: string; + /** + * A value of {@code 100-continue} requests preliminary verification of the request method, path, and headers before the request body is sent. + * If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body. + * The only allowed value for this parameter is \"100-Continue\" (case-insensitive). + * + */ + "expect"?: string; +} diff --git a/lib/loganalytics/lib/response/change-lookup-compartment-response.ts b/lib/loganalytics/lib/response/change-lookup-compartment-response.ts new file mode 100644 index 0000000000..505ee17cbb --- /dev/null +++ b/lib/loganalytics/lib/response/change-lookup-compartment-response.ts @@ -0,0 +1,23 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeLookupCompartmentResponse { + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/loganalytics/lib/response/get-field-usages-response.ts b/lib/loganalytics/lib/response/get-field-usages-response.ts new file mode 100644 index 0000000000..87741527c0 --- /dev/null +++ b/lib/loganalytics/lib/response/get-field-usages-response.ts @@ -0,0 +1,27 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetFieldUsagesResponse { + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.LogAnalyticsFieldUsages instance. + */ + "logAnalyticsFieldUsages": model.LogAnalyticsFieldUsages; +} diff --git a/lib/loganalytics/lib/response/get-template-response.ts b/lib/loganalytics/lib/response/get-template-response.ts new file mode 100644 index 0000000000..a2f93fcb34 --- /dev/null +++ b/lib/loganalytics/lib/response/get-template-response.ts @@ -0,0 +1,32 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetTemplateResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.LogAnalyticsTemplate instance. + */ + "logAnalyticsTemplate": model.LogAnalyticsTemplate; +} diff --git a/lib/loganalytics/lib/response/index.ts b/lib/loganalytics/lib/response/index.ts index 673a114c52..40de4a6b10 100644 --- a/lib/loganalytics/lib/response/index.ts +++ b/lib/loganalytics/lib/response/index.ts @@ -34,6 +34,8 @@ import * as ChangeLogAnalyticsLogGroupCompartmentResponse from "./change-log-ana export import ChangeLogAnalyticsLogGroupCompartmentResponse = ChangeLogAnalyticsLogGroupCompartmentResponse.ChangeLogAnalyticsLogGroupCompartmentResponse; import * as ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse from "./change-log-analytics-object-collection-rule-compartment-response"; export import ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse = ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse.ChangeLogAnalyticsObjectCollectionRuleCompartmentResponse; +import * as ChangeLookupCompartmentResponse from "./change-lookup-compartment-response"; +export import ChangeLookupCompartmentResponse = ChangeLookupCompartmentResponse.ChangeLookupCompartmentResponse; import * as ChangeScheduledTaskCompartmentResponse from "./change-scheduled-task-compartment-response"; export import ChangeScheduledTaskCompartmentResponse = ChangeScheduledTaskCompartmentResponse.ChangeScheduledTaskCompartmentResponse; import * as CleanResponse from "./clean-response"; @@ -128,6 +130,8 @@ import * as GetConfigWorkRequestResponse from "./get-config-work-request-respons export import GetConfigWorkRequestResponse = GetConfigWorkRequestResponse.GetConfigWorkRequestResponse; import * as GetFieldResponse from "./get-field-response"; export import GetFieldResponse = GetFieldResponse.GetFieldResponse; +import * as GetFieldUsagesResponse from "./get-field-usages-response"; +export import GetFieldUsagesResponse = GetFieldUsagesResponse.GetFieldUsagesResponse; import * as GetFieldsSummaryResponse from "./get-fields-summary-response"; export import GetFieldsSummaryResponse = GetFieldsSummaryResponse.GetFieldsSummaryResponse; import * as GetIngestTimeRuleResponse from "./get-ingest-time-rule-response"; @@ -188,6 +192,8 @@ import * as GetStorageUsageResponse from "./get-storage-usage-response"; export import GetStorageUsageResponse = GetStorageUsageResponse.GetStorageUsageResponse; import * as GetStorageWorkRequestResponse from "./get-storage-work-request-response"; export import GetStorageWorkRequestResponse = GetStorageWorkRequestResponse.GetStorageWorkRequestResponse; +import * as GetTemplateResponse from "./get-template-response"; +export import GetTemplateResponse = GetTemplateResponse.GetTemplateResponse; import * as GetUnprocessedDataBucketResponse from "./get-unprocessed-data-bucket-response"; export import GetUnprocessedDataBucketResponse = GetUnprocessedDataBucketResponse.GetUnprocessedDataBucketResponse; import * as GetUploadResponse from "./get-upload-response"; @@ -246,6 +252,8 @@ import * as ListNamespacesResponse from "./list-namespaces-response"; export import ListNamespacesResponse = ListNamespacesResponse.ListNamespacesResponse; import * as ListOverlappingRecallsResponse from "./list-overlapping-recalls-response"; export import ListOverlappingRecallsResponse = ListOverlappingRecallsResponse.ListOverlappingRecallsResponse; +import * as ListParserActionsResponse from "./list-parser-actions-response"; +export import ListParserActionsResponse = ListParserActionsResponse.ListParserActionsResponse; import * as ListParserFunctionsResponse from "./list-parser-functions-response"; export import ListParserFunctionsResponse = ListParserFunctionsResponse.ListParserFunctionsResponse; import * as ListParserMetaPluginsResponse from "./list-parser-meta-plugins-response"; @@ -258,6 +266,8 @@ import * as ListQueryWorkRequestsResponse from "./list-query-work-requests-respo export import ListQueryWorkRequestsResponse = ListQueryWorkRequestsResponse.ListQueryWorkRequestsResponse; import * as ListRecalledDataResponse from "./list-recalled-data-response"; export import ListRecalledDataResponse = ListRecalledDataResponse.ListRecalledDataResponse; +import * as ListRecalledInfoResponse from "./list-recalled-info-response"; +export import ListRecalledInfoResponse = ListRecalledInfoResponse.ListRecalledInfoResponse; import * as ListResourceCategoriesResponse from "./list-resource-categories-response"; export import ListResourceCategoriesResponse = ListResourceCategoriesResponse.ListResourceCategoriesResponse; import * as ListRulesResponse from "./list-rules-response"; @@ -286,6 +296,8 @@ import * as ListSupportedCharEncodingsResponse from "./list-supported-char-encod export import ListSupportedCharEncodingsResponse = ListSupportedCharEncodingsResponse.ListSupportedCharEncodingsResponse; import * as ListSupportedTimezonesResponse from "./list-supported-timezones-response"; export import ListSupportedTimezonesResponse = ListSupportedTimezonesResponse.ListSupportedTimezonesResponse; +import * as ListTemplatesResponse from "./list-templates-response"; +export import ListTemplatesResponse = ListTemplatesResponse.ListTemplatesResponse; import * as ListUploadFilesResponse from "./list-upload-files-response"; export import ListUploadFilesResponse = ListUploadFilesResponse.ListUploadFilesResponse; import * as ListUploadWarningsResponse from "./list-upload-warnings-response"; @@ -372,6 +384,8 @@ import * as UploadLogEventsFileResponse from "./upload-log-events-file-response" export import UploadLogEventsFileResponse = UploadLogEventsFileResponse.UploadLogEventsFileResponse; import * as UploadLogFileResponse from "./upload-log-file-response"; export import UploadLogFileResponse = UploadLogFileResponse.UploadLogFileResponse; +import * as UploadOtlpLogsResponse from "./upload-otlp-logs-response"; +export import UploadOtlpLogsResponse = UploadOtlpLogsResponse.UploadOtlpLogsResponse; import * as UpsertAssociationsResponse from "./upsert-associations-response"; export import UpsertAssociationsResponse = UpsertAssociationsResponse.UpsertAssociationsResponse; import * as UpsertFieldResponse from "./upsert-field-response"; diff --git a/lib/loganalytics/lib/response/list-parser-actions-response.ts b/lib/loganalytics/lib/response/list-parser-actions-response.ts new file mode 100644 index 0000000000..213d3c8331 --- /dev/null +++ b/lib/loganalytics/lib/response/list-parser-actions-response.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListParserActionsResponse { + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the previous page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the previous batch of items. + * + */ + "opcPrevPage": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the next page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.ParserActionSummaryCollection instance. + */ + "parserActionSummaryCollection": model.ParserActionSummaryCollection; +} diff --git a/lib/loganalytics/lib/response/list-recalled-info-response.ts b/lib/loganalytics/lib/response/list-recalled-info-response.ts new file mode 100644 index 0000000000..ef61381101 --- /dev/null +++ b/lib/loganalytics/lib/response/list-recalled-info-response.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListRecalledInfoResponse { + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the next page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the previous page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the previous batch of items. + * + */ + "opcPrevPage": string; + /** + * The returned model.RecalledInfoCollection instance. + */ + "recalledInfoCollection": model.RecalledInfoCollection; +} diff --git a/lib/loganalytics/lib/response/list-templates-response.ts b/lib/loganalytics/lib/response/list-templates-response.ts new file mode 100644 index 0000000000..4d630d3037 --- /dev/null +++ b/lib/loganalytics/lib/response/list-templates-response.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListTemplatesResponse { + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the previous page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the previous batch of items. + * + */ + "opcPrevPage": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then additional items may be available on the next page of the list. Include this value as the {@code page} parameter for the + * subsequent request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.LogAnalyticsTemplateCollection instance. + */ + "logAnalyticsTemplateCollection": model.LogAnalyticsTemplateCollection; +} diff --git a/lib/loganalytics/lib/response/upload-otlp-logs-response.ts b/lib/loganalytics/lib/response/upload-otlp-logs-response.ts new file mode 100644 index 0000000000..350969b1ec --- /dev/null +++ b/lib/loganalytics/lib/response/upload-otlp-logs-response.ts @@ -0,0 +1,31 @@ +/** + * + * + * OpenAPI spec version: 20200601 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UploadOtlpLogsResponse { + /** + * Unique Oracle-assigned identifier for the request. When you contact Oracle about a specific request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * Unique Oracle-assigned identifier for log data. + */ + "opcObjectId": string; + /** + * The time the upload was created, in the format defined by RFC3339 + */ + "timeCreated": Date; +} diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index d6b8f4d6e5..c3c510e027 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index 544b6f7b97..88952468f0 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 097729aded..929b544d68 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 4b7143ccc1..a45ecf2d09 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index 70231852f7..f326d081af 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index 6178838e4c..bb11407ff4 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Management Agent Service", "repository": { "type": "git", diff --git a/lib/managementdashboard/package.json b/lib/managementdashboard/package.json index 4cad199b9f..8a6f004363 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index 203bab3a8b..2ee57bbde9 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index 6ebce662be..82f164dcde 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index fe97ca837f..dcff564c36 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Marketplace Publisher Service", "repository": { "type": "git", diff --git a/lib/mediaservices/package.json b/lib/mediaservices/package.json index ecffa13071..c5094b23e3 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index 0bc754d0f4..b587fb5df0 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index 0768ae957b..18129cfbbd 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index bb6b271495..fdd2e25c34 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index aa9c20da90..d027b74f97 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index a24c2baafc..3bb6bd975d 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Network Load Balancer Service", "repository": { "type": "git", diff --git a/lib/nosql/package.json b/lib/nosql/package.json index 830be447af..e803243cdf 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index fe0cdb2b00..f8abf23575 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 6a1f86fd39..7310e5d837 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 9c89ecf935..e3633a7c42 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Oci Control Center Service", "repository": { "type": "git", diff --git a/lib/ocvp/package.json b/lib/ocvp/package.json index dba9ca33e4..a1d4e288a8 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 26dcb43259..b0829c2ea8 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index dc7527a0d2..64133a9bda 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 049b292ef3..4af21360ec 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 7b6c45e16c..1505498e22 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index 5183daf52b..957df57514 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 7e3b08b774..8e899155b4 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Operator Access Control Service", "repository": { "type": "git", diff --git a/lib/opsi/package.json b/lib/opsi/package.json index bc46959a21..69daef5536 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 825b372b7e..87849a2928 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagement/package.json b/lib/osmanagement/package.json index 2488901283..82bb2c32f3 100644 --- a/lib/osmanagement/package.json +++ b/lib/osmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagement", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for OS Management", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index fc6b9ea579..edd94a92e6 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Os Management Hub Service", "repository": { "type": "git", diff --git a/lib/ospgateway/package.json b/lib/ospgateway/package.json index 1d7a51eb8b..825f1aca8a 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Osp Gateway Service", "repository": { "type": "git", diff --git a/lib/osubbillingschedule/package.json b/lib/osubbillingschedule/package.json index d943dfac89..71d877b0e6 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Osub Billing Schedule Service", "repository": { "type": "git", diff --git a/lib/osuborganizationsubscription/package.json b/lib/osuborganizationsubscription/package.json index 899d3842ce..65056efe40 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Osub Organization Subscription Service", "repository": { "type": "git", diff --git a/lib/osubsubscription/package.json b/lib/osubsubscription/package.json index f5cbedc654..2e0a8a8e75 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Osub Subscription Service", "repository": { "type": "git", diff --git a/lib/osubusage/package.json b/lib/osubusage/package.json index e00d4f8143..83620baa52 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index cf7bedd5db..eec390370a 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 928663c21d..dfbeb283ae 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 4fbe1c286b..b8750f3a55 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index e19d7e0325..161c5cb080 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 83bfe348fd..69ba8ac49f 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index 5d40bcd4c9..56d45ef87b 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index 5a8bf0552f..bd9924b118 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for resource research Service", "repository": { "type": "git", diff --git a/lib/rover/package.json b/lib/rover/package.json index 34896ecaa6..3ae3764062 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 4b1a369b56..e0e772fc41 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 79b120fc45..082fdc2bdd 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index c215d1f886..2380dfe0e2 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 8c74ffb4d8..68dd8f0489 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Service Catalog Service", "repository": { "type": "git", diff --git a/lib/servicemanagerproxy/package.json b/lib/servicemanagerproxy/package.json index 343e9dcfbf..f2c48a3703 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/servicemesh/package.json b/lib/servicemesh/package.json index 2ca9c701c8..95126b9697 100644 --- a/lib/servicemesh/package.json +++ b/lib/servicemesh/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemesh", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Service Mesh Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index aeb4065679..5f0c775c56 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Stack Monitoring Service", "repository": { "type": "git", diff --git a/lib/streaming/package.json b/lib/streaming/package.json index 25cf6c28bc..6af6ab521c 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 3f2ed02ba1..7813a3a4d3 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Tenant Manager Control Plane Service", "repository": { "type": "git", diff --git a/lib/threatintelligence/package.json b/lib/threatintelligence/package.json index aff863d9c1..398f33f427 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Threat Intelligence Service", "repository": { "type": "git", diff --git a/lib/usage/package.json b/lib/usage/package.json index 20b6985a8b..d7e7be320c 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 1d01700477..c03ca6a83f 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Usage Api Service", "repository": { "type": "git", diff --git a/lib/vault/package.json b/lib/vault/package.json index f430bbfdbe..da4633cf5c 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index c7d66f8e90..b97947e306 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Vbs Inst Service", "repository": { "type": "git", diff --git a/lib/visualbuilder/package.json b/lib/visualbuilder/package.json index 48e561147e..3b46b5710a 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index 3ec1c9ca14..fd8be86bae 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Vn Monitoring Service", "repository": { "type": "git", diff --git a/lib/vulnerabilityscanning/package.json b/lib/vulnerabilityscanning/package.json index c804f3d548..a2dcdfcb66 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Vulnerability Scanning Service", "repository": { "type": "git", diff --git a/lib/waa/package.json b/lib/waa/package.json index af52912a3d..5ebae78d97 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 68d8f58626..d7c5d0a44e 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index fcb8f52f36..a8eb1444de 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index b0c2f1e5b3..7c082dd923 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index d6285d4ffd..fa421942d7 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.107.3", + "version": "2.108.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index 7c71f2a3ba..63c95c697e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.107.3", + "version": "2.108.0", "author": { "name": "Oracle Cloud Infrastructure", "email": ""