/**
 * Database Management API
 * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics
for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and
running a SQL job on a Managed Database or Managed Database Group.

 * OpenAPI spec version: 20201101
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import common = require ( "oci-common" ) ; import * as requests from "./request" ; import * as model from "./model" ; import * as responses from "./response" ; import { DbManagementWaiter } from "./dbmanagement-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum DbManagementApiKeys { } /**
 * This service client uses  common . CircuitBreaker . DefaultConfiguration for all the operations by default if no circuit breaker configuration is defined by the user.
  export class DbManagementClient { protected static serviceEndpointTemplate = "https://dbmgmt.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : DbManagementWaiter ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20201101" ; if ( this . logger ) this . logger . info ( `DbManagementClient endpoint set to ${ this . _endpoint }` ) ; } public get logger ( ) { return common . LOG . logger ; } /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * Note, this will call  {@link #endpoint(String) endpoint} after resolving the endpoint.
     *  param region public set region ( region ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegion ( DbManagementClient . serviceEndpointTemplate , region ) ; } /**
     * Sets the regionId to call (ex, 'us-phoenix-1').
     *
     * Note, this will first try to map the region ID to a known Region and call  {@link #region(Region) region} .
     * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
     * and then call  {@link #endpoint(String) endpoint} .
     *  param regionId public set regionId ( regionId ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegionId ( DbManagementClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new DbManagementWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param AddManagedDatabaseToManagedDatabaseGroupRequest return throws example Click  https to see how to use AddManagedDatabaseToManagedDatabaseGroup API.
      public async addManagedDatabaseToManagedDatabaseGroup ( addManagedDatabaseToManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#addManagedDatabaseToManagedDatabaseGroup." ) ; const pathParams = { "{managedDatabaseGroupId}" : addManagedDatabaseToManagedDatabaseGroupRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : addManagedDatabaseToManagedDatabaseGroupRequest . opcRequestId , "opc-retry-token" : addManagedDatabaseToManagedDatabaseGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , addManagedDatabaseToManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}/actions/addManagedDatabase" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( addManagedDatabaseToManagedDatabaseGroupRequest . addManagedDatabaseToManagedDatabaseGroupDetails , "AddManagedDatabaseToManagedDatabaseGroupDetails" , model . AddManagedDatabaseToManagedDatabaseGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . AddManagedDatabaseToManagedDatabaseGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeDatabaseParametersRequest return throws example Click  https to see how to use ChangeDatabaseParameters API.
        public async changeDatabaseParameters ( changeDatabaseParametersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#changeDatabaseParameters." ) ; const pathParams = { "{managedDatabaseId}" : changeDatabaseParametersRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDatabaseParametersRequest . opcRequestId , "opc-retry-token" : changeDatabaseParametersRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDatabaseParametersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/actions/changeDatabaseParameters" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDatabaseParametersRequest . changeDatabaseParametersDetails , "ChangeDatabaseParametersDetails" , model . ChangeDatabaseParametersDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDatabaseParametersResponse > { } , body : await response . json ( ) , bodyKey : "updateDatabaseParametersResult" , bodyModel : model . UpdateDatabaseParametersResult , type : "model.UpdateDatabaseParametersResult" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeDbManagementPrivateEndpointCompartmentRequest return throws example Click  https to see how to use ChangeDbManagementPrivateEndpointCompartment API.
      public async changeDbManagementPrivateEndpointCompartment ( changeDbManagementPrivateEndpointCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#changeDbManagementPrivateEndpointCompartment." ) ; const pathParams = { "{dbManagementPrivateEndpointId}" : changeDbManagementPrivateEndpointCompartmentRequest . dbManagementPrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeDbManagementPrivateEndpointCompartmentRequest . opcRequestId , "opc-retry-token" : changeDbManagementPrivateEndpointCompartmentRequest . opcRetryToken , "if-match" : changeDbManagementPrivateEndpointCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeDbManagementPrivateEndpointCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints/{dbManagementPrivateEndpointId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeDbManagementPrivateEndpointCompartmentRequest . changeDbManagementPrivateEndpointCompartmentDetails , "ChangeDbManagementPrivateEndpointCompartmentDetails" , model . ChangeDbManagementPrivateEndpointCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeDbManagementPrivateEndpointCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeJobCompartmentRequest return throws example Click  https to see how to use ChangeJobCompartment API.
      public async changeJobCompartment ( changeJobCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#changeJobCompartment." ) ; const pathParams = { "{jobId}" : changeJobCompartmentRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeJobCompartmentRequest . opcRequestId , "opc-retry-token" : changeJobCompartmentRequest . opcRetryToken , "if-match" : changeJobCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeJobCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeJobCompartmentRequest . changeJobCompartmentDetails , "ChangeJobCompartmentDetails" , model . ChangeJobCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeJobCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeManagedDatabaseGroupCompartmentRequest return throws example Click  https to see how to use ChangeManagedDatabaseGroupCompartment API.
      public async changeManagedDatabaseGroupCompartment ( changeManagedDatabaseGroupCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#changeManagedDatabaseGroupCompartment." ) ; const pathParams = { "{managedDatabaseGroupId}" : changeManagedDatabaseGroupCompartmentRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : changeManagedDatabaseGroupCompartmentRequest . opcRequestId , "opc-retry-token" : changeManagedDatabaseGroupCompartmentRequest . opcRetryToken , "if-match" : changeManagedDatabaseGroupCompartmentRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeManagedDatabaseGroupCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeManagedDatabaseGroupCompartmentRequest . changeManagedDatabaseGroupCompartmentDetails , "ChangeManagedDatabaseGroupCompartmentDetails" , model . ChangeManagedDatabaseGroupCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeManagedDatabaseGroupCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateDbManagementPrivateEndpointRequest return throws example Click  https to see how to use CreateDbManagementPrivateEndpoint API.
      public async createDbManagementPrivateEndpoint ( createDbManagementPrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#createDbManagementPrivateEndpoint." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createDbManagementPrivateEndpointRequest . opcRetryToken , "opc-request-id" : createDbManagementPrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createDbManagementPrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createDbManagementPrivateEndpointRequest . createDbManagementPrivateEndpointDetails , "CreateDbManagementPrivateEndpointDetails" , model . CreateDbManagementPrivateEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateDbManagementPrivateEndpointResponse > { } , body : await response . json ( ) , bodyKey : "dbManagementPrivateEndpoint" , bodyModel : model . DbManagementPrivateEndpoint , type : "model.DbManagementPrivateEndpoint" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateJobRequest return throws example Click  https to see how to use CreateJob API.
      public async createJob ( createJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#createJob." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createJobRequest . opcRequestId , "opc-retry-token" : createJobRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createJobRequest . createJobDetails , "CreateJobDetails" , model . CreateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateManagedDatabaseGroupRequest return throws example Click  https to see how to use CreateManagedDatabaseGroup API.
      public async createManagedDatabaseGroup ( createManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#createManagedDatabaseGroup." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : createManagedDatabaseGroupRequest . opcRequestId , "opc-retry-token" : createManagedDatabaseGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createManagedDatabaseGroupRequest . createManagedDatabaseGroupDetails , "CreateManagedDatabaseGroupDetails" , model . CreateManagedDatabaseGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateManagedDatabaseGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabaseGroup" , bodyModel : model . ManagedDatabaseGroup , type : "model.ManagedDatabaseGroup" , responseHeaders : [ { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteDbManagementPrivateEndpointRequest return throws example Click  https to see how to use DeleteDbManagementPrivateEndpoint API.
      public async deleteDbManagementPrivateEndpoint ( deleteDbManagementPrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#deleteDbManagementPrivateEndpoint." ) ; const pathParams = { "{dbManagementPrivateEndpointId}" : deleteDbManagementPrivateEndpointRequest . dbManagementPrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : deleteDbManagementPrivateEndpointRequest . opcRequestId , "if-match" : deleteDbManagementPrivateEndpointRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteDbManagementPrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints/{dbManagementPrivateEndpointId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteDbManagementPrivateEndpointResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-work-request-id" ) , key : "opcWorkRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteJobRequest return throws example Click  https to see how to use DeleteJob API.
      public async deleteJob ( deleteJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#deleteJob." ) ; const pathParams = { "{jobId}" : deleteJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteJobRequest . ifMatch , "opc-request-id" : deleteJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteJobResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteManagedDatabaseGroupRequest return throws example Click  https to see how to use DeleteManagedDatabaseGroup API.
      public async deleteManagedDatabaseGroup ( deleteManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#deleteManagedDatabaseGroup." ) ; const pathParams = { "{managedDatabaseGroupId}" : deleteManagedDatabaseGroupRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteManagedDatabaseGroupRequest . ifMatch , "opc-request-id" : deleteManagedDatabaseGroupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteManagedDatabaseGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAwrDbReportRequest return throws example Click  https to see how to use GetAwrDbReport API.
      public async getAwrDbReport ( getAwrDbReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getAwrDbReport." ) ; const pathParams = { "{managedDatabaseId}" : getAwrDbReportRequest . managedDatabaseId , "{awrDbId}" : getAwrDbReportRequest . awrDbId } ; const queryParams = { "instNums" : getAwrDbReportRequest . instNums , "beginSnIdGreaterThanOrEqualTo" : getAwrDbReportRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : getAwrDbReportRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : getAwrDbReportRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : getAwrDbReportRequest . timeLessThanOrEqualTo , "reportType" : getAwrDbReportRequest . reportType , "containerId" : getAwrDbReportRequest . containerId , "reportFormat" : getAwrDbReportRequest . reportFormat } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAwrDbReportRequest . opcRequestId , "opc-retry-token" : getAwrDbReportRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAwrDbReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbReport" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAwrDbReportResponse > { } , body : await response . json ( ) , bodyKey : "awrDbReport" , bodyModel : model . AwrDbReport , type : "model.AwrDbReport" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetAwrDbSqlReportRequest return throws example Click  https to see how to use GetAwrDbSqlReport API.
      public async getAwrDbSqlReport ( getAwrDbSqlReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getAwrDbSqlReport." ) ; const pathParams = { "{managedDatabaseId}" : getAwrDbSqlReportRequest . managedDatabaseId , "{awrDbId}" : getAwrDbSqlReportRequest . awrDbId } ; const queryParams = { "instNum" : getAwrDbSqlReportRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : getAwrDbSqlReportRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : getAwrDbSqlReportRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : getAwrDbSqlReportRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : getAwrDbSqlReportRequest . timeLessThanOrEqualTo , "sqlId" : getAwrDbSqlReportRequest . sqlId , "reportFormat" : getAwrDbSqlReportRequest . reportFormat , "containerId" : getAwrDbSqlReportRequest . containerId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getAwrDbSqlReportRequest . opcRequestId , "opc-retry-token" : getAwrDbSqlReportRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getAwrDbSqlReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSqlReport" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetAwrDbSqlReportResponse > { } , body : await response . json ( ) , bodyKey : "awrDbSqlReport" , bodyModel : model . AwrDbSqlReport , type : "model.AwrDbSqlReport" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetClusterCacheMetricRequest return throws example Click  https to see how to use GetClusterCacheMetric API.
      public async getClusterCacheMetric ( getClusterCacheMetricRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getClusterCacheMetric." ) ; const pathParams = { "{managedDatabaseId}" : getClusterCacheMetricRequest . managedDatabaseId } ; const queryParams = { "startTime" : getClusterCacheMetricRequest . startTime , "endTime" : getClusterCacheMetricRequest . endTime } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getClusterCacheMetricRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getClusterCacheMetricRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/clusterCacheMetrics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetClusterCacheMetricResponse > { } , body : await response . json ( ) , bodyKey : "clusterCacheMetric" , bodyModel : model . ClusterCacheMetric , type : "model.ClusterCacheMetric" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDatabaseFleetHealthMetricsRequest return throws example Click  https to see how to use GetDatabaseFleetHealthMetrics API.
      public async getDatabaseFleetHealthMetrics ( getDatabaseFleetHealthMetricsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getDatabaseFleetHealthMetrics." ) ; const pathParams = { } ; const queryParams = { "managedDatabaseGroupId" : getDatabaseFleetHealthMetricsRequest . managedDatabaseGroupId , "compartmentId" : getDatabaseFleetHealthMetricsRequest . compartmentId , "compareBaselineTime" : getDatabaseFleetHealthMetricsRequest . compareBaselineTime , "compareTargetTime" : getDatabaseFleetHealthMetricsRequest . compareTargetTime , "compareType" : getDatabaseFleetHealthMetricsRequest . compareType , "filterByMetricNames" : getDatabaseFleetHealthMetricsRequest . filterByMetricNames , "filterByDatabaseType" : getDatabaseFleetHealthMetricsRequest . filterByDatabaseType , "filterByDatabaseSubType" : getDatabaseFleetHealthMetricsRequest . filterByDatabaseSubType , "filterByDatabaseDeploymentType" : getDatabaseFleetHealthMetricsRequest . filterByDatabaseDeploymentType , "filterByDatabaseVersion" : getDatabaseFleetHealthMetricsRequest . filterByDatabaseVersion } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDatabaseFleetHealthMetricsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDatabaseFleetHealthMetricsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/fleetMetrics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDatabaseFleetHealthMetricsResponse > { } , body : await response . json ( ) , bodyKey : "databaseFleetHealthMetrics" , bodyModel : model . DatabaseFleetHealthMetrics , type : "model.DatabaseFleetHealthMetrics" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDatabaseHomeMetricsRequest return throws example Click  https to see how to use GetDatabaseHomeMetrics API.
      public async getDatabaseHomeMetrics ( getDatabaseHomeMetricsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getDatabaseHomeMetrics." ) ; const pathParams = { } ; const queryParams = { "managedDatabaseId" : getDatabaseHomeMetricsRequest . managedDatabaseId , "startTime" : getDatabaseHomeMetricsRequest . startTime , "endTime" : getDatabaseHomeMetricsRequest . endTime } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDatabaseHomeMetricsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDatabaseHomeMetricsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/databaseHomeMetrics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDatabaseHomeMetricsResponse > { } , body : await response . json ( ) , bodyKey : "databaseHomeMetrics" , bodyModel : model . DatabaseHomeMetrics , type : "model.DatabaseHomeMetrics" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetDbManagementPrivateEndpointRequest return throws example Click  https to see how to use GetDbManagementPrivateEndpoint API.
      public async getDbManagementPrivateEndpoint ( getDbManagementPrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getDbManagementPrivateEndpoint." ) ; const pathParams = { "{dbManagementPrivateEndpointId}" : getDbManagementPrivateEndpointRequest . dbManagementPrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getDbManagementPrivateEndpointRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getDbManagementPrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints/{dbManagementPrivateEndpointId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetDbManagementPrivateEndpointResponse > { } , body : await response . json ( ) , bodyKey : "dbManagementPrivateEndpoint" , bodyModel : model . DbManagementPrivateEndpoint , type : "model.DbManagementPrivateEndpoint" , responseHeaders : [ { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobRequest return throws example Click  https to see how to use GetJob API.
      public async getJob ( getJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getJob." ) ; const pathParams = { "{jobId}" : getJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "location" ) , key : "location" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobExecutionRequest return throws example Click  https to see how to use GetJobExecution API.
      public async getJobExecution ( getJobExecutionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getJobExecution." ) ; const pathParams = { "{jobExecutionId}" : getJobExecutionRequest . jobExecutionId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobExecutionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobExecutionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobExecutions/{jobExecutionId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobExecutionResponse > { } , body : await response . json ( ) , bodyKey : "jobExecution" , bodyModel : model . JobExecution , type : "model.JobExecution" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetJobRunRequest return throws example Click  https to see how to use GetJobRun API.
      public async getJobRun ( getJobRunRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getJobRun." ) ; const pathParams = { "{jobRunId}" : getJobRunRequest . jobRunId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getJobRunRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getJobRunRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns/{jobRunId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetJobRunResponse > { } , body : await response . json ( ) , bodyKey : "jobRun" , bodyModel : model . JobRun , type : "model.JobRun" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetManagedDatabaseRequest return throws example Click  https to see how to use GetManagedDatabase API.
      public async getManagedDatabase ( getManagedDatabaseRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getManagedDatabase." ) ; const pathParams = { "{managedDatabaseId}" : getManagedDatabaseRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getManagedDatabaseRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getManagedDatabaseRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetManagedDatabaseResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabase" , bodyModel : model . ManagedDatabase , type : "model.ManagedDatabase" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetManagedDatabaseGroupRequest return throws example Click  https to see how to use GetManagedDatabaseGroup API.
      public async getManagedDatabaseGroup ( getManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getManagedDatabaseGroup." ) ; const pathParams = { "{managedDatabaseGroupId}" : getManagedDatabaseGroupRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getManagedDatabaseGroupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetManagedDatabaseGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabaseGroup" , bodyModel : model . ManagedDatabaseGroup , type : "model.ManagedDatabaseGroup" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetPdbMetricsRequest return throws example Click  https to see how to use GetPdbMetrics API.
      public async getPdbMetrics ( getPdbMetricsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getPdbMetrics." ) ; const pathParams = { "{managedDatabaseId}" : getPdbMetricsRequest . managedDatabaseId } ; const queryParams = { "startTime" : getPdbMetricsRequest . startTime , "endTime" : getPdbMetricsRequest . endTime , "compartmentId" : getPdbMetricsRequest . compartmentId , "compareType" : getPdbMetricsRequest . compareType , "filterByMetricNames" : getPdbMetricsRequest . filterByMetricNames } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getPdbMetricsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getPdbMetricsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/pdbMetrics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetPdbMetricsResponse > { } , body : await response . json ( ) , bodyKey : "pdbMetrics" , bodyModel : model . PdbMetrics , type : "model.PdbMetrics" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetUserRequest return throws example Click  https to see how to use GetUser API.
      public async getUser ( getUserRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getUser." ) ; const pathParams = { "{managedDatabaseId}" : getUserRequest . managedDatabaseId , "{userName}" : getUserRequest . userName } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getUserRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getUserRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetUserResponse > { } , body : await response . json ( ) , bodyKey : "user" , bodyModel : model . User , type : "model.User" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetWorkRequestRequest return throws example Click  https to see how to use GetWorkRequest API.
      public async getWorkRequest ( getWorkRequestRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#getWorkRequest." ) ; const pathParams = { "{workRequestId}" : getWorkRequestRequest . workRequestId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getWorkRequestRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getWorkRequestRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetWorkRequestResponse > { } , body : await response . json ( ) , bodyKey : "workRequest" , bodyModel : model . WorkRequest , type : "model.WorkRequest" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "retry-after" ) , key : "retryAfter" , dataType : "number" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAssociatedDatabasesRequest return throws example Click  https to see how to use ListAssociatedDatabases API.
      public async listAssociatedDatabases ( listAssociatedDatabasesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listAssociatedDatabases." ) ; const pathParams = { "{dbManagementPrivateEndpointId}" : listAssociatedDatabasesRequest . dbManagementPrivateEndpointId } ; const queryParams = { "compartmentId" : listAssociatedDatabasesRequest . compartmentId , "limit" : listAssociatedDatabasesRequest . limit , "page" : listAssociatedDatabasesRequest . page , "sortOrder" : listAssociatedDatabasesRequest . sortOrder , "sortBy" : listAssociatedDatabasesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAssociatedDatabasesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAssociatedDatabasesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints/{dbManagementPrivateEndpointId}/associatedDatabases" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAssociatedDatabasesResponse > { } , body : await response . json ( ) , bodyKey : "associatedDatabaseCollection" , bodyModel : model . AssociatedDatabaseCollection , type : "model.AssociatedDatabaseCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAwrDbSnapshotsRequest return throws example Click  https to see how to use ListAwrDbSnapshots API.
      public async listAwrDbSnapshots ( listAwrDbSnapshotsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listAwrDbSnapshots." ) ; const pathParams = { "{managedDatabaseId}" : listAwrDbSnapshotsRequest . managedDatabaseId , "{awrDbId}" : listAwrDbSnapshotsRequest . awrDbId } ; const queryParams = { "instNum" : listAwrDbSnapshotsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : listAwrDbSnapshotsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : listAwrDbSnapshotsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : listAwrDbSnapshotsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : listAwrDbSnapshotsRequest . timeLessThanOrEqualTo , "containerId" : listAwrDbSnapshotsRequest . containerId , "page" : listAwrDbSnapshotsRequest . page , "limit" : listAwrDbSnapshotsRequest . limit , "sortBy" : listAwrDbSnapshotsRequest . sortBy , "sortOrder" : listAwrDbSnapshotsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAwrDbSnapshotsRequest . opcRequestId , "opc-retry-token" : listAwrDbSnapshotsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAwrDbSnapshotsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAwrDbSnapshotsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbSnapshotCollection" , bodyModel : model . AwrDbSnapshotCollection , type : "model.AwrDbSnapshotCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListAwrDbsRequest return throws example Click  https to see how to use ListAwrDbs API.
      public async listAwrDbs ( listAwrDbsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listAwrDbs." ) ; const pathParams = { "{managedDatabaseId}" : listAwrDbsRequest . managedDatabaseId } ; const queryParams = { "name" : listAwrDbsRequest . name , "timeGreaterThanOrEqualTo" : listAwrDbsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : listAwrDbsRequest . timeLessThanOrEqualTo , "page" : listAwrDbsRequest . page , "limit" : listAwrDbsRequest . limit , "sortBy" : listAwrDbsRequest . sortBy , "sortOrder" : listAwrDbsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listAwrDbsRequest . opcRequestId , "opc-retry-token" : listAwrDbsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listAwrDbsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListAwrDbsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbCollection" , bodyModel : model . AwrDbCollection , type : "model.AwrDbCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListConsumerGroupPrivilegesRequest return throws example Click  https to see how to use ListConsumerGroupPrivileges API.
      public async listConsumerGroupPrivileges ( listConsumerGroupPrivilegesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listConsumerGroupPrivileges." ) ; const pathParams = { "{managedDatabaseId}" : listConsumerGroupPrivilegesRequest . managedDatabaseId , "{userName}" : listConsumerGroupPrivilegesRequest . userName } ; const queryParams = { "name" : listConsumerGroupPrivilegesRequest . name , "sortBy" : listConsumerGroupPrivilegesRequest . sortBy , "sortOrder" : listConsumerGroupPrivilegesRequest . sortOrder , "limit" : listConsumerGroupPrivilegesRequest . limit , "page" : listConsumerGroupPrivilegesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listConsumerGroupPrivilegesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listConsumerGroupPrivilegesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/consumerGroupPrivileges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListConsumerGroupPrivilegesResponse > { } , body : await response . json ( ) , bodyKey : "consumerGroupPrivilegeCollection" , bodyModel : model . ConsumerGroupPrivilegeCollection , type : "model.ConsumerGroupPrivilegeCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListDataAccessContainersRequest return throws example Click  https to see how to use ListDataAccessContainers API.
      public async listDataAccessContainers ( listDataAccessContainersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listDataAccessContainers." ) ; const pathParams = { "{managedDatabaseId}" : listDataAccessContainersRequest . managedDatabaseId , "{userName}" : listDataAccessContainersRequest . userName } ; const queryParams = { "name" : listDataAccessContainersRequest . name , "sortBy" : listDataAccessContainersRequest . sortBy , "sortOrder" : listDataAccessContainersRequest . sortOrder , "limit" : listDataAccessContainersRequest . limit , "page" : listDataAccessContainersRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDataAccessContainersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDataAccessContainersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/dataAccessContainers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDataAccessContainersResponse > { } , body : await response . json ( ) , bodyKey : "dataAccessContainerCollection" , bodyModel : model . DataAccessContainerCollection , type : "model.DataAccessContainerCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListDatabaseParametersRequest return throws example Click  https to see how to use ListDatabaseParameters API.
      public async listDatabaseParameters ( listDatabaseParametersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listDatabaseParameters." ) ; const pathParams = { "{managedDatabaseId}" : listDatabaseParametersRequest . managedDatabaseId } ; const queryParams = { "source" : listDatabaseParametersRequest . source , "name" : listDatabaseParametersRequest . name , "isAllowedValuesIncluded" : listDatabaseParametersRequest . isAllowedValuesIncluded , "sortBy" : listDatabaseParametersRequest . sortBy , "sortOrder" : listDatabaseParametersRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDatabaseParametersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDatabaseParametersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/databaseParameters" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDatabaseParametersResponse > { } , body : await response . json ( ) , bodyKey : "databaseParametersCollection" , bodyModel : model . DatabaseParametersCollection , type : "model.DatabaseParametersCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListDbManagementPrivateEndpointsRequest return throws example Click  https to see how to use ListDbManagementPrivateEndpoints API.
      public async listDbManagementPrivateEndpoints ( listDbManagementPrivateEndpointsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listDbManagementPrivateEndpoints." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listDbManagementPrivateEndpointsRequest . compartmentId , "name" : listDbManagementPrivateEndpointsRequest . name , "vcnId" : listDbManagementPrivateEndpointsRequest . vcnId , "isCluster" : listDbManagementPrivateEndpointsRequest . isCluster , "lifecycleState" : listDbManagementPrivateEndpointsRequest . lifecycleState , "limit" : listDbManagementPrivateEndpointsRequest . limit , "page" : listDbManagementPrivateEndpointsRequest . page , "sortOrder" : listDbManagementPrivateEndpointsRequest . sortOrder , "sortBy" : listDbManagementPrivateEndpointsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listDbManagementPrivateEndpointsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listDbManagementPrivateEndpointsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListDbManagementPrivateEndpointsResponse > { } , body : await response . json ( ) , bodyKey : "dbManagementPrivateEndpointCollection" , bodyModel : model . DbManagementPrivateEndpointCollection , type : "model.DbManagementPrivateEndpointCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListJobExecutionsRequest return throws example Click  https to see how to use ListJobExecutions API.
      public async listJobExecutions ( listJobExecutionsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listJobExecutions." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobExecutionsRequest . compartmentId , "id" : listJobExecutionsRequest . id , "jobId" : listJobExecutionsRequest . jobId , "managedDatabaseId" : listJobExecutionsRequest . managedDatabaseId , "managedDatabaseGroupId" : listJobExecutionsRequest . managedDatabaseGroupId , "status" : listJobExecutionsRequest . status , "name" : listJobExecutionsRequest . name , "limit" : listJobExecutionsRequest . limit , "page" : listJobExecutionsRequest . page , "sortBy" : listJobExecutionsRequest . sortBy , "sortOrder" : listJobExecutionsRequest . sortOrder , "jobRunId" : listJobExecutionsRequest . jobRunId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobExecutionsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobExecutionsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobExecutions" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobExecutionsResponse > { } , body : await response . json ( ) , bodyKey : "jobExecutionCollection" , bodyModel : model . JobExecutionCollection , type : "model.JobExecutionCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListJobRunsRequest return throws example Click  https to see how to use ListJobRuns API.
      public async listJobRuns ( listJobRunsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listJobRuns." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobRunsRequest . compartmentId , "id" : listJobRunsRequest . id , "jobId" : listJobRunsRequest . jobId , "managedDatabaseId" : listJobRunsRequest . managedDatabaseId , "managedDatabaseGroupId" : listJobRunsRequest . managedDatabaseGroupId , "runStatus" : listJobRunsRequest . runStatus , "name" : listJobRunsRequest . name , "limit" : listJobRunsRequest . limit , "page" : listJobRunsRequest . page , "sortBy" : listJobRunsRequest . sortBy , "sortOrder" : listJobRunsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobRunsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobRunsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobRuns" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobRunsResponse > { } , body : await response . json ( ) , bodyKey : "jobRunCollection" , bodyModel : model . JobRunCollection , type : "model.JobRunCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListJobsRequest return throws example Click  https to see how to use ListJobs API.
      public async listJobs ( listJobsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listJobs." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listJobsRequest . compartmentId , "id" : listJobsRequest . id , "managedDatabaseGroupId" : listJobsRequest . managedDatabaseGroupId , "managedDatabaseId" : listJobsRequest . managedDatabaseId , "name" : listJobsRequest . name , "lifecycleState" : listJobsRequest . lifecycleState , "limit" : listJobsRequest . limit , "page" : listJobsRequest . page , "sortBy" : listJobsRequest . sortBy , "sortOrder" : listJobsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listJobsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listJobsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListJobsResponse > { } , body : await response . json ( ) , bodyKey : "jobCollection" , bodyModel : model . JobCollection , type : "model.JobCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListManagedDatabaseGroupsRequest return throws example Click  https to see how to use ListManagedDatabaseGroups API.
      public async listManagedDatabaseGroups ( listManagedDatabaseGroupsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listManagedDatabaseGroups." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listManagedDatabaseGroupsRequest . compartmentId , "id" : listManagedDatabaseGroupsRequest . id , "name" : listManagedDatabaseGroupsRequest . name , "lifecycleState" : listManagedDatabaseGroupsRequest . lifecycleState , "page" : listManagedDatabaseGroupsRequest . page , "limit" : listManagedDatabaseGroupsRequest . limit , "sortBy" : listManagedDatabaseGroupsRequest . sortBy , "sortOrder" : listManagedDatabaseGroupsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listManagedDatabaseGroupsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listManagedDatabaseGroupsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListManagedDatabaseGroupsResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabaseGroupCollection" , bodyModel : model . ManagedDatabaseGroupCollection , type : "model.ManagedDatabaseGroupCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListManagedDatabasesRequest return throws example Click  https to see how to use ListManagedDatabases API.
      public async listManagedDatabases ( listManagedDatabasesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listManagedDatabases." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listManagedDatabasesRequest . compartmentId , "id" : listManagedDatabasesRequest . id , "name" : listManagedDatabasesRequest . name , "managementOption" : listManagedDatabasesRequest . managementOption , "deploymentType" : listManagedDatabasesRequest . deploymentType , "page" : listManagedDatabasesRequest . page , "limit" : listManagedDatabasesRequest . limit , "sortBy" : listManagedDatabasesRequest . sortBy , "sortOrder" : listManagedDatabasesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listManagedDatabasesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listManagedDatabasesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListManagedDatabasesResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabaseCollection" , bodyModel : model . ManagedDatabaseCollection , type : "model.ManagedDatabaseCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListObjectPrivilegesRequest return throws example Click  https to see how to use ListObjectPrivileges API.
      public async listObjectPrivileges ( listObjectPrivilegesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listObjectPrivileges." ) ; const pathParams = { "{managedDatabaseId}" : listObjectPrivilegesRequest . managedDatabaseId , "{userName}" : listObjectPrivilegesRequest . userName } ; const queryParams = { "name" : listObjectPrivilegesRequest . name , "sortBy" : listObjectPrivilegesRequest . sortBy , "sortOrder" : listObjectPrivilegesRequest . sortOrder , "limit" : listObjectPrivilegesRequest . limit , "page" : listObjectPrivilegesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listObjectPrivilegesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listObjectPrivilegesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/objectPrivileges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListObjectPrivilegesResponse > { } , body : await response . json ( ) , bodyKey : "objectPrivilegeCollection" , bodyModel : model . ObjectPrivilegeCollection , type : "model.ObjectPrivilegeCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListProxiedForUsersRequest return throws example Click  https to see how to use ListProxiedForUsers API.
      public async listProxiedForUsers ( listProxiedForUsersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listProxiedForUsers." ) ; const pathParams = { "{managedDatabaseId}" : listProxiedForUsersRequest . managedDatabaseId , "{userName}" : listProxiedForUsersRequest . userName } ; const queryParams = { "name" : listProxiedForUsersRequest . name , "sortBy" : listProxiedForUsersRequest . sortBy , "sortOrder" : listProxiedForUsersRequest . sortOrder , "limit" : listProxiedForUsersRequest . limit , "page" : listProxiedForUsersRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listProxiedForUsersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listProxiedForUsersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/proxiedForUsers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListProxiedForUsersResponse > { } , body : await response . json ( ) , bodyKey : "proxiedForUserCollection" , bodyModel : model . ProxiedForUserCollection , type : "model.ProxiedForUserCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListProxyUsersRequest return throws example Click  https to see how to use ListProxyUsers API.
      public async listProxyUsers ( listProxyUsersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listProxyUsers." ) ; const pathParams = { "{managedDatabaseId}" : listProxyUsersRequest . managedDatabaseId , "{userName}" : listProxyUsersRequest . userName } ; const queryParams = { "name" : listProxyUsersRequest . name , "sortBy" : listProxyUsersRequest . sortBy , "sortOrder" : listProxyUsersRequest . sortOrder , "limit" : listProxyUsersRequest . limit , "page" : listProxyUsersRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listProxyUsersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listProxyUsersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/proxyUsers" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListProxyUsersResponse > { } , body : await response . json ( ) , bodyKey : "proxyUserCollection" , bodyModel : model . ProxyUserCollection , type : "model.ProxyUserCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListRolesRequest return throws example Click  https to see how to use ListRoles API.
      public async listRoles ( listRolesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listRoles." ) ; const pathParams = { "{managedDatabaseId}" : listRolesRequest . managedDatabaseId , "{userName}" : listRolesRequest . userName } ; const queryParams = { "name" : listRolesRequest . name , "sortBy" : listRolesRequest . sortBy , "sortOrder" : listRolesRequest . sortOrder , "limit" : listRolesRequest . limit , "page" : listRolesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listRolesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listRolesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/roles" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListRolesResponse > { } , body : await response . json ( ) , bodyKey : "roleCollection" , bodyModel : model . RoleCollection , type : "model.RoleCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSystemPrivilegesRequest return throws example Click  https to see how to use ListSystemPrivileges API.
      public async listSystemPrivileges ( listSystemPrivilegesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listSystemPrivileges." ) ; const pathParams = { "{managedDatabaseId}" : listSystemPrivilegesRequest . managedDatabaseId , "{userName}" : listSystemPrivilegesRequest . userName } ; const queryParams = { "name" : listSystemPrivilegesRequest . name , "sortBy" : listSystemPrivilegesRequest . sortBy , "sortOrder" : listSystemPrivilegesRequest . sortOrder , "limit" : listSystemPrivilegesRequest . limit , "page" : listSystemPrivilegesRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSystemPrivilegesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSystemPrivilegesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users/{userName}/systemPrivileges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSystemPrivilegesResponse > { } , body : await response . json ( ) , bodyKey : "systemPrivilegeCollection" , bodyModel : model . SystemPrivilegeCollection , type : "model.SystemPrivilegeCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListTablespacesRequest return throws example Click  https to see how to use ListTablespaces API.
      public async listTablespaces ( listTablespacesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listTablespaces." ) ; const pathParams = { "{managedDatabaseId}" : listTablespacesRequest . managedDatabaseId } ; const queryParams = { "name" : listTablespacesRequest . name , "sortBy" : listTablespacesRequest . sortBy , "sortOrder" : listTablespacesRequest . sortOrder , "page" : listTablespacesRequest . page , "limit" : listTablespacesRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listTablespacesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listTablespacesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/tablespaces" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListTablespacesResponse > { } , body : await response . json ( ) , bodyKey : "tablespaceCollection" , bodyModel : model . TablespaceCollection , type : "model.TablespaceCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListUsersRequest return throws example Click  https to see how to use ListUsers API.
      public async listUsers ( listUsersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listUsers." ) ; const pathParams = { "{managedDatabaseId}" : listUsersRequest . managedDatabaseId } ; const queryParams = { "name" : listUsersRequest . name , "sortBy" : listUsersRequest . sortBy , "sortOrder" : listUsersRequest . sortOrder , "limit" : listUsersRequest . limit , "page" : listUsersRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listUsersRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listUsersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/users" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListUsersResponse > { } , body : await response . json ( ) , bodyKey : "userCollection" , bodyModel : model . UserCollection , type : "model.UserCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListWorkRequestErrorsRequest return throws example Click  https to see how to use ListWorkRequestErrors API.
      public async listWorkRequestErrors ( listWorkRequestErrorsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestErrorsRequest . page , "limit" : listWorkRequestErrorsRequest . limit , "sortBy" : listWorkRequestErrorsRequest . sortBy , "sortOrder" : listWorkRequestErrorsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestErrorsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestErrorsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/errors" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestErrorsResponse > { } , body : await response . json ( ) , bodyKey : "workRequestErrorCollection" , bodyModel : model . WorkRequestErrorCollection , type : "model.WorkRequestErrorCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListWorkRequestLogsRequest return throws example Click  https to see how to use ListWorkRequestLogs API.
      public async listWorkRequestLogs ( listWorkRequestLogsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestLogsRequest . page , "limit" : listWorkRequestLogsRequest . limit , "sortBy" : listWorkRequestLogsRequest . sortBy , "sortOrder" : listWorkRequestLogsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestLogsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestLogsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests/{workRequestId}/logs" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestLogsResponse > { } , body : await response . json ( ) , bodyKey : "workRequestLogEntryCollection" , bodyModel : model . WorkRequestLogEntryCollection , type : "model.WorkRequestLogEntryCollection" , responseHeaders : [ { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } , { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListWorkRequestsRequest return throws example Click  https to see how to use ListWorkRequests API.
      public async listWorkRequests ( listWorkRequestsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "resourceId" : listWorkRequestsRequest . resourceId , "workRequestId" : listWorkRequestsRequest . workRequestId , "status" : listWorkRequestsRequest . status , "sortOrder" : listWorkRequestsRequest . sortOrder , "sortBy" : listWorkRequestsRequest . sortBy , "page" : listWorkRequestsRequest . page , "limit" : listWorkRequestsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listWorkRequestsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listWorkRequestsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/workRequests" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListWorkRequestsResponse > { } , body : await response . json ( ) , bodyKey : "workRequestCollection" , bodyModel : model . WorkRequestCollection , type : "model.WorkRequestCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param RemoveManagedDatabaseFromManagedDatabaseGroupRequest return throws example Click  https to see how to use RemoveManagedDatabaseFromManagedDatabaseGroup API.
      public async removeManagedDatabaseFromManagedDatabaseGroup ( removeManagedDatabaseFromManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#removeManagedDatabaseFromManagedDatabaseGroup." ) ; const pathParams = { "{managedDatabaseGroupId}" : removeManagedDatabaseFromManagedDatabaseGroupRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : removeManagedDatabaseFromManagedDatabaseGroupRequest . opcRequestId , "opc-retry-token" : removeManagedDatabaseFromManagedDatabaseGroupRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , removeManagedDatabaseFromManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}/actions/removeManagedDatabase" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( removeManagedDatabaseFromManagedDatabaseGroupRequest . removeManagedDatabaseFromManagedDatabaseGroupDetails , "RemoveManagedDatabaseFromManagedDatabaseGroupDetails" , model . RemoveManagedDatabaseFromManagedDatabaseGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . RemoveManagedDatabaseFromManagedDatabaseGroupResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ResetDatabaseParametersRequest return throws example Click  https to see how to use ResetDatabaseParameters API.
      public async resetDatabaseParameters ( resetDatabaseParametersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#resetDatabaseParameters." ) ; const pathParams = { "{managedDatabaseId}" : resetDatabaseParametersRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : resetDatabaseParametersRequest . opcRequestId , "opc-retry-token" : resetDatabaseParametersRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , resetDatabaseParametersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/actions/resetDatabaseParameters" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( resetDatabaseParametersRequest . resetDatabaseParametersDetails , "ResetDatabaseParametersDetails" , model . ResetDatabaseParametersDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ResetDatabaseParametersResponse > { } , body : await response . json ( ) , bodyKey : "updateDatabaseParametersResult" , bodyModel : model . UpdateDatabaseParametersResult , type : "model.UpdateDatabaseParametersResult" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbCpuUsagesRequest return throws example Click  https to see how to use SummarizeAwrDbCpuUsages API.
      public async summarizeAwrDbCpuUsages ( summarizeAwrDbCpuUsagesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbCpuUsages." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbCpuUsagesRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbCpuUsagesRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbCpuUsagesRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbCpuUsagesRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbCpuUsagesRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbCpuUsagesRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbCpuUsagesRequest . timeLessThanOrEqualTo , "sessionType" : summarizeAwrDbCpuUsagesRequest . sessionType , "containerId" : summarizeAwrDbCpuUsagesRequest . containerId , "page" : summarizeAwrDbCpuUsagesRequest . page , "limit" : summarizeAwrDbCpuUsagesRequest . limit , "sortBy" : summarizeAwrDbCpuUsagesRequest . sortBy , "sortOrder" : summarizeAwrDbCpuUsagesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbCpuUsagesRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbCpuUsagesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbCpuUsagesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbCpuUsages" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbCpuUsagesResponse > { } , body : await response . json ( ) , bodyKey : "awrDbCpuUsageCollection" , bodyModel : model . AwrDbCpuUsageCollection , type : "model.AwrDbCpuUsageCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbMetricsRequest return throws example Click  https to see how to use SummarizeAwrDbMetrics API.
      public async summarizeAwrDbMetrics ( summarizeAwrDbMetricsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbMetrics." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbMetricsRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbMetricsRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbMetricsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbMetricsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbMetricsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbMetricsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbMetricsRequest . timeLessThanOrEqualTo , "name" : summarizeAwrDbMetricsRequest . name , "containerId" : summarizeAwrDbMetricsRequest . containerId , "page" : summarizeAwrDbMetricsRequest . page , "limit" : summarizeAwrDbMetricsRequest . limit , "sortBy" : summarizeAwrDbMetricsRequest . sortBy , "sortOrder" : summarizeAwrDbMetricsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbMetricsRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbMetricsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbMetricsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbMetrics" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbMetricsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbMetricCollection" , bodyModel : model . AwrDbMetricCollection , type : "model.AwrDbMetricCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbParameterChangesRequest return throws example Click  https to see how to use SummarizeAwrDbParameterChanges API.
      public async summarizeAwrDbParameterChanges ( summarizeAwrDbParameterChangesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbParameterChanges." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbParameterChangesRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbParameterChangesRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbParameterChangesRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbParameterChangesRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbParameterChangesRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbParameterChangesRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbParameterChangesRequest . timeLessThanOrEqualTo , "containerId" : summarizeAwrDbParameterChangesRequest . containerId , "name" : summarizeAwrDbParameterChangesRequest . name , "page" : summarizeAwrDbParameterChangesRequest . page , "limit" : summarizeAwrDbParameterChangesRequest . limit , "sortBy" : summarizeAwrDbParameterChangesRequest . sortBy , "sortOrder" : summarizeAwrDbParameterChangesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbParameterChangesRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbParameterChangesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbParameterChangesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbParameterChangesResponse > { } , body : await response . json ( ) , bodyKey : "awrDbParameterChangeCollection" , bodyModel : model . AwrDbParameterChangeCollection , type : "model.AwrDbParameterChangeCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbParametersRequest return throws example Click  https to see how to use SummarizeAwrDbParameters API.
        public async summarizeAwrDbParameters ( summarizeAwrDbParametersRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbParameters." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbParametersRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbParametersRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbParametersRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbParametersRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbParametersRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbParametersRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbParametersRequest . timeLessThanOrEqualTo , "containerId" : summarizeAwrDbParametersRequest . containerId , "name" : summarizeAwrDbParametersRequest . name , "nameContains" : summarizeAwrDbParametersRequest . nameContains , "valueChanged" : summarizeAwrDbParametersRequest . valueChanged , "valueDefault" : summarizeAwrDbParametersRequest . valueDefault , "valueModified" : summarizeAwrDbParametersRequest . valueModified , "page" : summarizeAwrDbParametersRequest . page , "limit" : summarizeAwrDbParametersRequest . limit , "sortBy" : summarizeAwrDbParametersRequest . sortBy , "sortOrder" : summarizeAwrDbParametersRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbParametersRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbParametersRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbParametersRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameters" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbParametersResponse > { } , body : await response . json ( ) , bodyKey : "awrDbParameterCollection" , bodyModel : model . AwrDbParameterCollection , type : "model.AwrDbParameterCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbSnapshotRangesRequest return throws example Click  https to see how to use SummarizeAwrDbSnapshotRanges API.
      public async summarizeAwrDbSnapshotRanges ( summarizeAwrDbSnapshotRangesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbSnapshotRanges." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbSnapshotRangesRequest . managedDatabaseId } ; const queryParams = { "name" : summarizeAwrDbSnapshotRangesRequest . name , "timeGreaterThanOrEqualTo" : summarizeAwrDbSnapshotRangesRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbSnapshotRangesRequest . timeLessThanOrEqualTo , "page" : summarizeAwrDbSnapshotRangesRequest . page , "limit" : summarizeAwrDbSnapshotRangesRequest . limit , "sortBy" : summarizeAwrDbSnapshotRangesRequest . sortBy , "sortOrder" : summarizeAwrDbSnapshotRangesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbSnapshotRangesRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbSnapshotRangesRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbSnapshotRangesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbSnapshotRangesResponse > { } , body : await response . json ( ) , bodyKey : "awrDbSnapshotRangeCollection" , bodyModel : model . AwrDbSnapshotRangeCollection , type : "model.AwrDbSnapshotRangeCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbSysstatsRequest return throws example Click  https to see how to use SummarizeAwrDbSysstats API.
      public async summarizeAwrDbSysstats ( summarizeAwrDbSysstatsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbSysstats." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbSysstatsRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbSysstatsRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbSysstatsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbSysstatsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbSysstatsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbSysstatsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbSysstatsRequest . timeLessThanOrEqualTo , "name" : summarizeAwrDbSysstatsRequest . name , "containerId" : summarizeAwrDbSysstatsRequest . containerId , "page" : summarizeAwrDbSysstatsRequest . page , "limit" : summarizeAwrDbSysstatsRequest . limit , "sortBy" : summarizeAwrDbSysstatsRequest . sortBy , "sortOrder" : summarizeAwrDbSysstatsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbSysstatsRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbSysstatsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbSysstatsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSysstats" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbSysstatsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbSysstatCollection" , bodyModel : model . AwrDbSysstatCollection , type : "model.AwrDbSysstatCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbTopWaitEventsRequest return throws example Click  https to see how to use SummarizeAwrDbTopWaitEvents API.
      public async summarizeAwrDbTopWaitEvents ( summarizeAwrDbTopWaitEventsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbTopWaitEvents." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbTopWaitEventsRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbTopWaitEventsRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbTopWaitEventsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbTopWaitEventsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbTopWaitEventsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbTopWaitEventsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbTopWaitEventsRequest . timeLessThanOrEqualTo , "sessionType" : summarizeAwrDbTopWaitEventsRequest . sessionType , "containerId" : summarizeAwrDbTopWaitEventsRequest . containerId , "topN" : summarizeAwrDbTopWaitEventsRequest . topN , "sortBy" : summarizeAwrDbTopWaitEventsRequest . sortBy , "sortOrder" : summarizeAwrDbTopWaitEventsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbTopWaitEventsRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbTopWaitEventsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbTopWaitEventsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbTopWaitEvents" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbTopWaitEventsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbTopWaitEventCollection" , bodyModel : model . AwrDbTopWaitEventCollection , type : "model.AwrDbTopWaitEventCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbWaitEventBucketsRequest return throws example Click  https to see how to use SummarizeAwrDbWaitEventBuckets API.
      public async summarizeAwrDbWaitEventBuckets ( summarizeAwrDbWaitEventBucketsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbWaitEventBuckets." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbWaitEventBucketsRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbWaitEventBucketsRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbWaitEventBucketsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbWaitEventBucketsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbWaitEventBucketsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbWaitEventBucketsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbWaitEventBucketsRequest . timeLessThanOrEqualTo , "name" : summarizeAwrDbWaitEventBucketsRequest . name , "numBucket" : summarizeAwrDbWaitEventBucketsRequest . numBucket , "minValue" : summarizeAwrDbWaitEventBucketsRequest . minValue , "maxValue" : summarizeAwrDbWaitEventBucketsRequest . maxValue , "containerId" : summarizeAwrDbWaitEventBucketsRequest . containerId , "page" : summarizeAwrDbWaitEventBucketsRequest . page , "limit" : summarizeAwrDbWaitEventBucketsRequest . limit , "sortBy" : summarizeAwrDbWaitEventBucketsRequest . sortBy , "sortOrder" : summarizeAwrDbWaitEventBucketsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbWaitEventBucketsRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbWaitEventBucketsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbWaitEventBucketsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbWaitEventBuckets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbWaitEventBucketsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbWaitEventBucketCollection" , bodyModel : model . AwrDbWaitEventBucketCollection , type : "model.AwrDbWaitEventBucketCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeAwrDbWaitEventsRequest return throws example Click  https to see how to use SummarizeAwrDbWaitEvents API.
      public async summarizeAwrDbWaitEvents ( summarizeAwrDbWaitEventsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeAwrDbWaitEvents." ) ; const pathParams = { "{managedDatabaseId}" : summarizeAwrDbWaitEventsRequest . managedDatabaseId , "{awrDbId}" : summarizeAwrDbWaitEventsRequest . awrDbId } ; const queryParams = { "instNum" : summarizeAwrDbWaitEventsRequest . instNum , "beginSnIdGreaterThanOrEqualTo" : summarizeAwrDbWaitEventsRequest . beginSnIdGreaterThanOrEqualTo , "endSnIdLessThanOrEqualTo" : summarizeAwrDbWaitEventsRequest . endSnIdLessThanOrEqualTo , "timeGreaterThanOrEqualTo" : summarizeAwrDbWaitEventsRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : summarizeAwrDbWaitEventsRequest . timeLessThanOrEqualTo , "name" : summarizeAwrDbWaitEventsRequest . name , "sessionType" : summarizeAwrDbWaitEventsRequest . sessionType , "containerId" : summarizeAwrDbWaitEventsRequest . containerId , "page" : summarizeAwrDbWaitEventsRequest . page , "limit" : summarizeAwrDbWaitEventsRequest . limit , "sortBy" : summarizeAwrDbWaitEventsRequest . sortBy , "sortOrder" : summarizeAwrDbWaitEventsRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeAwrDbWaitEventsRequest . opcRequestId , "opc-retry-token" : summarizeAwrDbWaitEventsRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeAwrDbWaitEventsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbWaitEvents" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeAwrDbWaitEventsResponse > { } , body : await response . json ( ) , bodyKey : "awrDbWaitEventCollection" , bodyModel : model . AwrDbWaitEventCollection , type : "model.AwrDbWaitEventCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param SummarizeJobExecutionsStatusesRequest return throws example Click  https to see how to use SummarizeJobExecutionsStatuses API.
      public async summarizeJobExecutionsStatuses ( summarizeJobExecutionsStatusesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#summarizeJobExecutionsStatuses." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : summarizeJobExecutionsStatusesRequest . compartmentId , "id" : summarizeJobExecutionsStatusesRequest . id , "managedDatabaseGroupId" : summarizeJobExecutionsStatusesRequest . managedDatabaseGroupId , "managedDatabaseId" : summarizeJobExecutionsStatusesRequest . managedDatabaseId , "startTime" : summarizeJobExecutionsStatusesRequest . startTime , "endTime" : summarizeJobExecutionsStatusesRequest . endTime , "name" : summarizeJobExecutionsStatusesRequest . name , "sortBy" : summarizeJobExecutionsStatusesRequest . sortBy , "sortOrder" : summarizeJobExecutionsStatusesRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : summarizeJobExecutionsStatusesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , summarizeJobExecutionsStatusesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobExecutionsStatus" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . SummarizeJobExecutionsStatusesResponse > { } , body : await response . json ( ) , bodyKey : "jobExecutionsStatusSummaryCollection" , bodyModel : model . JobExecutionsStatusSummaryCollection , type : "model.JobExecutionsStatusSummaryCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateDbManagementPrivateEndpointRequest return throws example Click  https to see how to use UpdateDbManagementPrivateEndpoint API.
      public async updateDbManagementPrivateEndpoint ( updateDbManagementPrivateEndpointRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#updateDbManagementPrivateEndpoint." ) ; const pathParams = { "{dbManagementPrivateEndpointId}" : updateDbManagementPrivateEndpointRequest . dbManagementPrivateEndpointId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateDbManagementPrivateEndpointRequest . opcRequestId , "if-match" : updateDbManagementPrivateEndpointRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateDbManagementPrivateEndpointRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/dbManagementPrivateEndpoints/{dbManagementPrivateEndpointId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateDbManagementPrivateEndpointRequest . updateDbManagementPrivateEndpointDetails , "UpdateDbManagementPrivateEndpointDetails" , model . UpdateDbManagementPrivateEndpointDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateDbManagementPrivateEndpointResponse > { } , body : await response . json ( ) , bodyKey : "dbManagementPrivateEndpoint" , bodyModel : model . DbManagementPrivateEndpoint , type : "model.DbManagementPrivateEndpoint" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateJobRequest return throws example Click  https to see how to use UpdateJob API.
      public async updateJob ( updateJobRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#updateJob." ) ; const pathParams = { "{jobId}" : updateJobRequest . jobId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : updateJobRequest . opcRequestId , "if-match" : updateJobRequest . ifMatch } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateJobRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/jobs/{jobId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateJobRequest . updateJobDetails , "UpdateJobDetails" , model . UpdateJobDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateJobResponse > { } , body : await response . json ( ) , bodyKey : "job" , bodyModel : model . Job , type : "model.Job" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param UpdateManagedDatabaseGroupRequest return throws example Click  https to see how to use UpdateManagedDatabaseGroup API.
      public async updateManagedDatabaseGroup ( updateManagedDatabaseGroupRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation DbManagementClient#updateManagedDatabaseGroup." ) ; const pathParams = { "{managedDatabaseGroupId}" : updateManagedDatabaseGroupRequest . managedDatabaseGroupId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateManagedDatabaseGroupRequest . ifMatch , "opc-request-id" : updateManagedDatabaseGroupRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateManagedDatabaseGroupRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabaseGroups/{managedDatabaseGroupId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateManagedDatabaseGroupRequest . updateManagedDatabaseGroupDetails , "UpdateManagedDatabaseGroupDetails" , model . UpdateManagedDatabaseGroupDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateManagedDatabaseGroupResponse > { } , body : await response . json ( ) , bodyKey : "managedDatabaseGroup" , bodyModel : model . ManagedDatabaseGroup , type : "model.ManagedDatabaseGroup" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "etag" ) , key : "etag" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } } export enum SqlTuningApiKeys { } /**
 * This service client uses  common . CircuitBreaker . DefaultConfiguration for all the operations by default if no circuit breaker configuration is defined by the user.
  export class SqlTuningClient { protected static serviceEndpointTemplate = "https://dbmgmt.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_clientConfiguration" : common . ClientConfiguration ; protected _circuitBreaker = null ; protected _httpClient : common . HttpClient ; constructor ( params , clientConfiguration ? ) { const requestSigner = params . authenticationDetailsProvider ? new common . DefaultRequestSigner ( params . authenticationDetailsProvider ) : null ; if ( clientConfiguration ) { this . _clientConfiguration = clientConfiguration ; this . _circuitBreaker = clientConfiguration . circuitBreaker ? clientConfiguration . circuitBreaker ! . circuit : null ; } const specCircuitBreakerEnabled = true ; if ( ! this . _circuitBreaker && common . utils . isCircuitBreakerSystemEnabled ( clientConfiguration ! ) && ( specCircuitBreakerEnabled || common . CircuitBreaker . DefaultCircuitBreakerOverriden ) ) { this . _circuitBreaker = new common . CircuitBreaker ( ) . circuit ; } this . _httpClient = params . httpClient || new common . FetchHttpClient ( requestSigner , this . _circuitBreaker ) ; if ( params . authenticationDetailsProvider && common . isRegionProvider ( params . authenticationDetailsProvider ) ) { const provider = params . authenticationDetailsProvider ; if ( provider . getRegion ( ) ) { this . region = provider . getRegion ( ) ; } } } /**
     * Get the endpoint that is being used to call (ex, https://www.example.com).
     */ public get endpoint ( ) { return this . _endpoint ; } param endpoint public set endpoint ( endpoint ) { this . _endpoint = endpoint ; this . _endpoint = this . _endpoint + "/20201101" ; if ( this . logger ) this . logger . info ( `SqlTuningClient endpoint set to ${ this . _endpoint }` ) ; } public get logger ( ) { return common . LOG . logger ; } /**
     * Sets the region to call (ex, Region.US_PHOENIX_1).
     * Note, this will call  {@link #endpoint(String) endpoint} after resolving the endpoint.
     *  param region public set region ( region ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegion ( SqlTuningClient . serviceEndpointTemplate , region ) ; } /**
     * Sets the regionId to call (ex, 'us-phoenix-1').
     *
     * Note, this will first try to map the region ID to a known Region and call  {@link #region(Region) region} .
     * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1
     * and then call  {@link #endpoint(String) endpoint} .
     *  param regionId public set regionId ( regionId ) { this . endpoint = common . EndpointBuilder . createEndpointFromRegionId ( SqlTuningClient . serviceEndpointTemplate , regionId ) ; } param CloneSqlTuningTaskRequest return throws example Click  https to see how to use CloneSqlTuningTask API.
      public async cloneSqlTuningTask ( cloneSqlTuningTaskRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#cloneSqlTuningTask." ) ; const pathParams = { "{managedDatabaseId}" : cloneSqlTuningTaskRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : cloneSqlTuningTaskRequest . opcRequestId , "opc-retry-token" : cloneSqlTuningTaskRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , cloneSqlTuningTaskRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/actions/cloneSqlTuningTask" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( cloneSqlTuningTaskRequest . cloneSqlTuningTaskDetails , "CloneSqlTuningTaskDetails" , model . CloneSqlTuningTaskDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CloneSqlTuningTaskResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningTaskReturn" , bodyModel : model . SqlTuningTaskReturn , type : "model.SqlTuningTaskReturn" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DropSqlTuningTaskRequest return throws example Click  https to see how to use DropSqlTuningTask API.
      public async dropSqlTuningTask ( dropSqlTuningTaskRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#dropSqlTuningTask." ) ; const pathParams = { "{managedDatabaseId}" : dropSqlTuningTaskRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : dropSqlTuningTaskRequest . opcRequestId , "opc-retry-token" : dropSqlTuningTaskRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , dropSqlTuningTaskRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/actions/dropSqlTuningTask" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( dropSqlTuningTaskRequest . dropSqlTuningTaskDetails , "DropSqlTuningTaskDetails" , model . DropSqlTuningTaskDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DropSqlTuningTaskResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetExecutionPlanStatsComparisionRequest return throws example Click  https to see how to use GetExecutionPlanStatsComparision API.
      public async getExecutionPlanStatsComparision ( getExecutionPlanStatsComparisionRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#getExecutionPlanStatsComparision." ) ; const pathParams = { "{managedDatabaseId}" : getExecutionPlanStatsComparisionRequest . managedDatabaseId , "{sqlTuningAdvisorTaskId}" : getExecutionPlanStatsComparisionRequest . sqlTuningAdvisorTaskId } ; const queryParams = { "sqlObjectId" : getExecutionPlanStatsComparisionRequest . sqlObjectId , "executionId" : getExecutionPlanStatsComparisionRequest . executionId } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getExecutionPlanStatsComparisionRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getExecutionPlanStatsComparisionRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/executionPlanStatsComparision" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetExecutionPlanStatsComparisionResponse > { } , body : await response . json ( ) , bodyKey : "executionPlanStatsComparision" , bodyModel : model . ExecutionPlanStatsComparision , type : "model.ExecutionPlanStatsComparision" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSqlExecutionPlanRequest return throws example Click  https to see how to use GetSqlExecutionPlan API.
      public async getSqlExecutionPlan ( getSqlExecutionPlanRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#getSqlExecutionPlan." ) ; const pathParams = { "{managedDatabaseId}" : getSqlExecutionPlanRequest . managedDatabaseId , "{sqlTuningAdvisorTaskId}" : getSqlExecutionPlanRequest . sqlTuningAdvisorTaskId } ; const queryParams = { "sqlObjectId" : getSqlExecutionPlanRequest . sqlObjectId , "attribute" : getSqlExecutionPlanRequest . attribute } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSqlExecutionPlanRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSqlExecutionPlanRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/sqlExecutionPlan" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSqlExecutionPlanResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningAdvisorTaskSqlExecutionPlan" , bodyModel : model . SqlTuningAdvisorTaskSqlExecutionPlan , type : "model.SqlTuningAdvisorTaskSqlExecutionPlan" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetSqlTuningAdvisorTaskSummaryReportRequest return throws example Click  https to see how to use GetSqlTuningAdvisorTaskSummaryReport API.
      public async getSqlTuningAdvisorTaskSummaryReport ( getSqlTuningAdvisorTaskSummaryReportRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#getSqlTuningAdvisorTaskSummaryReport." ) ; const pathParams = { "{managedDatabaseId}" : getSqlTuningAdvisorTaskSummaryReportRequest . managedDatabaseId , "{sqlTuningAdvisorTaskId}" : getSqlTuningAdvisorTaskSummaryReportRequest . sqlTuningAdvisorTaskId } ; const queryParams = { "searchPeriod" : getSqlTuningAdvisorTaskSummaryReportRequest . searchPeriod , "timeGreaterThanOrEqualTo" : getSqlTuningAdvisorTaskSummaryReportRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : getSqlTuningAdvisorTaskSummaryReportRequest . timeLessThanOrEqualTo , "beginExecIdGreaterThanOrEqualTo" : getSqlTuningAdvisorTaskSummaryReportRequest . beginExecIdGreaterThanOrEqualTo , "endExecIdLessThanOrEqualTo" : getSqlTuningAdvisorTaskSummaryReportRequest . endExecIdLessThanOrEqualTo } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getSqlTuningAdvisorTaskSummaryReportRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getSqlTuningAdvisorTaskSummaryReportRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/summaryReport" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetSqlTuningAdvisorTaskSummaryReportResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningAdvisorTaskSummaryReport" , bodyModel : model . SqlTuningAdvisorTaskSummaryReport , type : "model.SqlTuningAdvisorTaskSummaryReport" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSqlTuningAdvisorTaskFindingsRequest return throws example Click  https to see how to use ListSqlTuningAdvisorTaskFindings API.
      public async listSqlTuningAdvisorTaskFindings ( listSqlTuningAdvisorTaskFindingsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#listSqlTuningAdvisorTaskFindings." ) ; const pathParams = { "{managedDatabaseId}" : listSqlTuningAdvisorTaskFindingsRequest . managedDatabaseId , "{sqlTuningAdvisorTaskId}" : listSqlTuningAdvisorTaskFindingsRequest . sqlTuningAdvisorTaskId } ; const queryParams = { "beginExecId" : listSqlTuningAdvisorTaskFindingsRequest . beginExecId , "endExecId" : listSqlTuningAdvisorTaskFindingsRequest . endExecId , "searchPeriod" : listSqlTuningAdvisorTaskFindingsRequest . searchPeriod , "findingFilter" : listSqlTuningAdvisorTaskFindingsRequest . findingFilter , "statsHashFilter" : listSqlTuningAdvisorTaskFindingsRequest . statsHashFilter , "indexHashFilter" : listSqlTuningAdvisorTaskFindingsRequest . indexHashFilter , "sortBy" : listSqlTuningAdvisorTaskFindingsRequest . sortBy , "sortOrder" : listSqlTuningAdvisorTaskFindingsRequest . sortOrder , "page" : listSqlTuningAdvisorTaskFindingsRequest . page , "limit" : listSqlTuningAdvisorTaskFindingsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSqlTuningAdvisorTaskFindingsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSqlTuningAdvisorTaskFindingsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/findings" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSqlTuningAdvisorTaskFindingsResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningAdvisorTaskFindingCollection" , bodyModel : model . SqlTuningAdvisorTaskFindingCollection , type : "model.SqlTuningAdvisorTaskFindingCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSqlTuningAdvisorTaskRecommendationsRequest return throws example Click  https to see how to use ListSqlTuningAdvisorTaskRecommendations API.
      public async listSqlTuningAdvisorTaskRecommendations ( listSqlTuningAdvisorTaskRecommendationsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#listSqlTuningAdvisorTaskRecommendations." ) ; const pathParams = { "{managedDatabaseId}" : listSqlTuningAdvisorTaskRecommendationsRequest . managedDatabaseId , "{sqlTuningAdvisorTaskId}" : listSqlTuningAdvisorTaskRecommendationsRequest . sqlTuningAdvisorTaskId } ; const queryParams = { "sqlObjectId" : listSqlTuningAdvisorTaskRecommendationsRequest . sqlObjectId , "executionId" : listSqlTuningAdvisorTaskRecommendationsRequest . executionId , "sortBy" : listSqlTuningAdvisorTaskRecommendationsRequest . sortBy , "sortOrder" : listSqlTuningAdvisorTaskRecommendationsRequest . sortOrder , "page" : listSqlTuningAdvisorTaskRecommendationsRequest . page , "limit" : listSqlTuningAdvisorTaskRecommendationsRequest . limit } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSqlTuningAdvisorTaskRecommendationsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSqlTuningAdvisorTaskRecommendationsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks/{sqlTuningAdvisorTaskId}/recommendations" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSqlTuningAdvisorTaskRecommendationsResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningAdvisorTaskRecommendationCollection" , bodyModel : model . SqlTuningAdvisorTaskRecommendationCollection , type : "model.SqlTuningAdvisorTaskRecommendationCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ListSqlTuningAdvisorTasksRequest return throws example Click  https to see how to use ListSqlTuningAdvisorTasks API.
      public async listSqlTuningAdvisorTasks ( listSqlTuningAdvisorTasksRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#listSqlTuningAdvisorTasks." ) ; const pathParams = { "{managedDatabaseId}" : listSqlTuningAdvisorTasksRequest . managedDatabaseId } ; const queryParams = { "name" : listSqlTuningAdvisorTasksRequest . name , "status" : listSqlTuningAdvisorTasksRequest . status , "timeGreaterThanOrEqualTo" : listSqlTuningAdvisorTasksRequest . timeGreaterThanOrEqualTo , "timeLessThanOrEqualTo" : listSqlTuningAdvisorTasksRequest . timeLessThanOrEqualTo , "page" : listSqlTuningAdvisorTasksRequest . page , "limit" : listSqlTuningAdvisorTasksRequest . limit , "sortBy" : listSqlTuningAdvisorTasksRequest . sortBy , "sortOrder" : listSqlTuningAdvisorTasksRequest . sortOrder } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listSqlTuningAdvisorTasksRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listSqlTuningAdvisorTasksRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/sqlTuningAdvisorTasks" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListSqlTuningAdvisorTasksResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningAdvisorTaskCollection" , bodyModel : model . SqlTuningAdvisorTaskCollection , type : "model.SqlTuningAdvisorTaskCollection" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } , { value : response . headers . get ( "opc-next-page" ) , key : "opcNextPage" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param StartSqlTuningTaskRequest return throws example Click  https to see how to use StartSqlTuningTask API.
      public async startSqlTuningTask ( startSqlTuningTaskRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation SqlTuningClient#startSqlTuningTask." ) ; const pathParams = { "{managedDatabaseId}" : startSqlTuningTaskRequest . managedDatabaseId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : startSqlTuningTaskRequest . opcRequestId , "opc-retry-token" : startSqlTuningTaskRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , startSqlTuningTaskRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/managedDatabases/{managedDatabaseId}/actions/startSqlTuningTask" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( startSqlTuningTaskRequest . startSqlTuningTaskDetails , "StartSqlTuningTaskDetails" , model . StartSqlTuningTaskDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . StartSqlTuningTaskResponse > { } , body : await response . json ( ) , bodyKey : "sqlTuningTaskReturn" , bodyModel : model . SqlTuningTaskReturn , type : "model.SqlTuningTaskReturn" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } }