/**
 * Scanning API
 * Use the Vulnerability Scanning Service (VSS) APIs to manage scan recipes, targets, and reports.
 * OpenAPI spec version: 20210215
 *
 *
 * 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 { VulnerabilityScanningWaiter } from "./vulnerabilityscanning-waiter" ; import { composeResponse , composeRequest , GenericRetrier } from "oci-common" ; export enum VulnerabilityScanningApiKeys { } /**
 * 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 VulnerabilityScanningClient { protected static serviceEndpointTemplate = "https://vss-cp-api.{region}.oci.{secondLevelDomain}" ; protected "_endpoint" : string = "" ; protected "_defaultHeaders" : any = { } ; protected "_waiters" : VulnerabilityScanningWaiter ; 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 + "/20210215" ; if ( this . logger ) this . logger . info ( `VulnerabilityScanningClient 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 ( VulnerabilityScanningClient . 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 ( VulnerabilityScanningClient . serviceEndpointTemplate , regionId ) ; } param config return public createWaiters ( config ? ) { this . _waiters = new VulnerabilityScanningWaiter ( this , config ) ; return this . _waiters ; } return public getWaiters ( ) { if ( this . _waiters ) { return this . _waiters ; } throw Error ( "Waiters do not exist. Please create waiters." ) ; } param ChangeContainerScanRecipeCompartmentRequest return throws example Click  https to see how to use ChangeContainerScanRecipeCompartment API.
      public async changeContainerScanRecipeCompartment ( changeContainerScanRecipeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeContainerScanRecipeCompartment." ) ; const pathParams = { "{containerScanRecipeId}" : changeContainerScanRecipeCompartmentRequest . containerScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeContainerScanRecipeCompartmentRequest . ifMatch , "opc-request-id" : changeContainerScanRecipeCompartmentRequest . opcRequestId , "opc-retry-token" : changeContainerScanRecipeCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeContainerScanRecipeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes/{containerScanRecipeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeContainerScanRecipeCompartmentRequest . changeContainerScanRecipeCompartmentDetails , "ChangeContainerScanRecipeCompartmentDetails" , model . ChangeContainerScanRecipeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeContainerScanRecipeCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeContainerScanResultCompartmentRequest return throws example Click  https to see how to use ChangeContainerScanResultCompartment API.
      public async changeContainerScanResultCompartment ( changeContainerScanResultCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeContainerScanResultCompartment." ) ; const pathParams = { "{containerScanResultId}" : changeContainerScanResultCompartmentRequest . containerScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeContainerScanResultCompartmentRequest . ifMatch , "opc-request-id" : changeContainerScanResultCompartmentRequest . opcRequestId , "opc-retry-token" : changeContainerScanResultCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeContainerScanResultCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanResults/{containerScanResultId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeContainerScanResultCompartmentRequest . changeContainerScanResultCompartmentDetails , "ChangeContainerScanResultCompartmentDetails" , model . ChangeContainerScanResultCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeContainerScanResultCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeContainerScanTargetCompartmentRequest return throws example Click  https to see how to use ChangeContainerScanTargetCompartment API.
      public async changeContainerScanTargetCompartment ( changeContainerScanTargetCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeContainerScanTargetCompartment." ) ; const pathParams = { "{containerScanTargetId}" : changeContainerScanTargetCompartmentRequest . containerScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeContainerScanTargetCompartmentRequest . ifMatch , "opc-request-id" : changeContainerScanTargetCompartmentRequest . opcRequestId , "opc-retry-token" : changeContainerScanTargetCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeContainerScanTargetCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets/{containerScanTargetId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeContainerScanTargetCompartmentRequest . changeContainerScanTargetCompartmentDetails , "ChangeContainerScanTargetCompartmentDetails" , model . ChangeContainerScanTargetCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeContainerScanTargetCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostAgentScanResultCompartmentRequest return throws example Click  https to see how to use ChangeHostAgentScanResultCompartment API.
      public async changeHostAgentScanResultCompartment ( changeHostAgentScanResultCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostAgentScanResultCompartment." ) ; const pathParams = { "{hostAgentScanResultId}" : changeHostAgentScanResultCompartmentRequest . hostAgentScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostAgentScanResultCompartmentRequest . ifMatch , "opc-request-id" : changeHostAgentScanResultCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostAgentScanResultCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostAgentScanResultCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostAgentScanResults/{hostAgentScanResultId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostAgentScanResultCompartmentRequest . changeHostAgentScanResultCompartmentDetails , "ChangeHostAgentScanResultCompartmentDetails" , model . ChangeHostAgentScanResultCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostAgentScanResultCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostCisBenchmarkScanResultCompartmentRequest return throws example Click  https to see how to use ChangeHostCisBenchmarkScanResultCompartment API.
      public async changeHostCisBenchmarkScanResultCompartment ( changeHostCisBenchmarkScanResultCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostCisBenchmarkScanResultCompartment." ) ; const pathParams = { "{hostCisBenchmarkScanResultId}" : changeHostCisBenchmarkScanResultCompartmentRequest . hostCisBenchmarkScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostCisBenchmarkScanResultCompartmentRequest . ifMatch , "opc-request-id" : changeHostCisBenchmarkScanResultCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostCisBenchmarkScanResultCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostCisBenchmarkScanResultCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostCisBenchmarkScanResults/{hostCisBenchmarkScanResultId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostCisBenchmarkScanResultCompartmentRequest . changeHostCisBenchmarkScanResultCompartmentDetails , "ChangeHostCisBenchmarkScanResultCompartmentDetails" , model . ChangeHostCisBenchmarkScanResultCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostCisBenchmarkScanResultCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostEndpointProtectionScanResultCompartmentRequest return throws example Click  https to see how to use ChangeHostEndpointProtectionScanResultCompartment API.
      public async changeHostEndpointProtectionScanResultCompartment ( changeHostEndpointProtectionScanResultCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostEndpointProtectionScanResultCompartment." ) ; const pathParams = { "{hostEndpointProtectionScanResultId}" : changeHostEndpointProtectionScanResultCompartmentRequest . hostEndpointProtectionScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostEndpointProtectionScanResultCompartmentRequest . ifMatch , "opc-request-id" : changeHostEndpointProtectionScanResultCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostEndpointProtectionScanResultCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostEndpointProtectionScanResultCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostEndpointProtectionScanResults/{hostEndpointProtectionScanResultId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostEndpointProtectionScanResultCompartmentRequest . changeHostEndpointProtectionScanResultCompartmentDetails , "ChangeHostEndpointProtectionScanResultCompartmentDetails" , model . ChangeHostEndpointProtectionScanResultCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostEndpointProtectionScanResultCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostPortScanResultCompartmentRequest return throws example Click  https to see how to use ChangeHostPortScanResultCompartment API.
      public async changeHostPortScanResultCompartment ( changeHostPortScanResultCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostPortScanResultCompartment." ) ; const pathParams = { "{hostPortScanResultId}" : changeHostPortScanResultCompartmentRequest . hostPortScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostPortScanResultCompartmentRequest . ifMatch , "opc-request-id" : changeHostPortScanResultCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostPortScanResultCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostPortScanResultCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostPortScanResults/{hostPortScanResultId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostPortScanResultCompartmentRequest . changeHostPortScanResultCompartmentDetails , "ChangeHostPortScanResultCompartmentDetails" , model . ChangeHostPortScanResultCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostPortScanResultCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostScanRecipeCompartmentRequest return throws example Click  https to see how to use ChangeHostScanRecipeCompartment API.
      public async changeHostScanRecipeCompartment ( changeHostScanRecipeCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostScanRecipeCompartment." ) ; const pathParams = { "{hostScanRecipeId}" : changeHostScanRecipeCompartmentRequest . hostScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostScanRecipeCompartmentRequest . ifMatch , "opc-request-id" : changeHostScanRecipeCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostScanRecipeCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostScanRecipeCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes/{hostScanRecipeId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostScanRecipeCompartmentRequest . changeHostScanRecipeCompartmentDetails , "ChangeHostScanRecipeCompartmentDetails" , model . ChangeHostScanRecipeCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostScanRecipeCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ChangeHostScanTargetCompartmentRequest return throws example Click  https to see how to use ChangeHostScanTargetCompartment API.
      public async changeHostScanTargetCompartment ( changeHostScanTargetCompartmentRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#changeHostScanTargetCompartment." ) ; const pathParams = { "{hostScanTargetId}" : changeHostScanTargetCompartmentRequest . hostScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : changeHostScanTargetCompartmentRequest . ifMatch , "opc-request-id" : changeHostScanTargetCompartmentRequest . opcRequestId , "opc-retry-token" : changeHostScanTargetCompartmentRequest . opcRetryToken } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , changeHostScanTargetCompartmentRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets/{hostScanTargetId}/actions/changeCompartment" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( changeHostScanTargetCompartmentRequest . changeHostScanTargetCompartmentDetails , "ChangeHostScanTargetCompartmentDetails" , model . ChangeHostScanTargetCompartmentDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ChangeHostScanTargetCompartmentResponse > { } , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateContainerScanRecipeRequest return throws example Click  https to see how to use CreateContainerScanRecipe API.
      public async createContainerScanRecipe ( createContainerScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#createContainerScanRecipe." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createContainerScanRecipeRequest . opcRetryToken , "opc-request-id" : createContainerScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createContainerScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createContainerScanRecipeRequest . createContainerScanRecipeDetails , "CreateContainerScanRecipeDetails" , model . CreateContainerScanRecipeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateContainerScanRecipeResponse > { } , body : await response . json ( ) , bodyKey : "containerScanRecipe" , bodyModel : model . ContainerScanRecipe , type : "model.ContainerScanRecipe" , 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" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateContainerScanTargetRequest return throws example Click  https to see how to use CreateContainerScanTarget API.
      public async createContainerScanTarget ( createContainerScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#createContainerScanTarget." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createContainerScanTargetRequest . opcRetryToken , "opc-request-id" : createContainerScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createContainerScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createContainerScanTargetRequest . createContainerScanTargetDetails , "CreateContainerScanTargetDetails" , model . CreateContainerScanTargetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateContainerScanTargetResponse > { } , body : await response . json ( ) , bodyKey : "containerScanTarget" , bodyModel : model . ContainerScanTarget , type : "model.ContainerScanTarget" , 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" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateHostScanRecipeRequest return throws example Click  https to see how to use CreateHostScanRecipe API.
      public async createHostScanRecipe ( createHostScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#createHostScanRecipe." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createHostScanRecipeRequest . opcRetryToken , "opc-request-id" : createHostScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createHostScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createHostScanRecipeRequest . createHostScanRecipeDetails , "CreateHostScanRecipeDetails" , model . CreateHostScanRecipeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateHostScanRecipeResponse > { } , body : await response . json ( ) , bodyKey : "hostScanRecipe" , bodyModel : model . HostScanRecipe , type : "model.HostScanRecipe" , 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" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param CreateHostScanTargetRequest return throws example Click  https to see how to use CreateHostScanTarget API.
      public async createHostScanTarget ( createHostScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#createHostScanTarget." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-retry-token" : createHostScanTargetRequest . opcRetryToken , "opc-request-id" : createHostScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , createHostScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( createHostScanTargetRequest . createHostScanTargetDetails , "CreateHostScanTargetDetails" , model . CreateHostScanTargetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . CreateHostScanTargetResponse > { } , body : await response . json ( ) , bodyKey : "hostScanTarget" , bodyModel : model . HostScanTarget , type : "model.HostScanTarget" , 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" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param DeleteContainerScanRecipeRequest return throws example Click  https to see how to use DeleteContainerScanRecipe API.
      public async deleteContainerScanRecipe ( deleteContainerScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteContainerScanRecipe." ) ; const pathParams = { "{containerScanRecipeId}" : deleteContainerScanRecipeRequest . containerScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteContainerScanRecipeRequest . ifMatch , "opc-request-id" : deleteContainerScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteContainerScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes/{containerScanRecipeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteContainerScanRecipeResponse > { } , 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 DeleteContainerScanResultRequest return throws example Click  https to see how to use DeleteContainerScanResult API.
      public async deleteContainerScanResult ( deleteContainerScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteContainerScanResult." ) ; const pathParams = { "{containerScanResultId}" : deleteContainerScanResultRequest . containerScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteContainerScanResultRequest . ifMatch , "opc-request-id" : deleteContainerScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteContainerScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanResults/{containerScanResultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteContainerScanResultResponse > { } , 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 DeleteContainerScanTargetRequest return throws example Click  https to see how to use DeleteContainerScanTarget API.
      public async deleteContainerScanTarget ( deleteContainerScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteContainerScanTarget." ) ; const pathParams = { "{containerScanTargetId}" : deleteContainerScanTargetRequest . containerScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteContainerScanTargetRequest . ifMatch , "opc-request-id" : deleteContainerScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteContainerScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets/{containerScanTargetId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteContainerScanTargetResponse > { } , 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 DeleteHostAgentScanResultRequest return throws example Click  https to see how to use DeleteHostAgentScanResult API.
      public async deleteHostAgentScanResult ( deleteHostAgentScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostAgentScanResult." ) ; const pathParams = { "{hostAgentScanResultId}" : deleteHostAgentScanResultRequest . hostAgentScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostAgentScanResultRequest . ifMatch , "opc-request-id" : deleteHostAgentScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostAgentScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostAgentScanResults/{hostAgentScanResultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostAgentScanResultResponse > { } , 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 DeleteHostCisBenchmarkScanResultRequest return throws example Click  https to see how to use DeleteHostCisBenchmarkScanResult API.
      public async deleteHostCisBenchmarkScanResult ( deleteHostCisBenchmarkScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostCisBenchmarkScanResult." ) ; const pathParams = { "{hostCisBenchmarkScanResultId}" : deleteHostCisBenchmarkScanResultRequest . hostCisBenchmarkScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostCisBenchmarkScanResultRequest . ifMatch , "opc-request-id" : deleteHostCisBenchmarkScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostCisBenchmarkScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostCisBenchmarkScanResults/{hostCisBenchmarkScanResultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostCisBenchmarkScanResultResponse > { } , 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 DeleteHostEndpointProtectionScanResultRequest return throws example Click  https to see how to use DeleteHostEndpointProtectionScanResult API.
      public async deleteHostEndpointProtectionScanResult ( deleteHostEndpointProtectionScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostEndpointProtectionScanResult." ) ; const pathParams = { "{hostEndpointProtectionScanResultId}" : deleteHostEndpointProtectionScanResultRequest . hostEndpointProtectionScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostEndpointProtectionScanResultRequest . ifMatch , "opc-request-id" : deleteHostEndpointProtectionScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostEndpointProtectionScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostEndpointProtectionScanResults/{hostEndpointProtectionScanResultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostEndpointProtectionScanResultResponse > { } , 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 DeleteHostPortScanResultRequest return throws example Click  https to see how to use DeleteHostPortScanResult API.
      public async deleteHostPortScanResult ( deleteHostPortScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostPortScanResult." ) ; const pathParams = { "{hostPortScanResultId}" : deleteHostPortScanResultRequest . hostPortScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostPortScanResultRequest . ifMatch , "opc-request-id" : deleteHostPortScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostPortScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostPortScanResults/{hostPortScanResultId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostPortScanResultResponse > { } , 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 DeleteHostScanRecipeRequest return throws example Click  https to see how to use DeleteHostScanRecipe API.
      public async deleteHostScanRecipe ( deleteHostScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostScanRecipe." ) ; const pathParams = { "{hostScanRecipeId}" : deleteHostScanRecipeRequest . hostScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostScanRecipeRequest . ifMatch , "opc-request-id" : deleteHostScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes/{hostScanRecipeId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostScanRecipeResponse > { } , 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 DeleteHostScanTargetRequest return throws example Click  https to see how to use DeleteHostScanTarget API.
      public async deleteHostScanTarget ( deleteHostScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#deleteHostScanTarget." ) ; const pathParams = { "{hostScanTargetId}" : deleteHostScanTargetRequest . hostScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : deleteHostScanTargetRequest . ifMatch , "opc-request-id" : deleteHostScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , deleteHostScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets/{hostScanTargetId}" , method : "DELETE" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . DeleteHostScanTargetResponse > { } , 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 ExportHostAgentScanResultCsvRequest return throws example Click  https to see how to use ExportHostAgentScanResultCsv API.
      public async exportHostAgentScanResultCsv ( exportHostAgentScanResultCsvRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#exportHostAgentScanResultCsv." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : exportHostAgentScanResultCsvRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , exportHostAgentScanResultCsvRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostAgentScanResults/actions/exportCsv" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( exportHostAgentScanResultCsvRequest . exportHostAgentScanResultCsvDetails , "ExportHostAgentScanResultCsvDetails" , model . ExportHostAgentScanResultCsvDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ExportHostAgentScanResultCsvResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param ExportHostVulnerabilityCsvRequest return throws example Click  https to see how to use ExportHostVulnerabilityCsv API.
      public async exportHostVulnerabilityCsv ( exportHostVulnerabilityCsvRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#exportHostVulnerabilityCsv." ) ; const pathParams = { } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : exportHostVulnerabilityCsvRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , exportHostVulnerabilityCsvRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostVulnerabilities/actions/exportCsv" , method : "POST" , bodyContent : common . ObjectSerializer . serialize ( exportHostVulnerabilityCsvRequest . exportHostVulnerabilityCsvDetails , "ExportHostVulnerabilityCsvDetails" , model . ExportHostVulnerabilityCsvDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ExportHostVulnerabilityCsvResponse > { } , body : response . body ! , bodyKey : "value" , bodyModel : "string" , responseHeaders : [ { value : response . headers . get ( "opc-request-id" ) , key : "opcRequestId" , dataType : "string" } ] } ) ; return sdkResponse ; } catch ( err ) { throw err ; } } param GetContainerScanRecipeRequest return throws example Click  https to see how to use GetContainerScanRecipe API.
      public async getContainerScanRecipe ( getContainerScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getContainerScanRecipe." ) ; const pathParams = { "{containerScanRecipeId}" : getContainerScanRecipeRequest . containerScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getContainerScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getContainerScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes/{containerScanRecipeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetContainerScanRecipeResponse > { } , body : await response . json ( ) , bodyKey : "containerScanRecipe" , bodyModel : model . ContainerScanRecipe , type : "model.ContainerScanRecipe" , 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 GetContainerScanResultRequest return throws example Click  https to see how to use GetContainerScanResult API.
      public async getContainerScanResult ( getContainerScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getContainerScanResult." ) ; const pathParams = { "{containerScanResultId}" : getContainerScanResultRequest . containerScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getContainerScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getContainerScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanResults/{containerScanResultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetContainerScanResultResponse > { } , body : await response . json ( ) , bodyKey : "containerScanResult" , bodyModel : model . ContainerScanResult , type : "model.ContainerScanResult" , 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 GetContainerScanTargetRequest return throws example Click  https to see how to use GetContainerScanTarget API.
      public async getContainerScanTarget ( getContainerScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getContainerScanTarget." ) ; const pathParams = { "{containerScanTargetId}" : getContainerScanTargetRequest . containerScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getContainerScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getContainerScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets/{containerScanTargetId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetContainerScanTargetResponse > { } , body : await response . json ( ) , bodyKey : "containerScanTarget" , bodyModel : model . ContainerScanTarget , type : "model.ContainerScanTarget" , 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 GetHostAgentScanResultRequest return throws example Click  https to see how to use GetHostAgentScanResult API.
      public async getHostAgentScanResult ( getHostAgentScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostAgentScanResult." ) ; const pathParams = { "{hostAgentScanResultId}" : getHostAgentScanResultRequest . hostAgentScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostAgentScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostAgentScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostAgentScanResults/{hostAgentScanResultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostAgentScanResultResponse > { } , body : await response . json ( ) , bodyKey : "hostAgentScanResult" , bodyModel : model . HostAgentScanResult , type : "model.HostAgentScanResult" , 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 GetHostCisBenchmarkScanResultRequest return throws example Click  https to see how to use GetHostCisBenchmarkScanResult API.
      public async getHostCisBenchmarkScanResult ( getHostCisBenchmarkScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostCisBenchmarkScanResult." ) ; const pathParams = { "{hostCisBenchmarkScanResultId}" : getHostCisBenchmarkScanResultRequest . hostCisBenchmarkScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostCisBenchmarkScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostCisBenchmarkScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostCisBenchmarkScanResults/{hostCisBenchmarkScanResultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostCisBenchmarkScanResultResponse > { } , body : await response . json ( ) , bodyKey : "hostCisBenchmarkScanResult" , bodyModel : model . HostCisBenchmarkScanResult , type : "model.HostCisBenchmarkScanResult" , 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 GetHostEndpointProtectionScanResultRequest return throws example Click  https to see how to use GetHostEndpointProtectionScanResult API.
      public async getHostEndpointProtectionScanResult ( getHostEndpointProtectionScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostEndpointProtectionScanResult." ) ; const pathParams = { "{hostEndpointProtectionScanResultId}" : getHostEndpointProtectionScanResultRequest . hostEndpointProtectionScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostEndpointProtectionScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostEndpointProtectionScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostEndpointProtectionScanResults/{hostEndpointProtectionScanResultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostEndpointProtectionScanResultResponse > { } , body : await response . json ( ) , bodyKey : "hostEndpointProtectionScanResult" , bodyModel : model . HostEndpointProtectionScanResult , type : "model.HostEndpointProtectionScanResult" , 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 GetHostPortScanResultRequest return throws example Click  https to see how to use GetHostPortScanResult API.
      public async getHostPortScanResult ( getHostPortScanResultRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostPortScanResult." ) ; const pathParams = { "{hostPortScanResultId}" : getHostPortScanResultRequest . hostPortScanResultId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostPortScanResultRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostPortScanResultRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostPortScanResults/{hostPortScanResultId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostPortScanResultResponse > { } , body : await response . json ( ) , bodyKey : "hostPortScanResult" , bodyModel : model . HostPortScanResult , type : "model.HostPortScanResult" , 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 GetHostScanRecipeRequest return throws example Click  https to see how to use GetHostScanRecipe API.
      public async getHostScanRecipe ( getHostScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostScanRecipe." ) ; const pathParams = { "{hostScanRecipeId}" : getHostScanRecipeRequest . hostScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes/{hostScanRecipeId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostScanRecipeResponse > { } , body : await response . json ( ) , bodyKey : "hostScanRecipe" , bodyModel : model . HostScanRecipe , type : "model.HostScanRecipe" , 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 GetHostScanTargetRequest return throws example Click  https to see how to use GetHostScanTarget API.
      public async getHostScanTarget ( getHostScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostScanTarget." ) ; const pathParams = { "{hostScanTargetId}" : getHostScanTargetRequest . hostScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets/{hostScanTargetId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostScanTargetResponse > { } , body : await response . json ( ) , bodyKey : "hostScanTarget" , bodyModel : model . HostScanTarget , type : "model.HostScanTarget" , 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 GetHostVulnerabilityRequest return throws example Click  https to see how to use GetHostVulnerability API.
      public async getHostVulnerability ( getHostVulnerabilityRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#getHostVulnerability." ) ; const pathParams = { "{hostVulnerabilityId}" : getHostVulnerabilityRequest . hostVulnerabilityId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : getHostVulnerabilityRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , getHostVulnerabilityRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostVulnerabilities/{hostVulnerabilityId}" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . GetHostVulnerabilityResponse > { } , body : await response . json ( ) , bodyKey : "hostVulnerability" , bodyModel : model . HostVulnerability , type : "model.HostVulnerability" , 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 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 VulnerabilityScanningClient#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 ListContainerScanRecipesRequest return throws example Click  https to see how to use ListContainerScanRecipes API.
      public async listContainerScanRecipes ( listContainerScanRecipesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listContainerScanRecipes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listContainerScanRecipesRequest . compartmentId , "lifecycleState" : listContainerScanRecipesRequest . lifecycleState , "displayName" : listContainerScanRecipesRequest . displayName , "limit" : listContainerScanRecipesRequest . limit , "page" : listContainerScanRecipesRequest . page , "sortOrder" : listContainerScanRecipesRequest . sortOrder , "sortBy" : listContainerScanRecipesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listContainerScanRecipesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listContainerScanRecipesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListContainerScanRecipesResponse > { } , body : await response . json ( ) , bodyKey : "containerScanRecipeSummaryCollection" , bodyModel : model . ContainerScanRecipeSummaryCollection , type : "model.ContainerScanRecipeSummaryCollection" , 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 ListContainerScanResultsRequest return throws example Click  https to see how to use ListContainerScanResults API.
      public async listContainerScanResults ( listContainerScanResultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listContainerScanResults." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listContainerScanResultsRequest . compartmentId , "repository" : listContainerScanResultsRequest . repository , "image" : listContainerScanResultsRequest . image , "areSubcompartmentsIncluded" : listContainerScanResultsRequest . areSubcompartmentsIncluded , "highestProblemSeverity" : listContainerScanResultsRequest . highestProblemSeverity , "timeStartedGreaterThanOrEqualTo" : listContainerScanResultsRequest . timeStartedGreaterThanOrEqualTo , "timeStartedLessThanOrEqualTo" : listContainerScanResultsRequest . timeStartedLessThanOrEqualTo , "sortOrder" : listContainerScanResultsRequest . sortOrder , "sortBy" : listContainerScanResultsRequest . sortBy , "limit" : listContainerScanResultsRequest . limit , "page" : listContainerScanResultsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listContainerScanResultsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listContainerScanResultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanResults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListContainerScanResultsResponse > { } , body : await response . json ( ) , bodyKey : "containerScanResultSummaryCollection" , bodyModel : model . ContainerScanResultSummaryCollection , type : "model.ContainerScanResultSummaryCollection" , 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 ListContainerScanTargetsRequest return throws example Click  https to see how to use ListContainerScanTargets API.
      public async listContainerScanTargets ( listContainerScanTargetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listContainerScanTargets." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listContainerScanTargetsRequest . compartmentId , "lifecycleState" : listContainerScanTargetsRequest . lifecycleState , "displayName" : listContainerScanTargetsRequest . displayName , "limit" : listContainerScanTargetsRequest . limit , "page" : listContainerScanTargetsRequest . page , "sortOrder" : listContainerScanTargetsRequest . sortOrder , "sortBy" : listContainerScanTargetsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listContainerScanTargetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listContainerScanTargetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListContainerScanTargetsResponse > { } , body : await response . json ( ) , bodyKey : "containerScanTargetSummaryCollection" , bodyModel : model . ContainerScanTargetSummaryCollection , type : "model.ContainerScanTargetSummaryCollection" , 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 ListHostAgentScanResultsRequest return throws example Click  https to see how to use ListHostAgentScanResults API.
      public async listHostAgentScanResults ( listHostAgentScanResultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostAgentScanResults." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostAgentScanResultsRequest . compartmentId , "instanceId" : listHostAgentScanResultsRequest . instanceId , "highestProblemSeverity" : listHostAgentScanResultsRequest . highestProblemSeverity , "operatingSystem" : listHostAgentScanResultsRequest . operatingSystem , "timeStartedGreaterThanOrEqualTo" : listHostAgentScanResultsRequest . timeStartedGreaterThanOrEqualTo , "timeStartedLessThanOrEqualTo" : listHostAgentScanResultsRequest . timeStartedLessThanOrEqualTo , "sortOrder" : listHostAgentScanResultsRequest . sortOrder , "sortBy" : listHostAgentScanResultsRequest . sortBy , "limit" : listHostAgentScanResultsRequest . limit , "page" : listHostAgentScanResultsRequest . page , "displayName" : listHostAgentScanResultsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostAgentScanResultsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostAgentScanResultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostAgentScanResults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostAgentScanResultsResponse > { } , body : await response . json ( ) , bodyKey : "hostAgentScanResultSummaryCollection" , bodyModel : model . HostAgentScanResultSummaryCollection , type : "model.HostAgentScanResultSummaryCollection" , 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 ListHostCisBenchmarkScanResultsRequest return throws example Click  https to see how to use ListHostCisBenchmarkScanResults API.
      public async listHostCisBenchmarkScanResults ( listHostCisBenchmarkScanResultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostCisBenchmarkScanResults." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostCisBenchmarkScanResultsRequest . compartmentId , "instanceId" : listHostCisBenchmarkScanResultsRequest . instanceId , "highestProblemSeverity" : listHostCisBenchmarkScanResultsRequest . highestProblemSeverity , "timeStartedGreaterThanOrEqualTo" : listHostCisBenchmarkScanResultsRequest . timeStartedGreaterThanOrEqualTo , "timeStartedLessThanOrEqualTo" : listHostCisBenchmarkScanResultsRequest . timeStartedLessThanOrEqualTo , "sortOrder" : listHostCisBenchmarkScanResultsRequest . sortOrder , "sortBy" : listHostCisBenchmarkScanResultsRequest . sortBy , "limit" : listHostCisBenchmarkScanResultsRequest . limit , "page" : listHostCisBenchmarkScanResultsRequest . page , "displayName" : listHostCisBenchmarkScanResultsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostCisBenchmarkScanResultsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostCisBenchmarkScanResultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostCisBenchmarkScanResults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostCisBenchmarkScanResultsResponse > { } , body : await response . json ( ) , bodyKey : "hostCisBenchmarkScanResultSummaryCollection" , bodyModel : model . HostCisBenchmarkScanResultSummaryCollection , type : "model.HostCisBenchmarkScanResultSummaryCollection" , 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 ListHostEndpointProtectionScanResultsRequest return throws example Click  https to see how to use ListHostEndpointProtectionScanResults API.
      public async listHostEndpointProtectionScanResults ( listHostEndpointProtectionScanResultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostEndpointProtectionScanResults." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostEndpointProtectionScanResultsRequest . compartmentId , "instanceId" : listHostEndpointProtectionScanResultsRequest . instanceId , "highestProblemSeverity" : listHostEndpointProtectionScanResultsRequest . highestProblemSeverity , "timeStartedGreaterThanOrEqualTo" : listHostEndpointProtectionScanResultsRequest . timeStartedGreaterThanOrEqualTo , "timeStartedLessThanOrEqualTo" : listHostEndpointProtectionScanResultsRequest . timeStartedLessThanOrEqualTo , "sortOrder" : listHostEndpointProtectionScanResultsRequest . sortOrder , "sortBy" : listHostEndpointProtectionScanResultsRequest . sortBy , "limit" : listHostEndpointProtectionScanResultsRequest . limit , "page" : listHostEndpointProtectionScanResultsRequest . page , "displayName" : listHostEndpointProtectionScanResultsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostEndpointProtectionScanResultsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostEndpointProtectionScanResultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostEndpointProtectionScanResults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostEndpointProtectionScanResultsResponse > { } , body : await response . json ( ) , bodyKey : "hostEndpointProtectionScanResultSummaryCollection" , bodyModel : model . HostEndpointProtectionScanResultSummaryCollection , type : "model.HostEndpointProtectionScanResultSummaryCollection" , 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 ListHostPortScanResultsRequest return throws example Click  https to see how to use ListHostPortScanResults API.
      public async listHostPortScanResults ( listHostPortScanResultsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostPortScanResults." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostPortScanResultsRequest . compartmentId , "instanceId" : listHostPortScanResultsRequest . instanceId , "highestProblemSeverity" : listHostPortScanResultsRequest . highestProblemSeverity , "timeStartedGreaterThanOrEqualTo" : listHostPortScanResultsRequest . timeStartedGreaterThanOrEqualTo , "timeStartedLessThanOrEqualTo" : listHostPortScanResultsRequest . timeStartedLessThanOrEqualTo , "sortOrder" : listHostPortScanResultsRequest . sortOrder , "sortBy" : listHostPortScanResultsRequest . sortBy , "limit" : listHostPortScanResultsRequest . limit , "page" : listHostPortScanResultsRequest . page , "displayName" : listHostPortScanResultsRequest . displayName } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostPortScanResultsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostPortScanResultsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostPortScanResults" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostPortScanResultsResponse > { } , body : await response . json ( ) , bodyKey : "hostPortScanResultSummaryCollection" , bodyModel : model . HostPortScanResultSummaryCollection , type : "model.HostPortScanResultSummaryCollection" , 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 ListHostScanRecipesRequest return throws example Click  https to see how to use ListHostScanRecipes API.
      public async listHostScanRecipes ( listHostScanRecipesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostScanRecipes." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostScanRecipesRequest . compartmentId , "lifecycleState" : listHostScanRecipesRequest . lifecycleState , "displayName" : listHostScanRecipesRequest . displayName , "limit" : listHostScanRecipesRequest . limit , "page" : listHostScanRecipesRequest . page , "sortOrder" : listHostScanRecipesRequest . sortOrder , "sortBy" : listHostScanRecipesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostScanRecipesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostScanRecipesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostScanRecipesResponse > { } , body : await response . json ( ) , bodyKey : "hostScanRecipeSummaryCollection" , bodyModel : model . HostScanRecipeSummaryCollection , type : "model.HostScanRecipeSummaryCollection" , 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 ListHostScanTargetsRequest return throws example Click  https to see how to use ListHostScanTargets API.
      public async listHostScanTargets ( listHostScanTargetsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostScanTargets." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostScanTargetsRequest . compartmentId , "lifecycleState" : listHostScanTargetsRequest . lifecycleState , "displayName" : listHostScanTargetsRequest . displayName , "limit" : listHostScanTargetsRequest . limit , "page" : listHostScanTargetsRequest . page , "sortOrder" : listHostScanTargetsRequest . sortOrder , "sortBy" : listHostScanTargetsRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostScanTargetsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostScanTargetsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostScanTargetsResponse > { } , body : await response . json ( ) , bodyKey : "hostScanTargetSummaryCollection" , bodyModel : model . HostScanTargetSummaryCollection , type : "model.HostScanTargetSummaryCollection" , 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 ListHostVulnerabilitiesRequest return throws example Click  https to see how to use ListHostVulnerabilities API.
      public async listHostVulnerabilities ( listHostVulnerabilitiesRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostVulnerabilities." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listHostVulnerabilitiesRequest . compartmentId , "limit" : listHostVulnerabilitiesRequest . limit , "page" : listHostVulnerabilitiesRequest . page , "severity" : listHostVulnerabilitiesRequest . severity , "name" : listHostVulnerabilitiesRequest . name , "cveReference" : listHostVulnerabilitiesRequest . cveReference , "vulnerabilityType" : listHostVulnerabilitiesRequest . vulnerabilityType , "sortOrder" : listHostVulnerabilitiesRequest . sortOrder , "sortBy" : listHostVulnerabilitiesRequest . sortBy } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostVulnerabilitiesRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostVulnerabilitiesRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostVulnerabilities" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostVulnerabilitiesResponse > { } , body : await response . json ( ) , bodyKey : "hostVulnerabilitySummaryCollection" , bodyModel : model . HostVulnerabilitySummaryCollection , type : "model.HostVulnerabilitySummaryCollection" , 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 ListHostVulnerabilityImpactedHostsRequest return throws example Click  https to see how to use ListHostVulnerabilityImpactedHosts API.
      public async listHostVulnerabilityImpactedHosts ( listHostVulnerabilityImpactedHostsRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#listHostVulnerabilityImpactedHosts." ) ; const pathParams = { "{hostVulnerabilityId}" : listHostVulnerabilityImpactedHostsRequest . hostVulnerabilityId } ; const queryParams = { "sortOrder" : listHostVulnerabilityImpactedHostsRequest . sortOrder , "sortBy" : listHostVulnerabilityImpactedHostsRequest . sortBy , "limit" : listHostVulnerabilityImpactedHostsRequest . limit , "page" : listHostVulnerabilityImpactedHostsRequest . page } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "opc-request-id" : listHostVulnerabilityImpactedHostsRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , listHostVulnerabilityImpactedHostsRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostVulnerabilities/{hostVulnerabilityId}/impactedHosts" , method : "GET" , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . ListHostVulnerabilityImpactedHostsResponse > { } , body : await response . json ( ) , bodyKey : "hostVulnerabilityImpactedHostSummaryCollection" , bodyModel : model . HostVulnerabilityImpactedHostSummaryCollection , type : "model.HostVulnerabilityImpactedHostSummaryCollection" , 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 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 VulnerabilityScanningClient#listWorkRequestErrors." ) ; const pathParams = { "{workRequestId}" : listWorkRequestErrorsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestErrorsRequest . page , "limit" : listWorkRequestErrorsRequest . limit } ; 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 VulnerabilityScanningClient#listWorkRequestLogs." ) ; const pathParams = { "{workRequestId}" : listWorkRequestLogsRequest . workRequestId } ; const queryParams = { "page" : listWorkRequestLogsRequest . page , "limit" : listWorkRequestLogsRequest . limit } ; 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 VulnerabilityScanningClient#listWorkRequests." ) ; const pathParams = { } ; const queryParams = { "compartmentId" : listWorkRequestsRequest . compartmentId , "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 UpdateContainerScanRecipeRequest return throws example Click  https to see how to use UpdateContainerScanRecipe API.
      public async updateContainerScanRecipe ( updateContainerScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#updateContainerScanRecipe." ) ; const pathParams = { "{containerScanRecipeId}" : updateContainerScanRecipeRequest . containerScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateContainerScanRecipeRequest . ifMatch , "opc-request-id" : updateContainerScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateContainerScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanRecipes/{containerScanRecipeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateContainerScanRecipeRequest . updateContainerScanRecipeDetails , "UpdateContainerScanRecipeDetails" , model . UpdateContainerScanRecipeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateContainerScanRecipeResponse > { } , 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 UpdateContainerScanTargetRequest return throws example Click  https to see how to use UpdateContainerScanTarget API.
      public async updateContainerScanTarget ( updateContainerScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#updateContainerScanTarget." ) ; const pathParams = { "{containerScanTargetId}" : updateContainerScanTargetRequest . containerScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateContainerScanTargetRequest . ifMatch , "opc-request-id" : updateContainerScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateContainerScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/containerScanTargets/{containerScanTargetId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateContainerScanTargetRequest . updateContainerScanTargetDetails , "UpdateContainerScanTargetDetails" , model . UpdateContainerScanTargetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateContainerScanTargetResponse > { } , 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 UpdateHostScanRecipeRequest return throws example Click  https to see how to use UpdateHostScanRecipe API.
      public async updateHostScanRecipe ( updateHostScanRecipeRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#updateHostScanRecipe." ) ; const pathParams = { "{hostScanRecipeId}" : updateHostScanRecipeRequest . hostScanRecipeId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateHostScanRecipeRequest . ifMatch , "opc-request-id" : updateHostScanRecipeRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHostScanRecipeRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanRecipes/{hostScanRecipeId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHostScanRecipeRequest . updateHostScanRecipeDetails , "UpdateHostScanRecipeDetails" , model . UpdateHostScanRecipeDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHostScanRecipeResponse > { } , 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 UpdateHostScanTargetRequest return throws example Click  https to see how to use UpdateHostScanTarget API.
      public async updateHostScanTarget ( updateHostScanTargetRequest ) { if ( this . logger ) this . logger . debug ( "Calling operation VulnerabilityScanningClient#updateHostScanTarget." ) ; const pathParams = { "{hostScanTargetId}" : updateHostScanTargetRequest . hostScanTargetId } ; const queryParams = { } ; let headerParams = { "Content-Type" : common . Constants . APPLICATION_JSON , "if-match" : updateHostScanTargetRequest . ifMatch , "opc-request-id" : updateHostScanTargetRequest . opcRequestId } ; const specRetryConfiguration = common . NoRetryConfigurationDetails ; const retrier = GenericRetrier . createPreferredRetrier ( this . _clientConfiguration ? this . _clientConfiguration . retryConfiguration : undefined , updateHostScanTargetRequest . retryConfiguration , specRetryConfiguration ) ; if ( this . logger ) retrier . logger = this . logger ; const request = await composeRequest ( { baseEndpoint : this . _endpoint , defaultHeaders : this . _defaultHeaders , path : "/hostScanTargets/{hostScanTargetId}" , method : "PUT" , bodyContent : common . ObjectSerializer . serialize ( updateHostScanTargetRequest . updateHostScanTargetDetails , "UpdateHostScanTargetDetails" , model . UpdateHostScanTargetDetails . getJsonObj ) , pathParams : pathParams , headerParams : headerParams , queryParams : queryParams } ) ; try { const response = await retrier . makeServiceCall ( this . _httpClient , request ) ; const sdkResponse = composeResponse ( { responseObject : < responses . UpdateHostScanTargetResponse > { } , 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 ; } } }