oci-databasemanagement 2.62.3 → 2.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +529 -217
- package/lib/client.js +2003 -443
- package/lib/client.js.map +1 -1
- package/lib/model/alert-severity-enum.d.ts +1 -1
- package/lib/model/alert-severity-enum.js +1 -1
- package/lib/model/alert-type-enum.d.ts +1 -1
- package/lib/model/alert-type-enum.js +1 -1
- package/lib/model/associated-service-details.d.ts +32 -0
- package/lib/model/associated-service-details.js +32 -0
- package/lib/model/associated-service-details.js.map +1 -0
- package/lib/model/automatic-capture-filter-details.d.ts +50 -0
- package/lib/model/automatic-capture-filter-details.js +39 -0
- package/lib/model/automatic-capture-filter-details.js.map +1 -0
- package/lib/model/automatic-capture-filter.d.ts +63 -0
- package/lib/model/automatic-capture-filter.js +44 -0
- package/lib/model/automatic-capture-filter.js.map +1 -0
- package/lib/model/change-external-exadata-infrastructure-compartment-details.d.ts +1 -1
- package/lib/model/change-plan-retention-details.d.ts +31 -0
- package/lib/model/change-plan-retention-details.js +60 -0
- package/lib/model/change-plan-retention-details.js.map +1 -0
- package/lib/model/change-space-budget-details.d.ts +31 -0
- package/lib/model/change-space-budget-details.js +60 -0
- package/lib/model/change-space-budget-details.js.map +1 -0
- package/lib/model/change-sql-plan-baselines-attributes-details.d.ts +50 -0
- package/lib/model/change-sql-plan-baselines-attributes-details.js +60 -0
- package/lib/model/change-sql-plan-baselines-attributes-details.js.map +1 -0
- package/lib/model/configure-automatic-capture-filters-details.d.ts +30 -0
- package/lib/model/configure-automatic-capture-filters-details.js +70 -0
- package/lib/model/configure-automatic-capture-filters-details.js.map +1 -0
- package/lib/model/configure-automatic-spm-evolve-advisor-task-details.d.ts +27 -0
- package/lib/model/configure-automatic-spm-evolve-advisor-task-details.js +66 -0
- package/lib/model/configure-automatic-spm-evolve-advisor-task-details.js.map +1 -0
- package/lib/model/create-external-db-system-details.d.ts +1 -0
- package/lib/model/create-external-db-system-details.js +6 -0
- package/lib/model/create-external-db-system-details.js.map +1 -1
- package/lib/model/create-external-exadata-infrastructure-details.d.ts +4 -4
- package/lib/model/create-external-exadata-storage-connector-details.d.ts +3 -3
- package/lib/model/create-sql-job-details.d.ts +2 -0
- package/lib/model/create-sql-job-details.js +12 -2
- package/lib/model/create-sql-job-details.js.map +1 -1
- package/lib/model/cursor-cache-statement-collection.d.ts +29 -0
- package/lib/model/cursor-cache-statement-collection.js +64 -0
- package/lib/model/cursor-cache-statement-collection.js.map +1 -0
- package/lib/model/cursor-cache-statement-summary.d.ts +36 -0
- package/lib/model/cursor-cache-statement-summary.js +32 -0
- package/lib/model/cursor-cache-statement-summary.js.map +1 -0
- package/lib/model/database-plan-directive.d.ts +14 -13
- package/lib/model/database-plan-directive.js.map +1 -1
- package/lib/model/database-plan-role-enum.d.ts +2 -2
- package/lib/model/database-plan-role-enum.js +2 -2
- package/lib/model/database-plan-type-enum.d.ts +2 -2
- package/lib/model/database-plan-type-enum.js +2 -2
- package/lib/model/dbm-resource.d.ts +8 -8
- package/lib/model/disable-automatic-initial-plan-capture-details.d.ts +26 -0
- package/lib/model/disable-automatic-initial-plan-capture-details.js +60 -0
- package/lib/model/disable-automatic-initial-plan-capture-details.js.map +1 -0
- package/lib/model/disable-automatic-spm-evolve-advisor-task-details.d.ts +26 -0
- package/lib/model/disable-automatic-spm-evolve-advisor-task-details.js +60 -0
- package/lib/model/disable-automatic-spm-evolve-advisor-task-details.js.map +1 -0
- package/lib/model/disable-high-frequency-automatic-spm-evolve-advisor-task-details.d.ts +26 -0
- package/lib/model/disable-high-frequency-automatic-spm-evolve-advisor-task-details.js +60 -0
- package/lib/model/disable-high-frequency-automatic-spm-evolve-advisor-task-details.js.map +1 -0
- package/lib/model/disable-sql-plan-baselines-usage-details.d.ts +26 -0
- package/lib/model/disable-sql-plan-baselines-usage-details.js +60 -0
- package/lib/model/disable-sql-plan-baselines-usage-details.js.map +1 -0
- package/lib/model/discover-external-exadata-infrastructure-details.d.ts +5 -5
- package/lib/model/drop-sql-plan-baselines-details.d.ts +38 -0
- package/lib/model/drop-sql-plan-baselines-details.js +60 -0
- package/lib/model/drop-sql-plan-baselines-details.js.map +1 -0
- package/lib/model/enable-automatic-initial-plan-capture-details.d.ts +26 -0
- package/lib/model/enable-automatic-initial-plan-capture-details.js +60 -0
- package/lib/model/enable-automatic-initial-plan-capture-details.js.map +1 -0
- package/lib/model/enable-automatic-spm-evolve-advisor-task-details.d.ts +26 -0
- package/lib/model/enable-automatic-spm-evolve-advisor-task-details.js +60 -0
- package/lib/model/enable-automatic-spm-evolve-advisor-task-details.js.map +1 -0
- package/lib/model/enable-external-db-system-stack-monitoring-details.d.ts +32 -0
- package/lib/model/enable-external-db-system-stack-monitoring-details.js +32 -0
- package/lib/model/enable-external-db-system-stack-monitoring-details.js.map +1 -0
- package/lib/model/enable-external-exadata-infrastructure-management-details.d.ts +1 -1
- package/lib/model/enable-high-frequency-automatic-spm-evolve-advisor-task-details.d.ts +26 -0
- package/lib/model/enable-high-frequency-automatic-spm-evolve-advisor-task-details.js +60 -0
- package/lib/model/enable-high-frequency-automatic-spm-evolve-advisor-task-details.js.map +1 -0
- package/lib/model/enable-sql-plan-baselines-usage-details.d.ts +26 -0
- package/lib/model/enable-sql-plan-baselines-usage-details.js +60 -0
- package/lib/model/enable-sql-plan-baselines-usage-details.js.map +1 -0
- package/lib/model/entity-discovered.d.ts +7 -7
- package/lib/model/external-database-system-discovery-summary.d.ts +3 -3
- package/lib/model/external-db-system-stack-monitoring-config-details.d.ts +32 -0
- package/lib/model/external-db-system-stack-monitoring-config-details.js +32 -0
- package/lib/model/external-db-system-stack-monitoring-config-details.js.map +1 -0
- package/lib/model/external-db-system.d.ts +1 -0
- package/lib/model/external-db-system.js +6 -0
- package/lib/model/external-db-system.js.map +1 -1
- package/lib/model/external-exadata-database-system-summary.d.ts +2 -2
- package/lib/model/external-exadata-infrastructure-collection.d.ts +2 -2
- package/lib/model/external-exadata-infrastructure-discovery-summary.d.ts +1 -1
- package/lib/model/external-exadata-infrastructure-discovery.d.ts +5 -5
- package/lib/model/external-exadata-infrastructure-summary.d.ts +1 -1
- package/lib/model/external-exadata-infrastructure.d.ts +4 -4
- package/lib/model/external-exadata-storage-connector-collection.d.ts +1 -1
- package/lib/model/external-exadata-storage-connector-status.d.ts +2 -2
- package/lib/model/external-exadata-storage-connector-summary.d.ts +2 -2
- package/lib/model/external-exadata-storage-connector.d.ts +3 -3
- package/lib/model/external-exadata-storage-grid-summary.d.ts +2 -2
- package/lib/model/external-exadata-storage-grid.d.ts +4 -4
- package/lib/model/external-exadata-storage-server-collection.d.ts +1 -1
- package/lib/model/external-exadata-storage-server-summary.d.ts +10 -10
- package/lib/model/external-exadata-storage-server.d.ts +11 -11
- package/lib/model/external-storage-grid-discovery-summary.d.ts +2 -2
- package/lib/model/external-storage-server-discovery-summary.d.ts +6 -6
- package/lib/model/index.d.ts +78 -0
- package/lib/model/index.js +87 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/iorm-plan-objective-enum.d.ts +2 -2
- package/lib/model/iorm-plan-objective-enum.js +2 -2
- package/lib/model/iorm-plan-status-enum.d.ts +2 -2
- package/lib/model/iorm-plan-status-enum.js +2 -2
- package/lib/model/iorm-plan.d.ts +1 -1
- package/lib/model/job-execution.d.ts +2 -0
- package/lib/model/job-execution.js +8 -0
- package/lib/model/job-execution.js.map +1 -1
- package/lib/model/job-in-bind.d.ts +50 -0
- package/lib/model/job-in-bind.js +43 -0
- package/lib/model/job-in-bind.js.map +1 -0
- package/lib/model/job-in-binds-details.d.ts +29 -0
- package/lib/model/job-in-binds-details.js +64 -0
- package/lib/model/job-in-binds-details.js.map +1 -0
- package/lib/model/job-out-bind.d.ts +42 -0
- package/lib/model/job-out-bind.js +43 -0
- package/lib/model/job-out-bind.js.map +1 -0
- package/lib/model/job-out-binds-details.d.ts +29 -0
- package/lib/model/job-out-binds-details.js +64 -0
- package/lib/model/job-out-binds-details.js.map +1 -0
- package/lib/model/load-sql-plan-baselines-from-awr-details.d.ts +63 -0
- package/lib/model/load-sql-plan-baselines-from-awr-details.js +60 -0
- package/lib/model/load-sql-plan-baselines-from-awr-details.js.map +1 -0
- package/lib/model/load-sql-plan-baselines-from-cursor-cache-details.d.ts +94 -0
- package/lib/model/load-sql-plan-baselines-from-cursor-cache-details.js +67 -0
- package/lib/model/load-sql-plan-baselines-from-cursor-cache-details.js.map +1 -0
- package/lib/model/open-alert-history.d.ts +1 -1
- package/lib/model/open-alert-summary.d.ts +2 -2
- package/lib/model/rest-credential.d.ts +3 -3
- package/lib/model/spm-evolve-task-parameters.d.ts +68 -0
- package/lib/model/spm-evolve-task-parameters.js +55 -0
- package/lib/model/spm-evolve-task-parameters.js.map +1 -0
- package/lib/model/sql-cpu-activity.d.ts +1 -1
- package/lib/model/sql-job.d.ts +2 -0
- package/lib/model/sql-job.js +12 -2
- package/lib/model/sql-job.js.map +1 -1
- package/lib/model/sql-plan-baseline-aggregation-collection.d.ts +29 -0
- package/lib/model/sql-plan-baseline-aggregation-collection.js +64 -0
- package/lib/model/sql-plan-baseline-aggregation-collection.js.map +1 -0
- package/lib/model/sql-plan-baseline-aggregation.d.ts +30 -0
- package/lib/model/sql-plan-baseline-aggregation.js +60 -0
- package/lib/model/sql-plan-baseline-aggregation.js.map +1 -0
- package/lib/model/sql-plan-baseline-collection.d.ts +29 -0
- package/lib/model/sql-plan-baseline-collection.js +64 -0
- package/lib/model/sql-plan-baseline-collection.js.map +1 -0
- package/lib/model/sql-plan-baseline-configuration.d.ts +71 -0
- package/lib/model/sql-plan-baseline-configuration.js +70 -0
- package/lib/model/sql-plan-baseline-configuration.js.map +1 -0
- package/lib/model/sql-plan-baseline-dimensions.d.ts +32 -0
- package/lib/model/sql-plan-baseline-dimensions.js +32 -0
- package/lib/model/sql-plan-baseline-dimensions.js.map +1 -0
- package/lib/model/sql-plan-baseline-job-collection.d.ts +29 -0
- package/lib/model/sql-plan-baseline-job-collection.js +64 -0
- package/lib/model/sql-plan-baseline-job-collection.js.map +1 -0
- package/lib/model/sql-plan-baseline-job-summary.d.ts +58 -0
- package/lib/model/sql-plan-baseline-job-summary.js +52 -0
- package/lib/model/sql-plan-baseline-job-summary.js.map +1 -0
- package/lib/model/sql-plan-baseline-job.d.ts +58 -0
- package/lib/model/sql-plan-baseline-job.js +52 -0
- package/lib/model/sql-plan-baseline-job.js.map +1 -0
- package/lib/model/sql-plan-baseline-origin.d.ts +44 -0
- package/lib/model/sql-plan-baseline-origin.js +55 -0
- package/lib/model/sql-plan-baseline-origin.js.map +1 -0
- package/lib/model/sql-plan-baseline-summary.d.ts +92 -0
- package/lib/model/sql-plan-baseline-summary.js +32 -0
- package/lib/model/sql-plan-baseline-summary.js.map +1 -0
- package/lib/model/sql-plan-baseline.d.ts +104 -0
- package/lib/model/sql-plan-baseline.js +32 -0
- package/lib/model/sql-plan-baseline.js.map +1 -0
- package/lib/model/top-sql-cpu-activity.d.ts +1 -1
- package/lib/model/update-external-exadata-infrastructure-details.d.ts +4 -4
- package/lib/model/update-external-exadata-storage-connector-details.d.ts +3 -3
- package/lib/model/update-sql-job-details.d.ts +2 -0
- package/lib/model/update-sql-job-details.js +12 -2
- package/lib/model/update-sql-job-details.js.map +1 -1
- package/lib/request/add-data-files-request.d.ts +1 -1
- package/lib/request/add-managed-database-to-managed-database-group-request.d.ts +1 -1
- package/lib/request/addm-tasks-request.d.ts +1 -1
- package/lib/request/change-database-parameters-request.d.ts +1 -1
- package/lib/request/change-db-management-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-external-db-system-compartment-request.d.ts +1 -1
- package/lib/request/change-external-exadata-infrastructure-compartment-request.d.ts +2 -2
- package/lib/request/change-job-compartment-request.d.ts +1 -1
- package/lib/request/change-managed-database-group-compartment-request.d.ts +1 -1
- package/lib/request/change-plan-retention-request.d.ts +31 -0
- package/lib/request/change-plan-retention-request.js +15 -0
- package/lib/request/change-plan-retention-request.js.map +1 -0
- package/lib/request/change-space-budget-request.d.ts +31 -0
- package/lib/request/change-space-budget-request.js +15 -0
- package/lib/request/change-space-budget-request.js.map +1 -0
- package/lib/request/change-sql-plan-baselines-attributes-request.d.ts +31 -0
- package/lib/request/change-sql-plan-baselines-attributes-request.js +15 -0
- package/lib/request/change-sql-plan-baselines-attributes-request.js.map +1 -0
- package/lib/request/check-external-db-system-connector-connection-status-request.d.ts +1 -1
- package/lib/request/check-external-exadata-storage-connector-request.d.ts +1 -1
- package/lib/request/clone-sql-tuning-task-request.d.ts +1 -1
- package/lib/request/configure-automatic-capture-filters-request.d.ts +31 -0
- package/lib/request/configure-automatic-capture-filters-request.js +15 -0
- package/lib/request/configure-automatic-capture-filters-request.js.map +1 -0
- package/lib/request/configure-automatic-spm-evolve-advisor-task-request.d.ts +31 -0
- package/lib/request/configure-automatic-spm-evolve-advisor-task-request.js +15 -0
- package/lib/request/configure-automatic-spm-evolve-advisor-task-request.js.map +1 -0
- package/lib/request/create-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-external-db-system-connector-request.d.ts +1 -1
- package/lib/request/create-external-db-system-discovery-request.d.ts +1 -1
- package/lib/request/create-external-db-system-request.d.ts +1 -1
- package/lib/request/create-external-exadata-infrastructure-request.d.ts +1 -1
- package/lib/request/create-external-exadata-storage-connector-request.d.ts +2 -2
- package/lib/request/create-job-request.d.ts +1 -1
- package/lib/request/create-managed-database-group-request.d.ts +1 -1
- package/lib/request/create-tablespace-request.d.ts +1 -1
- package/lib/request/delete-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-external-db-system-connector-request.d.ts +1 -1
- package/lib/request/delete-external-db-system-discovery-request.d.ts +1 -1
- package/lib/request/delete-external-db-system-request.d.ts +1 -1
- package/lib/request/delete-external-exadata-infrastructure-request.d.ts +1 -1
- package/lib/request/delete-external-exadata-storage-connector-request.d.ts +1 -1
- package/lib/request/delete-job-request.d.ts +1 -1
- package/lib/request/delete-managed-database-group-request.d.ts +1 -1
- package/lib/request/delete-preferred-credential-request.d.ts +1 -1
- package/lib/request/disable-automatic-initial-plan-capture-request.d.ts +31 -0
- package/lib/request/disable-automatic-initial-plan-capture-request.js +15 -0
- package/lib/request/disable-automatic-initial-plan-capture-request.js.map +1 -0
- package/lib/request/disable-automatic-spm-evolve-advisor-task-request.d.ts +31 -0
- package/lib/request/disable-automatic-spm-evolve-advisor-task-request.js +15 -0
- package/lib/request/disable-automatic-spm-evolve-advisor-task-request.js.map +1 -0
- package/lib/request/disable-external-db-system-database-management-request.d.ts +1 -1
- package/lib/request/disable-external-db-system-stack-monitoring-request.d.ts +44 -0
- package/lib/request/disable-external-db-system-stack-monitoring-request.js +15 -0
- package/lib/request/disable-external-db-system-stack-monitoring-request.js.map +1 -0
- package/lib/request/disable-external-exadata-infrastructure-management-request.d.ts +1 -1
- package/lib/request/disable-high-frequency-automatic-spm-evolve-advisor-task-request.d.ts +31 -0
- package/lib/request/disable-high-frequency-automatic-spm-evolve-advisor-task-request.js +15 -0
- package/lib/request/disable-high-frequency-automatic-spm-evolve-advisor-task-request.js.map +1 -0
- package/lib/request/disable-sql-plan-baselines-usage-request.d.ts +31 -0
- package/lib/request/disable-sql-plan-baselines-usage-request.js +15 -0
- package/lib/request/disable-sql-plan-baselines-usage-request.js.map +1 -0
- package/lib/request/discover-external-exadata-infrastructure-request.d.ts +2 -2
- package/lib/request/drop-sql-plan-baselines-request.d.ts +31 -0
- package/lib/request/drop-sql-plan-baselines-request.js +15 -0
- package/lib/request/drop-sql-plan-baselines-request.js.map +1 -0
- package/lib/request/drop-sql-tuning-task-request.d.ts +1 -1
- package/lib/request/drop-tablespace-request.d.ts +1 -1
- package/lib/request/enable-automatic-initial-plan-capture-request.d.ts +31 -0
- package/lib/request/enable-automatic-initial-plan-capture-request.js +15 -0
- package/lib/request/enable-automatic-initial-plan-capture-request.js.map +1 -0
- package/lib/request/enable-automatic-spm-evolve-advisor-task-request.d.ts +31 -0
- package/lib/request/enable-automatic-spm-evolve-advisor-task-request.js +15 -0
- package/lib/request/enable-automatic-spm-evolve-advisor-task-request.js.map +1 -0
- package/lib/request/enable-external-db-system-database-management-request.d.ts +1 -1
- package/lib/request/enable-external-db-system-stack-monitoring-request.d.ts +49 -0
- package/lib/request/enable-external-db-system-stack-monitoring-request.js +15 -0
- package/lib/request/enable-external-db-system-stack-monitoring-request.js.map +1 -0
- package/lib/request/enable-external-exadata-infrastructure-management-request.d.ts +2 -2
- package/lib/request/enable-high-frequency-automatic-spm-evolve-advisor-task-request.d.ts +31 -0
- package/lib/request/enable-high-frequency-automatic-spm-evolve-advisor-task-request.js +15 -0
- package/lib/request/enable-high-frequency-automatic-spm-evolve-advisor-task-request.js.map +1 -0
- package/lib/request/enable-sql-plan-baselines-usage-request.d.ts +31 -0
- package/lib/request/enable-sql-plan-baselines-usage-request.js +15 -0
- package/lib/request/enable-sql-plan-baselines-usage-request.js.map +1 -0
- package/lib/request/generate-awr-snapshot-request.d.ts +1 -1
- package/lib/request/get-awr-db-report-request.d.ts +1 -1
- package/lib/request/get-awr-db-sql-report-request.d.ts +1 -1
- package/lib/request/get-cluster-cache-metric-request.d.ts +1 -1
- package/lib/request/get-database-fleet-health-metrics-request.d.ts +1 -1
- package/lib/request/get-database-home-metrics-request.d.ts +1 -1
- package/lib/request/get-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-execution-plan-stats-comparision-request.d.ts +1 -1
- package/lib/request/get-external-asm-configuration-request.d.ts +1 -1
- package/lib/request/get-external-asm-instance-request.d.ts +1 -1
- package/lib/request/get-external-asm-request.d.ts +1 -1
- package/lib/request/get-external-cluster-instance-request.d.ts +1 -1
- package/lib/request/get-external-cluster-request.d.ts +1 -1
- package/lib/request/get-external-db-home-request.d.ts +1 -1
- package/lib/request/get-external-db-node-request.d.ts +1 -1
- package/lib/request/get-external-db-system-connector-request.d.ts +1 -1
- package/lib/request/get-external-db-system-discovery-request.d.ts +1 -1
- package/lib/request/get-external-db-system-request.d.ts +1 -1
- package/lib/request/get-external-exadata-infrastructure-request.d.ts +1 -1
- package/lib/request/get-external-exadata-storage-connector-request.d.ts +1 -1
- package/lib/request/get-external-exadata-storage-grid-request.d.ts +1 -1
- package/lib/request/get-external-exadata-storage-server-request.d.ts +1 -1
- package/lib/request/get-external-listener-request.d.ts +1 -1
- package/lib/request/get-iorm-plan-request.d.ts +1 -1
- package/lib/request/get-job-execution-request.d.ts +1 -1
- package/lib/request/get-job-request.d.ts +1 -1
- package/lib/request/get-job-run-request.d.ts +1 -1
- package/lib/request/get-managed-database-group-request.d.ts +1 -1
- package/lib/request/get-managed-database-request.d.ts +1 -1
- package/lib/request/get-open-alert-history-request.d.ts +1 -1
- package/lib/request/get-optimizer-statistics-advisor-execution-request.d.ts +1 -1
- package/lib/request/get-optimizer-statistics-advisor-execution-script-request.d.ts +1 -1
- package/lib/request/get-optimizer-statistics-collection-operation-request.d.ts +1 -1
- package/lib/request/get-pdb-metrics-request.d.ts +1 -1
- package/lib/request/get-preferred-credential-request.d.ts +1 -1
- package/lib/request/get-sql-execution-plan-request.d.ts +1 -1
- package/lib/request/get-sql-plan-baseline-configuration-request.d.ts +26 -0
- package/lib/request/get-sql-plan-baseline-configuration-request.js +15 -0
- package/lib/request/get-sql-plan-baseline-configuration-request.js.map +1 -0
- package/lib/request/get-sql-plan-baseline-request.d.ts +30 -0
- package/lib/request/get-sql-plan-baseline-request.js +15 -0
- package/lib/request/get-sql-plan-baseline-request.js.map +1 -0
- package/lib/request/get-sql-tuning-advisor-task-summary-report-request.d.ts +1 -1
- package/lib/request/get-tablespace-request.d.ts +1 -1
- package/lib/request/get-top-sql-cpu-activity-request.d.ts +1 -1
- package/lib/request/get-user-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/implement-optimizer-statistics-advisor-recommendations-request.d.ts +1 -1
- package/lib/request/index.d.ts +50 -0
- package/lib/request/index.js +8 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-alert-logs-request.d.ts +1 -1
- package/lib/request/list-asm-properties-request.d.ts +1 -1
- package/lib/request/list-associated-databases-request.d.ts +1 -1
- package/lib/request/list-attention-logs-request.d.ts +1 -1
- package/lib/request/list-awr-db-snapshots-request.d.ts +1 -1
- package/lib/request/list-awr-dbs-request.d.ts +1 -1
- package/lib/request/list-consumer-group-privileges-request.d.ts +1 -1
- package/lib/request/list-cursor-cache-statements-request.d.ts +58 -0
- package/lib/request/list-cursor-cache-statements-request.js +24 -0
- package/lib/request/list-cursor-cache-statements-request.js.map +1 -0
- package/lib/request/list-data-access-containers-request.d.ts +1 -1
- package/lib/request/list-database-parameters-request.d.ts +1 -1
- package/lib/request/list-db-management-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-external-asm-disk-groups-request.d.ts +1 -1
- package/lib/request/list-external-asm-instances-request.d.ts +1 -1
- package/lib/request/list-external-asm-users-request.d.ts +1 -1
- package/lib/request/list-external-asms-request.d.ts +1 -1
- package/lib/request/list-external-cluster-instances-request.d.ts +1 -1
- package/lib/request/list-external-clusters-request.d.ts +1 -1
- package/lib/request/list-external-databases-request.d.ts +1 -1
- package/lib/request/list-external-db-homes-request.d.ts +1 -1
- package/lib/request/list-external-db-nodes-request.d.ts +1 -1
- package/lib/request/list-external-db-system-connectors-request.d.ts +1 -1
- package/lib/request/list-external-db-system-discoveries-request.d.ts +1 -1
- package/lib/request/list-external-db-systems-request.d.ts +1 -1
- package/lib/request/list-external-exadata-infrastructures-request.d.ts +1 -1
- package/lib/request/list-external-exadata-storage-connectors-request.d.ts +1 -1
- package/lib/request/list-external-exadata-storage-servers-request.d.ts +1 -1
- package/lib/request/list-external-listener-services-request.d.ts +1 -1
- package/lib/request/list-external-listeners-request.d.ts +1 -1
- package/lib/request/list-job-executions-request.d.ts +1 -1
- package/lib/request/list-job-runs-request.d.ts +1 -1
- package/lib/request/list-jobs-request.d.ts +1 -1
- package/lib/request/list-managed-database-groups-request.d.ts +1 -1
- package/lib/request/list-managed-databases-request.d.ts +1 -1
- package/lib/request/list-object-privileges-request.d.ts +1 -1
- package/lib/request/list-optimizer-statistics-advisor-executions-request.d.ts +1 -1
- package/lib/request/list-optimizer-statistics-collection-aggregations-request.d.ts +1 -1
- package/lib/request/list-optimizer-statistics-collection-operations-request.d.ts +1 -1
- package/lib/request/list-preferred-credentials-request.d.ts +1 -1
- package/lib/request/list-proxied-for-users-request.d.ts +1 -1
- package/lib/request/list-proxy-users-request.d.ts +1 -1
- package/lib/request/list-roles-request.d.ts +1 -1
- package/lib/request/list-sql-plan-baseline-jobs-request.d.ts +58 -0
- package/lib/request/list-sql-plan-baseline-jobs-request.js +24 -0
- package/lib/request/list-sql-plan-baseline-jobs-request.js.map +1 -0
- package/lib/request/list-sql-plan-baselines-request.d.ts +100 -0
- package/lib/request/list-sql-plan-baselines-request.js +24 -0
- package/lib/request/list-sql-plan-baselines-request.js.map +1 -0
- package/lib/request/list-sql-tuning-advisor-task-findings-request.d.ts +1 -1
- package/lib/request/list-sql-tuning-advisor-task-recommendations-request.d.ts +1 -1
- package/lib/request/list-sql-tuning-advisor-tasks-request.d.ts +1 -1
- package/lib/request/list-sql-tuning-sets-request.d.ts +1 -1
- package/lib/request/list-system-privileges-request.d.ts +1 -1
- package/lib/request/list-table-statistics-request.d.ts +1 -1
- package/lib/request/list-tablespaces-request.d.ts +1 -1
- package/lib/request/list-users-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/load-sql-plan-baselines-from-awr-request.d.ts +31 -0
- package/lib/request/load-sql-plan-baselines-from-awr-request.js +15 -0
- package/lib/request/load-sql-plan-baselines-from-awr-request.js.map +1 -0
- package/lib/request/load-sql-plan-baselines-from-cursor-cache-request.d.ts +31 -0
- package/lib/request/load-sql-plan-baselines-from-cursor-cache-request.js +15 -0
- package/lib/request/load-sql-plan-baselines-from-cursor-cache-request.js.map +1 -0
- package/lib/request/patch-external-db-system-discovery-request.d.ts +1 -1
- package/lib/request/remove-data-file-request.d.ts +1 -1
- package/lib/request/remove-managed-database-from-managed-database-group-request.d.ts +1 -1
- package/lib/request/reset-database-parameters-request.d.ts +1 -1
- package/lib/request/resize-data-file-request.d.ts +1 -1
- package/lib/request/run-historic-addm-request.d.ts +1 -1
- package/lib/request/start-sql-tuning-task-request.d.ts +1 -1
- package/lib/request/summarize-alert-log-counts-request.d.ts +1 -1
- package/lib/request/summarize-attention-log-counts-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-cpu-usages-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-metrics-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-parameter-changes-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-parameters-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-snapshot-ranges-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-sysstats-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-top-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-wait-event-buckets-request.d.ts +1 -1
- package/lib/request/summarize-awr-db-wait-events-request.d.ts +1 -1
- package/lib/request/summarize-external-asm-metrics-request.d.ts +1 -1
- package/lib/request/summarize-external-cluster-metrics-request.d.ts +1 -1
- package/lib/request/summarize-external-db-node-metrics-request.d.ts +1 -1
- package/lib/request/summarize-external-db-system-availability-metrics-request.d.ts +1 -1
- package/lib/request/summarize-external-listener-metrics-request.d.ts +1 -1
- package/lib/request/summarize-job-executions-statuses-request.d.ts +1 -1
- package/lib/request/summarize-managed-database-availability-metrics-request.d.ts +1 -1
- package/lib/request/summarize-sql-plan-baselines-by-last-execution-request.d.ts +32 -0
- package/lib/request/summarize-sql-plan-baselines-by-last-execution-request.js +15 -0
- package/lib/request/summarize-sql-plan-baselines-by-last-execution-request.js.map +1 -0
- package/lib/request/summarize-sql-plan-baselines-request.d.ts +32 -0
- package/lib/request/summarize-sql-plan-baselines-request.js +15 -0
- package/lib/request/summarize-sql-plan-baselines-request.js.map +1 -0
- package/lib/request/test-preferred-credential-request.d.ts +1 -1
- package/lib/request/update-db-management-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-external-asm-request.d.ts +1 -1
- package/lib/request/update-external-cluster-instance-request.d.ts +1 -1
- package/lib/request/update-external-cluster-request.d.ts +1 -1
- package/lib/request/update-external-db-node-request.d.ts +1 -1
- package/lib/request/update-external-db-system-connector-request.d.ts +1 -1
- package/lib/request/update-external-db-system-discovery-request.d.ts +1 -1
- package/lib/request/update-external-db-system-request.d.ts +1 -1
- package/lib/request/update-external-exadata-infrastructure-request.d.ts +1 -1
- package/lib/request/update-external-exadata-storage-connector-request.d.ts +2 -2
- package/lib/request/update-external-listener-request.d.ts +1 -1
- package/lib/request/update-job-request.d.ts +1 -1
- package/lib/request/update-managed-database-group-request.d.ts +1 -1
- package/lib/request/update-preferred-credential-request.d.ts +1 -1
- package/lib/request/update-tablespace-request.d.ts +1 -1
- package/lib/response/change-plan-retention-response.d.ts +20 -0
- package/lib/response/change-plan-retention-response.js +15 -0
- package/lib/response/change-plan-retention-response.js.map +1 -0
- package/lib/response/change-space-budget-response.d.ts +20 -0
- package/lib/response/change-space-budget-response.js +15 -0
- package/lib/response/change-space-budget-response.js.map +1 -0
- package/lib/response/change-sql-plan-baselines-attributes-response.d.ts +20 -0
- package/lib/response/change-sql-plan-baselines-attributes-response.js +15 -0
- package/lib/response/change-sql-plan-baselines-attributes-response.js.map +1 -0
- package/lib/response/configure-automatic-capture-filters-response.d.ts +20 -0
- package/lib/response/configure-automatic-capture-filters-response.js +15 -0
- package/lib/response/configure-automatic-capture-filters-response.js.map +1 -0
- package/lib/response/configure-automatic-spm-evolve-advisor-task-response.d.ts +20 -0
- package/lib/response/configure-automatic-spm-evolve-advisor-task-response.js +15 -0
- package/lib/response/configure-automatic-spm-evolve-advisor-task-response.js.map +1 -0
- package/lib/response/disable-automatic-initial-plan-capture-response.d.ts +20 -0
- package/lib/response/disable-automatic-initial-plan-capture-response.js +15 -0
- package/lib/response/disable-automatic-initial-plan-capture-response.js.map +1 -0
- package/lib/response/disable-automatic-spm-evolve-advisor-task-response.d.ts +20 -0
- package/lib/response/disable-automatic-spm-evolve-advisor-task-response.js +15 -0
- package/lib/response/disable-automatic-spm-evolve-advisor-task-response.js.map +1 -0
- package/lib/response/disable-external-db-system-stack-monitoring-response.d.ts +25 -0
- package/lib/response/disable-external-db-system-stack-monitoring-response.js +15 -0
- package/lib/response/disable-external-db-system-stack-monitoring-response.js.map +1 -0
- package/lib/response/disable-high-frequency-automatic-spm-evolve-advisor-task-response.d.ts +20 -0
- package/lib/response/disable-high-frequency-automatic-spm-evolve-advisor-task-response.js +15 -0
- package/lib/response/disable-high-frequency-automatic-spm-evolve-advisor-task-response.js.map +1 -0
- package/lib/response/disable-sql-plan-baselines-usage-response.d.ts +20 -0
- package/lib/response/disable-sql-plan-baselines-usage-response.js +15 -0
- package/lib/response/disable-sql-plan-baselines-usage-response.js.map +1 -0
- package/lib/response/drop-sql-plan-baselines-response.d.ts +20 -0
- package/lib/response/drop-sql-plan-baselines-response.js +15 -0
- package/lib/response/drop-sql-plan-baselines-response.js.map +1 -0
- package/lib/response/enable-automatic-initial-plan-capture-response.d.ts +20 -0
- package/lib/response/enable-automatic-initial-plan-capture-response.js +15 -0
- package/lib/response/enable-automatic-initial-plan-capture-response.js.map +1 -0
- package/lib/response/enable-automatic-spm-evolve-advisor-task-response.d.ts +20 -0
- package/lib/response/enable-automatic-spm-evolve-advisor-task-response.js +15 -0
- package/lib/response/enable-automatic-spm-evolve-advisor-task-response.js.map +1 -0
- package/lib/response/enable-external-db-system-stack-monitoring-response.d.ts +25 -0
- package/lib/response/enable-external-db-system-stack-monitoring-response.js +15 -0
- package/lib/response/enable-external-db-system-stack-monitoring-response.js.map +1 -0
- package/lib/response/enable-high-frequency-automatic-spm-evolve-advisor-task-response.d.ts +20 -0
- package/lib/response/enable-high-frequency-automatic-spm-evolve-advisor-task-response.js +15 -0
- package/lib/response/enable-high-frequency-automatic-spm-evolve-advisor-task-response.js.map +1 -0
- package/lib/response/enable-sql-plan-baselines-usage-response.d.ts +20 -0
- package/lib/response/enable-sql-plan-baselines-usage-response.js +15 -0
- package/lib/response/enable-sql-plan-baselines-usage-response.js.map +1 -0
- package/lib/response/get-sql-plan-baseline-configuration-response.d.ts +25 -0
- package/lib/response/get-sql-plan-baseline-configuration-response.js +15 -0
- package/lib/response/get-sql-plan-baseline-configuration-response.js.map +1 -0
- package/lib/response/get-sql-plan-baseline-response.d.ts +25 -0
- package/lib/response/get-sql-plan-baseline-response.js +15 -0
- package/lib/response/get-sql-plan-baseline-response.js.map +1 -0
- package/lib/response/index.d.ts +50 -0
- package/lib/response/list-cursor-cache-statements-response.d.ts +32 -0
- package/lib/response/list-cursor-cache-statements-response.js +15 -0
- package/lib/response/list-cursor-cache-statements-response.js.map +1 -0
- package/lib/response/list-sql-plan-baseline-jobs-response.d.ts +32 -0
- package/lib/response/list-sql-plan-baseline-jobs-response.js +15 -0
- package/lib/response/list-sql-plan-baseline-jobs-response.js.map +1 -0
- package/lib/response/list-sql-plan-baselines-response.d.ts +32 -0
- package/lib/response/list-sql-plan-baselines-response.js +15 -0
- package/lib/response/list-sql-plan-baselines-response.js.map +1 -0
- package/lib/response/load-sql-plan-baselines-from-awr-response.d.ts +25 -0
- package/lib/response/load-sql-plan-baselines-from-awr-response.js +15 -0
- package/lib/response/load-sql-plan-baselines-from-awr-response.js.map +1 -0
- package/lib/response/load-sql-plan-baselines-from-cursor-cache-response.d.ts +25 -0
- package/lib/response/load-sql-plan-baselines-from-cursor-cache-response.js +15 -0
- package/lib/response/load-sql-plan-baselines-from-cursor-cache-response.js.map +1 -0
- package/lib/response/summarize-sql-plan-baselines-by-last-execution-response.d.ts +32 -0
- package/lib/response/summarize-sql-plan-baselines-by-last-execution-response.js +15 -0
- package/lib/response/summarize-sql-plan-baselines-by-last-execution-response.js.map +1 -0
- package/lib/response/summarize-sql-plan-baselines-response.d.ts +32 -0
- package/lib/response/summarize-sql-plan-baselines-response.js +15 -0
- package/lib/response/summarize-sql-plan-baselines-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -183,7 +183,7 @@ class DbManagementClient {
|
|
|
183
183
|
* @param AddDataFilesRequest
|
|
184
184
|
* @return AddDataFilesResponse
|
|
185
185
|
* @throws OciError when an error occurs
|
|
186
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/AddDataFiles.ts.html |here} to see how to use AddDataFiles API.
|
|
187
187
|
*/
|
|
188
188
|
addDataFiles(addDataFilesRequest) {
|
|
189
189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -247,7 +247,7 @@ class DbManagementClient {
|
|
|
247
247
|
* @param AddManagedDatabaseToManagedDatabaseGroupRequest
|
|
248
248
|
* @return AddManagedDatabaseToManagedDatabaseGroupResponse
|
|
249
249
|
* @throws OciError when an error occurs
|
|
250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/AddManagedDatabaseToManagedDatabaseGroup.ts.html |here} to see how to use AddManagedDatabaseToManagedDatabaseGroup API.
|
|
251
251
|
*/
|
|
252
252
|
addManagedDatabaseToManagedDatabaseGroup(addManagedDatabaseToManagedDatabaseGroupRequest) {
|
|
253
253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -305,7 +305,7 @@ class DbManagementClient {
|
|
|
305
305
|
* @param AddmTasksRequest
|
|
306
306
|
* @return AddmTasksResponse
|
|
307
307
|
* @throws OciError when an error occurs
|
|
308
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
308
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/AddmTasks.ts.html |here} to see how to use AddmTasks API.
|
|
309
309
|
*/
|
|
310
310
|
addmTasks(addmTasksRequest) {
|
|
311
311
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -388,7 +388,7 @@ class DbManagementClient {
|
|
|
388
388
|
* @param ChangeDatabaseParametersRequest
|
|
389
389
|
* @return ChangeDatabaseParametersResponse
|
|
390
390
|
* @throws OciError when an error occurs
|
|
391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeDatabaseParameters.ts.html |here} to see how to use ChangeDatabaseParameters API.
|
|
392
392
|
*/
|
|
393
393
|
changeDatabaseParameters(changeDatabaseParametersRequest) {
|
|
394
394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -448,7 +448,7 @@ class DbManagementClient {
|
|
|
448
448
|
* @param ChangeDbManagementPrivateEndpointCompartmentRequest
|
|
449
449
|
* @return ChangeDbManagementPrivateEndpointCompartmentResponse
|
|
450
450
|
* @throws OciError when an error occurs
|
|
451
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeDbManagementPrivateEndpointCompartment.ts.html |here} to see how to use ChangeDbManagementPrivateEndpointCompartment API.
|
|
452
452
|
*/
|
|
453
453
|
changeDbManagementPrivateEndpointCompartment(changeDbManagementPrivateEndpointCompartmentRequest) {
|
|
454
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -506,7 +506,7 @@ class DbManagementClient {
|
|
|
506
506
|
* @param ChangeExternalDbSystemCompartmentRequest
|
|
507
507
|
* @return ChangeExternalDbSystemCompartmentResponse
|
|
508
508
|
* @throws OciError when an error occurs
|
|
509
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeExternalDbSystemCompartment.ts.html |here} to see how to use ChangeExternalDbSystemCompartment API.
|
|
510
510
|
*/
|
|
511
511
|
changeExternalDbSystemCompartment(changeExternalDbSystemCompartmentRequest) {
|
|
512
512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,13 +563,13 @@ class DbManagementClient {
|
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
/**
|
|
566
|
-
* Moves the Exadata infrastructure
|
|
566
|
+
* Moves the Exadata infrastructure and its related resources (Exadata storage server, Exadata storage server connectors and Exadata storage server grid) to the specified compartment.
|
|
567
567
|
*
|
|
568
568
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
569
569
|
* @param ChangeExternalExadataInfrastructureCompartmentRequest
|
|
570
570
|
* @return ChangeExternalExadataInfrastructureCompartmentResponse
|
|
571
571
|
* @throws OciError when an error occurs
|
|
572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeExternalExadataInfrastructureCompartment.ts.html |here} to see how to use ChangeExternalExadataInfrastructureCompartment API.
|
|
573
573
|
*/
|
|
574
574
|
changeExternalExadataInfrastructureCompartment(changeExternalExadataInfrastructureCompartmentRequest) {
|
|
575
575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -632,7 +632,7 @@ class DbManagementClient {
|
|
|
632
632
|
* @param ChangeJobCompartmentRequest
|
|
633
633
|
* @return ChangeJobCompartmentResponse
|
|
634
634
|
* @throws OciError when an error occurs
|
|
635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeJobCompartment.ts.html |here} to see how to use ChangeJobCompartment API.
|
|
636
636
|
*/
|
|
637
637
|
changeJobCompartment(changeJobCompartmentRequest) {
|
|
638
638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -692,7 +692,7 @@ class DbManagementClient {
|
|
|
692
692
|
* @param ChangeManagedDatabaseGroupCompartmentRequest
|
|
693
693
|
* @return ChangeManagedDatabaseGroupCompartmentResponse
|
|
694
694
|
* @throws OciError when an error occurs
|
|
695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
695
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeManagedDatabaseGroupCompartment.ts.html |here} to see how to use ChangeManagedDatabaseGroupCompartment API.
|
|
696
696
|
*/
|
|
697
697
|
changeManagedDatabaseGroupCompartment(changeManagedDatabaseGroupCompartmentRequest) {
|
|
698
698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -743,6 +743,179 @@ class DbManagementClient {
|
|
|
743
743
|
}
|
|
744
744
|
});
|
|
745
745
|
}
|
|
746
|
+
/**
|
|
747
|
+
* Changes the retention period of unused plans. The period can range
|
|
748
|
+
* between 5 and 523 weeks.
|
|
749
|
+
* <p>
|
|
750
|
+
The database purges plans that have not been used for longer than
|
|
751
|
+
* the plan retention period.
|
|
752
|
+
*
|
|
753
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
754
|
+
* @param ChangePlanRetentionRequest
|
|
755
|
+
* @return ChangePlanRetentionResponse
|
|
756
|
+
* @throws OciError when an error occurs
|
|
757
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangePlanRetention.ts.html |here} to see how to use ChangePlanRetention API.
|
|
758
|
+
*/
|
|
759
|
+
changePlanRetention(changePlanRetentionRequest) {
|
|
760
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
761
|
+
if (this.logger)
|
|
762
|
+
this.logger.debug("Calling operation DbManagementClient#changePlanRetention.");
|
|
763
|
+
const operationName = "changePlanRetention";
|
|
764
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ChangePlanRetention";
|
|
765
|
+
const pathParams = {
|
|
766
|
+
"{managedDatabaseId}": changePlanRetentionRequest.managedDatabaseId
|
|
767
|
+
};
|
|
768
|
+
const queryParams = {};
|
|
769
|
+
let headerParams = {
|
|
770
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
771
|
+
"opc-request-id": changePlanRetentionRequest.opcRequestId
|
|
772
|
+
};
|
|
773
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
774
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changePlanRetentionRequest.retryConfiguration, specRetryConfiguration);
|
|
775
|
+
if (this.logger)
|
|
776
|
+
retrier.logger = this.logger;
|
|
777
|
+
const request = yield oci_common_1.composeRequest({
|
|
778
|
+
baseEndpoint: this._endpoint,
|
|
779
|
+
defaultHeaders: this._defaultHeaders,
|
|
780
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/changePlanRetention",
|
|
781
|
+
method: "POST",
|
|
782
|
+
bodyContent: common.ObjectSerializer.serialize(changePlanRetentionRequest.changePlanRetentionDetails, "ChangePlanRetentionDetails", model.ChangePlanRetentionDetails.getJsonObj),
|
|
783
|
+
pathParams: pathParams,
|
|
784
|
+
headerParams: headerParams,
|
|
785
|
+
queryParams: queryParams
|
|
786
|
+
});
|
|
787
|
+
try {
|
|
788
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
789
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
790
|
+
responseObject: {},
|
|
791
|
+
responseHeaders: [
|
|
792
|
+
{
|
|
793
|
+
value: response.headers.get("opc-request-id"),
|
|
794
|
+
key: "opcRequestId",
|
|
795
|
+
dataType: "string"
|
|
796
|
+
}
|
|
797
|
+
]
|
|
798
|
+
});
|
|
799
|
+
return sdkResponse;
|
|
800
|
+
}
|
|
801
|
+
catch (err) {
|
|
802
|
+
throw err;
|
|
803
|
+
}
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* Changes the disk space limit for the SQL Management Base. The allowable
|
|
808
|
+
* range for this limit is between 1% and 50%.
|
|
809
|
+
*
|
|
810
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
811
|
+
* @param ChangeSpaceBudgetRequest
|
|
812
|
+
* @return ChangeSpaceBudgetResponse
|
|
813
|
+
* @throws OciError when an error occurs
|
|
814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeSpaceBudget.ts.html |here} to see how to use ChangeSpaceBudget API.
|
|
815
|
+
*/
|
|
816
|
+
changeSpaceBudget(changeSpaceBudgetRequest) {
|
|
817
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
818
|
+
if (this.logger)
|
|
819
|
+
this.logger.debug("Calling operation DbManagementClient#changeSpaceBudget.");
|
|
820
|
+
const operationName = "changeSpaceBudget";
|
|
821
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ChangeSpaceBudget";
|
|
822
|
+
const pathParams = {
|
|
823
|
+
"{managedDatabaseId}": changeSpaceBudgetRequest.managedDatabaseId
|
|
824
|
+
};
|
|
825
|
+
const queryParams = {};
|
|
826
|
+
let headerParams = {
|
|
827
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
828
|
+
"opc-request-id": changeSpaceBudgetRequest.opcRequestId
|
|
829
|
+
};
|
|
830
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
831
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSpaceBudgetRequest.retryConfiguration, specRetryConfiguration);
|
|
832
|
+
if (this.logger)
|
|
833
|
+
retrier.logger = this.logger;
|
|
834
|
+
const request = yield oci_common_1.composeRequest({
|
|
835
|
+
baseEndpoint: this._endpoint,
|
|
836
|
+
defaultHeaders: this._defaultHeaders,
|
|
837
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/changeSpaceBudget",
|
|
838
|
+
method: "POST",
|
|
839
|
+
bodyContent: common.ObjectSerializer.serialize(changeSpaceBudgetRequest.changeSpaceBudgetDetails, "ChangeSpaceBudgetDetails", model.ChangeSpaceBudgetDetails.getJsonObj),
|
|
840
|
+
pathParams: pathParams,
|
|
841
|
+
headerParams: headerParams,
|
|
842
|
+
queryParams: queryParams
|
|
843
|
+
});
|
|
844
|
+
try {
|
|
845
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
846
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
847
|
+
responseObject: {},
|
|
848
|
+
responseHeaders: [
|
|
849
|
+
{
|
|
850
|
+
value: response.headers.get("opc-request-id"),
|
|
851
|
+
key: "opcRequestId",
|
|
852
|
+
dataType: "string"
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
});
|
|
856
|
+
return sdkResponse;
|
|
857
|
+
}
|
|
858
|
+
catch (err) {
|
|
859
|
+
throw err;
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Changes one or more attributes of a single plan or all plans associated with a SQL statement.
|
|
865
|
+
*
|
|
866
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
867
|
+
* @param ChangeSqlPlanBaselinesAttributesRequest
|
|
868
|
+
* @return ChangeSqlPlanBaselinesAttributesResponse
|
|
869
|
+
* @throws OciError when an error occurs
|
|
870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ChangeSqlPlanBaselinesAttributes.ts.html |here} to see how to use ChangeSqlPlanBaselinesAttributes API.
|
|
871
|
+
*/
|
|
872
|
+
changeSqlPlanBaselinesAttributes(changeSqlPlanBaselinesAttributesRequest) {
|
|
873
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
874
|
+
if (this.logger)
|
|
875
|
+
this.logger.debug("Calling operation DbManagementClient#changeSqlPlanBaselinesAttributes.");
|
|
876
|
+
const operationName = "changeSqlPlanBaselinesAttributes";
|
|
877
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ChangeSqlPlanBaselinesAttributes";
|
|
878
|
+
const pathParams = {
|
|
879
|
+
"{managedDatabaseId}": changeSqlPlanBaselinesAttributesRequest.managedDatabaseId
|
|
880
|
+
};
|
|
881
|
+
const queryParams = {};
|
|
882
|
+
let headerParams = {
|
|
883
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
884
|
+
"opc-request-id": changeSqlPlanBaselinesAttributesRequest.opcRequestId
|
|
885
|
+
};
|
|
886
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
887
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSqlPlanBaselinesAttributesRequest.retryConfiguration, specRetryConfiguration);
|
|
888
|
+
if (this.logger)
|
|
889
|
+
retrier.logger = this.logger;
|
|
890
|
+
const request = yield oci_common_1.composeRequest({
|
|
891
|
+
baseEndpoint: this._endpoint,
|
|
892
|
+
defaultHeaders: this._defaultHeaders,
|
|
893
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/changeSqlPlanBaselinesAttributes",
|
|
894
|
+
method: "POST",
|
|
895
|
+
bodyContent: common.ObjectSerializer.serialize(changeSqlPlanBaselinesAttributesRequest.changeSqlPlanBaselinesAttributesDetails, "ChangeSqlPlanBaselinesAttributesDetails", model.ChangeSqlPlanBaselinesAttributesDetails.getJsonObj),
|
|
896
|
+
pathParams: pathParams,
|
|
897
|
+
headerParams: headerParams,
|
|
898
|
+
queryParams: queryParams
|
|
899
|
+
});
|
|
900
|
+
try {
|
|
901
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
902
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
903
|
+
responseObject: {},
|
|
904
|
+
responseHeaders: [
|
|
905
|
+
{
|
|
906
|
+
value: response.headers.get("opc-request-id"),
|
|
907
|
+
key: "opcRequestId",
|
|
908
|
+
dataType: "string"
|
|
909
|
+
}
|
|
910
|
+
]
|
|
911
|
+
});
|
|
912
|
+
return sdkResponse;
|
|
913
|
+
}
|
|
914
|
+
catch (err) {
|
|
915
|
+
throw err;
|
|
916
|
+
}
|
|
917
|
+
});
|
|
918
|
+
}
|
|
746
919
|
/**
|
|
747
920
|
* Checks the status of the external DB system component connection specified in this connector.
|
|
748
921
|
* This operation will refresh the connectionStatus and timeConnectionStatusLastUpdated fields.
|
|
@@ -751,7 +924,7 @@ class DbManagementClient {
|
|
|
751
924
|
* @param CheckExternalDbSystemConnectorConnectionStatusRequest
|
|
752
925
|
* @return CheckExternalDbSystemConnectorConnectionStatusResponse
|
|
753
926
|
* @throws OciError when an error occurs
|
|
754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CheckExternalDbSystemConnectorConnectionStatus.ts.html |here} to see how to use CheckExternalDbSystemConnectorConnectionStatus API.
|
|
755
928
|
*/
|
|
756
929
|
checkExternalDbSystemConnectorConnectionStatus(checkExternalDbSystemConnectorConnectionStatusRequest) {
|
|
757
930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -811,13 +984,13 @@ class DbManagementClient {
|
|
|
811
984
|
});
|
|
812
985
|
}
|
|
813
986
|
/**
|
|
814
|
-
*
|
|
987
|
+
* Checks the status of the Exadata storage server connection specified by exadataStorageConnectorId.
|
|
815
988
|
*
|
|
816
989
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
817
990
|
* @param CheckExternalExadataStorageConnectorRequest
|
|
818
991
|
* @return CheckExternalExadataStorageConnectorResponse
|
|
819
992
|
* @throws OciError when an error occurs
|
|
820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
993
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CheckExternalExadataStorageConnector.ts.html |here} to see how to use CheckExternalExadataStorageConnector API.
|
|
821
994
|
*/
|
|
822
995
|
checkExternalExadataStorageConnector(checkExternalExadataStorageConnectorRequest) {
|
|
823
996
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -876,6 +1049,121 @@ class DbManagementClient {
|
|
|
876
1049
|
}
|
|
877
1050
|
});
|
|
878
1051
|
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Configures automatic capture filters to capture only those statements
|
|
1054
|
+
* that match the filter criteria.
|
|
1055
|
+
*
|
|
1056
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1057
|
+
* @param ConfigureAutomaticCaptureFiltersRequest
|
|
1058
|
+
* @return ConfigureAutomaticCaptureFiltersResponse
|
|
1059
|
+
* @throws OciError when an error occurs
|
|
1060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ConfigureAutomaticCaptureFilters.ts.html |here} to see how to use ConfigureAutomaticCaptureFilters API.
|
|
1061
|
+
*/
|
|
1062
|
+
configureAutomaticCaptureFilters(configureAutomaticCaptureFiltersRequest) {
|
|
1063
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1064
|
+
if (this.logger)
|
|
1065
|
+
this.logger.debug("Calling operation DbManagementClient#configureAutomaticCaptureFilters.");
|
|
1066
|
+
const operationName = "configureAutomaticCaptureFilters";
|
|
1067
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ConfigureAutomaticCaptureFilters";
|
|
1068
|
+
const pathParams = {
|
|
1069
|
+
"{managedDatabaseId}": configureAutomaticCaptureFiltersRequest.managedDatabaseId
|
|
1070
|
+
};
|
|
1071
|
+
const queryParams = {};
|
|
1072
|
+
let headerParams = {
|
|
1073
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1074
|
+
"opc-request-id": configureAutomaticCaptureFiltersRequest.opcRequestId
|
|
1075
|
+
};
|
|
1076
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1077
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureAutomaticCaptureFiltersRequest.retryConfiguration, specRetryConfiguration);
|
|
1078
|
+
if (this.logger)
|
|
1079
|
+
retrier.logger = this.logger;
|
|
1080
|
+
const request = yield oci_common_1.composeRequest({
|
|
1081
|
+
baseEndpoint: this._endpoint,
|
|
1082
|
+
defaultHeaders: this._defaultHeaders,
|
|
1083
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/configureAutomaticCaptureFilters",
|
|
1084
|
+
method: "POST",
|
|
1085
|
+
bodyContent: common.ObjectSerializer.serialize(configureAutomaticCaptureFiltersRequest.configureAutomaticCaptureFiltersDetails, "ConfigureAutomaticCaptureFiltersDetails", model.ConfigureAutomaticCaptureFiltersDetails.getJsonObj),
|
|
1086
|
+
pathParams: pathParams,
|
|
1087
|
+
headerParams: headerParams,
|
|
1088
|
+
queryParams: queryParams
|
|
1089
|
+
});
|
|
1090
|
+
try {
|
|
1091
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1092
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1093
|
+
responseObject: {},
|
|
1094
|
+
responseHeaders: [
|
|
1095
|
+
{
|
|
1096
|
+
value: response.headers.get("opc-request-id"),
|
|
1097
|
+
key: "opcRequestId",
|
|
1098
|
+
dataType: "string"
|
|
1099
|
+
}
|
|
1100
|
+
]
|
|
1101
|
+
});
|
|
1102
|
+
return sdkResponse;
|
|
1103
|
+
}
|
|
1104
|
+
catch (err) {
|
|
1105
|
+
throw err;
|
|
1106
|
+
}
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Configures the Automatic SPM Evolve Advisor task `SYS_AUTO_SPM_EVOLVE_TASK`
|
|
1111
|
+
* by specifying task parameters. As the task is owned by `SYS`, only `SYS` can
|
|
1112
|
+
* set task parameters.
|
|
1113
|
+
*
|
|
1114
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1115
|
+
* @param ConfigureAutomaticSpmEvolveAdvisorTaskRequest
|
|
1116
|
+
* @return ConfigureAutomaticSpmEvolveAdvisorTaskResponse
|
|
1117
|
+
* @throws OciError when an error occurs
|
|
1118
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ConfigureAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use ConfigureAutomaticSpmEvolveAdvisorTask API.
|
|
1119
|
+
*/
|
|
1120
|
+
configureAutomaticSpmEvolveAdvisorTask(configureAutomaticSpmEvolveAdvisorTaskRequest) {
|
|
1121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1122
|
+
if (this.logger)
|
|
1123
|
+
this.logger.debug("Calling operation DbManagementClient#configureAutomaticSpmEvolveAdvisorTask.");
|
|
1124
|
+
const operationName = "configureAutomaticSpmEvolveAdvisorTask";
|
|
1125
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ConfigureAutomaticSpmEvolveAdvisorTask";
|
|
1126
|
+
const pathParams = {
|
|
1127
|
+
"{managedDatabaseId}": configureAutomaticSpmEvolveAdvisorTaskRequest.managedDatabaseId
|
|
1128
|
+
};
|
|
1129
|
+
const queryParams = {};
|
|
1130
|
+
let headerParams = {
|
|
1131
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1132
|
+
"opc-request-id": configureAutomaticSpmEvolveAdvisorTaskRequest.opcRequestId
|
|
1133
|
+
};
|
|
1134
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1135
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, configureAutomaticSpmEvolveAdvisorTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
1136
|
+
if (this.logger)
|
|
1137
|
+
retrier.logger = this.logger;
|
|
1138
|
+
const request = yield oci_common_1.composeRequest({
|
|
1139
|
+
baseEndpoint: this._endpoint,
|
|
1140
|
+
defaultHeaders: this._defaultHeaders,
|
|
1141
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/configureAutomaticSpmEvolveAdvisorTask",
|
|
1142
|
+
method: "POST",
|
|
1143
|
+
bodyContent: common.ObjectSerializer.serialize(configureAutomaticSpmEvolveAdvisorTaskRequest.configureAutomaticSpmEvolveAdvisorTaskDetails, "ConfigureAutomaticSpmEvolveAdvisorTaskDetails", model.ConfigureAutomaticSpmEvolveAdvisorTaskDetails.getJsonObj),
|
|
1144
|
+
pathParams: pathParams,
|
|
1145
|
+
headerParams: headerParams,
|
|
1146
|
+
queryParams: queryParams
|
|
1147
|
+
});
|
|
1148
|
+
try {
|
|
1149
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1150
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
1151
|
+
responseObject: {},
|
|
1152
|
+
responseHeaders: [
|
|
1153
|
+
{
|
|
1154
|
+
value: response.headers.get("opc-request-id"),
|
|
1155
|
+
key: "opcRequestId",
|
|
1156
|
+
dataType: "string"
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
});
|
|
1160
|
+
return sdkResponse;
|
|
1161
|
+
}
|
|
1162
|
+
catch (err) {
|
|
1163
|
+
throw err;
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
879
1167
|
/**
|
|
880
1168
|
* Creates a new Database Management private endpoint.
|
|
881
1169
|
*
|
|
@@ -883,7 +1171,7 @@ class DbManagementClient {
|
|
|
883
1171
|
* @param CreateDbManagementPrivateEndpointRequest
|
|
884
1172
|
* @return CreateDbManagementPrivateEndpointResponse
|
|
885
1173
|
* @throws OciError when an error occurs
|
|
886
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1174
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateDbManagementPrivateEndpoint.ts.html |here} to see how to use CreateDbManagementPrivateEndpoint API.
|
|
887
1175
|
*/
|
|
888
1176
|
createDbManagementPrivateEndpoint(createDbManagementPrivateEndpointRequest) {
|
|
889
1177
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -957,7 +1245,7 @@ class DbManagementClient {
|
|
|
957
1245
|
* @param CreateExternalDbSystemRequest
|
|
958
1246
|
* @return CreateExternalDbSystemResponse
|
|
959
1247
|
* @throws OciError when an error occurs
|
|
960
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1248
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateExternalDbSystem.ts.html |here} to see how to use CreateExternalDbSystem API.
|
|
961
1249
|
*/
|
|
962
1250
|
createExternalDbSystem(createExternalDbSystemRequest) {
|
|
963
1251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1035,7 +1323,7 @@ class DbManagementClient {
|
|
|
1035
1323
|
* @param CreateExternalDbSystemConnectorRequest
|
|
1036
1324
|
* @return CreateExternalDbSystemConnectorResponse
|
|
1037
1325
|
* @throws OciError when an error occurs
|
|
1038
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateExternalDbSystemConnector.ts.html |here} to see how to use CreateExternalDbSystemConnector API.
|
|
1039
1327
|
*/
|
|
1040
1328
|
createExternalDbSystemConnector(createExternalDbSystemConnectorRequest) {
|
|
1041
1329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1099,7 +1387,7 @@ class DbManagementClient {
|
|
|
1099
1387
|
* @param CreateExternalDbSystemDiscoveryRequest
|
|
1100
1388
|
* @return CreateExternalDbSystemDiscoveryResponse
|
|
1101
1389
|
* @throws OciError when an error occurs
|
|
1102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateExternalDbSystemDiscovery.ts.html |here} to see how to use CreateExternalDbSystemDiscovery API.
|
|
1103
1391
|
*/
|
|
1104
1392
|
createExternalDbSystemDiscovery(createExternalDbSystemDiscoveryRequest) {
|
|
1105
1393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1172,7 +1460,7 @@ class DbManagementClient {
|
|
|
1172
1460
|
});
|
|
1173
1461
|
}
|
|
1174
1462
|
/**
|
|
1175
|
-
* Creates an OCI resource for the Exadata infrastructure and
|
|
1463
|
+
* Creates an OCI resource for the Exadata infrastructure and enables the Monitoring service for the Exadata infrastructure.
|
|
1176
1464
|
* The following resource/subresources are created:
|
|
1177
1465
|
* Infrastructure
|
|
1178
1466
|
* Storage server connectors
|
|
@@ -1183,7 +1471,7 @@ class DbManagementClient {
|
|
|
1183
1471
|
* @param CreateExternalExadataInfrastructureRequest
|
|
1184
1472
|
* @return CreateExternalExadataInfrastructureResponse
|
|
1185
1473
|
* @throws OciError when an error occurs
|
|
1186
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateExternalExadataInfrastructure.ts.html |here} to see how to use CreateExternalExadataInfrastructure API.
|
|
1187
1475
|
*/
|
|
1188
1476
|
createExternalExadataInfrastructure(createExternalExadataInfrastructureRequest) {
|
|
1189
1477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1241,15 +1529,13 @@ class DbManagementClient {
|
|
|
1241
1529
|
});
|
|
1242
1530
|
}
|
|
1243
1531
|
/**
|
|
1244
|
-
*
|
|
1245
|
-
* Or only validates the connection information for creating the connection to the storage server.
|
|
1246
|
-
* The connector for one storage server is associated with the Exadata infrastructure discovery or existing Exadata infrastructure.
|
|
1532
|
+
* Creates the Exadata storage server connector after validating the connection information.
|
|
1247
1533
|
*
|
|
1248
1534
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1249
1535
|
* @param CreateExternalExadataStorageConnectorRequest
|
|
1250
1536
|
* @return CreateExternalExadataStorageConnectorResponse
|
|
1251
1537
|
* @throws OciError when an error occurs
|
|
1252
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1538
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateExternalExadataStorageConnector.ts.html |here} to see how to use CreateExternalExadataStorageConnector API.
|
|
1253
1539
|
*/
|
|
1254
1540
|
createExternalExadataStorageConnector(createExternalExadataStorageConnectorRequest) {
|
|
1255
1541
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1315,7 +1601,7 @@ class DbManagementClient {
|
|
|
1315
1601
|
* @param CreateJobRequest
|
|
1316
1602
|
* @return CreateJobResponse
|
|
1317
1603
|
* @throws OciError when an error occurs
|
|
1318
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateJob.ts.html |here} to see how to use CreateJob API.
|
|
1319
1605
|
*/
|
|
1320
1606
|
createJob(createJobRequest) {
|
|
1321
1607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1385,7 +1671,7 @@ class DbManagementClient {
|
|
|
1385
1671
|
* @param CreateManagedDatabaseGroupRequest
|
|
1386
1672
|
* @return CreateManagedDatabaseGroupResponse
|
|
1387
1673
|
* @throws OciError when an error occurs
|
|
1388
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateManagedDatabaseGroup.ts.html |here} to see how to use CreateManagedDatabaseGroup API.
|
|
1389
1675
|
*/
|
|
1390
1676
|
createManagedDatabaseGroup(createManagedDatabaseGroupRequest) {
|
|
1391
1677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1454,7 +1740,7 @@ class DbManagementClient {
|
|
|
1454
1740
|
* @param CreateTablespaceRequest
|
|
1455
1741
|
* @return CreateTablespaceResponse
|
|
1456
1742
|
* @throws OciError when an error occurs
|
|
1457
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CreateTablespace.ts.html |here} to see how to use CreateTablespace API.
|
|
1458
1744
|
*/
|
|
1459
1745
|
createTablespace(createTablespaceRequest) {
|
|
1460
1746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1514,7 +1800,7 @@ class DbManagementClient {
|
|
|
1514
1800
|
* @param DeleteDbManagementPrivateEndpointRequest
|
|
1515
1801
|
* @return DeleteDbManagementPrivateEndpointResponse
|
|
1516
1802
|
* @throws OciError when an error occurs
|
|
1517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteDbManagementPrivateEndpoint.ts.html |here} to see how to use DeleteDbManagementPrivateEndpoint API.
|
|
1518
1804
|
*/
|
|
1519
1805
|
deleteDbManagementPrivateEndpoint(deleteDbManagementPrivateEndpointRequest) {
|
|
1520
1806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1575,7 +1861,7 @@ class DbManagementClient {
|
|
|
1575
1861
|
* @param DeleteExternalDbSystemRequest
|
|
1576
1862
|
* @return DeleteExternalDbSystemResponse
|
|
1577
1863
|
* @throws OciError when an error occurs
|
|
1578
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1864
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteExternalDbSystem.ts.html |here} to see how to use DeleteExternalDbSystem API.
|
|
1579
1865
|
*/
|
|
1580
1866
|
deleteExternalDbSystem(deleteExternalDbSystemRequest) {
|
|
1581
1867
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1636,7 +1922,7 @@ class DbManagementClient {
|
|
|
1636
1922
|
* @param DeleteExternalDbSystemConnectorRequest
|
|
1637
1923
|
* @return DeleteExternalDbSystemConnectorResponse
|
|
1638
1924
|
* @throws OciError when an error occurs
|
|
1639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1925
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteExternalDbSystemConnector.ts.html |here} to see how to use DeleteExternalDbSystemConnector API.
|
|
1640
1926
|
*/
|
|
1641
1927
|
deleteExternalDbSystemConnector(deleteExternalDbSystemConnectorRequest) {
|
|
1642
1928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1692,7 +1978,7 @@ class DbManagementClient {
|
|
|
1692
1978
|
* @param DeleteExternalDbSystemDiscoveryRequest
|
|
1693
1979
|
* @return DeleteExternalDbSystemDiscoveryResponse
|
|
1694
1980
|
* @throws OciError when an error occurs
|
|
1695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteExternalDbSystemDiscovery.ts.html |here} to see how to use DeleteExternalDbSystemDiscovery API.
|
|
1696
1982
|
*/
|
|
1697
1983
|
deleteExternalDbSystemDiscovery(deleteExternalDbSystemDiscoveryRequest) {
|
|
1698
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1742,13 +2028,13 @@ class DbManagementClient {
|
|
|
1742
2028
|
});
|
|
1743
2029
|
}
|
|
1744
2030
|
/**
|
|
1745
|
-
* Deletes the
|
|
2031
|
+
* Deletes the Exadata infrastructure specified by externalExadataInfrastructureId.
|
|
1746
2032
|
*
|
|
1747
2033
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1748
2034
|
* @param DeleteExternalExadataInfrastructureRequest
|
|
1749
2035
|
* @return DeleteExternalExadataInfrastructureResponse
|
|
1750
2036
|
* @throws OciError when an error occurs
|
|
1751
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteExternalExadataInfrastructure.ts.html |here} to see how to use DeleteExternalExadataInfrastructure API.
|
|
1752
2038
|
*/
|
|
1753
2039
|
deleteExternalExadataInfrastructure(deleteExternalExadataInfrastructureRequest) {
|
|
1754
2040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1803,13 +2089,13 @@ class DbManagementClient {
|
|
|
1803
2089
|
});
|
|
1804
2090
|
}
|
|
1805
2091
|
/**
|
|
1806
|
-
* Deletes the storage server connector specified by exadataStorageConnectorId.
|
|
2092
|
+
* Deletes the Exadata storage server connector specified by exadataStorageConnectorId.
|
|
1807
2093
|
*
|
|
1808
2094
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1809
2095
|
* @param DeleteExternalExadataStorageConnectorRequest
|
|
1810
2096
|
* @return DeleteExternalExadataStorageConnectorResponse
|
|
1811
2097
|
* @throws OciError when an error occurs
|
|
1812
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2098
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteExternalExadataStorageConnector.ts.html |here} to see how to use DeleteExternalExadataStorageConnector API.
|
|
1813
2099
|
*/
|
|
1814
2100
|
deleteExternalExadataStorageConnector(deleteExternalExadataStorageConnectorRequest) {
|
|
1815
2101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1864,7 +2150,7 @@ class DbManagementClient {
|
|
|
1864
2150
|
* @param DeleteJobRequest
|
|
1865
2151
|
* @return DeleteJobResponse
|
|
1866
2152
|
* @throws OciError when an error occurs
|
|
1867
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteJob.ts.html |here} to see how to use DeleteJob API.
|
|
1868
2154
|
*/
|
|
1869
2155
|
deleteJob(deleteJobRequest) {
|
|
1870
2156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1921,7 +2207,7 @@ class DbManagementClient {
|
|
|
1921
2207
|
* @param DeleteManagedDatabaseGroupRequest
|
|
1922
2208
|
* @return DeleteManagedDatabaseGroupResponse
|
|
1923
2209
|
* @throws OciError when an error occurs
|
|
1924
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2210
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeleteManagedDatabaseGroup.ts.html |here} to see how to use DeleteManagedDatabaseGroup API.
|
|
1925
2211
|
*/
|
|
1926
2212
|
deleteManagedDatabaseGroup(deleteManagedDatabaseGroupRequest) {
|
|
1927
2213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1977,7 +2263,7 @@ class DbManagementClient {
|
|
|
1977
2263
|
* @param DeletePreferredCredentialRequest
|
|
1978
2264
|
* @return DeletePreferredCredentialResponse
|
|
1979
2265
|
* @throws OciError when an error occurs
|
|
1980
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DeletePreferredCredential.ts.html |here} to see how to use DeletePreferredCredential API.
|
|
1981
2267
|
*/
|
|
1982
2268
|
deletePreferredCredential(deletePreferredCredentialRequest) {
|
|
1983
2269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2027,40 +2313,38 @@ class DbManagementClient {
|
|
|
2027
2313
|
});
|
|
2028
2314
|
}
|
|
2029
2315
|
/**
|
|
2030
|
-
* Disables
|
|
2031
|
-
* external DB system (except databases).
|
|
2316
|
+
* Disables automatic initial plan capture.
|
|
2032
2317
|
*
|
|
2033
|
-
* This operation
|
|
2034
|
-
* @param
|
|
2035
|
-
* @return
|
|
2318
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2319
|
+
* @param DisableAutomaticInitialPlanCaptureRequest
|
|
2320
|
+
* @return DisableAutomaticInitialPlanCaptureResponse
|
|
2036
2321
|
* @throws OciError when an error occurs
|
|
2037
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableAutomaticInitialPlanCapture.ts.html |here} to see how to use DisableAutomaticInitialPlanCapture API.
|
|
2038
2323
|
*/
|
|
2039
|
-
|
|
2324
|
+
disableAutomaticInitialPlanCapture(disableAutomaticInitialPlanCaptureRequest) {
|
|
2040
2325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2041
2326
|
if (this.logger)
|
|
2042
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
2043
|
-
const operationName = "
|
|
2044
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
2327
|
+
this.logger.debug("Calling operation DbManagementClient#disableAutomaticInitialPlanCapture.");
|
|
2328
|
+
const operationName = "disableAutomaticInitialPlanCapture";
|
|
2329
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableAutomaticInitialPlanCapture";
|
|
2045
2330
|
const pathParams = {
|
|
2046
|
-
"{
|
|
2331
|
+
"{managedDatabaseId}": disableAutomaticInitialPlanCaptureRequest.managedDatabaseId
|
|
2047
2332
|
};
|
|
2048
2333
|
const queryParams = {};
|
|
2049
2334
|
let headerParams = {
|
|
2050
2335
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2051
|
-
"opc-request-id":
|
|
2052
|
-
"opc-retry-token": disableExternalDbSystemDatabaseManagementRequest.opcRetryToken,
|
|
2053
|
-
"if-match": disableExternalDbSystemDatabaseManagementRequest.ifMatch
|
|
2336
|
+
"opc-request-id": disableAutomaticInitialPlanCaptureRequest.opcRequestId
|
|
2054
2337
|
};
|
|
2055
|
-
const specRetryConfiguration = common.
|
|
2056
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2338
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2339
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutomaticInitialPlanCaptureRequest.retryConfiguration, specRetryConfiguration);
|
|
2057
2340
|
if (this.logger)
|
|
2058
2341
|
retrier.logger = this.logger;
|
|
2059
2342
|
const request = yield oci_common_1.composeRequest({
|
|
2060
2343
|
baseEndpoint: this._endpoint,
|
|
2061
2344
|
defaultHeaders: this._defaultHeaders,
|
|
2062
|
-
path: "/
|
|
2345
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableAutomaticInitialPlanCapture",
|
|
2063
2346
|
method: "POST",
|
|
2347
|
+
bodyContent: common.ObjectSerializer.serialize(disableAutomaticInitialPlanCaptureRequest.disableAutomaticInitialPlanCaptureDetails, "DisableAutomaticInitialPlanCaptureDetails", model.DisableAutomaticInitialPlanCaptureDetails.getJsonObj),
|
|
2064
2348
|
pathParams: pathParams,
|
|
2065
2349
|
headerParams: headerParams,
|
|
2066
2350
|
queryParams: queryParams
|
|
@@ -2074,11 +2358,6 @@ class DbManagementClient {
|
|
|
2074
2358
|
value: response.headers.get("opc-request-id"),
|
|
2075
2359
|
key: "opcRequestId",
|
|
2076
2360
|
dataType: "string"
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2080
|
-
key: "opcWorkRequestId",
|
|
2081
|
-
dataType: "string"
|
|
2082
2361
|
}
|
|
2083
2362
|
]
|
|
2084
2363
|
});
|
|
@@ -2090,34 +2369,221 @@ class DbManagementClient {
|
|
|
2090
2369
|
});
|
|
2091
2370
|
}
|
|
2092
2371
|
/**
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
*/
|
|
2106
|
-
disableExternalExadataInfrastructureManagement(disableExternalExadataInfrastructureManagementRequest) {
|
|
2372
|
+
* Disables the Automatic SPM Evolve Advisor task.
|
|
2373
|
+
* <p>
|
|
2374
|
+
One client controls both Automatic SQL Tuning Advisor and Automatic SPM Evolve Advisor.
|
|
2375
|
+
* Thus, the same task enables or disables both.
|
|
2376
|
+
*
|
|
2377
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2378
|
+
* @param DisableAutomaticSpmEvolveAdvisorTaskRequest
|
|
2379
|
+
* @return DisableAutomaticSpmEvolveAdvisorTaskResponse
|
|
2380
|
+
* @throws OciError when an error occurs
|
|
2381
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use DisableAutomaticSpmEvolveAdvisorTask API.
|
|
2382
|
+
*/
|
|
2383
|
+
disableAutomaticSpmEvolveAdvisorTask(disableAutomaticSpmEvolveAdvisorTaskRequest) {
|
|
2107
2384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2108
2385
|
if (this.logger)
|
|
2109
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
2110
|
-
const operationName = "
|
|
2111
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
2386
|
+
this.logger.debug("Calling operation DbManagementClient#disableAutomaticSpmEvolveAdvisorTask.");
|
|
2387
|
+
const operationName = "disableAutomaticSpmEvolveAdvisorTask";
|
|
2388
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableAutomaticSpmEvolveAdvisorTask";
|
|
2112
2389
|
const pathParams = {
|
|
2113
|
-
"{
|
|
2390
|
+
"{managedDatabaseId}": disableAutomaticSpmEvolveAdvisorTaskRequest.managedDatabaseId
|
|
2114
2391
|
};
|
|
2115
2392
|
const queryParams = {};
|
|
2116
2393
|
let headerParams = {
|
|
2117
2394
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2118
|
-
"opc-request-id":
|
|
2119
|
-
|
|
2120
|
-
|
|
2395
|
+
"opc-request-id": disableAutomaticSpmEvolveAdvisorTaskRequest.opcRequestId
|
|
2396
|
+
};
|
|
2397
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2398
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableAutomaticSpmEvolveAdvisorTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
2399
|
+
if (this.logger)
|
|
2400
|
+
retrier.logger = this.logger;
|
|
2401
|
+
const request = yield oci_common_1.composeRequest({
|
|
2402
|
+
baseEndpoint: this._endpoint,
|
|
2403
|
+
defaultHeaders: this._defaultHeaders,
|
|
2404
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableAutomaticSpmEvolveAdvisorTask",
|
|
2405
|
+
method: "POST",
|
|
2406
|
+
bodyContent: common.ObjectSerializer.serialize(disableAutomaticSpmEvolveAdvisorTaskRequest.disableAutomaticSpmEvolveAdvisorTaskDetails, "DisableAutomaticSpmEvolveAdvisorTaskDetails", model.DisableAutomaticSpmEvolveAdvisorTaskDetails.getJsonObj),
|
|
2407
|
+
pathParams: pathParams,
|
|
2408
|
+
headerParams: headerParams,
|
|
2409
|
+
queryParams: queryParams
|
|
2410
|
+
});
|
|
2411
|
+
try {
|
|
2412
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2413
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2414
|
+
responseObject: {},
|
|
2415
|
+
responseHeaders: [
|
|
2416
|
+
{
|
|
2417
|
+
value: response.headers.get("opc-request-id"),
|
|
2418
|
+
key: "opcRequestId",
|
|
2419
|
+
dataType: "string"
|
|
2420
|
+
}
|
|
2421
|
+
]
|
|
2422
|
+
});
|
|
2423
|
+
return sdkResponse;
|
|
2424
|
+
}
|
|
2425
|
+
catch (err) {
|
|
2426
|
+
throw err;
|
|
2427
|
+
}
|
|
2428
|
+
});
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* Disables Database Management service for all the components of the specified
|
|
2432
|
+
* external DB system (except databases).
|
|
2433
|
+
*
|
|
2434
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2435
|
+
* @param DisableExternalDbSystemDatabaseManagementRequest
|
|
2436
|
+
* @return DisableExternalDbSystemDatabaseManagementResponse
|
|
2437
|
+
* @throws OciError when an error occurs
|
|
2438
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableExternalDbSystemDatabaseManagement.ts.html |here} to see how to use DisableExternalDbSystemDatabaseManagement API.
|
|
2439
|
+
*/
|
|
2440
|
+
disableExternalDbSystemDatabaseManagement(disableExternalDbSystemDatabaseManagementRequest) {
|
|
2441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2442
|
+
if (this.logger)
|
|
2443
|
+
this.logger.debug("Calling operation DbManagementClient#disableExternalDbSystemDatabaseManagement.");
|
|
2444
|
+
const operationName = "disableExternalDbSystemDatabaseManagement";
|
|
2445
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/DisableExternalDbSystemDatabaseManagement";
|
|
2446
|
+
const pathParams = {
|
|
2447
|
+
"{externalDbSystemId}": disableExternalDbSystemDatabaseManagementRequest.externalDbSystemId
|
|
2448
|
+
};
|
|
2449
|
+
const queryParams = {};
|
|
2450
|
+
let headerParams = {
|
|
2451
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2452
|
+
"opc-request-id": disableExternalDbSystemDatabaseManagementRequest.opcRequestId,
|
|
2453
|
+
"opc-retry-token": disableExternalDbSystemDatabaseManagementRequest.opcRetryToken,
|
|
2454
|
+
"if-match": disableExternalDbSystemDatabaseManagementRequest.ifMatch
|
|
2455
|
+
};
|
|
2456
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2457
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExternalDbSystemDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
2458
|
+
if (this.logger)
|
|
2459
|
+
retrier.logger = this.logger;
|
|
2460
|
+
const request = yield oci_common_1.composeRequest({
|
|
2461
|
+
baseEndpoint: this._endpoint,
|
|
2462
|
+
defaultHeaders: this._defaultHeaders,
|
|
2463
|
+
path: "/externalDbSystems/{externalDbSystemId}/actions/disableDatabaseManagement",
|
|
2464
|
+
method: "POST",
|
|
2465
|
+
pathParams: pathParams,
|
|
2466
|
+
headerParams: headerParams,
|
|
2467
|
+
queryParams: queryParams
|
|
2468
|
+
});
|
|
2469
|
+
try {
|
|
2470
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2471
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2472
|
+
responseObject: {},
|
|
2473
|
+
responseHeaders: [
|
|
2474
|
+
{
|
|
2475
|
+
value: response.headers.get("opc-request-id"),
|
|
2476
|
+
key: "opcRequestId",
|
|
2477
|
+
dataType: "string"
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2481
|
+
key: "opcWorkRequestId",
|
|
2482
|
+
dataType: "string"
|
|
2483
|
+
}
|
|
2484
|
+
]
|
|
2485
|
+
});
|
|
2486
|
+
return sdkResponse;
|
|
2487
|
+
}
|
|
2488
|
+
catch (err) {
|
|
2489
|
+
throw err;
|
|
2490
|
+
}
|
|
2491
|
+
});
|
|
2492
|
+
}
|
|
2493
|
+
/**
|
|
2494
|
+
* Disables Stack Monitoring for all the components of the specified
|
|
2495
|
+
* external DB system (except databases).
|
|
2496
|
+
*
|
|
2497
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2498
|
+
* @param DisableExternalDbSystemStackMonitoringRequest
|
|
2499
|
+
* @return DisableExternalDbSystemStackMonitoringResponse
|
|
2500
|
+
* @throws OciError when an error occurs
|
|
2501
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableExternalDbSystemStackMonitoring.ts.html |here} to see how to use DisableExternalDbSystemStackMonitoring API.
|
|
2502
|
+
*/
|
|
2503
|
+
disableExternalDbSystemStackMonitoring(disableExternalDbSystemStackMonitoringRequest) {
|
|
2504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2505
|
+
if (this.logger)
|
|
2506
|
+
this.logger.debug("Calling operation DbManagementClient#disableExternalDbSystemStackMonitoring.");
|
|
2507
|
+
const operationName = "disableExternalDbSystemStackMonitoring";
|
|
2508
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/DisableExternalDbSystemStackMonitoring";
|
|
2509
|
+
const pathParams = {
|
|
2510
|
+
"{externalDbSystemId}": disableExternalDbSystemStackMonitoringRequest.externalDbSystemId
|
|
2511
|
+
};
|
|
2512
|
+
const queryParams = {};
|
|
2513
|
+
let headerParams = {
|
|
2514
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2515
|
+
"opc-request-id": disableExternalDbSystemStackMonitoringRequest.opcRequestId,
|
|
2516
|
+
"opc-retry-token": disableExternalDbSystemStackMonitoringRequest.opcRetryToken,
|
|
2517
|
+
"if-match": disableExternalDbSystemStackMonitoringRequest.ifMatch
|
|
2518
|
+
};
|
|
2519
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2520
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExternalDbSystemStackMonitoringRequest.retryConfiguration, specRetryConfiguration);
|
|
2521
|
+
if (this.logger)
|
|
2522
|
+
retrier.logger = this.logger;
|
|
2523
|
+
const request = yield oci_common_1.composeRequest({
|
|
2524
|
+
baseEndpoint: this._endpoint,
|
|
2525
|
+
defaultHeaders: this._defaultHeaders,
|
|
2526
|
+
path: "/externalDbSystems/{externalDbSystemId}/actions/disableStackMonitoring",
|
|
2527
|
+
method: "POST",
|
|
2528
|
+
pathParams: pathParams,
|
|
2529
|
+
headerParams: headerParams,
|
|
2530
|
+
queryParams: queryParams
|
|
2531
|
+
});
|
|
2532
|
+
try {
|
|
2533
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2534
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2535
|
+
responseObject: {},
|
|
2536
|
+
responseHeaders: [
|
|
2537
|
+
{
|
|
2538
|
+
value: response.headers.get("opc-request-id"),
|
|
2539
|
+
key: "opcRequestId",
|
|
2540
|
+
dataType: "string"
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2544
|
+
key: "opcWorkRequestId",
|
|
2545
|
+
dataType: "string"
|
|
2546
|
+
}
|
|
2547
|
+
]
|
|
2548
|
+
});
|
|
2549
|
+
return sdkResponse;
|
|
2550
|
+
}
|
|
2551
|
+
catch (err) {
|
|
2552
|
+
throw err;
|
|
2553
|
+
}
|
|
2554
|
+
});
|
|
2555
|
+
}
|
|
2556
|
+
/**
|
|
2557
|
+
* Disables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId.
|
|
2558
|
+
* It covers the following components:
|
|
2559
|
+
* <p>
|
|
2560
|
+
- Exadata infrastructure
|
|
2561
|
+
* - Exadata storage grid
|
|
2562
|
+
* - Exadata storage server
|
|
2563
|
+
* <p>
|
|
2564
|
+
Note that Database Management will not be disabled for the DB systems within the Exadata infrastructure and should be disabled explicitly, if required.
|
|
2565
|
+
*
|
|
2566
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2567
|
+
* @param DisableExternalExadataInfrastructureManagementRequest
|
|
2568
|
+
* @return DisableExternalExadataInfrastructureManagementResponse
|
|
2569
|
+
* @throws OciError when an error occurs
|
|
2570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableExternalExadataInfrastructureManagement.ts.html |here} to see how to use DisableExternalExadataInfrastructureManagement API.
|
|
2571
|
+
*/
|
|
2572
|
+
disableExternalExadataInfrastructureManagement(disableExternalExadataInfrastructureManagementRequest) {
|
|
2573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2574
|
+
if (this.logger)
|
|
2575
|
+
this.logger.debug("Calling operation DbManagementClient#disableExternalExadataInfrastructureManagement.");
|
|
2576
|
+
const operationName = "disableExternalExadataInfrastructureManagement";
|
|
2577
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/DisableExternalExadataInfrastructureManagement";
|
|
2578
|
+
const pathParams = {
|
|
2579
|
+
"{externalExadataInfrastructureId}": disableExternalExadataInfrastructureManagementRequest.externalExadataInfrastructureId
|
|
2580
|
+
};
|
|
2581
|
+
const queryParams = {};
|
|
2582
|
+
let headerParams = {
|
|
2583
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2584
|
+
"opc-request-id": disableExternalExadataInfrastructureManagementRequest.opcRequestId,
|
|
2585
|
+
"opc-retry-token": disableExternalExadataInfrastructureManagementRequest.opcRetryToken,
|
|
2586
|
+
"if-match": disableExternalExadataInfrastructureManagementRequest.ifMatch
|
|
2121
2587
|
};
|
|
2122
2588
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2123
2589
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableExternalExadataInfrastructureManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -2156,52 +2622,555 @@ class DbManagementClient {
|
|
|
2156
2622
|
}
|
|
2157
2623
|
});
|
|
2158
2624
|
}
|
|
2625
|
+
/**
|
|
2626
|
+
* Disables the high-frequency Automatic SPM Evolve Advisor task.
|
|
2627
|
+
* <p>
|
|
2628
|
+
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
|
2629
|
+
* Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
|
2630
|
+
*
|
|
2631
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2632
|
+
* @param DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest
|
|
2633
|
+
* @return DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse
|
|
2634
|
+
* @throws OciError when an error occurs
|
|
2635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableHighFrequencyAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use DisableHighFrequencyAutomaticSpmEvolveAdvisorTask API.
|
|
2636
|
+
*/
|
|
2637
|
+
disableHighFrequencyAutomaticSpmEvolveAdvisorTask(disableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest) {
|
|
2638
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2639
|
+
if (this.logger)
|
|
2640
|
+
this.logger.debug("Calling operation DbManagementClient#disableHighFrequencyAutomaticSpmEvolveAdvisorTask.");
|
|
2641
|
+
const operationName = "disableHighFrequencyAutomaticSpmEvolveAdvisorTask";
|
|
2642
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableHighFrequencyAutomaticSpmEvolveAdvisorTask";
|
|
2643
|
+
const pathParams = {
|
|
2644
|
+
"{managedDatabaseId}": disableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.managedDatabaseId
|
|
2645
|
+
};
|
|
2646
|
+
const queryParams = {};
|
|
2647
|
+
let headerParams = {
|
|
2648
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2649
|
+
"opc-request-id": disableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.opcRequestId
|
|
2650
|
+
};
|
|
2651
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2652
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
2653
|
+
if (this.logger)
|
|
2654
|
+
retrier.logger = this.logger;
|
|
2655
|
+
const request = yield oci_common_1.composeRequest({
|
|
2656
|
+
baseEndpoint: this._endpoint,
|
|
2657
|
+
defaultHeaders: this._defaultHeaders,
|
|
2658
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableHighFrequencyAutomaticSpmEvolveAdvisorTask",
|
|
2659
|
+
method: "POST",
|
|
2660
|
+
bodyContent: common.ObjectSerializer.serialize(disableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.disableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails, "DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails", model.DisableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails.getJsonObj),
|
|
2661
|
+
pathParams: pathParams,
|
|
2662
|
+
headerParams: headerParams,
|
|
2663
|
+
queryParams: queryParams
|
|
2664
|
+
});
|
|
2665
|
+
try {
|
|
2666
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2667
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2668
|
+
responseObject: {},
|
|
2669
|
+
responseHeaders: [
|
|
2670
|
+
{
|
|
2671
|
+
value: response.headers.get("opc-request-id"),
|
|
2672
|
+
key: "opcRequestId",
|
|
2673
|
+
dataType: "string"
|
|
2674
|
+
}
|
|
2675
|
+
]
|
|
2676
|
+
});
|
|
2677
|
+
return sdkResponse;
|
|
2678
|
+
}
|
|
2679
|
+
catch (err) {
|
|
2680
|
+
throw err;
|
|
2681
|
+
}
|
|
2682
|
+
});
|
|
2683
|
+
}
|
|
2684
|
+
/**
|
|
2685
|
+
* Disables the use of SQL plan baselines stored in SQL Management Base.
|
|
2686
|
+
* <p>
|
|
2687
|
+
When disabled, the optimizer does not use any SQL plan baselines.
|
|
2688
|
+
*
|
|
2689
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2690
|
+
* @param DisableSqlPlanBaselinesUsageRequest
|
|
2691
|
+
* @return DisableSqlPlanBaselinesUsageResponse
|
|
2692
|
+
* @throws OciError when an error occurs
|
|
2693
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DisableSqlPlanBaselinesUsage.ts.html |here} to see how to use DisableSqlPlanBaselinesUsage API.
|
|
2694
|
+
*/
|
|
2695
|
+
disableSqlPlanBaselinesUsage(disableSqlPlanBaselinesUsageRequest) {
|
|
2696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2697
|
+
if (this.logger)
|
|
2698
|
+
this.logger.debug("Calling operation DbManagementClient#disableSqlPlanBaselinesUsage.");
|
|
2699
|
+
const operationName = "disableSqlPlanBaselinesUsage";
|
|
2700
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DisableSqlPlanBaselinesUsage";
|
|
2701
|
+
const pathParams = {
|
|
2702
|
+
"{managedDatabaseId}": disableSqlPlanBaselinesUsageRequest.managedDatabaseId
|
|
2703
|
+
};
|
|
2704
|
+
const queryParams = {};
|
|
2705
|
+
let headerParams = {
|
|
2706
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2707
|
+
"opc-request-id": disableSqlPlanBaselinesUsageRequest.opcRequestId
|
|
2708
|
+
};
|
|
2709
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2710
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, disableSqlPlanBaselinesUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2711
|
+
if (this.logger)
|
|
2712
|
+
retrier.logger = this.logger;
|
|
2713
|
+
const request = yield oci_common_1.composeRequest({
|
|
2714
|
+
baseEndpoint: this._endpoint,
|
|
2715
|
+
defaultHeaders: this._defaultHeaders,
|
|
2716
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/disableSqlPlanBaselinesUsage",
|
|
2717
|
+
method: "POST",
|
|
2718
|
+
bodyContent: common.ObjectSerializer.serialize(disableSqlPlanBaselinesUsageRequest.disableSqlPlanBaselinesUsageDetails, "DisableSqlPlanBaselinesUsageDetails", model.DisableSqlPlanBaselinesUsageDetails.getJsonObj),
|
|
2719
|
+
pathParams: pathParams,
|
|
2720
|
+
headerParams: headerParams,
|
|
2721
|
+
queryParams: queryParams
|
|
2722
|
+
});
|
|
2723
|
+
try {
|
|
2724
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2725
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2726
|
+
responseObject: {},
|
|
2727
|
+
responseHeaders: [
|
|
2728
|
+
{
|
|
2729
|
+
value: response.headers.get("opc-request-id"),
|
|
2730
|
+
key: "opcRequestId",
|
|
2731
|
+
dataType: "string"
|
|
2732
|
+
}
|
|
2733
|
+
]
|
|
2734
|
+
});
|
|
2735
|
+
return sdkResponse;
|
|
2736
|
+
}
|
|
2737
|
+
catch (err) {
|
|
2738
|
+
throw err;
|
|
2739
|
+
}
|
|
2740
|
+
});
|
|
2741
|
+
}
|
|
2159
2742
|
/**
|
|
2160
2743
|
* Completes the Exadata system prechecking on the following:
|
|
2161
|
-
* Verifies if the database systems are valid RAC database systems. Otherwise, return 400 status code with NON_RAC_DATABASE_SYSTEM error code.
|
|
2162
|
-
* Verifies if the ASM connectors defined for each database system. Otherwise, return 400 status code with CONNECTOR_NOT_DEFINED error code.
|
|
2163
|
-
* Verifies if the agents associated with ASM are valid and could be used for the storage servers. Otherwise, return 400 status code with INVALID_AGENT error code.
|
|
2164
|
-
* Verifies if it is an Exadata system. Otherwise, return 400 status code with INVALID_EXADATA_SYSTEM error code.
|
|
2165
2744
|
* <p>
|
|
2166
|
-
|
|
2167
|
-
*
|
|
2168
|
-
*
|
|
2169
|
-
*
|
|
2170
|
-
*
|
|
2171
|
-
*
|
|
2172
|
-
|
|
2745
|
+
- Verifies if the DB systems are valid RAC DB systems or return 400 status code with NON_RAC_DATABASE_SYSTEM error code.
|
|
2746
|
+
* - Verifies if the ASM connector defined for each DB system or return 400 status code with CONNECTOR_NOT_DEFINED error code.
|
|
2747
|
+
* - Verifies if the agents associated with ASM are valid and could be used for the Exadata storage servers or return 400 status code with
|
|
2748
|
+
* INVALID_AGENT error code.
|
|
2749
|
+
* - Verifies if it is an Exadata system or return 400 status code with INVALID_EXADATA_SYSTEM error code.
|
|
2750
|
+
* <p>
|
|
2751
|
+
Starts the discovery process for the Exadata system infrastructure. The following resources/components are discovered
|
|
2752
|
+
* <p>
|
|
2753
|
+
- Exadata storage servers from each DB systems
|
|
2754
|
+
* - Exadata storage grid for all Exadata storage servers
|
|
2755
|
+
* - Exadata infrastructure
|
|
2756
|
+
* <p>
|
|
2757
|
+
The same API covers both new discovery and rediscovery cases.
|
|
2758
|
+
* For the new discovery case, new managed resources/sub-resources are created or the existing ones are overridden.
|
|
2759
|
+
* For rediscovery case, the existing managed resources/sub-resources are checked to find out which ones should be added or which ones
|
|
2760
|
+
* should be
|
|
2173
2761
|
* removed based on the unique key defined for each resource/sub-resource.
|
|
2174
2762
|
*
|
|
2175
2763
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2176
2764
|
* @param DiscoverExternalExadataInfrastructureRequest
|
|
2177
2765
|
* @return DiscoverExternalExadataInfrastructureResponse
|
|
2178
2766
|
* @throws OciError when an error occurs
|
|
2179
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2767
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DiscoverExternalExadataInfrastructure.ts.html |here} to see how to use DiscoverExternalExadataInfrastructure API.
|
|
2180
2768
|
*/
|
|
2181
2769
|
discoverExternalExadataInfrastructure(discoverExternalExadataInfrastructureRequest) {
|
|
2182
2770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2183
2771
|
if (this.logger)
|
|
2184
|
-
this.logger.debug("Calling operation DbManagementClient#discoverExternalExadataInfrastructure.");
|
|
2185
|
-
const operationName = "discoverExternalExadataInfrastructure";
|
|
2186
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/DiscoverExternalExadataInfrastructure";
|
|
2187
|
-
const pathParams = {};
|
|
2772
|
+
this.logger.debug("Calling operation DbManagementClient#discoverExternalExadataInfrastructure.");
|
|
2773
|
+
const operationName = "discoverExternalExadataInfrastructure";
|
|
2774
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/DiscoverExternalExadataInfrastructure";
|
|
2775
|
+
const pathParams = {};
|
|
2776
|
+
const queryParams = {};
|
|
2777
|
+
let headerParams = {
|
|
2778
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2779
|
+
"opc-request-id": discoverExternalExadataInfrastructureRequest.opcRequestId,
|
|
2780
|
+
"opc-retry-token": discoverExternalExadataInfrastructureRequest.opcRetryToken,
|
|
2781
|
+
"if-match": discoverExternalExadataInfrastructureRequest.ifMatch
|
|
2782
|
+
};
|
|
2783
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2784
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, discoverExternalExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
|
|
2785
|
+
if (this.logger)
|
|
2786
|
+
retrier.logger = this.logger;
|
|
2787
|
+
const request = yield oci_common_1.composeRequest({
|
|
2788
|
+
baseEndpoint: this._endpoint,
|
|
2789
|
+
defaultHeaders: this._defaultHeaders,
|
|
2790
|
+
path: "/externalExadataInfrastructures/actions/discoverExadataInfrastructure",
|
|
2791
|
+
method: "POST",
|
|
2792
|
+
bodyContent: common.ObjectSerializer.serialize(discoverExternalExadataInfrastructureRequest.discoverExternalExadataInfrastructureDetails, "DiscoverExternalExadataInfrastructureDetails", model.DiscoverExternalExadataInfrastructureDetails.getJsonObj),
|
|
2793
|
+
pathParams: pathParams,
|
|
2794
|
+
headerParams: headerParams,
|
|
2795
|
+
queryParams: queryParams
|
|
2796
|
+
});
|
|
2797
|
+
try {
|
|
2798
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2799
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2800
|
+
responseObject: {},
|
|
2801
|
+
body: yield response.json(),
|
|
2802
|
+
bodyKey: "externalExadataInfrastructureDiscovery",
|
|
2803
|
+
bodyModel: model.ExternalExadataInfrastructureDiscovery,
|
|
2804
|
+
type: "model.ExternalExadataInfrastructureDiscovery",
|
|
2805
|
+
responseHeaders: [
|
|
2806
|
+
{
|
|
2807
|
+
value: response.headers.get("etag"),
|
|
2808
|
+
key: "etag",
|
|
2809
|
+
dataType: "string"
|
|
2810
|
+
},
|
|
2811
|
+
{
|
|
2812
|
+
value: response.headers.get("opc-request-id"),
|
|
2813
|
+
key: "opcRequestId",
|
|
2814
|
+
dataType: "string"
|
|
2815
|
+
}
|
|
2816
|
+
]
|
|
2817
|
+
});
|
|
2818
|
+
return sdkResponse;
|
|
2819
|
+
}
|
|
2820
|
+
catch (err) {
|
|
2821
|
+
throw err;
|
|
2822
|
+
}
|
|
2823
|
+
});
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* Drops a single plan or all plans associated with a SQL statement.
|
|
2827
|
+
*
|
|
2828
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2829
|
+
* @param DropSqlPlanBaselinesRequest
|
|
2830
|
+
* @return DropSqlPlanBaselinesResponse
|
|
2831
|
+
* @throws OciError when an error occurs
|
|
2832
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DropSqlPlanBaselines.ts.html |here} to see how to use DropSqlPlanBaselines API.
|
|
2833
|
+
*/
|
|
2834
|
+
dropSqlPlanBaselines(dropSqlPlanBaselinesRequest) {
|
|
2835
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2836
|
+
if (this.logger)
|
|
2837
|
+
this.logger.debug("Calling operation DbManagementClient#dropSqlPlanBaselines.");
|
|
2838
|
+
const operationName = "dropSqlPlanBaselines";
|
|
2839
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/DropSqlPlanBaselines";
|
|
2840
|
+
const pathParams = {
|
|
2841
|
+
"{managedDatabaseId}": dropSqlPlanBaselinesRequest.managedDatabaseId
|
|
2842
|
+
};
|
|
2843
|
+
const queryParams = {};
|
|
2844
|
+
let headerParams = {
|
|
2845
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2846
|
+
"opc-request-id": dropSqlPlanBaselinesRequest.opcRequestId
|
|
2847
|
+
};
|
|
2848
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2849
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, dropSqlPlanBaselinesRequest.retryConfiguration, specRetryConfiguration);
|
|
2850
|
+
if (this.logger)
|
|
2851
|
+
retrier.logger = this.logger;
|
|
2852
|
+
const request = yield oci_common_1.composeRequest({
|
|
2853
|
+
baseEndpoint: this._endpoint,
|
|
2854
|
+
defaultHeaders: this._defaultHeaders,
|
|
2855
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/dropSqlPlanBaselines",
|
|
2856
|
+
method: "POST",
|
|
2857
|
+
bodyContent: common.ObjectSerializer.serialize(dropSqlPlanBaselinesRequest.dropSqlPlanBaselinesDetails, "DropSqlPlanBaselinesDetails", model.DropSqlPlanBaselinesDetails.getJsonObj),
|
|
2858
|
+
pathParams: pathParams,
|
|
2859
|
+
headerParams: headerParams,
|
|
2860
|
+
queryParams: queryParams
|
|
2861
|
+
});
|
|
2862
|
+
try {
|
|
2863
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2864
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2865
|
+
responseObject: {},
|
|
2866
|
+
responseHeaders: [
|
|
2867
|
+
{
|
|
2868
|
+
value: response.headers.get("opc-request-id"),
|
|
2869
|
+
key: "opcRequestId",
|
|
2870
|
+
dataType: "string"
|
|
2871
|
+
}
|
|
2872
|
+
]
|
|
2873
|
+
});
|
|
2874
|
+
return sdkResponse;
|
|
2875
|
+
}
|
|
2876
|
+
catch (err) {
|
|
2877
|
+
throw err;
|
|
2878
|
+
}
|
|
2879
|
+
});
|
|
2880
|
+
}
|
|
2881
|
+
/**
|
|
2882
|
+
* Drops the tablespace specified by tablespaceName within the Managed Database specified by managedDatabaseId.
|
|
2883
|
+
*
|
|
2884
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2885
|
+
* @param DropTablespaceRequest
|
|
2886
|
+
* @return DropTablespaceResponse
|
|
2887
|
+
* @throws OciError when an error occurs
|
|
2888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DropTablespace.ts.html |here} to see how to use DropTablespace API.
|
|
2889
|
+
*/
|
|
2890
|
+
dropTablespace(dropTablespaceRequest) {
|
|
2891
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2892
|
+
if (this.logger)
|
|
2893
|
+
this.logger.debug("Calling operation DbManagementClient#dropTablespace.");
|
|
2894
|
+
const operationName = "dropTablespace";
|
|
2895
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/Tablespace/DropTablespace";
|
|
2896
|
+
const pathParams = {
|
|
2897
|
+
"{managedDatabaseId}": dropTablespaceRequest.managedDatabaseId,
|
|
2898
|
+
"{tablespaceName}": dropTablespaceRequest.tablespaceName
|
|
2899
|
+
};
|
|
2900
|
+
const queryParams = {};
|
|
2901
|
+
let headerParams = {
|
|
2902
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2903
|
+
"opc-request-id": dropTablespaceRequest.opcRequestId,
|
|
2904
|
+
"opc-retry-token": dropTablespaceRequest.opcRetryToken
|
|
2905
|
+
};
|
|
2906
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2907
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, dropTablespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
2908
|
+
if (this.logger)
|
|
2909
|
+
retrier.logger = this.logger;
|
|
2910
|
+
const request = yield oci_common_1.composeRequest({
|
|
2911
|
+
baseEndpoint: this._endpoint,
|
|
2912
|
+
defaultHeaders: this._defaultHeaders,
|
|
2913
|
+
path: "/managedDatabases/{managedDatabaseId}/tablespaces/{tablespaceName}/actions/dropTablespace",
|
|
2914
|
+
method: "POST",
|
|
2915
|
+
bodyContent: common.ObjectSerializer.serialize(dropTablespaceRequest.dropTablespaceDetails, "DropTablespaceDetails", model.DropTablespaceDetails.getJsonObj),
|
|
2916
|
+
pathParams: pathParams,
|
|
2917
|
+
headerParams: headerParams,
|
|
2918
|
+
queryParams: queryParams
|
|
2919
|
+
});
|
|
2920
|
+
try {
|
|
2921
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2922
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2923
|
+
responseObject: {},
|
|
2924
|
+
body: yield response.json(),
|
|
2925
|
+
bodyKey: "tablespaceAdminStatus",
|
|
2926
|
+
bodyModel: model.TablespaceAdminStatus,
|
|
2927
|
+
type: "model.TablespaceAdminStatus",
|
|
2928
|
+
responseHeaders: [
|
|
2929
|
+
{
|
|
2930
|
+
value: response.headers.get("opc-request-id"),
|
|
2931
|
+
key: "opcRequestId",
|
|
2932
|
+
dataType: "string"
|
|
2933
|
+
}
|
|
2934
|
+
]
|
|
2935
|
+
});
|
|
2936
|
+
return sdkResponse;
|
|
2937
|
+
}
|
|
2938
|
+
catch (err) {
|
|
2939
|
+
throw err;
|
|
2940
|
+
}
|
|
2941
|
+
});
|
|
2942
|
+
}
|
|
2943
|
+
/**
|
|
2944
|
+
* Enables automatic initial plan capture. When enabled, the database checks whether
|
|
2945
|
+
* executed SQL statements are eligible for automatic capture. It creates initial
|
|
2946
|
+
* plan baselines for eligible statements.
|
|
2947
|
+
* <p>
|
|
2948
|
+
By default, the database creates a SQL plan baseline for every eligible repeatable
|
|
2949
|
+
* statement, including all recursive SQL and monitoring SQL. Thus, automatic capture
|
|
2950
|
+
* may result in the creation of an extremely large number of plan baselines. To limit
|
|
2951
|
+
* the statements that are eligible for plan baselines, configure filters.
|
|
2952
|
+
*
|
|
2953
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2954
|
+
* @param EnableAutomaticInitialPlanCaptureRequest
|
|
2955
|
+
* @return EnableAutomaticInitialPlanCaptureResponse
|
|
2956
|
+
* @throws OciError when an error occurs
|
|
2957
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableAutomaticInitialPlanCapture.ts.html |here} to see how to use EnableAutomaticInitialPlanCapture API.
|
|
2958
|
+
*/
|
|
2959
|
+
enableAutomaticInitialPlanCapture(enableAutomaticInitialPlanCaptureRequest) {
|
|
2960
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2961
|
+
if (this.logger)
|
|
2962
|
+
this.logger.debug("Calling operation DbManagementClient#enableAutomaticInitialPlanCapture.");
|
|
2963
|
+
const operationName = "enableAutomaticInitialPlanCapture";
|
|
2964
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableAutomaticInitialPlanCapture";
|
|
2965
|
+
const pathParams = {
|
|
2966
|
+
"{managedDatabaseId}": enableAutomaticInitialPlanCaptureRequest.managedDatabaseId
|
|
2967
|
+
};
|
|
2968
|
+
const queryParams = {};
|
|
2969
|
+
let headerParams = {
|
|
2970
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2971
|
+
"opc-request-id": enableAutomaticInitialPlanCaptureRequest.opcRequestId
|
|
2972
|
+
};
|
|
2973
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2974
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutomaticInitialPlanCaptureRequest.retryConfiguration, specRetryConfiguration);
|
|
2975
|
+
if (this.logger)
|
|
2976
|
+
retrier.logger = this.logger;
|
|
2977
|
+
const request = yield oci_common_1.composeRequest({
|
|
2978
|
+
baseEndpoint: this._endpoint,
|
|
2979
|
+
defaultHeaders: this._defaultHeaders,
|
|
2980
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableAutomaticInitialPlanCapture",
|
|
2981
|
+
method: "POST",
|
|
2982
|
+
bodyContent: common.ObjectSerializer.serialize(enableAutomaticInitialPlanCaptureRequest.enableAutomaticInitialPlanCaptureDetails, "EnableAutomaticInitialPlanCaptureDetails", model.EnableAutomaticInitialPlanCaptureDetails.getJsonObj),
|
|
2983
|
+
pathParams: pathParams,
|
|
2984
|
+
headerParams: headerParams,
|
|
2985
|
+
queryParams: queryParams
|
|
2986
|
+
});
|
|
2987
|
+
try {
|
|
2988
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2989
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
2990
|
+
responseObject: {},
|
|
2991
|
+
responseHeaders: [
|
|
2992
|
+
{
|
|
2993
|
+
value: response.headers.get("opc-request-id"),
|
|
2994
|
+
key: "opcRequestId",
|
|
2995
|
+
dataType: "string"
|
|
2996
|
+
}
|
|
2997
|
+
]
|
|
2998
|
+
});
|
|
2999
|
+
return sdkResponse;
|
|
3000
|
+
}
|
|
3001
|
+
catch (err) {
|
|
3002
|
+
throw err;
|
|
3003
|
+
}
|
|
3004
|
+
});
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Enables the Automatic SPM Evolve Advisor task. By default, the automatic task
|
|
3008
|
+
* `SYS_AUTO_SPM_EVOLVE_TASK` runs every day in the scheduled maintenance window.
|
|
3009
|
+
* <p>
|
|
3010
|
+
The SPM Evolve Advisor performs the following tasks:
|
|
3011
|
+
* <p>
|
|
3012
|
+
- Checks AWR for top SQL
|
|
3013
|
+
* - Looks for alternative plans in all available sources
|
|
3014
|
+
* - Adds unaccepted plans to the plan history
|
|
3015
|
+
* - Tests the execution of as many plans as possible during the maintenance window
|
|
3016
|
+
* - Adds the alternative plan to the baseline if it performs better than the current plan
|
|
3017
|
+
* <p>
|
|
3018
|
+
One client controls both Automatic SQL Tuning Advisor and Automatic SPM Evolve Advisor.
|
|
3019
|
+
* Thus, the same task enables or disables both.
|
|
3020
|
+
*
|
|
3021
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3022
|
+
* @param EnableAutomaticSpmEvolveAdvisorTaskRequest
|
|
3023
|
+
* @return EnableAutomaticSpmEvolveAdvisorTaskResponse
|
|
3024
|
+
* @throws OciError when an error occurs
|
|
3025
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use EnableAutomaticSpmEvolveAdvisorTask API.
|
|
3026
|
+
*/
|
|
3027
|
+
enableAutomaticSpmEvolveAdvisorTask(enableAutomaticSpmEvolveAdvisorTaskRequest) {
|
|
3028
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3029
|
+
if (this.logger)
|
|
3030
|
+
this.logger.debug("Calling operation DbManagementClient#enableAutomaticSpmEvolveAdvisorTask.");
|
|
3031
|
+
const operationName = "enableAutomaticSpmEvolveAdvisorTask";
|
|
3032
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableAutomaticSpmEvolveAdvisorTask";
|
|
3033
|
+
const pathParams = {
|
|
3034
|
+
"{managedDatabaseId}": enableAutomaticSpmEvolveAdvisorTaskRequest.managedDatabaseId
|
|
3035
|
+
};
|
|
3036
|
+
const queryParams = {};
|
|
3037
|
+
let headerParams = {
|
|
3038
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3039
|
+
"opc-request-id": enableAutomaticSpmEvolveAdvisorTaskRequest.opcRequestId
|
|
3040
|
+
};
|
|
3041
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3042
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableAutomaticSpmEvolveAdvisorTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
3043
|
+
if (this.logger)
|
|
3044
|
+
retrier.logger = this.logger;
|
|
3045
|
+
const request = yield oci_common_1.composeRequest({
|
|
3046
|
+
baseEndpoint: this._endpoint,
|
|
3047
|
+
defaultHeaders: this._defaultHeaders,
|
|
3048
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableAutomaticSpmEvolveAdvisorTask",
|
|
3049
|
+
method: "POST",
|
|
3050
|
+
bodyContent: common.ObjectSerializer.serialize(enableAutomaticSpmEvolveAdvisorTaskRequest.enableAutomaticSpmEvolveAdvisorTaskDetails, "EnableAutomaticSpmEvolveAdvisorTaskDetails", model.EnableAutomaticSpmEvolveAdvisorTaskDetails.getJsonObj),
|
|
3051
|
+
pathParams: pathParams,
|
|
3052
|
+
headerParams: headerParams,
|
|
3053
|
+
queryParams: queryParams
|
|
3054
|
+
});
|
|
3055
|
+
try {
|
|
3056
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3057
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3058
|
+
responseObject: {},
|
|
3059
|
+
responseHeaders: [
|
|
3060
|
+
{
|
|
3061
|
+
value: response.headers.get("opc-request-id"),
|
|
3062
|
+
key: "opcRequestId",
|
|
3063
|
+
dataType: "string"
|
|
3064
|
+
}
|
|
3065
|
+
]
|
|
3066
|
+
});
|
|
3067
|
+
return sdkResponse;
|
|
3068
|
+
}
|
|
3069
|
+
catch (err) {
|
|
3070
|
+
throw err;
|
|
3071
|
+
}
|
|
3072
|
+
});
|
|
3073
|
+
}
|
|
3074
|
+
/**
|
|
3075
|
+
* Enables Database Management service for all the components of the specified
|
|
3076
|
+
* external DB system (except databases).
|
|
3077
|
+
*
|
|
3078
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3079
|
+
* @param EnableExternalDbSystemDatabaseManagementRequest
|
|
3080
|
+
* @return EnableExternalDbSystemDatabaseManagementResponse
|
|
3081
|
+
* @throws OciError when an error occurs
|
|
3082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableExternalDbSystemDatabaseManagement.ts.html |here} to see how to use EnableExternalDbSystemDatabaseManagement API.
|
|
3083
|
+
*/
|
|
3084
|
+
enableExternalDbSystemDatabaseManagement(enableExternalDbSystemDatabaseManagementRequest) {
|
|
3085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3086
|
+
if (this.logger)
|
|
3087
|
+
this.logger.debug("Calling operation DbManagementClient#enableExternalDbSystemDatabaseManagement.");
|
|
3088
|
+
const operationName = "enableExternalDbSystemDatabaseManagement";
|
|
3089
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/EnableExternalDbSystemDatabaseManagement";
|
|
3090
|
+
const pathParams = {
|
|
3091
|
+
"{externalDbSystemId}": enableExternalDbSystemDatabaseManagementRequest.externalDbSystemId
|
|
3092
|
+
};
|
|
3093
|
+
const queryParams = {};
|
|
3094
|
+
let headerParams = {
|
|
3095
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3096
|
+
"opc-request-id": enableExternalDbSystemDatabaseManagementRequest.opcRequestId,
|
|
3097
|
+
"opc-retry-token": enableExternalDbSystemDatabaseManagementRequest.opcRetryToken,
|
|
3098
|
+
"if-match": enableExternalDbSystemDatabaseManagementRequest.ifMatch
|
|
3099
|
+
};
|
|
3100
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3101
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExternalDbSystemDatabaseManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
3102
|
+
if (this.logger)
|
|
3103
|
+
retrier.logger = this.logger;
|
|
3104
|
+
const request = yield oci_common_1.composeRequest({
|
|
3105
|
+
baseEndpoint: this._endpoint,
|
|
3106
|
+
defaultHeaders: this._defaultHeaders,
|
|
3107
|
+
path: "/externalDbSystems/{externalDbSystemId}/actions/enableDatabaseManagement",
|
|
3108
|
+
method: "POST",
|
|
3109
|
+
bodyContent: common.ObjectSerializer.serialize(enableExternalDbSystemDatabaseManagementRequest.enableExternalDbSystemDatabaseManagementDetails, "EnableExternalDbSystemDatabaseManagementDetails", model.EnableExternalDbSystemDatabaseManagementDetails.getJsonObj),
|
|
3110
|
+
pathParams: pathParams,
|
|
3111
|
+
headerParams: headerParams,
|
|
3112
|
+
queryParams: queryParams
|
|
3113
|
+
});
|
|
3114
|
+
try {
|
|
3115
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3116
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
3117
|
+
responseObject: {},
|
|
3118
|
+
responseHeaders: [
|
|
3119
|
+
{
|
|
3120
|
+
value: response.headers.get("opc-request-id"),
|
|
3121
|
+
key: "opcRequestId",
|
|
3122
|
+
dataType: "string"
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3126
|
+
key: "opcWorkRequestId",
|
|
3127
|
+
dataType: "string"
|
|
3128
|
+
}
|
|
3129
|
+
]
|
|
3130
|
+
});
|
|
3131
|
+
return sdkResponse;
|
|
3132
|
+
}
|
|
3133
|
+
catch (err) {
|
|
3134
|
+
throw err;
|
|
3135
|
+
}
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Enables Stack Monitoring for all the components of the specified
|
|
3140
|
+
* external DB system (except databases).
|
|
3141
|
+
*
|
|
3142
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3143
|
+
* @param EnableExternalDbSystemStackMonitoringRequest
|
|
3144
|
+
* @return EnableExternalDbSystemStackMonitoringResponse
|
|
3145
|
+
* @throws OciError when an error occurs
|
|
3146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableExternalDbSystemStackMonitoring.ts.html |here} to see how to use EnableExternalDbSystemStackMonitoring API.
|
|
3147
|
+
*/
|
|
3148
|
+
enableExternalDbSystemStackMonitoring(enableExternalDbSystemStackMonitoringRequest) {
|
|
3149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3150
|
+
if (this.logger)
|
|
3151
|
+
this.logger.debug("Calling operation DbManagementClient#enableExternalDbSystemStackMonitoring.");
|
|
3152
|
+
const operationName = "enableExternalDbSystemStackMonitoring";
|
|
3153
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalDbSystem/EnableExternalDbSystemStackMonitoring";
|
|
3154
|
+
const pathParams = {
|
|
3155
|
+
"{externalDbSystemId}": enableExternalDbSystemStackMonitoringRequest.externalDbSystemId
|
|
3156
|
+
};
|
|
2188
3157
|
const queryParams = {};
|
|
2189
3158
|
let headerParams = {
|
|
2190
3159
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2191
|
-
"opc-request-id":
|
|
2192
|
-
"opc-retry-token":
|
|
2193
|
-
"if-match":
|
|
3160
|
+
"opc-request-id": enableExternalDbSystemStackMonitoringRequest.opcRequestId,
|
|
3161
|
+
"opc-retry-token": enableExternalDbSystemStackMonitoringRequest.opcRetryToken,
|
|
3162
|
+
"if-match": enableExternalDbSystemStackMonitoringRequest.ifMatch
|
|
2194
3163
|
};
|
|
2195
3164
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2196
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3165
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExternalDbSystemStackMonitoringRequest.retryConfiguration, specRetryConfiguration);
|
|
2197
3166
|
if (this.logger)
|
|
2198
3167
|
retrier.logger = this.logger;
|
|
2199
3168
|
const request = yield oci_common_1.composeRequest({
|
|
2200
3169
|
baseEndpoint: this._endpoint,
|
|
2201
3170
|
defaultHeaders: this._defaultHeaders,
|
|
2202
|
-
path: "/
|
|
3171
|
+
path: "/externalDbSystems/{externalDbSystemId}/actions/enableStackMonitoring",
|
|
2203
3172
|
method: "POST",
|
|
2204
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3173
|
+
bodyContent: common.ObjectSerializer.serialize(enableExternalDbSystemStackMonitoringRequest.enableExternalDbSystemStackMonitoringDetails, "EnableExternalDbSystemStackMonitoringDetails", model.EnableExternalDbSystemStackMonitoringDetails.getJsonObj),
|
|
2205
3174
|
pathParams: pathParams,
|
|
2206
3175
|
headerParams: headerParams,
|
|
2207
3176
|
queryParams: queryParams
|
|
@@ -2210,19 +3179,15 @@ class DbManagementClient {
|
|
|
2210
3179
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2211
3180
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2212
3181
|
responseObject: {},
|
|
2213
|
-
body: yield response.json(),
|
|
2214
|
-
bodyKey: "externalExadataInfrastructureDiscovery",
|
|
2215
|
-
bodyModel: model.ExternalExadataInfrastructureDiscovery,
|
|
2216
|
-
type: "model.ExternalExadataInfrastructureDiscovery",
|
|
2217
3182
|
responseHeaders: [
|
|
2218
3183
|
{
|
|
2219
|
-
value: response.headers.get("
|
|
2220
|
-
key: "
|
|
3184
|
+
value: response.headers.get("opc-request-id"),
|
|
3185
|
+
key: "opcRequestId",
|
|
2221
3186
|
dataType: "string"
|
|
2222
3187
|
},
|
|
2223
3188
|
{
|
|
2224
|
-
value: response.headers.get("opc-request-id"),
|
|
2225
|
-
key: "
|
|
3189
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3190
|
+
key: "opcWorkRequestId",
|
|
2226
3191
|
dataType: "string"
|
|
2227
3192
|
}
|
|
2228
3193
|
]
|
|
@@ -2235,40 +3200,45 @@ class DbManagementClient {
|
|
|
2235
3200
|
});
|
|
2236
3201
|
}
|
|
2237
3202
|
/**
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
3203
|
+
* Enables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId. It covers the following
|
|
3204
|
+
* components:
|
|
3205
|
+
* <p>
|
|
3206
|
+
- Exadata infrastructure
|
|
3207
|
+
* - Exadata storage grid
|
|
3208
|
+
* - Exadata storage server
|
|
3209
|
+
*
|
|
3210
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3211
|
+
* @param EnableExternalExadataInfrastructureManagementRequest
|
|
3212
|
+
* @return EnableExternalExadataInfrastructureManagementResponse
|
|
3213
|
+
* @throws OciError when an error occurs
|
|
3214
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableExternalExadataInfrastructureManagement.ts.html |here} to see how to use EnableExternalExadataInfrastructureManagement API.
|
|
3215
|
+
*/
|
|
3216
|
+
enableExternalExadataInfrastructureManagement(enableExternalExadataInfrastructureManagementRequest) {
|
|
2247
3217
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2248
3218
|
if (this.logger)
|
|
2249
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
2250
|
-
const operationName = "
|
|
2251
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
3219
|
+
this.logger.debug("Calling operation DbManagementClient#enableExternalExadataInfrastructureManagement.");
|
|
3220
|
+
const operationName = "enableExternalExadataInfrastructureManagement";
|
|
3221
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ExternalExadataInfrastructure/EnableExternalExadataInfrastructureManagement";
|
|
2252
3222
|
const pathParams = {
|
|
2253
|
-
"{
|
|
2254
|
-
"{tablespaceName}": dropTablespaceRequest.tablespaceName
|
|
3223
|
+
"{externalExadataInfrastructureId}": enableExternalExadataInfrastructureManagementRequest.externalExadataInfrastructureId
|
|
2255
3224
|
};
|
|
2256
3225
|
const queryParams = {};
|
|
2257
3226
|
let headerParams = {
|
|
2258
3227
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2259
|
-
"opc-request-id":
|
|
2260
|
-
"opc-retry-token":
|
|
3228
|
+
"opc-request-id": enableExternalExadataInfrastructureManagementRequest.opcRequestId,
|
|
3229
|
+
"opc-retry-token": enableExternalExadataInfrastructureManagementRequest.opcRetryToken,
|
|
3230
|
+
"if-match": enableExternalExadataInfrastructureManagementRequest.ifMatch
|
|
2261
3231
|
};
|
|
2262
|
-
const specRetryConfiguration = common.
|
|
2263
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3232
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3233
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableExternalExadataInfrastructureManagementRequest.retryConfiguration, specRetryConfiguration);
|
|
2264
3234
|
if (this.logger)
|
|
2265
3235
|
retrier.logger = this.logger;
|
|
2266
3236
|
const request = yield oci_common_1.composeRequest({
|
|
2267
3237
|
baseEndpoint: this._endpoint,
|
|
2268
3238
|
defaultHeaders: this._defaultHeaders,
|
|
2269
|
-
path: "/
|
|
3239
|
+
path: "/externalExadataInfrastructures/{externalExadataInfrastructureId}/actions/enableDatabaseManagement",
|
|
2270
3240
|
method: "POST",
|
|
2271
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3241
|
+
bodyContent: common.ObjectSerializer.serialize(enableExternalExadataInfrastructureManagementRequest.enableExternalExadataInfrastructureManagementDetails, "EnableExternalExadataInfrastructureManagementDetails", model.EnableExternalExadataInfrastructureManagementDetails.getJsonObj),
|
|
2272
3242
|
pathParams: pathParams,
|
|
2273
3243
|
headerParams: headerParams,
|
|
2274
3244
|
queryParams: queryParams
|
|
@@ -2277,15 +3247,16 @@ class DbManagementClient {
|
|
|
2277
3247
|
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2278
3248
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2279
3249
|
responseObject: {},
|
|
2280
|
-
body: yield response.json(),
|
|
2281
|
-
bodyKey: "tablespaceAdminStatus",
|
|
2282
|
-
bodyModel: model.TablespaceAdminStatus,
|
|
2283
|
-
type: "model.TablespaceAdminStatus",
|
|
2284
3250
|
responseHeaders: [
|
|
2285
3251
|
{
|
|
2286
3252
|
value: response.headers.get("opc-request-id"),
|
|
2287
3253
|
key: "opcRequestId",
|
|
2288
3254
|
dataType: "string"
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3258
|
+
key: "opcWorkRequestId",
|
|
3259
|
+
dataType: "string"
|
|
2289
3260
|
}
|
|
2290
3261
|
]
|
|
2291
3262
|
});
|
|
@@ -2297,41 +3268,46 @@ class DbManagementClient {
|
|
|
2297
3268
|
});
|
|
2298
3269
|
}
|
|
2299
3270
|
/**
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
3271
|
+
* Enables the high-frequency Automatic SPM Evolve Advisor task. The high-frequency
|
|
3272
|
+
* task runs every hour and runs for no longer than 30 minutes. These settings
|
|
3273
|
+
* are not configurable.
|
|
3274
|
+
* <p>
|
|
3275
|
+
The high-frequency task complements the standard Automatic SPM Evolve Advisor task.
|
|
3276
|
+
* They are independent and are scheduled through two different frameworks.
|
|
3277
|
+
* <p>
|
|
3278
|
+
It is available only on Oracle Exadata Database Machine, Oracle Database Exadata
|
|
3279
|
+
* Cloud Service (ExaCS) and Oracle Database Exadata Cloud@Customer (ExaCC).
|
|
3280
|
+
*
|
|
3281
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3282
|
+
* @param EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest
|
|
3283
|
+
* @return EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskResponse
|
|
3284
|
+
* @throws OciError when an error occurs
|
|
3285
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableHighFrequencyAutomaticSpmEvolveAdvisorTask.ts.html |here} to see how to use EnableHighFrequencyAutomaticSpmEvolveAdvisorTask API.
|
|
3286
|
+
*/
|
|
3287
|
+
enableHighFrequencyAutomaticSpmEvolveAdvisorTask(enableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest) {
|
|
2310
3288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2311
3289
|
if (this.logger)
|
|
2312
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
2313
|
-
const operationName = "
|
|
2314
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
3290
|
+
this.logger.debug("Calling operation DbManagementClient#enableHighFrequencyAutomaticSpmEvolveAdvisorTask.");
|
|
3291
|
+
const operationName = "enableHighFrequencyAutomaticSpmEvolveAdvisorTask";
|
|
3292
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableHighFrequencyAutomaticSpmEvolveAdvisorTask";
|
|
2315
3293
|
const pathParams = {
|
|
2316
|
-
"{
|
|
3294
|
+
"{managedDatabaseId}": enableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.managedDatabaseId
|
|
2317
3295
|
};
|
|
2318
3296
|
const queryParams = {};
|
|
2319
3297
|
let headerParams = {
|
|
2320
3298
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2321
|
-
"opc-request-id":
|
|
2322
|
-
"opc-retry-token": enableExternalDbSystemDatabaseManagementRequest.opcRetryToken,
|
|
2323
|
-
"if-match": enableExternalDbSystemDatabaseManagementRequest.ifMatch
|
|
3299
|
+
"opc-request-id": enableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.opcRequestId
|
|
2324
3300
|
};
|
|
2325
|
-
const specRetryConfiguration = common.
|
|
2326
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3301
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3302
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.retryConfiguration, specRetryConfiguration);
|
|
2327
3303
|
if (this.logger)
|
|
2328
3304
|
retrier.logger = this.logger;
|
|
2329
3305
|
const request = yield oci_common_1.composeRequest({
|
|
2330
3306
|
baseEndpoint: this._endpoint,
|
|
2331
3307
|
defaultHeaders: this._defaultHeaders,
|
|
2332
|
-
path: "/
|
|
3308
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableHighFrequencyAutomaticSpmEvolveAdvisorTask",
|
|
2333
3309
|
method: "POST",
|
|
2334
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3310
|
+
bodyContent: common.ObjectSerializer.serialize(enableHighFrequencyAutomaticSpmEvolveAdvisorTaskRequest.enableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails, "EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails", model.EnableHighFrequencyAutomaticSpmEvolveAdvisorTaskDetails.getJsonObj),
|
|
2335
3311
|
pathParams: pathParams,
|
|
2336
3312
|
headerParams: headerParams,
|
|
2337
3313
|
queryParams: queryParams
|
|
@@ -2345,11 +3321,6 @@ class DbManagementClient {
|
|
|
2345
3321
|
value: response.headers.get("opc-request-id"),
|
|
2346
3322
|
key: "opcRequestId",
|
|
2347
3323
|
dataType: "string"
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2351
|
-
key: "opcWorkRequestId",
|
|
2352
|
-
dataType: "string"
|
|
2353
3324
|
}
|
|
2354
3325
|
]
|
|
2355
3326
|
});
|
|
@@ -2361,44 +3332,41 @@ class DbManagementClient {
|
|
|
2361
3332
|
});
|
|
2362
3333
|
}
|
|
2363
3334
|
/**
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
enableExternalExadataInfrastructureManagement(enableExternalExadataInfrastructureManagementRequest) {
|
|
3335
|
+
* Enables the use of SQL plan baselines stored in SQL Management Base.
|
|
3336
|
+
* <p>
|
|
3337
|
+
When enabled, the optimizer uses SQL plan baselines to select plans
|
|
3338
|
+
* to avoid potential performance regressions.
|
|
3339
|
+
*
|
|
3340
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3341
|
+
* @param EnableSqlPlanBaselinesUsageRequest
|
|
3342
|
+
* @return EnableSqlPlanBaselinesUsageResponse
|
|
3343
|
+
* @throws OciError when an error occurs
|
|
3344
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/EnableSqlPlanBaselinesUsage.ts.html |here} to see how to use EnableSqlPlanBaselinesUsage API.
|
|
3345
|
+
*/
|
|
3346
|
+
enableSqlPlanBaselinesUsage(enableSqlPlanBaselinesUsageRequest) {
|
|
2377
3347
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2378
3348
|
if (this.logger)
|
|
2379
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
2380
|
-
const operationName = "
|
|
2381
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
3349
|
+
this.logger.debug("Calling operation DbManagementClient#enableSqlPlanBaselinesUsage.");
|
|
3350
|
+
const operationName = "enableSqlPlanBaselinesUsage";
|
|
3351
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/EnableSqlPlanBaselinesUsage";
|
|
2382
3352
|
const pathParams = {
|
|
2383
|
-
"{
|
|
3353
|
+
"{managedDatabaseId}": enableSqlPlanBaselinesUsageRequest.managedDatabaseId
|
|
2384
3354
|
};
|
|
2385
3355
|
const queryParams = {};
|
|
2386
3356
|
let headerParams = {
|
|
2387
3357
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2388
|
-
"opc-request-id":
|
|
2389
|
-
"opc-retry-token": enableExternalExadataInfrastructureManagementRequest.opcRetryToken,
|
|
2390
|
-
"if-match": enableExternalExadataInfrastructureManagementRequest.ifMatch
|
|
3358
|
+
"opc-request-id": enableSqlPlanBaselinesUsageRequest.opcRequestId
|
|
2391
3359
|
};
|
|
2392
|
-
const specRetryConfiguration = common.
|
|
2393
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
3360
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3361
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableSqlPlanBaselinesUsageRequest.retryConfiguration, specRetryConfiguration);
|
|
2394
3362
|
if (this.logger)
|
|
2395
3363
|
retrier.logger = this.logger;
|
|
2396
3364
|
const request = yield oci_common_1.composeRequest({
|
|
2397
3365
|
baseEndpoint: this._endpoint,
|
|
2398
3366
|
defaultHeaders: this._defaultHeaders,
|
|
2399
|
-
path: "/
|
|
3367
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/enableSqlPlanBaselinesUsage",
|
|
2400
3368
|
method: "POST",
|
|
2401
|
-
bodyContent: common.ObjectSerializer.serialize(
|
|
3369
|
+
bodyContent: common.ObjectSerializer.serialize(enableSqlPlanBaselinesUsageRequest.enableSqlPlanBaselinesUsageDetails, "EnableSqlPlanBaselinesUsageDetails", model.EnableSqlPlanBaselinesUsageDetails.getJsonObj),
|
|
2402
3370
|
pathParams: pathParams,
|
|
2403
3371
|
headerParams: headerParams,
|
|
2404
3372
|
queryParams: queryParams
|
|
@@ -2412,11 +3380,6 @@ class DbManagementClient {
|
|
|
2412
3380
|
value: response.headers.get("opc-request-id"),
|
|
2413
3381
|
key: "opcRequestId",
|
|
2414
3382
|
dataType: "string"
|
|
2415
|
-
},
|
|
2416
|
-
{
|
|
2417
|
-
value: response.headers.get("opc-work-request-id"),
|
|
2418
|
-
key: "opcWorkRequestId",
|
|
2419
|
-
dataType: "string"
|
|
2420
3383
|
}
|
|
2421
3384
|
]
|
|
2422
3385
|
});
|
|
@@ -2434,7 +3397,7 @@ class DbManagementClient {
|
|
|
2434
3397
|
* @param GenerateAwrSnapshotRequest
|
|
2435
3398
|
* @return GenerateAwrSnapshotResponse
|
|
2436
3399
|
* @throws OciError when an error occurs
|
|
2437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3400
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GenerateAwrSnapshot.ts.html |here} to see how to use GenerateAwrSnapshot API.
|
|
2438
3401
|
*/
|
|
2439
3402
|
generateAwrSnapshot(generateAwrSnapshotRequest) {
|
|
2440
3403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2494,7 +3457,7 @@ class DbManagementClient {
|
|
|
2494
3457
|
* @param GetAwrDbReportRequest
|
|
2495
3458
|
* @return GetAwrDbReportResponse
|
|
2496
3459
|
* @throws OciError when an error occurs
|
|
2497
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3460
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetAwrDbReport.ts.html |here} to see how to use GetAwrDbReport API.
|
|
2498
3461
|
*/
|
|
2499
3462
|
getAwrDbReport(getAwrDbReportRequest) {
|
|
2500
3463
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2564,7 +3527,7 @@ class DbManagementClient {
|
|
|
2564
3527
|
* @param GetAwrDbSqlReportRequest
|
|
2565
3528
|
* @return GetAwrDbSqlReportResponse
|
|
2566
3529
|
* @throws OciError when an error occurs
|
|
2567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetAwrDbSqlReport.ts.html |here} to see how to use GetAwrDbSqlReport API.
|
|
2568
3531
|
*/
|
|
2569
3532
|
getAwrDbSqlReport(getAwrDbSqlReportRequest) {
|
|
2570
3533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2636,7 +3599,7 @@ class DbManagementClient {
|
|
|
2636
3599
|
* @param GetClusterCacheMetricRequest
|
|
2637
3600
|
* @return GetClusterCacheMetricResponse
|
|
2638
3601
|
* @throws OciError when an error occurs
|
|
2639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetClusterCacheMetric.ts.html |here} to see how to use GetClusterCacheMetric API.
|
|
2640
3603
|
*/
|
|
2641
3604
|
getClusterCacheMetric(getClusterCacheMetricRequest) {
|
|
2642
3605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2699,7 +3662,7 @@ class DbManagementClient {
|
|
|
2699
3662
|
* @param GetDatabaseFleetHealthMetricsRequest
|
|
2700
3663
|
* @return GetDatabaseFleetHealthMetricsResponse
|
|
2701
3664
|
* @throws OciError when an error occurs
|
|
2702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3665
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetDatabaseFleetHealthMetrics.ts.html |here} to see how to use GetDatabaseFleetHealthMetrics API.
|
|
2703
3666
|
*/
|
|
2704
3667
|
getDatabaseFleetHealthMetrics(getDatabaseFleetHealthMetricsRequest) {
|
|
2705
3668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2766,7 +3729,7 @@ class DbManagementClient {
|
|
|
2766
3729
|
* @param GetDatabaseHomeMetricsRequest
|
|
2767
3730
|
* @return GetDatabaseHomeMetricsResponse
|
|
2768
3731
|
* @throws OciError when an error occurs
|
|
2769
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3732
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetDatabaseHomeMetrics.ts.html |here} to see how to use GetDatabaseHomeMetrics API.
|
|
2770
3733
|
*/
|
|
2771
3734
|
getDatabaseHomeMetrics(getDatabaseHomeMetricsRequest) {
|
|
2772
3735
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2826,7 +3789,7 @@ class DbManagementClient {
|
|
|
2826
3789
|
* @param GetDbManagementPrivateEndpointRequest
|
|
2827
3790
|
* @return GetDbManagementPrivateEndpointResponse
|
|
2828
3791
|
* @throws OciError when an error occurs
|
|
2829
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetDbManagementPrivateEndpoint.ts.html |here} to see how to use GetDbManagementPrivateEndpoint API.
|
|
2830
3793
|
*/
|
|
2831
3794
|
getDbManagementPrivateEndpoint(getDbManagementPrivateEndpointRequest) {
|
|
2832
3795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2890,7 +3853,7 @@ class DbManagementClient {
|
|
|
2890
3853
|
* @param GetExternalAsmRequest
|
|
2891
3854
|
* @return GetExternalAsmResponse
|
|
2892
3855
|
* @throws OciError when an error occurs
|
|
2893
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3856
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalAsm.ts.html |here} to see how to use GetExternalAsm API.
|
|
2894
3857
|
*/
|
|
2895
3858
|
getExternalAsm(getExternalAsmRequest) {
|
|
2896
3859
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2954,7 +3917,7 @@ class DbManagementClient {
|
|
|
2954
3917
|
* @param GetExternalAsmConfigurationRequest
|
|
2955
3918
|
* @return GetExternalAsmConfigurationResponse
|
|
2956
3919
|
* @throws OciError when an error occurs
|
|
2957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalAsmConfiguration.ts.html |here} to see how to use GetExternalAsmConfiguration API.
|
|
2958
3921
|
*/
|
|
2959
3922
|
getExternalAsmConfiguration(getExternalAsmConfigurationRequest) {
|
|
2960
3923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3013,7 +3976,7 @@ class DbManagementClient {
|
|
|
3013
3976
|
* @param GetExternalAsmInstanceRequest
|
|
3014
3977
|
* @return GetExternalAsmInstanceResponse
|
|
3015
3978
|
* @throws OciError when an error occurs
|
|
3016
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3979
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalAsmInstance.ts.html |here} to see how to use GetExternalAsmInstance API.
|
|
3017
3980
|
*/
|
|
3018
3981
|
getExternalAsmInstance(getExternalAsmInstanceRequest) {
|
|
3019
3982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3072,7 +4035,7 @@ class DbManagementClient {
|
|
|
3072
4035
|
* @param GetExternalClusterRequest
|
|
3073
4036
|
* @return GetExternalClusterResponse
|
|
3074
4037
|
* @throws OciError when an error occurs
|
|
3075
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4038
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalCluster.ts.html |here} to see how to use GetExternalCluster API.
|
|
3076
4039
|
*/
|
|
3077
4040
|
getExternalCluster(getExternalClusterRequest) {
|
|
3078
4041
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3136,7 +4099,7 @@ class DbManagementClient {
|
|
|
3136
4099
|
* @param GetExternalClusterInstanceRequest
|
|
3137
4100
|
* @return GetExternalClusterInstanceResponse
|
|
3138
4101
|
* @throws OciError when an error occurs
|
|
3139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4102
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalClusterInstance.ts.html |here} to see how to use GetExternalClusterInstance API.
|
|
3140
4103
|
*/
|
|
3141
4104
|
getExternalClusterInstance(getExternalClusterInstanceRequest) {
|
|
3142
4105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3200,7 +4163,7 @@ class DbManagementClient {
|
|
|
3200
4163
|
* @param GetExternalDbHomeRequest
|
|
3201
4164
|
* @return GetExternalDbHomeResponse
|
|
3202
4165
|
* @throws OciError when an error occurs
|
|
3203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4166
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalDbHome.ts.html |here} to see how to use GetExternalDbHome API.
|
|
3204
4167
|
*/
|
|
3205
4168
|
getExternalDbHome(getExternalDbHomeRequest) {
|
|
3206
4169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3259,7 +4222,7 @@ class DbManagementClient {
|
|
|
3259
4222
|
* @param GetExternalDbNodeRequest
|
|
3260
4223
|
* @return GetExternalDbNodeResponse
|
|
3261
4224
|
* @throws OciError when an error occurs
|
|
3262
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalDbNode.ts.html |here} to see how to use GetExternalDbNode API.
|
|
3263
4226
|
*/
|
|
3264
4227
|
getExternalDbNode(getExternalDbNodeRequest) {
|
|
3265
4228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3323,7 +4286,7 @@ class DbManagementClient {
|
|
|
3323
4286
|
* @param GetExternalDbSystemRequest
|
|
3324
4287
|
* @return GetExternalDbSystemResponse
|
|
3325
4288
|
* @throws OciError when an error occurs
|
|
3326
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalDbSystem.ts.html |here} to see how to use GetExternalDbSystem API.
|
|
3327
4290
|
*/
|
|
3328
4291
|
getExternalDbSystem(getExternalDbSystemRequest) {
|
|
3329
4292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3387,7 +4350,7 @@ class DbManagementClient {
|
|
|
3387
4350
|
* @param GetExternalDbSystemConnectorRequest
|
|
3388
4351
|
* @return GetExternalDbSystemConnectorResponse
|
|
3389
4352
|
* @throws OciError when an error occurs
|
|
3390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalDbSystemConnector.ts.html |here} to see how to use GetExternalDbSystemConnector API.
|
|
3391
4354
|
*/
|
|
3392
4355
|
getExternalDbSystemConnector(getExternalDbSystemConnectorRequest) {
|
|
3393
4356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3451,7 +4414,7 @@ class DbManagementClient {
|
|
|
3451
4414
|
* @param GetExternalDbSystemDiscoveryRequest
|
|
3452
4415
|
* @return GetExternalDbSystemDiscoveryResponse
|
|
3453
4416
|
* @throws OciError when an error occurs
|
|
3454
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4417
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalDbSystemDiscovery.ts.html |here} to see how to use GetExternalDbSystemDiscovery API.
|
|
3455
4418
|
*/
|
|
3456
4419
|
getExternalDbSystemDiscovery(getExternalDbSystemDiscoveryRequest) {
|
|
3457
4420
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3509,14 +4472,14 @@ class DbManagementClient {
|
|
|
3509
4472
|
});
|
|
3510
4473
|
}
|
|
3511
4474
|
/**
|
|
3512
|
-
* Gets the details for the
|
|
4475
|
+
* Gets the details for the Exadata infrastructure specified by externalExadataInfrastructureId. It includes the DB systems and storage grid within the
|
|
3513
4476
|
* Exadata infrastructure.
|
|
3514
4477
|
*
|
|
3515
4478
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3516
4479
|
* @param GetExternalExadataInfrastructureRequest
|
|
3517
4480
|
* @return GetExternalExadataInfrastructureResponse
|
|
3518
4481
|
* @throws OciError when an error occurs
|
|
3519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4482
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalExadataInfrastructure.ts.html |here} to see how to use GetExternalExadataInfrastructure API.
|
|
3520
4483
|
*/
|
|
3521
4484
|
getExternalExadataInfrastructure(getExternalExadataInfrastructureRequest) {
|
|
3522
4485
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3574,13 +4537,13 @@ class DbManagementClient {
|
|
|
3574
4537
|
});
|
|
3575
4538
|
}
|
|
3576
4539
|
/**
|
|
3577
|
-
* Gets the details for the storage server connector specified by exadataStorageConnectorId.
|
|
4540
|
+
* Gets the details for the Exadata storage server connector specified by exadataStorageConnectorId.
|
|
3578
4541
|
*
|
|
3579
4542
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3580
4543
|
* @param GetExternalExadataStorageConnectorRequest
|
|
3581
4544
|
* @return GetExternalExadataStorageConnectorResponse
|
|
3582
4545
|
* @throws OciError when an error occurs
|
|
3583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalExadataStorageConnector.ts.html |here} to see how to use GetExternalExadataStorageConnector API.
|
|
3584
4547
|
*/
|
|
3585
4548
|
getExternalExadataStorageConnector(getExternalExadataStorageConnectorRequest) {
|
|
3586
4549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3638,13 +4601,13 @@ class DbManagementClient {
|
|
|
3638
4601
|
});
|
|
3639
4602
|
}
|
|
3640
4603
|
/**
|
|
3641
|
-
* Gets the details for the storage server grid specified by exadataStorageGridId.
|
|
4604
|
+
* Gets the details for the Exadata storage server grid specified by exadataStorageGridId.
|
|
3642
4605
|
*
|
|
3643
4606
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3644
4607
|
* @param GetExternalExadataStorageGridRequest
|
|
3645
4608
|
* @return GetExternalExadataStorageGridResponse
|
|
3646
4609
|
* @throws OciError when an error occurs
|
|
3647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4610
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalExadataStorageGrid.ts.html |here} to see how to use GetExternalExadataStorageGrid API.
|
|
3648
4611
|
*/
|
|
3649
4612
|
getExternalExadataStorageGrid(getExternalExadataStorageGridRequest) {
|
|
3650
4613
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3702,13 +4665,13 @@ class DbManagementClient {
|
|
|
3702
4665
|
});
|
|
3703
4666
|
}
|
|
3704
4667
|
/**
|
|
3705
|
-
* Gets the summary for the storage server specified by exadataStorageServerId.
|
|
4668
|
+
* Gets the summary for the Exadata storage server specified by exadataStorageServerId.
|
|
3706
4669
|
*
|
|
3707
4670
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3708
4671
|
* @param GetExternalExadataStorageServerRequest
|
|
3709
4672
|
* @return GetExternalExadataStorageServerResponse
|
|
3710
4673
|
* @throws OciError when an error occurs
|
|
3711
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalExadataStorageServer.ts.html |here} to see how to use GetExternalExadataStorageServer API.
|
|
3712
4675
|
*/
|
|
3713
4676
|
getExternalExadataStorageServer(getExternalExadataStorageServerRequest) {
|
|
3714
4677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3772,7 +4735,7 @@ class DbManagementClient {
|
|
|
3772
4735
|
* @param GetExternalListenerRequest
|
|
3773
4736
|
* @return GetExternalListenerResponse
|
|
3774
4737
|
* @throws OciError when an error occurs
|
|
3775
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4738
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExternalListener.ts.html |here} to see how to use GetExternalListener API.
|
|
3776
4739
|
*/
|
|
3777
4740
|
getExternalListener(getExternalListenerRequest) {
|
|
3778
4741
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3830,13 +4793,13 @@ class DbManagementClient {
|
|
|
3830
4793
|
});
|
|
3831
4794
|
}
|
|
3832
4795
|
/**
|
|
3833
|
-
* Get the IORM plan from the specific
|
|
4796
|
+
* Get the IORM plan from the specific Exadata storage server.
|
|
3834
4797
|
*
|
|
3835
4798
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3836
4799
|
* @param GetIormPlanRequest
|
|
3837
4800
|
* @return GetIormPlanResponse
|
|
3838
4801
|
* @throws OciError when an error occurs
|
|
3839
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4802
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetIormPlan.ts.html |here} to see how to use GetIormPlan API.
|
|
3840
4803
|
*/
|
|
3841
4804
|
getIormPlan(getIormPlanRequest) {
|
|
3842
4805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3895,7 +4858,7 @@ class DbManagementClient {
|
|
|
3895
4858
|
* @param GetJobRequest
|
|
3896
4859
|
* @return GetJobResponse
|
|
3897
4860
|
* @throws OciError when an error occurs
|
|
3898
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetJob.ts.html |here} to see how to use GetJob API.
|
|
3899
4862
|
*/
|
|
3900
4863
|
getJob(getJobRequest) {
|
|
3901
4864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3964,7 +4927,7 @@ class DbManagementClient {
|
|
|
3964
4927
|
* @param GetJobExecutionRequest
|
|
3965
4928
|
* @return GetJobExecutionResponse
|
|
3966
4929
|
* @throws OciError when an error occurs
|
|
3967
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4930
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetJobExecution.ts.html |here} to see how to use GetJobExecution API.
|
|
3968
4931
|
*/
|
|
3969
4932
|
getJobExecution(getJobExecutionRequest) {
|
|
3970
4933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4023,7 +4986,7 @@ class DbManagementClient {
|
|
|
4023
4986
|
* @param GetJobRunRequest
|
|
4024
4987
|
* @return GetJobRunResponse
|
|
4025
4988
|
* @throws OciError when an error occurs
|
|
4026
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4989
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetJobRun.ts.html |here} to see how to use GetJobRun API.
|
|
4027
4990
|
*/
|
|
4028
4991
|
getJobRun(getJobRunRequest) {
|
|
4029
4992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4082,7 +5045,7 @@ class DbManagementClient {
|
|
|
4082
5045
|
* @param GetManagedDatabaseRequest
|
|
4083
5046
|
* @return GetManagedDatabaseResponse
|
|
4084
5047
|
* @throws OciError when an error occurs
|
|
4085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5048
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetManagedDatabase.ts.html |here} to see how to use GetManagedDatabase API.
|
|
4086
5049
|
*/
|
|
4087
5050
|
getManagedDatabase(getManagedDatabaseRequest) {
|
|
4088
5051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4141,7 +5104,7 @@ class DbManagementClient {
|
|
|
4141
5104
|
* @param GetManagedDatabaseGroupRequest
|
|
4142
5105
|
* @return GetManagedDatabaseGroupResponse
|
|
4143
5106
|
* @throws OciError when an error occurs
|
|
4144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetManagedDatabaseGroup.ts.html |here} to see how to use GetManagedDatabaseGroup API.
|
|
4145
5108
|
*/
|
|
4146
5109
|
getManagedDatabaseGroup(getManagedDatabaseGroupRequest) {
|
|
4147
5110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4199,13 +5162,13 @@ class DbManagementClient {
|
|
|
4199
5162
|
});
|
|
4200
5163
|
}
|
|
4201
5164
|
/**
|
|
4202
|
-
*
|
|
5165
|
+
* Gets the open alerts from the specified Exadata storage server.
|
|
4203
5166
|
*
|
|
4204
5167
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4205
5168
|
* @param GetOpenAlertHistoryRequest
|
|
4206
5169
|
* @return GetOpenAlertHistoryResponse
|
|
4207
5170
|
* @throws OciError when an error occurs
|
|
4208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetOpenAlertHistory.ts.html |here} to see how to use GetOpenAlertHistory API.
|
|
4209
5172
|
*/
|
|
4210
5173
|
getOpenAlertHistory(getOpenAlertHistoryRequest) {
|
|
4211
5174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4265,7 +5228,7 @@ class DbManagementClient {
|
|
|
4265
5228
|
* @param GetOptimizerStatisticsAdvisorExecutionRequest
|
|
4266
5229
|
* @return GetOptimizerStatisticsAdvisorExecutionResponse
|
|
4267
5230
|
* @throws OciError when an error occurs
|
|
4268
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetOptimizerStatisticsAdvisorExecution.ts.html |here} to see how to use GetOptimizerStatisticsAdvisorExecution API.
|
|
4269
5232
|
*/
|
|
4270
5233
|
getOptimizerStatisticsAdvisorExecution(getOptimizerStatisticsAdvisorExecutionRequest) {
|
|
4271
5234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4326,7 +5289,7 @@ class DbManagementClient {
|
|
|
4326
5289
|
* @param GetOptimizerStatisticsAdvisorExecutionScriptRequest
|
|
4327
5290
|
* @return GetOptimizerStatisticsAdvisorExecutionScriptResponse
|
|
4328
5291
|
* @throws OciError when an error occurs
|
|
4329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5292
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetOptimizerStatisticsAdvisorExecutionScript.ts.html |here} to see how to use GetOptimizerStatisticsAdvisorExecutionScript API.
|
|
4330
5293
|
*/
|
|
4331
5294
|
getOptimizerStatisticsAdvisorExecutionScript(getOptimizerStatisticsAdvisorExecutionScriptRequest) {
|
|
4332
5295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4387,7 +5350,7 @@ class DbManagementClient {
|
|
|
4387
5350
|
* @param GetOptimizerStatisticsCollectionOperationRequest
|
|
4388
5351
|
* @return GetOptimizerStatisticsCollectionOperationResponse
|
|
4389
5352
|
* @throws OciError when an error occurs
|
|
4390
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5353
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetOptimizerStatisticsCollectionOperation.ts.html |here} to see how to use GetOptimizerStatisticsCollectionOperation API.
|
|
4391
5354
|
*/
|
|
4392
5355
|
getOptimizerStatisticsCollectionOperation(getOptimizerStatisticsCollectionOperationRequest) {
|
|
4393
5356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4402,16 +5365,144 @@ class DbManagementClient {
|
|
|
4402
5365
|
const queryParams = {};
|
|
4403
5366
|
let headerParams = {
|
|
4404
5367
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4405
|
-
"opc-request-id": getOptimizerStatisticsCollectionOperationRequest.opcRequestId
|
|
5368
|
+
"opc-request-id": getOptimizerStatisticsCollectionOperationRequest.opcRequestId
|
|
5369
|
+
};
|
|
5370
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5371
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getOptimizerStatisticsCollectionOperationRequest.retryConfiguration, specRetryConfiguration);
|
|
5372
|
+
if (this.logger)
|
|
5373
|
+
retrier.logger = this.logger;
|
|
5374
|
+
const request = yield oci_common_1.composeRequest({
|
|
5375
|
+
baseEndpoint: this._endpoint,
|
|
5376
|
+
defaultHeaders: this._defaultHeaders,
|
|
5377
|
+
path: "/managedDatabases/{managedDatabaseId}/optimizerStatisticsCollectionOperations/{optimizerStatisticsCollectionOperationId}",
|
|
5378
|
+
method: "GET",
|
|
5379
|
+
pathParams: pathParams,
|
|
5380
|
+
headerParams: headerParams,
|
|
5381
|
+
queryParams: queryParams
|
|
5382
|
+
});
|
|
5383
|
+
try {
|
|
5384
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5385
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5386
|
+
responseObject: {},
|
|
5387
|
+
body: yield response.json(),
|
|
5388
|
+
bodyKey: "optimizerStatisticsCollectionOperation",
|
|
5389
|
+
bodyModel: model.OptimizerStatisticsCollectionOperation,
|
|
5390
|
+
type: "model.OptimizerStatisticsCollectionOperation",
|
|
5391
|
+
responseHeaders: [
|
|
5392
|
+
{
|
|
5393
|
+
value: response.headers.get("opc-request-id"),
|
|
5394
|
+
key: "opcRequestId",
|
|
5395
|
+
dataType: "string"
|
|
5396
|
+
}
|
|
5397
|
+
]
|
|
5398
|
+
});
|
|
5399
|
+
return sdkResponse;
|
|
5400
|
+
}
|
|
5401
|
+
catch (err) {
|
|
5402
|
+
throw err;
|
|
5403
|
+
}
|
|
5404
|
+
});
|
|
5405
|
+
}
|
|
5406
|
+
/**
|
|
5407
|
+
* Gets a summary of the resource usage metrics such as CPU, User I/O, and Storage for each
|
|
5408
|
+
* PDB within a specific CDB. If comparmentId is specified, then the metrics for
|
|
5409
|
+
* each PDB (within the CDB) in the specified compartment are retrieved.
|
|
5410
|
+
* If compartmentId is not specified, then the metrics for all the PDBs within the CDB are retrieved.
|
|
5411
|
+
*
|
|
5412
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5413
|
+
* @param GetPdbMetricsRequest
|
|
5414
|
+
* @return GetPdbMetricsResponse
|
|
5415
|
+
* @throws OciError when an error occurs
|
|
5416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetPdbMetrics.ts.html |here} to see how to use GetPdbMetrics API.
|
|
5417
|
+
*/
|
|
5418
|
+
getPdbMetrics(getPdbMetricsRequest) {
|
|
5419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5420
|
+
if (this.logger)
|
|
5421
|
+
this.logger.debug("Calling operation DbManagementClient#getPdbMetrics.");
|
|
5422
|
+
const operationName = "getPdbMetrics";
|
|
5423
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/PdbMetrics/GetPdbMetrics";
|
|
5424
|
+
const pathParams = {
|
|
5425
|
+
"{managedDatabaseId}": getPdbMetricsRequest.managedDatabaseId
|
|
5426
|
+
};
|
|
5427
|
+
const queryParams = {
|
|
5428
|
+
"startTime": getPdbMetricsRequest.startTime,
|
|
5429
|
+
"endTime": getPdbMetricsRequest.endTime,
|
|
5430
|
+
"compartmentId": getPdbMetricsRequest.compartmentId,
|
|
5431
|
+
"compareType": getPdbMetricsRequest.compareType,
|
|
5432
|
+
"filterByMetricNames": getPdbMetricsRequest.filterByMetricNames
|
|
5433
|
+
};
|
|
5434
|
+
let headerParams = {
|
|
5435
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5436
|
+
"opc-request-id": getPdbMetricsRequest.opcRequestId
|
|
5437
|
+
};
|
|
5438
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5439
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPdbMetricsRequest.retryConfiguration, specRetryConfiguration);
|
|
5440
|
+
if (this.logger)
|
|
5441
|
+
retrier.logger = this.logger;
|
|
5442
|
+
const request = yield oci_common_1.composeRequest({
|
|
5443
|
+
baseEndpoint: this._endpoint,
|
|
5444
|
+
defaultHeaders: this._defaultHeaders,
|
|
5445
|
+
path: "/managedDatabases/{managedDatabaseId}/pdbMetrics",
|
|
5446
|
+
method: "GET",
|
|
5447
|
+
pathParams: pathParams,
|
|
5448
|
+
headerParams: headerParams,
|
|
5449
|
+
queryParams: queryParams
|
|
5450
|
+
});
|
|
5451
|
+
try {
|
|
5452
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5453
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
5454
|
+
responseObject: {},
|
|
5455
|
+
body: yield response.json(),
|
|
5456
|
+
bodyKey: "pdbMetrics",
|
|
5457
|
+
bodyModel: model.PdbMetrics,
|
|
5458
|
+
type: "model.PdbMetrics",
|
|
5459
|
+
responseHeaders: [
|
|
5460
|
+
{
|
|
5461
|
+
value: response.headers.get("opc-request-id"),
|
|
5462
|
+
key: "opcRequestId",
|
|
5463
|
+
dataType: "string"
|
|
5464
|
+
}
|
|
5465
|
+
]
|
|
5466
|
+
});
|
|
5467
|
+
return sdkResponse;
|
|
5468
|
+
}
|
|
5469
|
+
catch (err) {
|
|
5470
|
+
throw err;
|
|
5471
|
+
}
|
|
5472
|
+
});
|
|
5473
|
+
}
|
|
5474
|
+
/**
|
|
5475
|
+
* Gets the preferred credential details for a Managed Database based on credentialName.
|
|
5476
|
+
*
|
|
5477
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5478
|
+
* @param GetPreferredCredentialRequest
|
|
5479
|
+
* @return GetPreferredCredentialResponse
|
|
5480
|
+
* @throws OciError when an error occurs
|
|
5481
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetPreferredCredential.ts.html |here} to see how to use GetPreferredCredential API.
|
|
5482
|
+
*/
|
|
5483
|
+
getPreferredCredential(getPreferredCredentialRequest) {
|
|
5484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5485
|
+
if (this.logger)
|
|
5486
|
+
this.logger.debug("Calling operation DbManagementClient#getPreferredCredential.");
|
|
5487
|
+
const operationName = "getPreferredCredential";
|
|
5488
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/PreferredCredential/GetPreferredCredential";
|
|
5489
|
+
const pathParams = {
|
|
5490
|
+
"{managedDatabaseId}": getPreferredCredentialRequest.managedDatabaseId,
|
|
5491
|
+
"{credentialName}": getPreferredCredentialRequest.credentialName
|
|
5492
|
+
};
|
|
5493
|
+
const queryParams = {};
|
|
5494
|
+
let headerParams = {
|
|
5495
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5496
|
+
"opc-request-id": getPreferredCredentialRequest.opcRequestId
|
|
4406
5497
|
};
|
|
4407
5498
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4408
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5499
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPreferredCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
4409
5500
|
if (this.logger)
|
|
4410
5501
|
retrier.logger = this.logger;
|
|
4411
5502
|
const request = yield oci_common_1.composeRequest({
|
|
4412
5503
|
baseEndpoint: this._endpoint,
|
|
4413
5504
|
defaultHeaders: this._defaultHeaders,
|
|
4414
|
-
path: "/managedDatabases/{managedDatabaseId}/
|
|
5505
|
+
path: "/managedDatabases/{managedDatabaseId}/preferredCredentials/{credentialName}",
|
|
4415
5506
|
method: "GET",
|
|
4416
5507
|
pathParams: pathParams,
|
|
4417
5508
|
headerParams: headerParams,
|
|
@@ -4422,14 +5513,19 @@ class DbManagementClient {
|
|
|
4422
5513
|
const sdkResponse = oci_common_1.composeResponse({
|
|
4423
5514
|
responseObject: {},
|
|
4424
5515
|
body: yield response.json(),
|
|
4425
|
-
bodyKey: "
|
|
4426
|
-
bodyModel: model.
|
|
4427
|
-
type: "model.
|
|
5516
|
+
bodyKey: "preferredCredential",
|
|
5517
|
+
bodyModel: model.PreferredCredential,
|
|
5518
|
+
type: "model.PreferredCredential",
|
|
4428
5519
|
responseHeaders: [
|
|
4429
5520
|
{
|
|
4430
5521
|
value: response.headers.get("opc-request-id"),
|
|
4431
5522
|
key: "opcRequestId",
|
|
4432
5523
|
dataType: "string"
|
|
5524
|
+
},
|
|
5525
|
+
{
|
|
5526
|
+
value: response.headers.get("etag"),
|
|
5527
|
+
key: "etag",
|
|
5528
|
+
dataType: "string"
|
|
4433
5529
|
}
|
|
4434
5530
|
]
|
|
4435
5531
|
});
|
|
@@ -4441,45 +5537,37 @@ class DbManagementClient {
|
|
|
4441
5537
|
});
|
|
4442
5538
|
}
|
|
4443
5539
|
/**
|
|
4444
|
-
* Gets
|
|
4445
|
-
* PDB within a specific CDB. If comparmentId is specified, then the metrics for
|
|
4446
|
-
* each PDB (within the CDB) in the specified compartment are retrieved.
|
|
4447
|
-
* If compartmentId is not specified, then the metrics for all the PDBs within the CDB are retrieved.
|
|
5540
|
+
* Gets the SQL plan baseline details for the specified planName.
|
|
4448
5541
|
*
|
|
4449
|
-
* This operation
|
|
4450
|
-
* @param
|
|
4451
|
-
* @return
|
|
5542
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5543
|
+
* @param GetSqlPlanBaselineRequest
|
|
5544
|
+
* @return GetSqlPlanBaselineResponse
|
|
4452
5545
|
* @throws OciError when an error occurs
|
|
4453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5546
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetSqlPlanBaseline.ts.html |here} to see how to use GetSqlPlanBaseline API.
|
|
4454
5547
|
*/
|
|
4455
|
-
|
|
5548
|
+
getSqlPlanBaseline(getSqlPlanBaselineRequest) {
|
|
4456
5549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4457
5550
|
if (this.logger)
|
|
4458
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
4459
|
-
const operationName = "
|
|
4460
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
5551
|
+
this.logger.debug("Calling operation DbManagementClient#getSqlPlanBaseline.");
|
|
5552
|
+
const operationName = "getSqlPlanBaseline";
|
|
5553
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/GetSqlPlanBaseline";
|
|
4461
5554
|
const pathParams = {
|
|
4462
|
-
"{managedDatabaseId}":
|
|
4463
|
-
|
|
4464
|
-
const queryParams = {
|
|
4465
|
-
"startTime": getPdbMetricsRequest.startTime,
|
|
4466
|
-
"endTime": getPdbMetricsRequest.endTime,
|
|
4467
|
-
"compartmentId": getPdbMetricsRequest.compartmentId,
|
|
4468
|
-
"compareType": getPdbMetricsRequest.compareType,
|
|
4469
|
-
"filterByMetricNames": getPdbMetricsRequest.filterByMetricNames
|
|
5555
|
+
"{managedDatabaseId}": getSqlPlanBaselineRequest.managedDatabaseId,
|
|
5556
|
+
"{planName}": getSqlPlanBaselineRequest.planName
|
|
4470
5557
|
};
|
|
5558
|
+
const queryParams = {};
|
|
4471
5559
|
let headerParams = {
|
|
4472
5560
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4473
|
-
"opc-request-id":
|
|
5561
|
+
"opc-request-id": getSqlPlanBaselineRequest.opcRequestId
|
|
4474
5562
|
};
|
|
4475
|
-
const specRetryConfiguration = common.
|
|
4476
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5563
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5564
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSqlPlanBaselineRequest.retryConfiguration, specRetryConfiguration);
|
|
4477
5565
|
if (this.logger)
|
|
4478
5566
|
retrier.logger = this.logger;
|
|
4479
5567
|
const request = yield oci_common_1.composeRequest({
|
|
4480
5568
|
baseEndpoint: this._endpoint,
|
|
4481
5569
|
defaultHeaders: this._defaultHeaders,
|
|
4482
|
-
path: "/managedDatabases/{managedDatabaseId}/
|
|
5570
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/{planName}",
|
|
4483
5571
|
method: "GET",
|
|
4484
5572
|
pathParams: pathParams,
|
|
4485
5573
|
headerParams: headerParams,
|
|
@@ -4490,9 +5578,9 @@ class DbManagementClient {
|
|
|
4490
5578
|
const sdkResponse = oci_common_1.composeResponse({
|
|
4491
5579
|
responseObject: {},
|
|
4492
5580
|
body: yield response.json(),
|
|
4493
|
-
bodyKey: "
|
|
4494
|
-
bodyModel: model.
|
|
4495
|
-
type: "model.
|
|
5581
|
+
bodyKey: "sqlPlanBaseline",
|
|
5582
|
+
bodyModel: model.SqlPlanBaseline,
|
|
5583
|
+
type: "model.SqlPlanBaseline",
|
|
4496
5584
|
responseHeaders: [
|
|
4497
5585
|
{
|
|
4498
5586
|
value: response.headers.get("opc-request-id"),
|
|
@@ -4509,37 +5597,38 @@ class DbManagementClient {
|
|
|
4509
5597
|
});
|
|
4510
5598
|
}
|
|
4511
5599
|
/**
|
|
4512
|
-
* Gets the
|
|
5600
|
+
* Gets the configuration details of SQL plan baselines for the specified
|
|
5601
|
+
* Managed Database. The details include the settings for the capture and use of
|
|
5602
|
+
* SQL plan baselines, SPM Evolve Advisor task, and SQL Management Base.
|
|
4513
5603
|
*
|
|
4514
|
-
* This operation
|
|
4515
|
-
* @param
|
|
4516
|
-
* @return
|
|
5604
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5605
|
+
* @param GetSqlPlanBaselineConfigurationRequest
|
|
5606
|
+
* @return GetSqlPlanBaselineConfigurationResponse
|
|
4517
5607
|
* @throws OciError when an error occurs
|
|
4518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetSqlPlanBaselineConfiguration.ts.html |here} to see how to use GetSqlPlanBaselineConfiguration API.
|
|
4519
5609
|
*/
|
|
4520
|
-
|
|
5610
|
+
getSqlPlanBaselineConfiguration(getSqlPlanBaselineConfigurationRequest) {
|
|
4521
5611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4522
5612
|
if (this.logger)
|
|
4523
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
4524
|
-
const operationName = "
|
|
4525
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/
|
|
5613
|
+
this.logger.debug("Calling operation DbManagementClient#getSqlPlanBaselineConfiguration.");
|
|
5614
|
+
const operationName = "getSqlPlanBaselineConfiguration";
|
|
5615
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/GetSqlPlanBaselineConfiguration";
|
|
4526
5616
|
const pathParams = {
|
|
4527
|
-
"{managedDatabaseId}":
|
|
4528
|
-
"{credentialName}": getPreferredCredentialRequest.credentialName
|
|
5617
|
+
"{managedDatabaseId}": getSqlPlanBaselineConfigurationRequest.managedDatabaseId
|
|
4529
5618
|
};
|
|
4530
5619
|
const queryParams = {};
|
|
4531
5620
|
let headerParams = {
|
|
4532
5621
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4533
|
-
"opc-request-id":
|
|
5622
|
+
"opc-request-id": getSqlPlanBaselineConfigurationRequest.opcRequestId
|
|
4534
5623
|
};
|
|
4535
|
-
const specRetryConfiguration = common.
|
|
4536
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
5624
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5625
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSqlPlanBaselineConfigurationRequest.retryConfiguration, specRetryConfiguration);
|
|
4537
5626
|
if (this.logger)
|
|
4538
5627
|
retrier.logger = this.logger;
|
|
4539
5628
|
const request = yield oci_common_1.composeRequest({
|
|
4540
5629
|
baseEndpoint: this._endpoint,
|
|
4541
5630
|
defaultHeaders: this._defaultHeaders,
|
|
4542
|
-
path: "/managedDatabases/{managedDatabaseId}/
|
|
5631
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselineConfiguration",
|
|
4543
5632
|
method: "GET",
|
|
4544
5633
|
pathParams: pathParams,
|
|
4545
5634
|
headerParams: headerParams,
|
|
@@ -4550,19 +5639,14 @@ class DbManagementClient {
|
|
|
4550
5639
|
const sdkResponse = oci_common_1.composeResponse({
|
|
4551
5640
|
responseObject: {},
|
|
4552
5641
|
body: yield response.json(),
|
|
4553
|
-
bodyKey: "
|
|
4554
|
-
bodyModel: model.
|
|
4555
|
-
type: "model.
|
|
5642
|
+
bodyKey: "sqlPlanBaselineConfiguration",
|
|
5643
|
+
bodyModel: model.SqlPlanBaselineConfiguration,
|
|
5644
|
+
type: "model.SqlPlanBaselineConfiguration",
|
|
4556
5645
|
responseHeaders: [
|
|
4557
5646
|
{
|
|
4558
5647
|
value: response.headers.get("opc-request-id"),
|
|
4559
5648
|
key: "opcRequestId",
|
|
4560
5649
|
dataType: "string"
|
|
4561
|
-
},
|
|
4562
|
-
{
|
|
4563
|
-
value: response.headers.get("etag"),
|
|
4564
|
-
key: "etag",
|
|
4565
|
-
dataType: "string"
|
|
4566
5650
|
}
|
|
4567
5651
|
]
|
|
4568
5652
|
});
|
|
@@ -4580,7 +5664,7 @@ class DbManagementClient {
|
|
|
4580
5664
|
* @param GetTablespaceRequest
|
|
4581
5665
|
* @return GetTablespaceResponse
|
|
4582
5666
|
* @throws OciError when an error occurs
|
|
4583
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetTablespace.ts.html |here} to see how to use GetTablespace API.
|
|
4584
5668
|
*/
|
|
4585
5669
|
getTablespace(getTablespaceRequest) {
|
|
4586
5670
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4634,13 +5718,13 @@ class DbManagementClient {
|
|
|
4634
5718
|
});
|
|
4635
5719
|
}
|
|
4636
5720
|
/**
|
|
4637
|
-
*
|
|
5721
|
+
* Gets the SQL IDs with the top CPU activity from the Exadata storage server.
|
|
4638
5722
|
*
|
|
4639
5723
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
4640
5724
|
* @param GetTopSqlCpuActivityRequest
|
|
4641
5725
|
* @return GetTopSqlCpuActivityResponse
|
|
4642
5726
|
* @throws OciError when an error occurs
|
|
4643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5727
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetTopSqlCpuActivity.ts.html |here} to see how to use GetTopSqlCpuActivity API.
|
|
4644
5728
|
*/
|
|
4645
5729
|
getTopSqlCpuActivity(getTopSqlCpuActivityRequest) {
|
|
4646
5730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4699,7 +5783,7 @@ class DbManagementClient {
|
|
|
4699
5783
|
* @param GetUserRequest
|
|
4700
5784
|
* @return GetUserResponse
|
|
4701
5785
|
* @throws OciError when an error occurs
|
|
4702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetUser.ts.html |here} to see how to use GetUser API.
|
|
4703
5787
|
*/
|
|
4704
5788
|
getUser(getUserRequest) {
|
|
4705
5789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4758,7 +5842,7 @@ class DbManagementClient {
|
|
|
4758
5842
|
* @param GetWorkRequestRequest
|
|
4759
5843
|
* @return GetWorkRequestResponse
|
|
4760
5844
|
* @throws OciError when an error occurs
|
|
4761
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5845
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4762
5846
|
*/
|
|
4763
5847
|
getWorkRequest(getWorkRequestRequest) {
|
|
4764
5848
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4821,7 +5905,7 @@ class DbManagementClient {
|
|
|
4821
5905
|
* @param ImplementOptimizerStatisticsAdvisorRecommendationsRequest
|
|
4822
5906
|
* @return ImplementOptimizerStatisticsAdvisorRecommendationsResponse
|
|
4823
5907
|
* @throws OciError when an error occurs
|
|
4824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5908
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ImplementOptimizerStatisticsAdvisorRecommendations.ts.html |here} to see how to use ImplementOptimizerStatisticsAdvisorRecommendations API.
|
|
4825
5909
|
*/
|
|
4826
5910
|
implementOptimizerStatisticsAdvisorRecommendations(implementOptimizerStatisticsAdvisorRecommendationsRequest) {
|
|
4827
5911
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4881,7 +5965,7 @@ class DbManagementClient {
|
|
|
4881
5965
|
* @param ListAsmPropertiesRequest
|
|
4882
5966
|
* @return ListAsmPropertiesResponse
|
|
4883
5967
|
* @throws OciError when an error occurs
|
|
4884
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5968
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAsmProperties.ts.html |here} to see how to use ListAsmProperties API.
|
|
4885
5969
|
*/
|
|
4886
5970
|
listAsmProperties(listAsmPropertiesRequest) {
|
|
4887
5971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4950,7 +6034,7 @@ class DbManagementClient {
|
|
|
4950
6034
|
* @param ListAssociatedDatabasesRequest
|
|
4951
6035
|
* @return ListAssociatedDatabasesResponse
|
|
4952
6036
|
* @throws OciError when an error occurs
|
|
4953
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAssociatedDatabases.ts.html |here} to see how to use ListAssociatedDatabases API.
|
|
4954
6038
|
*/
|
|
4955
6039
|
listAssociatedDatabases(listAssociatedDatabasesRequest) {
|
|
4956
6040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5020,7 +6104,7 @@ class DbManagementClient {
|
|
|
5020
6104
|
* @param ListAwrDbSnapshotsRequest
|
|
5021
6105
|
* @return ListAwrDbSnapshotsResponse
|
|
5022
6106
|
* @throws OciError when an error occurs
|
|
5023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAwrDbSnapshots.ts.html |here} to see how to use ListAwrDbSnapshots API.
|
|
5024
6108
|
*/
|
|
5025
6109
|
listAwrDbSnapshots(listAwrDbSnapshotsRequest) {
|
|
5026
6110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5097,7 +6181,7 @@ class DbManagementClient {
|
|
|
5097
6181
|
* @param ListAwrDbsRequest
|
|
5098
6182
|
* @return ListAwrDbsResponse
|
|
5099
6183
|
* @throws OciError when an error occurs
|
|
5100
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAwrDbs.ts.html |here} to see how to use ListAwrDbs API.
|
|
5101
6185
|
*/
|
|
5102
6186
|
listAwrDbs(listAwrDbsRequest) {
|
|
5103
6187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5169,7 +6253,7 @@ class DbManagementClient {
|
|
|
5169
6253
|
* @param ListConsumerGroupPrivilegesRequest
|
|
5170
6254
|
* @return ListConsumerGroupPrivilegesResponse
|
|
5171
6255
|
* @throws OciError when an error occurs
|
|
5172
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6256
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListConsumerGroupPrivileges.ts.html |here} to see how to use ListConsumerGroupPrivileges API.
|
|
5173
6257
|
*/
|
|
5174
6258
|
listConsumerGroupPrivileges(listConsumerGroupPrivilegesRequest) {
|
|
5175
6259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5233,13 +6317,83 @@ class DbManagementClient {
|
|
|
5233
6317
|
}
|
|
5234
6318
|
});
|
|
5235
6319
|
}
|
|
6320
|
+
/**
|
|
6321
|
+
* Lists the SQL statements from shared SQL area, also called the cursor cache.
|
|
6322
|
+
*
|
|
6323
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6324
|
+
* @param ListCursorCacheStatementsRequest
|
|
6325
|
+
* @return ListCursorCacheStatementsResponse
|
|
6326
|
+
* @throws OciError when an error occurs
|
|
6327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListCursorCacheStatements.ts.html |here} to see how to use ListCursorCacheStatements API.
|
|
6328
|
+
*/
|
|
6329
|
+
listCursorCacheStatements(listCursorCacheStatementsRequest) {
|
|
6330
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6331
|
+
if (this.logger)
|
|
6332
|
+
this.logger.debug("Calling operation DbManagementClient#listCursorCacheStatements.");
|
|
6333
|
+
const operationName = "listCursorCacheStatements";
|
|
6334
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ListCursorCacheStatements";
|
|
6335
|
+
const pathParams = {
|
|
6336
|
+
"{managedDatabaseId}": listCursorCacheStatementsRequest.managedDatabaseId
|
|
6337
|
+
};
|
|
6338
|
+
const queryParams = {
|
|
6339
|
+
"sqlText": listCursorCacheStatementsRequest.sqlText,
|
|
6340
|
+
"page": listCursorCacheStatementsRequest.page,
|
|
6341
|
+
"limit": listCursorCacheStatementsRequest.limit,
|
|
6342
|
+
"sortBy": listCursorCacheStatementsRequest.sortBy,
|
|
6343
|
+
"sortOrder": listCursorCacheStatementsRequest.sortOrder
|
|
6344
|
+
};
|
|
6345
|
+
let headerParams = {
|
|
6346
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6347
|
+
"opc-request-id": listCursorCacheStatementsRequest.opcRequestId
|
|
6348
|
+
};
|
|
6349
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6350
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCursorCacheStatementsRequest.retryConfiguration, specRetryConfiguration);
|
|
6351
|
+
if (this.logger)
|
|
6352
|
+
retrier.logger = this.logger;
|
|
6353
|
+
const request = yield oci_common_1.composeRequest({
|
|
6354
|
+
baseEndpoint: this._endpoint,
|
|
6355
|
+
defaultHeaders: this._defaultHeaders,
|
|
6356
|
+
path: "/managedDatabases/{managedDatabaseId}/cursorCacheStatements",
|
|
6357
|
+
method: "GET",
|
|
6358
|
+
pathParams: pathParams,
|
|
6359
|
+
headerParams: headerParams,
|
|
6360
|
+
queryParams: queryParams
|
|
6361
|
+
});
|
|
6362
|
+
try {
|
|
6363
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6364
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
6365
|
+
responseObject: {},
|
|
6366
|
+
body: yield response.json(),
|
|
6367
|
+
bodyKey: "cursorCacheStatementCollection",
|
|
6368
|
+
bodyModel: model.CursorCacheStatementCollection,
|
|
6369
|
+
type: "model.CursorCacheStatementCollection",
|
|
6370
|
+
responseHeaders: [
|
|
6371
|
+
{
|
|
6372
|
+
value: response.headers.get("opc-request-id"),
|
|
6373
|
+
key: "opcRequestId",
|
|
6374
|
+
dataType: "string"
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
value: response.headers.get("opc-next-page"),
|
|
6378
|
+
key: "opcNextPage",
|
|
6379
|
+
dataType: "string"
|
|
6380
|
+
}
|
|
6381
|
+
]
|
|
6382
|
+
});
|
|
6383
|
+
return sdkResponse;
|
|
6384
|
+
}
|
|
6385
|
+
catch (err) {
|
|
6386
|
+
throw err;
|
|
6387
|
+
}
|
|
6388
|
+
});
|
|
6389
|
+
}
|
|
5236
6390
|
/**
|
|
5237
6391
|
* Gets the list of containers for a specific user. This is only applicable if ALL_CONTAINERS !='Y'.
|
|
5238
6392
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5239
6393
|
* @param ListDataAccessContainersRequest
|
|
5240
6394
|
* @return ListDataAccessContainersResponse
|
|
5241
6395
|
* @throws OciError when an error occurs
|
|
5242
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListDataAccessContainers.ts.html |here} to see how to use ListDataAccessContainers API.
|
|
5243
6397
|
*/
|
|
5244
6398
|
listDataAccessContainers(listDataAccessContainersRequest) {
|
|
5245
6399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5310,7 +6464,7 @@ class DbManagementClient {
|
|
|
5310
6464
|
* @param ListDatabaseParametersRequest
|
|
5311
6465
|
* @return ListDatabaseParametersResponse
|
|
5312
6466
|
* @throws OciError when an error occurs
|
|
5313
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6467
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListDatabaseParameters.ts.html |here} to see how to use ListDatabaseParameters API.
|
|
5314
6468
|
*/
|
|
5315
6469
|
listDatabaseParameters(listDatabaseParametersRequest) {
|
|
5316
6470
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5375,7 +6529,7 @@ class DbManagementClient {
|
|
|
5375
6529
|
* @param ListDbManagementPrivateEndpointsRequest
|
|
5376
6530
|
* @return ListDbManagementPrivateEndpointsResponse
|
|
5377
6531
|
* @throws OciError when an error occurs
|
|
5378
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6532
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListDbManagementPrivateEndpoints.ts.html |here} to see how to use ListDbManagementPrivateEndpoints API.
|
|
5379
6533
|
*/
|
|
5380
6534
|
listDbManagementPrivateEndpoints(listDbManagementPrivateEndpointsRequest) {
|
|
5381
6535
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5447,7 +6601,7 @@ class DbManagementClient {
|
|
|
5447
6601
|
* @param ListExternalAsmDiskGroupsRequest
|
|
5448
6602
|
* @return ListExternalAsmDiskGroupsResponse
|
|
5449
6603
|
* @throws OciError when an error occurs
|
|
5450
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalAsmDiskGroups.ts.html |here} to see how to use ListExternalAsmDiskGroups API.
|
|
5451
6605
|
*/
|
|
5452
6606
|
listExternalAsmDiskGroups(listExternalAsmDiskGroupsRequest) {
|
|
5453
6607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5515,7 +6669,7 @@ class DbManagementClient {
|
|
|
5515
6669
|
* @param ListExternalAsmInstancesRequest
|
|
5516
6670
|
* @return ListExternalAsmInstancesResponse
|
|
5517
6671
|
* @throws OciError when an error occurs
|
|
5518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6672
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalAsmInstances.ts.html |here} to see how to use ListExternalAsmInstances API.
|
|
5519
6673
|
*/
|
|
5520
6674
|
listExternalAsmInstances(listExternalAsmInstancesRequest) {
|
|
5521
6675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5585,7 +6739,7 @@ class DbManagementClient {
|
|
|
5585
6739
|
* @param ListExternalAsmUsersRequest
|
|
5586
6740
|
* @return ListExternalAsmUsersResponse
|
|
5587
6741
|
* @throws OciError when an error occurs
|
|
5588
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalAsmUsers.ts.html |here} to see how to use ListExternalAsmUsers API.
|
|
5589
6743
|
*/
|
|
5590
6744
|
listExternalAsmUsers(listExternalAsmUsersRequest) {
|
|
5591
6745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5653,7 +6807,7 @@ class DbManagementClient {
|
|
|
5653
6807
|
* @param ListExternalAsmsRequest
|
|
5654
6808
|
* @return ListExternalAsmsResponse
|
|
5655
6809
|
* @throws OciError when an error occurs
|
|
5656
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6810
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalAsms.ts.html |here} to see how to use ListExternalAsms API.
|
|
5657
6811
|
*/
|
|
5658
6812
|
listExternalAsms(listExternalAsmsRequest) {
|
|
5659
6813
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5722,7 +6876,7 @@ class DbManagementClient {
|
|
|
5722
6876
|
* @param ListExternalClusterInstancesRequest
|
|
5723
6877
|
* @return ListExternalClusterInstancesResponse
|
|
5724
6878
|
* @throws OciError when an error occurs
|
|
5725
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6879
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalClusterInstances.ts.html |here} to see how to use ListExternalClusterInstances API.
|
|
5726
6880
|
*/
|
|
5727
6881
|
listExternalClusterInstances(listExternalClusterInstancesRequest) {
|
|
5728
6882
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5791,7 +6945,7 @@ class DbManagementClient {
|
|
|
5791
6945
|
* @param ListExternalClustersRequest
|
|
5792
6946
|
* @return ListExternalClustersResponse
|
|
5793
6947
|
* @throws OciError when an error occurs
|
|
5794
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6948
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalClusters.ts.html |here} to see how to use ListExternalClusters API.
|
|
5795
6949
|
*/
|
|
5796
6950
|
listExternalClusters(listExternalClustersRequest) {
|
|
5797
6951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5860,7 +7014,7 @@ class DbManagementClient {
|
|
|
5860
7014
|
* @param ListExternalDatabasesRequest
|
|
5861
7015
|
* @return ListExternalDatabasesResponse
|
|
5862
7016
|
* @throws OciError when an error occurs
|
|
5863
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7017
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDatabases.ts.html |here} to see how to use ListExternalDatabases API.
|
|
5864
7018
|
*/
|
|
5865
7019
|
listExternalDatabases(listExternalDatabasesRequest) {
|
|
5866
7020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5929,7 +7083,7 @@ class DbManagementClient {
|
|
|
5929
7083
|
* @param ListExternalDbHomesRequest
|
|
5930
7084
|
* @return ListExternalDbHomesResponse
|
|
5931
7085
|
* @throws OciError when an error occurs
|
|
5932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7086
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDbHomes.ts.html |here} to see how to use ListExternalDbHomes API.
|
|
5933
7087
|
*/
|
|
5934
7088
|
listExternalDbHomes(listExternalDbHomesRequest) {
|
|
5935
7089
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5998,7 +7152,7 @@ class DbManagementClient {
|
|
|
5998
7152
|
* @param ListExternalDbNodesRequest
|
|
5999
7153
|
* @return ListExternalDbNodesResponse
|
|
6000
7154
|
* @throws OciError when an error occurs
|
|
6001
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7155
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDbNodes.ts.html |here} to see how to use ListExternalDbNodes API.
|
|
6002
7156
|
*/
|
|
6003
7157
|
listExternalDbNodes(listExternalDbNodesRequest) {
|
|
6004
7158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6067,7 +7221,7 @@ class DbManagementClient {
|
|
|
6067
7221
|
* @param ListExternalDbSystemConnectorsRequest
|
|
6068
7222
|
* @return ListExternalDbSystemConnectorsResponse
|
|
6069
7223
|
* @throws OciError when an error occurs
|
|
6070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDbSystemConnectors.ts.html |here} to see how to use ListExternalDbSystemConnectors API.
|
|
6071
7225
|
*/
|
|
6072
7226
|
listExternalDbSystemConnectors(listExternalDbSystemConnectorsRequest) {
|
|
6073
7227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6136,7 +7290,7 @@ class DbManagementClient {
|
|
|
6136
7290
|
* @param ListExternalDbSystemDiscoveriesRequest
|
|
6137
7291
|
* @return ListExternalDbSystemDiscoveriesResponse
|
|
6138
7292
|
* @throws OciError when an error occurs
|
|
6139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDbSystemDiscoveries.ts.html |here} to see how to use ListExternalDbSystemDiscoveries API.
|
|
6140
7294
|
*/
|
|
6141
7295
|
listExternalDbSystemDiscoveries(listExternalDbSystemDiscoveriesRequest) {
|
|
6142
7296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6204,7 +7358,7 @@ class DbManagementClient {
|
|
|
6204
7358
|
* @param ListExternalDbSystemsRequest
|
|
6205
7359
|
* @return ListExternalDbSystemsResponse
|
|
6206
7360
|
* @throws OciError when an error occurs
|
|
6207
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7361
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalDbSystems.ts.html |here} to see how to use ListExternalDbSystems API.
|
|
6208
7362
|
*/
|
|
6209
7363
|
listExternalDbSystems(listExternalDbSystemsRequest) {
|
|
6210
7364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6267,13 +7421,13 @@ class DbManagementClient {
|
|
|
6267
7421
|
});
|
|
6268
7422
|
}
|
|
6269
7423
|
/**
|
|
6270
|
-
* Lists the Exadata
|
|
7424
|
+
* Lists the Exadata infrastructure resources in the specified compartment.
|
|
6271
7425
|
*
|
|
6272
7426
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6273
7427
|
* @param ListExternalExadataInfrastructuresRequest
|
|
6274
7428
|
* @return ListExternalExadataInfrastructuresResponse
|
|
6275
7429
|
* @throws OciError when an error occurs
|
|
6276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalExadataInfrastructures.ts.html |here} to see how to use ListExternalExadataInfrastructures API.
|
|
6277
7431
|
*/
|
|
6278
7432
|
listExternalExadataInfrastructures(listExternalExadataInfrastructuresRequest) {
|
|
6279
7433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6336,13 +7490,13 @@ class DbManagementClient {
|
|
|
6336
7490
|
});
|
|
6337
7491
|
}
|
|
6338
7492
|
/**
|
|
6339
|
-
* Lists the connectors for the
|
|
7493
|
+
* Lists the Exadata storage server connectors for the specified Exadata infrastructure.
|
|
6340
7494
|
*
|
|
6341
7495
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6342
7496
|
* @param ListExternalExadataStorageConnectorsRequest
|
|
6343
7497
|
* @return ListExternalExadataStorageConnectorsResponse
|
|
6344
7498
|
* @throws OciError when an error occurs
|
|
6345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalExadataStorageConnectors.ts.html |here} to see how to use ListExternalExadataStorageConnectors API.
|
|
6346
7500
|
*/
|
|
6347
7501
|
listExternalExadataStorageConnectors(listExternalExadataStorageConnectorsRequest) {
|
|
6348
7502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6406,13 +7560,13 @@ class DbManagementClient {
|
|
|
6406
7560
|
});
|
|
6407
7561
|
}
|
|
6408
7562
|
/**
|
|
6409
|
-
* Lists
|
|
7563
|
+
* Lists the Exadata storage servers for the specified Exadata infrastructure.
|
|
6410
7564
|
*
|
|
6411
7565
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6412
7566
|
* @param ListExternalExadataStorageServersRequest
|
|
6413
7567
|
* @return ListExternalExadataStorageServersResponse
|
|
6414
7568
|
* @throws OciError when an error occurs
|
|
6415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7569
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalExadataStorageServers.ts.html |here} to see how to use ListExternalExadataStorageServers API.
|
|
6416
7570
|
*/
|
|
6417
7571
|
listExternalExadataStorageServers(listExternalExadataStorageServersRequest) {
|
|
6418
7572
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6483,7 +7637,7 @@ class DbManagementClient {
|
|
|
6483
7637
|
* @param ListExternalListenerServicesRequest
|
|
6484
7638
|
* @return ListExternalListenerServicesResponse
|
|
6485
7639
|
* @throws OciError when an error occurs
|
|
6486
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7640
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalListenerServices.ts.html |here} to see how to use ListExternalListenerServices API.
|
|
6487
7641
|
*/
|
|
6488
7642
|
listExternalListenerServices(listExternalListenerServicesRequest) {
|
|
6489
7643
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6552,7 +7706,7 @@ class DbManagementClient {
|
|
|
6552
7706
|
* @param ListExternalListenersRequest
|
|
6553
7707
|
* @return ListExternalListenersResponse
|
|
6554
7708
|
* @throws OciError when an error occurs
|
|
6555
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7709
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListExternalListeners.ts.html |here} to see how to use ListExternalListeners API.
|
|
6556
7710
|
*/
|
|
6557
7711
|
listExternalListeners(listExternalListenersRequest) {
|
|
6558
7712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6625,7 +7779,7 @@ class DbManagementClient {
|
|
|
6625
7779
|
* @param ListJobExecutionsRequest
|
|
6626
7780
|
* @return ListJobExecutionsResponse
|
|
6627
7781
|
* @throws OciError when an error occurs
|
|
6628
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7782
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListJobExecutions.ts.html |here} to see how to use ListJobExecutions API.
|
|
6629
7783
|
*/
|
|
6630
7784
|
listJobExecutions(listJobExecutionsRequest) {
|
|
6631
7785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6703,7 +7857,7 @@ class DbManagementClient {
|
|
|
6703
7857
|
* @param ListJobRunsRequest
|
|
6704
7858
|
* @return ListJobRunsResponse
|
|
6705
7859
|
* @throws OciError when an error occurs
|
|
6706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListJobRuns.ts.html |here} to see how to use ListJobRuns API.
|
|
6707
7861
|
*/
|
|
6708
7862
|
listJobRuns(listJobRunsRequest) {
|
|
6709
7863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6780,7 +7934,7 @@ class DbManagementClient {
|
|
|
6780
7934
|
* @param ListJobsRequest
|
|
6781
7935
|
* @return ListJobsResponse
|
|
6782
7936
|
* @throws OciError when an error occurs
|
|
6783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7937
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListJobs.ts.html |here} to see how to use ListJobs API.
|
|
6784
7938
|
*/
|
|
6785
7939
|
listJobs(listJobsRequest) {
|
|
6786
7940
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6856,7 +8010,7 @@ class DbManagementClient {
|
|
|
6856
8010
|
* @param ListManagedDatabaseGroupsRequest
|
|
6857
8011
|
* @return ListManagedDatabaseGroupsResponse
|
|
6858
8012
|
* @throws OciError when an error occurs
|
|
6859
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListManagedDatabaseGroups.ts.html |here} to see how to use ListManagedDatabaseGroups API.
|
|
6860
8014
|
*/
|
|
6861
8015
|
listManagedDatabaseGroups(listManagedDatabaseGroupsRequest) {
|
|
6862
8016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6932,7 +8086,7 @@ class DbManagementClient {
|
|
|
6932
8086
|
* @param ListManagedDatabasesRequest
|
|
6933
8087
|
* @return ListManagedDatabasesResponse
|
|
6934
8088
|
* @throws OciError when an error occurs
|
|
6935
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListManagedDatabases.ts.html |here} to see how to use ListManagedDatabases API.
|
|
6936
8090
|
*/
|
|
6937
8091
|
listManagedDatabases(listManagedDatabasesRequest) {
|
|
6938
8092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7004,7 +8158,7 @@ class DbManagementClient {
|
|
|
7004
8158
|
* @param ListObjectPrivilegesRequest
|
|
7005
8159
|
* @return ListObjectPrivilegesResponse
|
|
7006
8160
|
* @throws OciError when an error occurs
|
|
7007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListObjectPrivileges.ts.html |here} to see how to use ListObjectPrivileges API.
|
|
7008
8162
|
*/
|
|
7009
8163
|
listObjectPrivileges(listObjectPrivilegesRequest) {
|
|
7010
8164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7077,7 +8231,7 @@ class DbManagementClient {
|
|
|
7077
8231
|
* @param ListOptimizerStatisticsAdvisorExecutionsRequest
|
|
7078
8232
|
* @return ListOptimizerStatisticsAdvisorExecutionsResponse
|
|
7079
8233
|
* @throws OciError when an error occurs
|
|
7080
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8234
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListOptimizerStatisticsAdvisorExecutions.ts.html |here} to see how to use ListOptimizerStatisticsAdvisorExecutions API.
|
|
7081
8235
|
*/
|
|
7082
8236
|
listOptimizerStatisticsAdvisorExecutions(listOptimizerStatisticsAdvisorExecutionsRequest) {
|
|
7083
8237
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7144,7 +8298,7 @@ class DbManagementClient {
|
|
|
7144
8298
|
* @param ListOptimizerStatisticsCollectionAggregationsRequest
|
|
7145
8299
|
* @return ListOptimizerStatisticsCollectionAggregationsResponse
|
|
7146
8300
|
* @throws OciError when an error occurs
|
|
7147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListOptimizerStatisticsCollectionAggregations.ts.html |here} to see how to use ListOptimizerStatisticsCollectionAggregations API.
|
|
7148
8302
|
*/
|
|
7149
8303
|
listOptimizerStatisticsCollectionAggregations(listOptimizerStatisticsCollectionAggregationsRequest) {
|
|
7150
8304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7221,7 +8375,7 @@ class DbManagementClient {
|
|
|
7221
8375
|
* @param ListOptimizerStatisticsCollectionOperationsRequest
|
|
7222
8376
|
* @return ListOptimizerStatisticsCollectionOperationsResponse
|
|
7223
8377
|
* @throws OciError when an error occurs
|
|
7224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListOptimizerStatisticsCollectionOperations.ts.html |here} to see how to use ListOptimizerStatisticsCollectionOperations API.
|
|
7225
8379
|
*/
|
|
7226
8380
|
listOptimizerStatisticsCollectionOperations(listOptimizerStatisticsCollectionOperationsRequest) {
|
|
7227
8381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7294,7 +8448,7 @@ class DbManagementClient {
|
|
|
7294
8448
|
* @param ListPreferredCredentialsRequest
|
|
7295
8449
|
* @return ListPreferredCredentialsResponse
|
|
7296
8450
|
* @throws OciError when an error occurs
|
|
7297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListPreferredCredentials.ts.html |here} to see how to use ListPreferredCredentials API.
|
|
7298
8452
|
*/
|
|
7299
8453
|
listPreferredCredentials(listPreferredCredentialsRequest) {
|
|
7300
8454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7357,7 +8511,7 @@ class DbManagementClient {
|
|
|
7357
8511
|
* @param ListProxiedForUsersRequest
|
|
7358
8512
|
* @return ListProxiedForUsersResponse
|
|
7359
8513
|
* @throws OciError when an error occurs
|
|
7360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8514
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListProxiedForUsers.ts.html |here} to see how to use ListProxiedForUsers API.
|
|
7361
8515
|
*/
|
|
7362
8516
|
listProxiedForUsers(listProxiedForUsersRequest) {
|
|
7363
8517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7422,42 +8576,182 @@ class DbManagementClient {
|
|
|
7422
8576
|
});
|
|
7423
8577
|
}
|
|
7424
8578
|
/**
|
|
7425
|
-
* Gets the list of proxy users for the current user.
|
|
7426
|
-
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7427
|
-
* @param ListProxyUsersRequest
|
|
7428
|
-
* @return ListProxyUsersResponse
|
|
8579
|
+
* Gets the list of proxy users for the current user.
|
|
8580
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8581
|
+
* @param ListProxyUsersRequest
|
|
8582
|
+
* @return ListProxyUsersResponse
|
|
8583
|
+
* @throws OciError when an error occurs
|
|
8584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListProxyUsers.ts.html |here} to see how to use ListProxyUsers API.
|
|
8585
|
+
*/
|
|
8586
|
+
listProxyUsers(listProxyUsersRequest) {
|
|
8587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8588
|
+
if (this.logger)
|
|
8589
|
+
this.logger.debug("Calling operation DbManagementClient#listProxyUsers.");
|
|
8590
|
+
const operationName = "listProxyUsers";
|
|
8591
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ListProxyUsers";
|
|
8592
|
+
const pathParams = {
|
|
8593
|
+
"{managedDatabaseId}": listProxyUsersRequest.managedDatabaseId,
|
|
8594
|
+
"{userName}": listProxyUsersRequest.userName
|
|
8595
|
+
};
|
|
8596
|
+
const queryParams = {
|
|
8597
|
+
"name": listProxyUsersRequest.name,
|
|
8598
|
+
"sortBy": listProxyUsersRequest.sortBy,
|
|
8599
|
+
"sortOrder": listProxyUsersRequest.sortOrder,
|
|
8600
|
+
"limit": listProxyUsersRequest.limit,
|
|
8601
|
+
"page": listProxyUsersRequest.page
|
|
8602
|
+
};
|
|
8603
|
+
let headerParams = {
|
|
8604
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8605
|
+
"opc-request-id": listProxyUsersRequest.opcRequestId
|
|
8606
|
+
};
|
|
8607
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8608
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProxyUsersRequest.retryConfiguration, specRetryConfiguration);
|
|
8609
|
+
if (this.logger)
|
|
8610
|
+
retrier.logger = this.logger;
|
|
8611
|
+
const request = yield oci_common_1.composeRequest({
|
|
8612
|
+
baseEndpoint: this._endpoint,
|
|
8613
|
+
defaultHeaders: this._defaultHeaders,
|
|
8614
|
+
path: "/managedDatabases/{managedDatabaseId}/users/{userName}/proxyUsers",
|
|
8615
|
+
method: "GET",
|
|
8616
|
+
pathParams: pathParams,
|
|
8617
|
+
headerParams: headerParams,
|
|
8618
|
+
queryParams: queryParams
|
|
8619
|
+
});
|
|
8620
|
+
try {
|
|
8621
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8622
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
8623
|
+
responseObject: {},
|
|
8624
|
+
body: yield response.json(),
|
|
8625
|
+
bodyKey: "proxyUserCollection",
|
|
8626
|
+
bodyModel: model.ProxyUserCollection,
|
|
8627
|
+
type: "model.ProxyUserCollection",
|
|
8628
|
+
responseHeaders: [
|
|
8629
|
+
{
|
|
8630
|
+
value: response.headers.get("opc-next-page"),
|
|
8631
|
+
key: "opcNextPage",
|
|
8632
|
+
dataType: "string"
|
|
8633
|
+
},
|
|
8634
|
+
{
|
|
8635
|
+
value: response.headers.get("opc-request-id"),
|
|
8636
|
+
key: "opcRequestId",
|
|
8637
|
+
dataType: "string"
|
|
8638
|
+
}
|
|
8639
|
+
]
|
|
8640
|
+
});
|
|
8641
|
+
return sdkResponse;
|
|
8642
|
+
}
|
|
8643
|
+
catch (err) {
|
|
8644
|
+
throw err;
|
|
8645
|
+
}
|
|
8646
|
+
});
|
|
8647
|
+
}
|
|
8648
|
+
/**
|
|
8649
|
+
* Gets the list of roles granted to a specific user.
|
|
8650
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8651
|
+
* @param ListRolesRequest
|
|
8652
|
+
* @return ListRolesResponse
|
|
8653
|
+
* @throws OciError when an error occurs
|
|
8654
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListRoles.ts.html |here} to see how to use ListRoles API.
|
|
8655
|
+
*/
|
|
8656
|
+
listRoles(listRolesRequest) {
|
|
8657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8658
|
+
if (this.logger)
|
|
8659
|
+
this.logger.debug("Calling operation DbManagementClient#listRoles.");
|
|
8660
|
+
const operationName = "listRoles";
|
|
8661
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ListRoles";
|
|
8662
|
+
const pathParams = {
|
|
8663
|
+
"{managedDatabaseId}": listRolesRequest.managedDatabaseId,
|
|
8664
|
+
"{userName}": listRolesRequest.userName
|
|
8665
|
+
};
|
|
8666
|
+
const queryParams = {
|
|
8667
|
+
"name": listRolesRequest.name,
|
|
8668
|
+
"sortBy": listRolesRequest.sortBy,
|
|
8669
|
+
"sortOrder": listRolesRequest.sortOrder,
|
|
8670
|
+
"limit": listRolesRequest.limit,
|
|
8671
|
+
"page": listRolesRequest.page
|
|
8672
|
+
};
|
|
8673
|
+
let headerParams = {
|
|
8674
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8675
|
+
"opc-request-id": listRolesRequest.opcRequestId
|
|
8676
|
+
};
|
|
8677
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8678
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRolesRequest.retryConfiguration, specRetryConfiguration);
|
|
8679
|
+
if (this.logger)
|
|
8680
|
+
retrier.logger = this.logger;
|
|
8681
|
+
const request = yield oci_common_1.composeRequest({
|
|
8682
|
+
baseEndpoint: this._endpoint,
|
|
8683
|
+
defaultHeaders: this._defaultHeaders,
|
|
8684
|
+
path: "/managedDatabases/{managedDatabaseId}/users/{userName}/roles",
|
|
8685
|
+
method: "GET",
|
|
8686
|
+
pathParams: pathParams,
|
|
8687
|
+
headerParams: headerParams,
|
|
8688
|
+
queryParams: queryParams
|
|
8689
|
+
});
|
|
8690
|
+
try {
|
|
8691
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8692
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
8693
|
+
responseObject: {},
|
|
8694
|
+
body: yield response.json(),
|
|
8695
|
+
bodyKey: "roleCollection",
|
|
8696
|
+
bodyModel: model.RoleCollection,
|
|
8697
|
+
type: "model.RoleCollection",
|
|
8698
|
+
responseHeaders: [
|
|
8699
|
+
{
|
|
8700
|
+
value: response.headers.get("opc-next-page"),
|
|
8701
|
+
key: "opcNextPage",
|
|
8702
|
+
dataType: "string"
|
|
8703
|
+
},
|
|
8704
|
+
{
|
|
8705
|
+
value: response.headers.get("opc-request-id"),
|
|
8706
|
+
key: "opcRequestId",
|
|
8707
|
+
dataType: "string"
|
|
8708
|
+
}
|
|
8709
|
+
]
|
|
8710
|
+
});
|
|
8711
|
+
return sdkResponse;
|
|
8712
|
+
}
|
|
8713
|
+
catch (err) {
|
|
8714
|
+
throw err;
|
|
8715
|
+
}
|
|
8716
|
+
});
|
|
8717
|
+
}
|
|
8718
|
+
/**
|
|
8719
|
+
* Lists the database jobs used for loading SQL plan baselines in the specified Managed Database.
|
|
8720
|
+
*
|
|
8721
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8722
|
+
* @param ListSqlPlanBaselineJobsRequest
|
|
8723
|
+
* @return ListSqlPlanBaselineJobsResponse
|
|
7429
8724
|
* @throws OciError when an error occurs
|
|
7430
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlPlanBaselineJobs.ts.html |here} to see how to use ListSqlPlanBaselineJobs API.
|
|
7431
8726
|
*/
|
|
7432
|
-
|
|
8727
|
+
listSqlPlanBaselineJobs(listSqlPlanBaselineJobsRequest) {
|
|
7433
8728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7434
8729
|
if (this.logger)
|
|
7435
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
7436
|
-
const operationName = "
|
|
7437
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/
|
|
8730
|
+
this.logger.debug("Calling operation DbManagementClient#listSqlPlanBaselineJobs.");
|
|
8731
|
+
const operationName = "listSqlPlanBaselineJobs";
|
|
8732
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ListSqlPlanBaselineJobs";
|
|
7438
8733
|
const pathParams = {
|
|
7439
|
-
"{managedDatabaseId}":
|
|
7440
|
-
"{userName}": listProxyUsersRequest.userName
|
|
8734
|
+
"{managedDatabaseId}": listSqlPlanBaselineJobsRequest.managedDatabaseId
|
|
7441
8735
|
};
|
|
7442
8736
|
const queryParams = {
|
|
7443
|
-
"name":
|
|
7444
|
-
"
|
|
7445
|
-
"
|
|
7446
|
-
"
|
|
7447
|
-
"
|
|
8737
|
+
"name": listSqlPlanBaselineJobsRequest.name,
|
|
8738
|
+
"page": listSqlPlanBaselineJobsRequest.page,
|
|
8739
|
+
"limit": listSqlPlanBaselineJobsRequest.limit,
|
|
8740
|
+
"sortBy": listSqlPlanBaselineJobsRequest.sortBy,
|
|
8741
|
+
"sortOrder": listSqlPlanBaselineJobsRequest.sortOrder
|
|
7448
8742
|
};
|
|
7449
8743
|
let headerParams = {
|
|
7450
8744
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7451
|
-
"opc-request-id":
|
|
8745
|
+
"opc-request-id": listSqlPlanBaselineJobsRequest.opcRequestId
|
|
7452
8746
|
};
|
|
7453
|
-
const specRetryConfiguration = common.
|
|
7454
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
8747
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8748
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlPlanBaselineJobsRequest.retryConfiguration, specRetryConfiguration);
|
|
7455
8749
|
if (this.logger)
|
|
7456
8750
|
retrier.logger = this.logger;
|
|
7457
8751
|
const request = yield oci_common_1.composeRequest({
|
|
7458
8752
|
baseEndpoint: this._endpoint,
|
|
7459
8753
|
defaultHeaders: this._defaultHeaders,
|
|
7460
|
-
path: "/managedDatabases/{managedDatabaseId}/
|
|
8754
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselineJobs",
|
|
7461
8755
|
method: "GET",
|
|
7462
8756
|
pathParams: pathParams,
|
|
7463
8757
|
headerParams: headerParams,
|
|
@@ -7468,18 +8762,18 @@ class DbManagementClient {
|
|
|
7468
8762
|
const sdkResponse = oci_common_1.composeResponse({
|
|
7469
8763
|
responseObject: {},
|
|
7470
8764
|
body: yield response.json(),
|
|
7471
|
-
bodyKey: "
|
|
7472
|
-
bodyModel: model.
|
|
7473
|
-
type: "model.
|
|
8765
|
+
bodyKey: "sqlPlanBaselineJobCollection",
|
|
8766
|
+
bodyModel: model.SqlPlanBaselineJobCollection,
|
|
8767
|
+
type: "model.SqlPlanBaselineJobCollection",
|
|
7474
8768
|
responseHeaders: [
|
|
7475
8769
|
{
|
|
7476
|
-
value: response.headers.get("opc-
|
|
7477
|
-
key: "
|
|
8770
|
+
value: response.headers.get("opc-request-id"),
|
|
8771
|
+
key: "opcRequestId",
|
|
7478
8772
|
dataType: "string"
|
|
7479
8773
|
},
|
|
7480
8774
|
{
|
|
7481
|
-
value: response.headers.get("opc-
|
|
7482
|
-
key: "
|
|
8775
|
+
value: response.headers.get("opc-next-page"),
|
|
8776
|
+
key: "opcNextPage",
|
|
7483
8777
|
dataType: "string"
|
|
7484
8778
|
}
|
|
7485
8779
|
]
|
|
@@ -7492,42 +8786,50 @@ class DbManagementClient {
|
|
|
7492
8786
|
});
|
|
7493
8787
|
}
|
|
7494
8788
|
/**
|
|
7495
|
-
*
|
|
7496
|
-
*
|
|
7497
|
-
* @
|
|
7498
|
-
* @
|
|
8789
|
+
* Lists the SQL plan baselines for the specified Managed Database.
|
|
8790
|
+
*
|
|
8791
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8792
|
+
* @param ListSqlPlanBaselinesRequest
|
|
8793
|
+
* @return ListSqlPlanBaselinesResponse
|
|
7499
8794
|
* @throws OciError when an error occurs
|
|
7500
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8795
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlPlanBaselines.ts.html |here} to see how to use ListSqlPlanBaselines API.
|
|
7501
8796
|
*/
|
|
7502
|
-
|
|
8797
|
+
listSqlPlanBaselines(listSqlPlanBaselinesRequest) {
|
|
7503
8798
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7504
8799
|
if (this.logger)
|
|
7505
|
-
this.logger.debug("Calling operation DbManagementClient#
|
|
7506
|
-
const operationName = "
|
|
7507
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/
|
|
8800
|
+
this.logger.debug("Calling operation DbManagementClient#listSqlPlanBaselines.");
|
|
8801
|
+
const operationName = "listSqlPlanBaselines";
|
|
8802
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/ListSqlPlanBaselines";
|
|
7508
8803
|
const pathParams = {
|
|
7509
|
-
"{managedDatabaseId}":
|
|
7510
|
-
"{userName}": listRolesRequest.userName
|
|
8804
|
+
"{managedDatabaseId}": listSqlPlanBaselinesRequest.managedDatabaseId
|
|
7511
8805
|
};
|
|
7512
8806
|
const queryParams = {
|
|
7513
|
-
"
|
|
7514
|
-
"
|
|
7515
|
-
"
|
|
7516
|
-
"
|
|
7517
|
-
"
|
|
8807
|
+
"planName": listSqlPlanBaselinesRequest.planName,
|
|
8808
|
+
"sqlHandle": listSqlPlanBaselinesRequest.sqlHandle,
|
|
8809
|
+
"sqlText": listSqlPlanBaselinesRequest.sqlText,
|
|
8810
|
+
"isEnabled": listSqlPlanBaselinesRequest.isEnabled,
|
|
8811
|
+
"isAccepted": listSqlPlanBaselinesRequest.isAccepted,
|
|
8812
|
+
"isReproduced": listSqlPlanBaselinesRequest.isReproduced,
|
|
8813
|
+
"isFixed": listSqlPlanBaselinesRequest.isFixed,
|
|
8814
|
+
"isAdaptive": listSqlPlanBaselinesRequest.isAdaptive,
|
|
8815
|
+
"origin": listSqlPlanBaselinesRequest.origin,
|
|
8816
|
+
"page": listSqlPlanBaselinesRequest.page,
|
|
8817
|
+
"limit": listSqlPlanBaselinesRequest.limit,
|
|
8818
|
+
"sortBy": listSqlPlanBaselinesRequest.sortBy,
|
|
8819
|
+
"sortOrder": listSqlPlanBaselinesRequest.sortOrder
|
|
7518
8820
|
};
|
|
7519
8821
|
let headerParams = {
|
|
7520
8822
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7521
|
-
"opc-request-id":
|
|
8823
|
+
"opc-request-id": listSqlPlanBaselinesRequest.opcRequestId
|
|
7522
8824
|
};
|
|
7523
|
-
const specRetryConfiguration = common.
|
|
7524
|
-
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
8825
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8826
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSqlPlanBaselinesRequest.retryConfiguration, specRetryConfiguration);
|
|
7525
8827
|
if (this.logger)
|
|
7526
8828
|
retrier.logger = this.logger;
|
|
7527
8829
|
const request = yield oci_common_1.composeRequest({
|
|
7528
8830
|
baseEndpoint: this._endpoint,
|
|
7529
8831
|
defaultHeaders: this._defaultHeaders,
|
|
7530
|
-
path: "/managedDatabases/{managedDatabaseId}/
|
|
8832
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines",
|
|
7531
8833
|
method: "GET",
|
|
7532
8834
|
pathParams: pathParams,
|
|
7533
8835
|
headerParams: headerParams,
|
|
@@ -7538,18 +8840,18 @@ class DbManagementClient {
|
|
|
7538
8840
|
const sdkResponse = oci_common_1.composeResponse({
|
|
7539
8841
|
responseObject: {},
|
|
7540
8842
|
body: yield response.json(),
|
|
7541
|
-
bodyKey: "
|
|
7542
|
-
bodyModel: model.
|
|
7543
|
-
type: "model.
|
|
8843
|
+
bodyKey: "sqlPlanBaselineCollection",
|
|
8844
|
+
bodyModel: model.SqlPlanBaselineCollection,
|
|
8845
|
+
type: "model.SqlPlanBaselineCollection",
|
|
7544
8846
|
responseHeaders: [
|
|
7545
8847
|
{
|
|
7546
|
-
value: response.headers.get("opc-
|
|
7547
|
-
key: "
|
|
8848
|
+
value: response.headers.get("opc-request-id"),
|
|
8849
|
+
key: "opcRequestId",
|
|
7548
8850
|
dataType: "string"
|
|
7549
8851
|
},
|
|
7550
8852
|
{
|
|
7551
|
-
value: response.headers.get("opc-
|
|
7552
|
-
key: "
|
|
8853
|
+
value: response.headers.get("opc-next-page"),
|
|
8854
|
+
key: "opcNextPage",
|
|
7553
8855
|
dataType: "string"
|
|
7554
8856
|
}
|
|
7555
8857
|
]
|
|
@@ -7567,7 +8869,7 @@ class DbManagementClient {
|
|
|
7567
8869
|
* @param ListSystemPrivilegesRequest
|
|
7568
8870
|
* @return ListSystemPrivilegesResponse
|
|
7569
8871
|
* @throws OciError when an error occurs
|
|
7570
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8872
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSystemPrivileges.ts.html |here} to see how to use ListSystemPrivileges API.
|
|
7571
8873
|
*/
|
|
7572
8874
|
listSystemPrivileges(listSystemPrivilegesRequest) {
|
|
7573
8875
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7639,7 +8941,7 @@ class DbManagementClient {
|
|
|
7639
8941
|
* @param ListTableStatisticsRequest
|
|
7640
8942
|
* @return ListTableStatisticsResponse
|
|
7641
8943
|
* @throws OciError when an error occurs
|
|
7642
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListTableStatistics.ts.html |here} to see how to use ListTableStatistics API.
|
|
7643
8945
|
*/
|
|
7644
8946
|
listTableStatistics(listTableStatisticsRequest) {
|
|
7645
8947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7697,7 +8999,7 @@ class DbManagementClient {
|
|
|
7697
8999
|
* @param ListTablespacesRequest
|
|
7698
9000
|
* @return ListTablespacesResponse
|
|
7699
9001
|
* @throws OciError when an error occurs
|
|
7700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9002
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListTablespaces.ts.html |here} to see how to use ListTablespaces API.
|
|
7701
9003
|
*/
|
|
7702
9004
|
listTablespaces(listTablespacesRequest) {
|
|
7703
9005
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7766,7 +9068,7 @@ class DbManagementClient {
|
|
|
7766
9068
|
* @param ListUsersRequest
|
|
7767
9069
|
* @return ListUsersResponse
|
|
7768
9070
|
* @throws OciError when an error occurs
|
|
7769
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9071
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
7770
9072
|
*/
|
|
7771
9073
|
listUsers(listUsersRequest) {
|
|
7772
9074
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7836,7 +9138,7 @@ class DbManagementClient {
|
|
|
7836
9138
|
* @param ListWorkRequestErrorsRequest
|
|
7837
9139
|
* @return ListWorkRequestErrorsResponse
|
|
7838
9140
|
* @throws OciError when an error occurs
|
|
7839
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
7840
9142
|
*/
|
|
7841
9143
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
7842
9144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7905,7 +9207,7 @@ class DbManagementClient {
|
|
|
7905
9207
|
* @param ListWorkRequestLogsRequest
|
|
7906
9208
|
* @return ListWorkRequestLogsResponse
|
|
7907
9209
|
* @throws OciError when an error occurs
|
|
7908
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9210
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
7909
9211
|
*/
|
|
7910
9212
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
7911
9213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7974,7 +9276,7 @@ class DbManagementClient {
|
|
|
7974
9276
|
* @param ListWorkRequestsRequest
|
|
7975
9277
|
* @return ListWorkRequestsResponse
|
|
7976
9278
|
* @throws OciError when an error occurs
|
|
7977
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
7978
9280
|
*/
|
|
7979
9281
|
listWorkRequests(listWorkRequestsRequest) {
|
|
7980
9282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8038,6 +9340,132 @@ class DbManagementClient {
|
|
|
8038
9340
|
}
|
|
8039
9341
|
});
|
|
8040
9342
|
}
|
|
9343
|
+
/**
|
|
9344
|
+
* Loads plans from Automatic Workload Repository (AWR) snapshots. You must
|
|
9345
|
+
* specify the beginning and ending of the snapshot range. Optionally, you
|
|
9346
|
+
* can apply a filter to load only plans that meet specified criteria. By
|
|
9347
|
+
* default, the optimizer uses the loaded plans the next time that the database
|
|
9348
|
+
* executes the SQL statements.
|
|
9349
|
+
*
|
|
9350
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9351
|
+
* @param LoadSqlPlanBaselinesFromAwrRequest
|
|
9352
|
+
* @return LoadSqlPlanBaselinesFromAwrResponse
|
|
9353
|
+
* @throws OciError when an error occurs
|
|
9354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/LoadSqlPlanBaselinesFromAwr.ts.html |here} to see how to use LoadSqlPlanBaselinesFromAwr API.
|
|
9355
|
+
*/
|
|
9356
|
+
loadSqlPlanBaselinesFromAwr(loadSqlPlanBaselinesFromAwrRequest) {
|
|
9357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9358
|
+
if (this.logger)
|
|
9359
|
+
this.logger.debug("Calling operation DbManagementClient#loadSqlPlanBaselinesFromAwr.");
|
|
9360
|
+
const operationName = "loadSqlPlanBaselinesFromAwr";
|
|
9361
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/LoadSqlPlanBaselinesFromAwr";
|
|
9362
|
+
const pathParams = {
|
|
9363
|
+
"{managedDatabaseId}": loadSqlPlanBaselinesFromAwrRequest.managedDatabaseId
|
|
9364
|
+
};
|
|
9365
|
+
const queryParams = {};
|
|
9366
|
+
let headerParams = {
|
|
9367
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9368
|
+
"opc-request-id": loadSqlPlanBaselinesFromAwrRequest.opcRequestId
|
|
9369
|
+
};
|
|
9370
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9371
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, loadSqlPlanBaselinesFromAwrRequest.retryConfiguration, specRetryConfiguration);
|
|
9372
|
+
if (this.logger)
|
|
9373
|
+
retrier.logger = this.logger;
|
|
9374
|
+
const request = yield oci_common_1.composeRequest({
|
|
9375
|
+
baseEndpoint: this._endpoint,
|
|
9376
|
+
defaultHeaders: this._defaultHeaders,
|
|
9377
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/loadSqlPlanBaselinesFromAwr",
|
|
9378
|
+
method: "POST",
|
|
9379
|
+
bodyContent: common.ObjectSerializer.serialize(loadSqlPlanBaselinesFromAwrRequest.loadSqlPlanBaselinesFromAwrDetails, "LoadSqlPlanBaselinesFromAwrDetails", model.LoadSqlPlanBaselinesFromAwrDetails.getJsonObj),
|
|
9380
|
+
pathParams: pathParams,
|
|
9381
|
+
headerParams: headerParams,
|
|
9382
|
+
queryParams: queryParams
|
|
9383
|
+
});
|
|
9384
|
+
try {
|
|
9385
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9386
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
9387
|
+
responseObject: {},
|
|
9388
|
+
body: yield response.json(),
|
|
9389
|
+
bodyKey: "sqlPlanBaselineJob",
|
|
9390
|
+
bodyModel: model.SqlPlanBaselineJob,
|
|
9391
|
+
type: "model.SqlPlanBaselineJob",
|
|
9392
|
+
responseHeaders: [
|
|
9393
|
+
{
|
|
9394
|
+
value: response.headers.get("opc-request-id"),
|
|
9395
|
+
key: "opcRequestId",
|
|
9396
|
+
dataType: "string"
|
|
9397
|
+
}
|
|
9398
|
+
]
|
|
9399
|
+
});
|
|
9400
|
+
return sdkResponse;
|
|
9401
|
+
}
|
|
9402
|
+
catch (err) {
|
|
9403
|
+
throw err;
|
|
9404
|
+
}
|
|
9405
|
+
});
|
|
9406
|
+
}
|
|
9407
|
+
/**
|
|
9408
|
+
* Loads plans for statements directly from the shared SQL area, also called
|
|
9409
|
+
* the cursor cache. By applying a filter on the module name, the schema, or
|
|
9410
|
+
* the SQL ID you identify the SQL statement or set of SQL statements to load.
|
|
9411
|
+
*
|
|
9412
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9413
|
+
* @param LoadSqlPlanBaselinesFromCursorCacheRequest
|
|
9414
|
+
* @return LoadSqlPlanBaselinesFromCursorCacheResponse
|
|
9415
|
+
* @throws OciError when an error occurs
|
|
9416
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/LoadSqlPlanBaselinesFromCursorCache.ts.html |here} to see how to use LoadSqlPlanBaselinesFromCursorCache API.
|
|
9417
|
+
*/
|
|
9418
|
+
loadSqlPlanBaselinesFromCursorCache(loadSqlPlanBaselinesFromCursorCacheRequest) {
|
|
9419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9420
|
+
if (this.logger)
|
|
9421
|
+
this.logger.debug("Calling operation DbManagementClient#loadSqlPlanBaselinesFromCursorCache.");
|
|
9422
|
+
const operationName = "loadSqlPlanBaselinesFromCursorCache";
|
|
9423
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/LoadSqlPlanBaselinesFromCursorCache";
|
|
9424
|
+
const pathParams = {
|
|
9425
|
+
"{managedDatabaseId}": loadSqlPlanBaselinesFromCursorCacheRequest.managedDatabaseId
|
|
9426
|
+
};
|
|
9427
|
+
const queryParams = {};
|
|
9428
|
+
let headerParams = {
|
|
9429
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9430
|
+
"opc-request-id": loadSqlPlanBaselinesFromCursorCacheRequest.opcRequestId
|
|
9431
|
+
};
|
|
9432
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9433
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, loadSqlPlanBaselinesFromCursorCacheRequest.retryConfiguration, specRetryConfiguration);
|
|
9434
|
+
if (this.logger)
|
|
9435
|
+
retrier.logger = this.logger;
|
|
9436
|
+
const request = yield oci_common_1.composeRequest({
|
|
9437
|
+
baseEndpoint: this._endpoint,
|
|
9438
|
+
defaultHeaders: this._defaultHeaders,
|
|
9439
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselines/actions/loadSqlPlanBaselinesFromCursorCache",
|
|
9440
|
+
method: "POST",
|
|
9441
|
+
bodyContent: common.ObjectSerializer.serialize(loadSqlPlanBaselinesFromCursorCacheRequest.loadSqlPlanBaselinesFromCursorCacheDetails, "LoadSqlPlanBaselinesFromCursorCacheDetails", model.LoadSqlPlanBaselinesFromCursorCacheDetails.getJsonObj),
|
|
9442
|
+
pathParams: pathParams,
|
|
9443
|
+
headerParams: headerParams,
|
|
9444
|
+
queryParams: queryParams
|
|
9445
|
+
});
|
|
9446
|
+
try {
|
|
9447
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9448
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
9449
|
+
responseObject: {},
|
|
9450
|
+
body: yield response.json(),
|
|
9451
|
+
bodyKey: "sqlPlanBaselineJob",
|
|
9452
|
+
bodyModel: model.SqlPlanBaselineJob,
|
|
9453
|
+
type: "model.SqlPlanBaselineJob",
|
|
9454
|
+
responseHeaders: [
|
|
9455
|
+
{
|
|
9456
|
+
value: response.headers.get("opc-request-id"),
|
|
9457
|
+
key: "opcRequestId",
|
|
9458
|
+
dataType: "string"
|
|
9459
|
+
}
|
|
9460
|
+
]
|
|
9461
|
+
});
|
|
9462
|
+
return sdkResponse;
|
|
9463
|
+
}
|
|
9464
|
+
catch (err) {
|
|
9465
|
+
throw err;
|
|
9466
|
+
}
|
|
9467
|
+
});
|
|
9468
|
+
}
|
|
8041
9469
|
/**
|
|
8042
9470
|
* Patches the external DB system discovery specified by `externalDbSystemDiscoveryId`.
|
|
8043
9471
|
*
|
|
@@ -8045,7 +9473,7 @@ class DbManagementClient {
|
|
|
8045
9473
|
* @param PatchExternalDbSystemDiscoveryRequest
|
|
8046
9474
|
* @return PatchExternalDbSystemDiscoveryResponse
|
|
8047
9475
|
* @throws OciError when an error occurs
|
|
8048
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/PatchExternalDbSystemDiscovery.ts.html |here} to see how to use PatchExternalDbSystemDiscovery API.
|
|
8049
9477
|
*/
|
|
8050
9478
|
patchExternalDbSystemDiscovery(patchExternalDbSystemDiscoveryRequest) {
|
|
8051
9479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8111,7 +9539,7 @@ class DbManagementClient {
|
|
|
8111
9539
|
* @param RemoveDataFileRequest
|
|
8112
9540
|
* @return RemoveDataFileResponse
|
|
8113
9541
|
* @throws OciError when an error occurs
|
|
8114
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9542
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/RemoveDataFile.ts.html |here} to see how to use RemoveDataFile API.
|
|
8115
9543
|
*/
|
|
8116
9544
|
removeDataFile(removeDataFileRequest) {
|
|
8117
9545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8176,7 +9604,7 @@ class DbManagementClient {
|
|
|
8176
9604
|
* @param RemoveManagedDatabaseFromManagedDatabaseGroupRequest
|
|
8177
9605
|
* @return RemoveManagedDatabaseFromManagedDatabaseGroupResponse
|
|
8178
9606
|
* @throws OciError when an error occurs
|
|
8179
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9607
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/RemoveManagedDatabaseFromManagedDatabaseGroup.ts.html |here} to see how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.
|
|
8180
9608
|
*/
|
|
8181
9609
|
removeManagedDatabaseFromManagedDatabaseGroup(removeManagedDatabaseFromManagedDatabaseGroupRequest) {
|
|
8182
9610
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8233,7 +9661,7 @@ class DbManagementClient {
|
|
|
8233
9661
|
* @param ResetDatabaseParametersRequest
|
|
8234
9662
|
* @return ResetDatabaseParametersResponse
|
|
8235
9663
|
* @throws OciError when an error occurs
|
|
8236
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ResetDatabaseParameters.ts.html |here} to see how to use ResetDatabaseParameters API.
|
|
8237
9665
|
*/
|
|
8238
9666
|
resetDatabaseParameters(resetDatabaseParametersRequest) {
|
|
8239
9667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8294,7 +9722,7 @@ class DbManagementClient {
|
|
|
8294
9722
|
* @param ResizeDataFileRequest
|
|
8295
9723
|
* @return ResizeDataFileResponse
|
|
8296
9724
|
* @throws OciError when an error occurs
|
|
8297
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ResizeDataFile.ts.html |here} to see how to use ResizeDataFile API.
|
|
8298
9726
|
*/
|
|
8299
9727
|
resizeDataFile(resizeDataFileRequest) {
|
|
8300
9728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8357,7 +9785,7 @@ class DbManagementClient {
|
|
|
8357
9785
|
* @param RunHistoricAddmRequest
|
|
8358
9786
|
* @return RunHistoricAddmResponse
|
|
8359
9787
|
* @throws OciError when an error occurs
|
|
8360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/RunHistoricAddm.ts.html |here} to see how to use RunHistoricAddm API.
|
|
8361
9789
|
*/
|
|
8362
9790
|
runHistoricAddm(runHistoricAddmRequest) {
|
|
8363
9791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8418,7 +9846,7 @@ class DbManagementClient {
|
|
|
8418
9846
|
* @param SummarizeAwrDbCpuUsagesRequest
|
|
8419
9847
|
* @return SummarizeAwrDbCpuUsagesResponse
|
|
8420
9848
|
* @throws OciError when an error occurs
|
|
8421
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9849
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbCpuUsages.ts.html |here} to see how to use SummarizeAwrDbCpuUsages API.
|
|
8422
9850
|
*/
|
|
8423
9851
|
summarizeAwrDbCpuUsages(summarizeAwrDbCpuUsagesRequest) {
|
|
8424
9852
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8496,7 +9924,7 @@ class DbManagementClient {
|
|
|
8496
9924
|
* @param SummarizeAwrDbMetricsRequest
|
|
8497
9925
|
* @return SummarizeAwrDbMetricsResponse
|
|
8498
9926
|
* @throws OciError when an error occurs
|
|
8499
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbMetrics.ts.html |here} to see how to use SummarizeAwrDbMetrics API.
|
|
8500
9928
|
*/
|
|
8501
9929
|
summarizeAwrDbMetrics(summarizeAwrDbMetricsRequest) {
|
|
8502
9930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8578,7 +10006,7 @@ class DbManagementClient {
|
|
|
8578
10006
|
* @param SummarizeAwrDbParameterChangesRequest
|
|
8579
10007
|
* @return SummarizeAwrDbParameterChangesResponse
|
|
8580
10008
|
* @throws OciError when an error occurs
|
|
8581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10009
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbParameterChanges.ts.html |here} to see how to use SummarizeAwrDbParameterChanges API.
|
|
8582
10010
|
*/
|
|
8583
10011
|
summarizeAwrDbParameterChanges(summarizeAwrDbParameterChangesRequest) {
|
|
8584
10012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8666,7 +10094,7 @@ class DbManagementClient {
|
|
|
8666
10094
|
* @param SummarizeAwrDbParametersRequest
|
|
8667
10095
|
* @return SummarizeAwrDbParametersResponse
|
|
8668
10096
|
* @throws OciError when an error occurs
|
|
8669
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10097
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbParameters.ts.html |here} to see how to use SummarizeAwrDbParameters API.
|
|
8670
10098
|
*/
|
|
8671
10099
|
summarizeAwrDbParameters(summarizeAwrDbParametersRequest) {
|
|
8672
10100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8748,7 +10176,7 @@ class DbManagementClient {
|
|
|
8748
10176
|
* @param SummarizeAwrDbSnapshotRangesRequest
|
|
8749
10177
|
* @return SummarizeAwrDbSnapshotRangesResponse
|
|
8750
10178
|
* @throws OciError when an error occurs
|
|
8751
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10179
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbSnapshotRanges.ts.html |here} to see how to use SummarizeAwrDbSnapshotRanges API.
|
|
8752
10180
|
*/
|
|
8753
10181
|
summarizeAwrDbSnapshotRanges(summarizeAwrDbSnapshotRangesRequest) {
|
|
8754
10182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8821,7 +10249,7 @@ class DbManagementClient {
|
|
|
8821
10249
|
* @param SummarizeAwrDbSysstatsRequest
|
|
8822
10250
|
* @return SummarizeAwrDbSysstatsResponse
|
|
8823
10251
|
* @throws OciError when an error occurs
|
|
8824
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10252
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbSysstats.ts.html |here} to see how to use SummarizeAwrDbSysstats API.
|
|
8825
10253
|
*/
|
|
8826
10254
|
summarizeAwrDbSysstats(summarizeAwrDbSysstatsRequest) {
|
|
8827
10255
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8899,7 +10327,7 @@ class DbManagementClient {
|
|
|
8899
10327
|
* @param SummarizeAwrDbTopWaitEventsRequest
|
|
8900
10328
|
* @return SummarizeAwrDbTopWaitEventsResponse
|
|
8901
10329
|
* @throws OciError when an error occurs
|
|
8902
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10330
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbTopWaitEvents.ts.html |here} to see how to use SummarizeAwrDbTopWaitEvents API.
|
|
8903
10331
|
*/
|
|
8904
10332
|
summarizeAwrDbTopWaitEvents(summarizeAwrDbTopWaitEventsRequest) {
|
|
8905
10333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8976,7 +10404,7 @@ class DbManagementClient {
|
|
|
8976
10404
|
* @param SummarizeAwrDbWaitEventBucketsRequest
|
|
8977
10405
|
* @return SummarizeAwrDbWaitEventBucketsResponse
|
|
8978
10406
|
* @throws OciError when an error occurs
|
|
8979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbWaitEventBuckets.ts.html |here} to see how to use SummarizeAwrDbWaitEventBuckets API.
|
|
8980
10408
|
*/
|
|
8981
10409
|
summarizeAwrDbWaitEventBuckets(summarizeAwrDbWaitEventBucketsRequest) {
|
|
8982
10410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9057,7 +10485,7 @@ class DbManagementClient {
|
|
|
9057
10485
|
* @param SummarizeAwrDbWaitEventsRequest
|
|
9058
10486
|
* @return SummarizeAwrDbWaitEventsResponse
|
|
9059
10487
|
* @throws OciError when an error occurs
|
|
9060
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10488
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAwrDbWaitEvents.ts.html |here} to see how to use SummarizeAwrDbWaitEvents API.
|
|
9061
10489
|
*/
|
|
9062
10490
|
summarizeAwrDbWaitEvents(summarizeAwrDbWaitEventsRequest) {
|
|
9063
10491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9136,7 +10564,7 @@ class DbManagementClient {
|
|
|
9136
10564
|
* @param SummarizeExternalAsmMetricsRequest
|
|
9137
10565
|
* @return SummarizeExternalAsmMetricsResponse
|
|
9138
10566
|
* @throws OciError when an error occurs
|
|
9139
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10567
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeExternalAsmMetrics.ts.html |here} to see how to use SummarizeExternalAsmMetrics API.
|
|
9140
10568
|
*/
|
|
9141
10569
|
summarizeExternalAsmMetrics(summarizeExternalAsmMetricsRequest) {
|
|
9142
10570
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9206,7 +10634,7 @@ class DbManagementClient {
|
|
|
9206
10634
|
* @param SummarizeExternalClusterMetricsRequest
|
|
9207
10635
|
* @return SummarizeExternalClusterMetricsResponse
|
|
9208
10636
|
* @throws OciError when an error occurs
|
|
9209
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeExternalClusterMetrics.ts.html |here} to see how to use SummarizeExternalClusterMetrics API.
|
|
9210
10638
|
*/
|
|
9211
10639
|
summarizeExternalClusterMetrics(summarizeExternalClusterMetricsRequest) {
|
|
9212
10640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9276,7 +10704,7 @@ class DbManagementClient {
|
|
|
9276
10704
|
* @param SummarizeExternalDbNodeMetricsRequest
|
|
9277
10705
|
* @return SummarizeExternalDbNodeMetricsResponse
|
|
9278
10706
|
* @throws OciError when an error occurs
|
|
9279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10707
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeExternalDbNodeMetrics.ts.html |here} to see how to use SummarizeExternalDbNodeMetrics API.
|
|
9280
10708
|
*/
|
|
9281
10709
|
summarizeExternalDbNodeMetrics(summarizeExternalDbNodeMetricsRequest) {
|
|
9282
10710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9346,7 +10774,7 @@ class DbManagementClient {
|
|
|
9346
10774
|
* @param SummarizeExternalDbSystemAvailabilityMetricsRequest
|
|
9347
10775
|
* @return SummarizeExternalDbSystemAvailabilityMetricsResponse
|
|
9348
10776
|
* @throws OciError when an error occurs
|
|
9349
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeExternalDbSystemAvailabilityMetrics.ts.html |here} to see how to use SummarizeExternalDbSystemAvailabilityMetrics API.
|
|
9350
10778
|
*/
|
|
9351
10779
|
summarizeExternalDbSystemAvailabilityMetrics(summarizeExternalDbSystemAvailabilityMetricsRequest) {
|
|
9352
10780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9416,7 +10844,7 @@ class DbManagementClient {
|
|
|
9416
10844
|
* @param SummarizeExternalListenerMetricsRequest
|
|
9417
10845
|
* @return SummarizeExternalListenerMetricsResponse
|
|
9418
10846
|
* @throws OciError when an error occurs
|
|
9419
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeExternalListenerMetrics.ts.html |here} to see how to use SummarizeExternalListenerMetrics API.
|
|
9420
10848
|
*/
|
|
9421
10849
|
summarizeExternalListenerMetrics(summarizeExternalListenerMetricsRequest) {
|
|
9422
10850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9485,7 +10913,7 @@ class DbManagementClient {
|
|
|
9485
10913
|
* @param SummarizeJobExecutionsStatusesRequest
|
|
9486
10914
|
* @return SummarizeJobExecutionsStatusesResponse
|
|
9487
10915
|
* @throws OciError when an error occurs
|
|
9488
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10916
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeJobExecutionsStatuses.ts.html |here} to see how to use SummarizeJobExecutionsStatuses API.
|
|
9489
10917
|
*/
|
|
9490
10918
|
summarizeJobExecutionsStatuses(summarizeJobExecutionsStatusesRequest) {
|
|
9491
10919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9553,7 +10981,7 @@ class DbManagementClient {
|
|
|
9553
10981
|
* @param SummarizeManagedDatabaseAvailabilityMetricsRequest
|
|
9554
10982
|
* @return SummarizeManagedDatabaseAvailabilityMetricsResponse
|
|
9555
10983
|
* @throws OciError when an error occurs
|
|
9556
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10984
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeManagedDatabaseAvailabilityMetrics.ts.html |here} to see how to use SummarizeManagedDatabaseAvailabilityMetrics API.
|
|
9557
10985
|
*/
|
|
9558
10986
|
summarizeManagedDatabaseAvailabilityMetrics(summarizeManagedDatabaseAvailabilityMetricsRequest) {
|
|
9559
10987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9615,6 +11043,138 @@ class DbManagementClient {
|
|
|
9615
11043
|
}
|
|
9616
11044
|
});
|
|
9617
11045
|
}
|
|
11046
|
+
/**
|
|
11047
|
+
* Gets the number of SQL plan baselines aggregated by their attributes.
|
|
11048
|
+
*
|
|
11049
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11050
|
+
* @param SummarizeSqlPlanBaselinesRequest
|
|
11051
|
+
* @return SummarizeSqlPlanBaselinesResponse
|
|
11052
|
+
* @throws OciError when an error occurs
|
|
11053
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeSqlPlanBaselines.ts.html |here} to see how to use SummarizeSqlPlanBaselines API.
|
|
11054
|
+
*/
|
|
11055
|
+
summarizeSqlPlanBaselines(summarizeSqlPlanBaselinesRequest) {
|
|
11056
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11057
|
+
if (this.logger)
|
|
11058
|
+
this.logger.debug("Calling operation DbManagementClient#summarizeSqlPlanBaselines.");
|
|
11059
|
+
const operationName = "summarizeSqlPlanBaselines";
|
|
11060
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/SummarizeSqlPlanBaselines";
|
|
11061
|
+
const pathParams = {
|
|
11062
|
+
"{managedDatabaseId}": summarizeSqlPlanBaselinesRequest.managedDatabaseId
|
|
11063
|
+
};
|
|
11064
|
+
const queryParams = {
|
|
11065
|
+
"page": summarizeSqlPlanBaselinesRequest.page
|
|
11066
|
+
};
|
|
11067
|
+
let headerParams = {
|
|
11068
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11069
|
+
"opc-request-id": summarizeSqlPlanBaselinesRequest.opcRequestId
|
|
11070
|
+
};
|
|
11071
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11072
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlPlanBaselinesRequest.retryConfiguration, specRetryConfiguration);
|
|
11073
|
+
if (this.logger)
|
|
11074
|
+
retrier.logger = this.logger;
|
|
11075
|
+
const request = yield oci_common_1.composeRequest({
|
|
11076
|
+
baseEndpoint: this._endpoint,
|
|
11077
|
+
defaultHeaders: this._defaultHeaders,
|
|
11078
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselineStats",
|
|
11079
|
+
method: "GET",
|
|
11080
|
+
pathParams: pathParams,
|
|
11081
|
+
headerParams: headerParams,
|
|
11082
|
+
queryParams: queryParams
|
|
11083
|
+
});
|
|
11084
|
+
try {
|
|
11085
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11086
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
11087
|
+
responseObject: {},
|
|
11088
|
+
body: yield response.json(),
|
|
11089
|
+
bodyKey: "sqlPlanBaselineAggregationCollection",
|
|
11090
|
+
bodyModel: model.SqlPlanBaselineAggregationCollection,
|
|
11091
|
+
type: "model.SqlPlanBaselineAggregationCollection",
|
|
11092
|
+
responseHeaders: [
|
|
11093
|
+
{
|
|
11094
|
+
value: response.headers.get("opc-request-id"),
|
|
11095
|
+
key: "opcRequestId",
|
|
11096
|
+
dataType: "string"
|
|
11097
|
+
},
|
|
11098
|
+
{
|
|
11099
|
+
value: response.headers.get("opc-next-page"),
|
|
11100
|
+
key: "opcNextPage",
|
|
11101
|
+
dataType: "string"
|
|
11102
|
+
}
|
|
11103
|
+
]
|
|
11104
|
+
});
|
|
11105
|
+
return sdkResponse;
|
|
11106
|
+
}
|
|
11107
|
+
catch (err) {
|
|
11108
|
+
throw err;
|
|
11109
|
+
}
|
|
11110
|
+
});
|
|
11111
|
+
}
|
|
11112
|
+
/**
|
|
11113
|
+
* Gets the number of SQL plan baselines aggregated by the age of their last execution in weeks.
|
|
11114
|
+
*
|
|
11115
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11116
|
+
* @param SummarizeSqlPlanBaselinesByLastExecutionRequest
|
|
11117
|
+
* @return SummarizeSqlPlanBaselinesByLastExecutionResponse
|
|
11118
|
+
* @throws OciError when an error occurs
|
|
11119
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeSqlPlanBaselinesByLastExecution.ts.html |here} to see how to use SummarizeSqlPlanBaselinesByLastExecution API.
|
|
11120
|
+
*/
|
|
11121
|
+
summarizeSqlPlanBaselinesByLastExecution(summarizeSqlPlanBaselinesByLastExecutionRequest) {
|
|
11122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11123
|
+
if (this.logger)
|
|
11124
|
+
this.logger.debug("Calling operation DbManagementClient#summarizeSqlPlanBaselinesByLastExecution.");
|
|
11125
|
+
const operationName = "summarizeSqlPlanBaselinesByLastExecution";
|
|
11126
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/ManagedDatabase/SummarizeSqlPlanBaselinesByLastExecution";
|
|
11127
|
+
const pathParams = {
|
|
11128
|
+
"{managedDatabaseId}": summarizeSqlPlanBaselinesByLastExecutionRequest.managedDatabaseId
|
|
11129
|
+
};
|
|
11130
|
+
const queryParams = {
|
|
11131
|
+
"page": summarizeSqlPlanBaselinesByLastExecutionRequest.page
|
|
11132
|
+
};
|
|
11133
|
+
let headerParams = {
|
|
11134
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11135
|
+
"opc-request-id": summarizeSqlPlanBaselinesByLastExecutionRequest.opcRequestId
|
|
11136
|
+
};
|
|
11137
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11138
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeSqlPlanBaselinesByLastExecutionRequest.retryConfiguration, specRetryConfiguration);
|
|
11139
|
+
if (this.logger)
|
|
11140
|
+
retrier.logger = this.logger;
|
|
11141
|
+
const request = yield oci_common_1.composeRequest({
|
|
11142
|
+
baseEndpoint: this._endpoint,
|
|
11143
|
+
defaultHeaders: this._defaultHeaders,
|
|
11144
|
+
path: "/managedDatabases/{managedDatabaseId}/sqlPlanBaselineExecutionStats",
|
|
11145
|
+
method: "GET",
|
|
11146
|
+
pathParams: pathParams,
|
|
11147
|
+
headerParams: headerParams,
|
|
11148
|
+
queryParams: queryParams
|
|
11149
|
+
});
|
|
11150
|
+
try {
|
|
11151
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11152
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
11153
|
+
responseObject: {},
|
|
11154
|
+
body: yield response.json(),
|
|
11155
|
+
bodyKey: "sqlPlanBaselineAggregationCollection",
|
|
11156
|
+
bodyModel: model.SqlPlanBaselineAggregationCollection,
|
|
11157
|
+
type: "model.SqlPlanBaselineAggregationCollection",
|
|
11158
|
+
responseHeaders: [
|
|
11159
|
+
{
|
|
11160
|
+
value: response.headers.get("opc-request-id"),
|
|
11161
|
+
key: "opcRequestId",
|
|
11162
|
+
dataType: "string"
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
value: response.headers.get("opc-next-page"),
|
|
11166
|
+
key: "opcNextPage",
|
|
11167
|
+
dataType: "string"
|
|
11168
|
+
}
|
|
11169
|
+
]
|
|
11170
|
+
});
|
|
11171
|
+
return sdkResponse;
|
|
11172
|
+
}
|
|
11173
|
+
catch (err) {
|
|
11174
|
+
throw err;
|
|
11175
|
+
}
|
|
11176
|
+
});
|
|
11177
|
+
}
|
|
9618
11178
|
/**
|
|
9619
11179
|
* Tests the preferred credential.
|
|
9620
11180
|
*
|
|
@@ -9622,7 +11182,7 @@ class DbManagementClient {
|
|
|
9622
11182
|
* @param TestPreferredCredentialRequest
|
|
9623
11183
|
* @return TestPreferredCredentialResponse
|
|
9624
11184
|
* @throws OciError when an error occurs
|
|
9625
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11185
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/TestPreferredCredential.ts.html |here} to see how to use TestPreferredCredential API.
|
|
9626
11186
|
*/
|
|
9627
11187
|
testPreferredCredential(testPreferredCredentialRequest) {
|
|
9628
11188
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9682,7 +11242,7 @@ class DbManagementClient {
|
|
|
9682
11242
|
* @param UpdateDbManagementPrivateEndpointRequest
|
|
9683
11243
|
* @return UpdateDbManagementPrivateEndpointResponse
|
|
9684
11244
|
* @throws OciError when an error occurs
|
|
9685
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11245
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateDbManagementPrivateEndpoint.ts.html |here} to see how to use UpdateDbManagementPrivateEndpoint API.
|
|
9686
11246
|
*/
|
|
9687
11247
|
updateDbManagementPrivateEndpoint(updateDbManagementPrivateEndpointRequest) {
|
|
9688
11248
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9748,7 +11308,7 @@ class DbManagementClient {
|
|
|
9748
11308
|
* @param UpdateExternalAsmRequest
|
|
9749
11309
|
* @return UpdateExternalAsmResponse
|
|
9750
11310
|
* @throws OciError when an error occurs
|
|
9751
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11311
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalAsm.ts.html |here} to see how to use UpdateExternalAsm API.
|
|
9752
11312
|
*/
|
|
9753
11313
|
updateExternalAsm(updateExternalAsmRequest) {
|
|
9754
11314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9810,7 +11370,7 @@ class DbManagementClient {
|
|
|
9810
11370
|
* @param UpdateExternalClusterRequest
|
|
9811
11371
|
* @return UpdateExternalClusterResponse
|
|
9812
11372
|
* @throws OciError when an error occurs
|
|
9813
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11373
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalCluster.ts.html |here} to see how to use UpdateExternalCluster API.
|
|
9814
11374
|
*/
|
|
9815
11375
|
updateExternalCluster(updateExternalClusterRequest) {
|
|
9816
11376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9872,7 +11432,7 @@ class DbManagementClient {
|
|
|
9872
11432
|
* @param UpdateExternalClusterInstanceRequest
|
|
9873
11433
|
* @return UpdateExternalClusterInstanceResponse
|
|
9874
11434
|
* @throws OciError when an error occurs
|
|
9875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11435
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalClusterInstance.ts.html |here} to see how to use UpdateExternalClusterInstance API.
|
|
9876
11436
|
*/
|
|
9877
11437
|
updateExternalClusterInstance(updateExternalClusterInstanceRequest) {
|
|
9878
11438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9934,7 +11494,7 @@ class DbManagementClient {
|
|
|
9934
11494
|
* @param UpdateExternalDbNodeRequest
|
|
9935
11495
|
* @return UpdateExternalDbNodeResponse
|
|
9936
11496
|
* @throws OciError when an error occurs
|
|
9937
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11497
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalDbNode.ts.html |here} to see how to use UpdateExternalDbNode API.
|
|
9938
11498
|
*/
|
|
9939
11499
|
updateExternalDbNode(updateExternalDbNodeRequest) {
|
|
9940
11500
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9996,7 +11556,7 @@ class DbManagementClient {
|
|
|
9996
11556
|
* @param UpdateExternalDbSystemRequest
|
|
9997
11557
|
* @return UpdateExternalDbSystemResponse
|
|
9998
11558
|
* @throws OciError when an error occurs
|
|
9999
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11559
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalDbSystem.ts.html |here} to see how to use UpdateExternalDbSystem API.
|
|
10000
11560
|
*/
|
|
10001
11561
|
updateExternalDbSystem(updateExternalDbSystemRequest) {
|
|
10002
11562
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10061,7 +11621,7 @@ class DbManagementClient {
|
|
|
10061
11621
|
* @param UpdateExternalDbSystemConnectorRequest
|
|
10062
11622
|
* @return UpdateExternalDbSystemConnectorResponse
|
|
10063
11623
|
* @throws OciError when an error occurs
|
|
10064
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalDbSystemConnector.ts.html |here} to see how to use UpdateExternalDbSystemConnector API.
|
|
10065
11625
|
*/
|
|
10066
11626
|
updateExternalDbSystemConnector(updateExternalDbSystemConnectorRequest) {
|
|
10067
11627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10123,7 +11683,7 @@ class DbManagementClient {
|
|
|
10123
11683
|
* @param UpdateExternalDbSystemDiscoveryRequest
|
|
10124
11684
|
* @return UpdateExternalDbSystemDiscoveryResponse
|
|
10125
11685
|
* @throws OciError when an error occurs
|
|
10126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalDbSystemDiscovery.ts.html |here} to see how to use UpdateExternalDbSystemDiscovery API.
|
|
10127
11687
|
*/
|
|
10128
11688
|
updateExternalDbSystemDiscovery(updateExternalDbSystemDiscoveryRequest) {
|
|
10129
11689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10183,13 +11743,13 @@ class DbManagementClient {
|
|
|
10183
11743
|
});
|
|
10184
11744
|
}
|
|
10185
11745
|
/**
|
|
10186
|
-
* Updates the details for the
|
|
11746
|
+
* Updates the details for the Exadata infrastructure specified by externalExadataInfrastructureId.
|
|
10187
11747
|
*
|
|
10188
11748
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10189
11749
|
* @param UpdateExternalExadataInfrastructureRequest
|
|
10190
11750
|
* @return UpdateExternalExadataInfrastructureResponse
|
|
10191
11751
|
* @throws OciError when an error occurs
|
|
10192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11752
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalExadataInfrastructure.ts.html |here} to see how to use UpdateExternalExadataInfrastructure API.
|
|
10193
11753
|
*/
|
|
10194
11754
|
updateExternalExadataInfrastructure(updateExternalExadataInfrastructureRequest) {
|
|
10195
11755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10250,13 +11810,13 @@ class DbManagementClient {
|
|
|
10250
11810
|
});
|
|
10251
11811
|
}
|
|
10252
11812
|
/**
|
|
10253
|
-
* Updates the
|
|
11813
|
+
* Updates the Exadata storage server connector specified by exadataStorageConnectorId.
|
|
10254
11814
|
*
|
|
10255
11815
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
10256
11816
|
* @param UpdateExternalExadataStorageConnectorRequest
|
|
10257
11817
|
* @return UpdateExternalExadataStorageConnectorResponse
|
|
10258
11818
|
* @throws OciError when an error occurs
|
|
10259
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalExadataStorageConnector.ts.html |here} to see how to use UpdateExternalExadataStorageConnector API.
|
|
10260
11820
|
*/
|
|
10261
11821
|
updateExternalExadataStorageConnector(updateExternalExadataStorageConnectorRequest) {
|
|
10262
11822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10322,7 +11882,7 @@ class DbManagementClient {
|
|
|
10322
11882
|
* @param UpdateExternalListenerRequest
|
|
10323
11883
|
* @return UpdateExternalListenerResponse
|
|
10324
11884
|
* @throws OciError when an error occurs
|
|
10325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateExternalListener.ts.html |here} to see how to use UpdateExternalListener API.
|
|
10326
11886
|
*/
|
|
10327
11887
|
updateExternalListener(updateExternalListenerRequest) {
|
|
10328
11888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10384,7 +11944,7 @@ class DbManagementClient {
|
|
|
10384
11944
|
* @param UpdateJobRequest
|
|
10385
11945
|
* @return UpdateJobResponse
|
|
10386
11946
|
* @throws OciError when an error occurs
|
|
10387
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11947
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateJob.ts.html |here} to see how to use UpdateJob API.
|
|
10388
11948
|
*/
|
|
10389
11949
|
updateJob(updateJobRequest) {
|
|
10390
11950
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10450,7 +12010,7 @@ class DbManagementClient {
|
|
|
10450
12010
|
* @param UpdateManagedDatabaseGroupRequest
|
|
10451
12011
|
* @return UpdateManagedDatabaseGroupResponse
|
|
10452
12012
|
* @throws OciError when an error occurs
|
|
10453
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateManagedDatabaseGroup.ts.html |here} to see how to use UpdateManagedDatabaseGroup API.
|
|
10454
12014
|
*/
|
|
10455
12015
|
updateManagedDatabaseGroup(updateManagedDatabaseGroupRequest) {
|
|
10456
12016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10516,7 +12076,7 @@ class DbManagementClient {
|
|
|
10516
12076
|
* @param UpdatePreferredCredentialRequest
|
|
10517
12077
|
* @return UpdatePreferredCredentialResponse
|
|
10518
12078
|
* @throws OciError when an error occurs
|
|
10519
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12079
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdatePreferredCredential.ts.html |here} to see how to use UpdatePreferredCredential API.
|
|
10520
12080
|
*/
|
|
10521
12081
|
updatePreferredCredential(updatePreferredCredentialRequest) {
|
|
10522
12082
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10583,7 +12143,7 @@ class DbManagementClient {
|
|
|
10583
12143
|
* @param UpdateTablespaceRequest
|
|
10584
12144
|
* @return UpdateTablespaceResponse
|
|
10585
12145
|
* @throws OciError when an error occurs
|
|
10586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12146
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/UpdateTablespace.ts.html |here} to see how to use UpdateTablespace API.
|
|
10587
12147
|
*/
|
|
10588
12148
|
updateTablespace(updateTablespaceRequest) {
|
|
10589
12149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10752,7 +12312,7 @@ class DiagnosabilityClient {
|
|
|
10752
12312
|
* @param ListAlertLogsRequest
|
|
10753
12313
|
* @return ListAlertLogsResponse
|
|
10754
12314
|
* @throws OciError when an error occurs
|
|
10755
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12315
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAlertLogs.ts.html |here} to see how to use ListAlertLogs API.
|
|
10756
12316
|
*/
|
|
10757
12317
|
listAlertLogs(listAlertLogsRequest) {
|
|
10758
12318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10827,7 +12387,7 @@ class DiagnosabilityClient {
|
|
|
10827
12387
|
* @param ListAttentionLogsRequest
|
|
10828
12388
|
* @return ListAttentionLogsResponse
|
|
10829
12389
|
* @throws OciError when an error occurs
|
|
10830
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12390
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListAttentionLogs.ts.html |here} to see how to use ListAttentionLogs API.
|
|
10831
12391
|
*/
|
|
10832
12392
|
listAttentionLogs(listAttentionLogsRequest) {
|
|
10833
12393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10902,7 +12462,7 @@ class DiagnosabilityClient {
|
|
|
10902
12462
|
* @param SummarizeAlertLogCountsRequest
|
|
10903
12463
|
* @return SummarizeAlertLogCountsResponse
|
|
10904
12464
|
* @throws OciError when an error occurs
|
|
10905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAlertLogCounts.ts.html |here} to see how to use SummarizeAlertLogCounts API.
|
|
10906
12466
|
*/
|
|
10907
12467
|
summarizeAlertLogCounts(summarizeAlertLogCountsRequest) {
|
|
10908
12468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10976,7 +12536,7 @@ class DiagnosabilityClient {
|
|
|
10976
12536
|
* @param SummarizeAttentionLogCountsRequest
|
|
10977
12537
|
* @return SummarizeAttentionLogCountsResponse
|
|
10978
12538
|
* @throws OciError when an error occurs
|
|
10979
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/SummarizeAttentionLogCounts.ts.html |here} to see how to use SummarizeAttentionLogCounts API.
|
|
10980
12540
|
*/
|
|
10981
12541
|
summarizeAttentionLogCounts(summarizeAttentionLogCountsRequest) {
|
|
10982
12542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11158,7 +12718,7 @@ class SqlTuningClient {
|
|
|
11158
12718
|
* @param CloneSqlTuningTaskRequest
|
|
11159
12719
|
* @return CloneSqlTuningTaskResponse
|
|
11160
12720
|
* @throws OciError when an error occurs
|
|
11161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12721
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/CloneSqlTuningTask.ts.html |here} to see how to use CloneSqlTuningTask API.
|
|
11162
12722
|
*/
|
|
11163
12723
|
cloneSqlTuningTask(cloneSqlTuningTaskRequest) {
|
|
11164
12724
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11219,7 +12779,7 @@ class SqlTuningClient {
|
|
|
11219
12779
|
* @param DropSqlTuningTaskRequest
|
|
11220
12780
|
* @return DropSqlTuningTaskResponse
|
|
11221
12781
|
* @throws OciError when an error occurs
|
|
11222
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12782
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/DropSqlTuningTask.ts.html |here} to see how to use DropSqlTuningTask API.
|
|
11223
12783
|
*/
|
|
11224
12784
|
dropSqlTuningTask(dropSqlTuningTaskRequest) {
|
|
11225
12785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11278,7 +12838,7 @@ class SqlTuningClient {
|
|
|
11278
12838
|
* @param GetExecutionPlanStatsComparisionRequest
|
|
11279
12839
|
* @return GetExecutionPlanStatsComparisionResponse
|
|
11280
12840
|
* @throws OciError when an error occurs
|
|
11281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12841
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetExecutionPlanStatsComparision.ts.html |here} to see how to use GetExecutionPlanStatsComparision API.
|
|
11282
12842
|
*/
|
|
11283
12843
|
getExecutionPlanStatsComparision(getExecutionPlanStatsComparisionRequest) {
|
|
11284
12844
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11341,7 +12901,7 @@ class SqlTuningClient {
|
|
|
11341
12901
|
* @param GetSqlExecutionPlanRequest
|
|
11342
12902
|
* @return GetSqlExecutionPlanResponse
|
|
11343
12903
|
* @throws OciError when an error occurs
|
|
11344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetSqlExecutionPlan.ts.html |here} to see how to use GetSqlExecutionPlan API.
|
|
11345
12905
|
*/
|
|
11346
12906
|
getSqlExecutionPlan(getSqlExecutionPlanRequest) {
|
|
11347
12907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11404,7 +12964,7 @@ class SqlTuningClient {
|
|
|
11404
12964
|
* @param GetSqlTuningAdvisorTaskSummaryReportRequest
|
|
11405
12965
|
* @return GetSqlTuningAdvisorTaskSummaryReportResponse
|
|
11406
12966
|
* @throws OciError when an error occurs
|
|
11407
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12967
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/GetSqlTuningAdvisorTaskSummaryReport.ts.html |here} to see how to use GetSqlTuningAdvisorTaskSummaryReport API.
|
|
11408
12968
|
*/
|
|
11409
12969
|
getSqlTuningAdvisorTaskSummaryReport(getSqlTuningAdvisorTaskSummaryReportRequest) {
|
|
11410
12970
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11470,7 +13030,7 @@ class SqlTuningClient {
|
|
|
11470
13030
|
* @param ListSqlTuningAdvisorTaskFindingsRequest
|
|
11471
13031
|
* @return ListSqlTuningAdvisorTaskFindingsResponse
|
|
11472
13032
|
* @throws OciError when an error occurs
|
|
11473
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlTuningAdvisorTaskFindings.ts.html |here} to see how to use ListSqlTuningAdvisorTaskFindings API.
|
|
11474
13034
|
*/
|
|
11475
13035
|
listSqlTuningAdvisorTaskFindings(listSqlTuningAdvisorTaskFindingsRequest) {
|
|
11476
13036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11547,7 +13107,7 @@ class SqlTuningClient {
|
|
|
11547
13107
|
* @param ListSqlTuningAdvisorTaskRecommendationsRequest
|
|
11548
13108
|
* @return ListSqlTuningAdvisorTaskRecommendationsResponse
|
|
11549
13109
|
* @throws OciError when an error occurs
|
|
11550
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlTuningAdvisorTaskRecommendations.ts.html |here} to see how to use ListSqlTuningAdvisorTaskRecommendations API.
|
|
11551
13111
|
*/
|
|
11552
13112
|
listSqlTuningAdvisorTaskRecommendations(listSqlTuningAdvisorTaskRecommendationsRequest) {
|
|
11553
13113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11619,7 +13179,7 @@ class SqlTuningClient {
|
|
|
11619
13179
|
* @param ListSqlTuningAdvisorTasksRequest
|
|
11620
13180
|
* @return ListSqlTuningAdvisorTasksResponse
|
|
11621
13181
|
* @throws OciError when an error occurs
|
|
11622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13182
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlTuningAdvisorTasks.ts.html |here} to see how to use ListSqlTuningAdvisorTasks API.
|
|
11623
13183
|
*/
|
|
11624
13184
|
listSqlTuningAdvisorTasks(listSqlTuningAdvisorTasksRequest) {
|
|
11625
13185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11692,7 +13252,7 @@ class SqlTuningClient {
|
|
|
11692
13252
|
* @param ListSqlTuningSetsRequest
|
|
11693
13253
|
* @return ListSqlTuningSetsResponse
|
|
11694
13254
|
* @throws OciError when an error occurs
|
|
11695
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/ListSqlTuningSets.ts.html |here} to see how to use ListSqlTuningSets API.
|
|
11696
13256
|
*/
|
|
11697
13257
|
listSqlTuningSets(listSqlTuningSetsRequest) {
|
|
11698
13258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11763,7 +13323,7 @@ class SqlTuningClient {
|
|
|
11763
13323
|
* @param StartSqlTuningTaskRequest
|
|
11764
13324
|
* @return StartSqlTuningTaskResponse
|
|
11765
13325
|
* @throws OciError when an error occurs
|
|
11766
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.63.0/databasemanagement/StartSqlTuningTask.ts.html |here} to see how to use StartSqlTuningTask API.
|
|
11767
13327
|
*/
|
|
11768
13328
|
startSqlTuningTask(startSqlTuningTaskRequest) {
|
|
11769
13329
|
return __awaiter(this, void 0, void 0, function* () {
|